diff options
author | Kourosh Derakshan <kouroshd@google.com> | 2018-04-18 15:42:08 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2018-05-12 02:08:53 +0000 |
commit | 68995cb341a4617f3a09bff033e26e4737e51b0e (patch) | |
tree | 561f25c798c4961b3278af402ee44115efe583e5 /camera | |
parent | 42eca4926f31b3ca271df50584a0876244ad9c14 (diff) | |
download | platform_hardware_interfaces-68995cb341a4617f3a09bff033e26e4737e51b0e.tar.gz platform_hardware_interfaces-68995cb341a4617f3a09bff033e26e4737e51b0e.tar.bz2 platform_hardware_interfaces-68995cb341a4617f3a09bff033e26e4737e51b0e.zip |
camera: Adding 64-bit version of Camera Provider
Added a secondary Camera Provider for 64bit HALs
Test: GCA and normal camera usecases, CTS
Bug: 73173997
Change-Id: I2d9b9a916edc71b73086375f541368b080f5eca9
Diffstat (limited to 'camera')
-rw-r--r-- | camera/provider/2.4/default/Android.bp | 24 | ||||
-rw-r--r-- | camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc | 7 |
2 files changed, 31 insertions, 0 deletions
diff --git a/camera/provider/2.4/default/Android.bp b/camera/provider/2.4/default/Android.bp index 31c5fdd997..ae24d78143 100644 --- a/camera/provider/2.4/default/Android.bp +++ b/camera/provider/2.4/default/Android.bp @@ -61,6 +61,30 @@ cc_binary { ], } + +cc_binary { + name: "android.hardware.camera.provider@2.4-service_64", + defaults: ["hidl_defaults"], + proprietary: true, + relative_install_path: "hw", + srcs: ["service.cpp"], + compile_multilib: "64", + init_rc: ["android.hardware.camera.provider@2.4-service_64.rc"], + shared_libs: [ + "libhidlbase", + "libhidltransport", + "libbinder", + "liblog", + "libutils", + "android.hardware.camera.device@1.0", + "android.hardware.camera.device@3.2", + "android.hardware.camera.device@3.3", + "android.hardware.camera.device@3.4", + "android.hardware.camera.provider@2.4", + "android.hardware.camera.common@1.0", + ], +} + cc_binary { name: "android.hardware.camera.provider@2.4-external-service", defaults: ["hidl_defaults"], diff --git a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc new file mode 100644 index 0000000000..4c721ecb88 --- /dev/null +++ b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc @@ -0,0 +1,7 @@ +service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 + class hal + user cameraserver + group audio camera input drmrpc + ioprio rt 4 + capabilities SYS_NICE + writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks |