2023-06-29 18:19:30 -07:00
|
|
|
type vendor_pbcs_app, domain, coredomain;
|
|
|
|
|
|
|
|
app_domain(vendor_pbcs_app);
|
|
|
|
|
2023-07-18 14:59:17 -07:00
|
|
|
dontaudit vendor_pbcs_app system_app_data_file:dir *;
|
2023-07-12 09:04:55 -07:00
|
|
|
|
2023-06-29 18:19:30 -07:00
|
|
|
allow vendor_pbcs_app app_api_service:service_manager find;
|
2023-07-20 23:15:03 +00:00
|
|
|
# Allow PBCS to find Camera Service.
|
|
|
|
allow vendor_pbcs_app cameraserver_service:service_manager find;
|
2023-06-21 08:56:10 -07:00
|
|
|
|
2023-07-18 05:37:00 +00:00
|
|
|
# Allow PBCS to add the ServiceBinder service to ServiceManager.
|
|
|
|
add_service(vendor_pbcs_app, vendor_camera_binder_service);
|
|
|
|
# Allow PBCS to add the LyricConfigProvider service to ServiceManager.
|
|
|
|
add_service(vendor_pbcs_app, vendor_camera_lyricconfigprovider_service);
|
2023-06-21 08:56:10 -07:00
|
|
|
|
|
|
|
binder_call(vendor_pbcs_app, hal_camera_default);
|
2023-07-19 21:24:31 +00:00
|
|
|
|
|
|
|
# Allow PBCS to read debug system properties of the form vendor.camera.pbcs.debug.*
|
|
|
|
# and persist.vendor.camera.pbcs.debug.*
|
|
|
|
get_prop(vendor_pbcs_app, vendor_camera_pbcs_debug_prop);
|