Move definition for vendor_camera_lyricconfigprovider_service into product

Following ag/25368073 as reference with the same justification.

Bug: 312091052
Test: atest PersistentBackgroundCameraServicesTests
Flag: EXEMPT SEPolicy refactoring to make CHD happy
Change-Id: Ie33a6550e0df0fd13271a15afd5beaaccae50e45
This commit is contained in:
Utku Utkan 2024-06-13 01:28:50 +00:00
parent 76783cf7e2
commit 1f61691a37
9 changed files with 11 additions and 7 deletions

View file

@ -1,3 +1,5 @@
com.google.pixel.camera.services.binder.IServiceBinder/default u:object_r:camera_binder_service:s0 com.google.pixel.camera.services.binder.IServiceBinder/default u:object_r:camera_binder_service:s0
com.google.pixel.camera.services.cameraidremapper.ICameraIdRemapper/default u:object_r:camera_cameraidremapper_service:s0 com.google.pixel.camera.services.cameraidremapper.ICameraIdRemapper/default u:object_r:camera_cameraidremapper_service:s0
com.google.pixel.camera.services.lyricconfigprovider.ILyricConfigProvider/default u:object_r:camera_lyricconfigprovider_service:s0

View file

@ -13,3 +13,6 @@ add_service(vendor_pbcs_app, camera_binder_service);
# Allow PBCS to add the CameraIdRemapper service to ServiceManager. # Allow PBCS to add the CameraIdRemapper service to ServiceManager.
add_service(vendor_pbcs_app, camera_cameraidremapper_service); add_service(vendor_pbcs_app, camera_cameraidremapper_service);
# Allow PBCS to add the LyricConfigProvider service to ServiceManager.
add_service(vendor_pbcs_app, camera_lyricconfigprovider_service);

View file

@ -9,6 +9,7 @@ allow vendor_pcs_app {
audioserver_service audioserver_service
cameraserver_service cameraserver_service
camera_cameraidremapper_service camera_cameraidremapper_service
camera_lyricconfigprovider_service
drmserver_service drmserver_service
mediametrics_service mediametrics_service
mediaserver_service mediaserver_service

View file

@ -1,3 +1,5 @@
type camera_binder_service, hal_service_type, protected_service, service_manager_type; type camera_binder_service, hal_service_type, protected_service, service_manager_type;
type camera_cameraidremapper_service, hal_service_type, protected_service, service_manager_type; type camera_cameraidremapper_service, hal_service_type, protected_service, service_manager_type;
type camera_lyricconfigprovider_service, hal_service_type, protected_service, service_manager_type;

View file

@ -1,6 +1,6 @@
allow hal_camera_default camera_binder_service:service_manager find; allow hal_camera_default camera_binder_service:service_manager find;
# Allow Lyric Hal to find the LyricConfigProvider service through ServiceManager. # Allow Lyric Hal to find the LyricConfigProvider service through ServiceManager.
allow hal_camera_default vendor_camera_lyricconfigprovider_service:service_manager find; allow hal_camera_default camera_lyricconfigprovider_service:service_manager find;
allow hal_camera_default hal_pixel_remote_camera_service:service_manager find; allow hal_camera_default hal_pixel_remote_camera_service:service_manager find;

View file

@ -1,7 +1,5 @@
type hal_pixel_remote_camera_service, hal_service_type, protected_service, service_manager_type; type hal_pixel_remote_camera_service, hal_service_type, protected_service, service_manager_type;
type vendor_camera_lyricconfigprovider_service, hal_service_type, protected_service, service_manager_type;
type vendor_camera_isp_service, hal_service_type, protected_service, service_manager_type; type vendor_camera_isp_service, hal_service_type, protected_service, service_manager_type;
type vendor_image_processing_hal_service, hal_service_type, protected_service, service_manager_type; type vendor_image_processing_hal_service, hal_service_type, protected_service, service_manager_type;

View file

@ -1,7 +1,5 @@
com.google.pixel.camera.connectivity.hal.provider.ICameraProvider/default u:object_r:hal_pixel_remote_camera_service:s0 com.google.pixel.camera.connectivity.hal.provider.ICameraProvider/default u:object_r:hal_pixel_remote_camera_service:s0
com.google.pixel.camera.services.lyricconfigprovider.ILyricConfigProvider/default u:object_r:vendor_camera_lyricconfigprovider_service:s0
com.google.pixel.camera.isp.IIspService/default u:object_r:vendor_camera_isp_service:s0 com.google.pixel.camera.isp.IIspService/default u:object_r:vendor_camera_isp_service:s0
com.google.android.imageprocessing.IImageProcessingHal u:object_r:vendor_image_processing_hal_service:s0 com.google.android.imageprocessing.IImageProcessingHal u:object_r:vendor_image_processing_hal_service:s0

View file

@ -1,7 +1,7 @@
# Allow PBCS to add the ServiceBinder service to ServiceManager. # Allow PBCS to add the ServiceBinder service to ServiceManager.
add_service(vendor_pbcs_app, camera_binder_service); add_service(vendor_pbcs_app, camera_binder_service);
# Allow PBCS to add the LyricConfigProvider service to ServiceManager. # Allow PBCS to add the LyricConfigProvider service to ServiceManager.
add_service(vendor_pbcs_app, vendor_camera_lyricconfigprovider_service); add_service(vendor_pbcs_app, camera_lyricconfigprovider_service);
# Allow PBCS to add the CameraIdRemapper service to ServiceManager. # Allow PBCS to add the CameraIdRemapper service to ServiceManager.
add_service(vendor_pbcs_app, camera_cameraidremapper_service); add_service(vendor_pbcs_app, camera_cameraidremapper_service);

View file

@ -1,5 +1,5 @@
allow vendor_pcs_app { allow vendor_pcs_app {
vendor_camera_lyricconfigprovider_service camera_lyricconfigprovider_service
camera_cameraidremapper_service camera_cameraidremapper_service
edgetpu_app_service edgetpu_app_service
}:service_manager find; }:service_manager find;