From e7ee7637747371635a85fedd24d2190bb1f38651 Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Tue, 11 Jun 2013 18:10:18 -0700 Subject: Initial implementation of android.hardware.photography.CameraDevice (service) * Verified preview streaming requests * Other things *should* work but unverified / unimplemented in client side Missing: * CameraService needs to return static camera info metadata Bug: 9213377 Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868 --- include/camera/ICameraService.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/camera/ICameraService.h') diff --git a/include/camera/ICameraService.h b/include/camera/ICameraService.h index 3c2e60a..fa715b7 100644 --- a/include/camera/ICameraService.h +++ b/include/camera/ICameraService.h @@ -28,6 +28,8 @@ class ICameraClient; class IProCameraUser; class IProCameraCallbacks; class ICameraServiceListener; +class ICameraDeviceUser; +class ICameraDeviceCallbacks; class ICameraService : public IInterface { @@ -40,6 +42,7 @@ public: GET_CAMERA_INFO, CONNECT, CONNECT_PRO, + CONNECT_DEVICE, ADD_LISTENER, REMOVE_LISTENER, }; @@ -77,6 +80,12 @@ public: int cameraId, const String16& clientPackageName, int clientUid) = 0; + + virtual sp connect( + const sp& cameraCb, + int cameraId, + const String16& clientPackageName, + int clientUid) = 0; }; // ---------------------------------------------------------------------------- -- cgit v1.1