Add CccDkTimeSyncService for Digital Key Support for Zuma

Test: Build and Run
Bug: 270511447
Merged-In: I0195bfe5f8eed70556891ddfeae81c486373ddbb
Change-Id: I0195bfe5f8eed70556891ddfeae81c486373ddbb
This commit is contained in:
Yang Qi 2023-03-04 02:40:52 +00:00 committed by Wilson Sung
parent 5dd0fffa9a
commit d8c17a3814
4 changed files with 8 additions and 3 deletions

View file

@ -34,4 +34,3 @@ untrusted_app default_android_service service_manager b/264599934
vendor_init device_config_configuration_prop property_service b/267714573 vendor_init device_config_configuration_prop property_service b/267714573
vendor_init device_config_configuration_prop property_service b/268566481 vendor_init device_config_configuration_prop property_service b/268566481
vendor_init vendor_camera_prop property_service b/267714573 vendor_init vendor_camera_prop property_service b/267714573
zygote vendor_cccdktimesync_app process b/269812912

View file

@ -1,2 +0,0 @@
# b/269812912
dontaudit zygote vendor_cccdktimesync_app:process { dyntransition };

View file

@ -1,2 +1,7 @@
type vendor_cccdktimesync_app, domain; type vendor_cccdktimesync_app, domain;
app_domain(vendor_cccdktimesync_app)
allow vendor_cccdktimesync_app app_api_service:service_manager find;
binder_call(vendor_cccdktimesync_app, hal_bluetooth_btlinux)
allow vendor_cccdktimesync_app hal_bluetooth_coexistence_hwservice:hwservice_manager find;

View file

@ -1,3 +1,6 @@
# Allow access to always-on compute device node # Allow access to always-on compute device node
allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms; allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms;
allow hal_bluetooth_btlinux device:dir r_dir_perms; allow hal_bluetooth_btlinux device:dir r_dir_perms;
# allow the HAL to call cccdktimesync registered callbacks
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)