diff options
author | Zhijun He <zhijunhe@google.com> | 2014-06-16 16:42:35 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2014-06-19 15:46:02 -0700 |
commit | 4c913801141163362dd5bb7c9784c83f69c11054 (patch) | |
tree | 4889eaecfc7644054e0b2687861d32cf34e2ef5f /core/java/android/hardware/ICameraService.aidl | |
parent | 0d8acb2cebe37296c37b4e6507afe44fe5666f90 (diff) | |
download | frameworks_base-4c913801141163362dd5bb7c9784c83f69c11054.zip frameworks_base-4c913801141163362dd5bb7c9784c83f69c11054.tar.gz frameworks_base-4c913801141163362dd5bb7c9784c83f69c11054.tar.bz2 |
Camera: Implement HAL1 and higher HAL API coexistence
A higher hal version device like HAL3.2 can be opened as HAL1.0 device
if HAL supports it. This only applies to camera API1.
Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07
Diffstat (limited to 'core/java/android/hardware/ICameraService.aidl')
-rw-r--r-- | core/java/android/hardware/ICameraService.aidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/hardware/ICameraService.aidl b/core/java/android/hardware/ICameraService.aidl index 31896f5..2bc3dd4 100644 --- a/core/java/android/hardware/ICameraService.aidl +++ b/core/java/android/hardware/ICameraService.aidl @@ -74,4 +74,11 @@ interface ICameraService int getLegacyParameters(int cameraId, out String[] parameters); // Determines if a particular API version is supported; see ICameraService.h for version defines int supportsCameraApi(int cameraId, int apiVersion); + + int connectLegacy(ICameraClient client, int cameraId, + int halVersion, + String clientPackageName, + int clientUid, + // Container for an ICamera object + out BinderHolder device); } |