mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
Bug: 233998391 Test: Boost applied successfully for all flavors b/233998391#comment15. GCA. Change-Id: If339705cf4daec0f12e81c2c8efdc1eb4a063267
22 lines
801 B
Plaintext
22 lines
801 B
Plaintext
type debug_camera_app, domain, coredomain;
|
|
|
|
userdebug_or_eng(`
|
|
app_domain(debug_camera_app)
|
|
|
|
allow debug_camera_app app_api_service:service_manager find;
|
|
allow debug_camera_app audioserver_service:service_manager find;
|
|
allow debug_camera_app cameraserver_service:service_manager find;
|
|
allow debug_camera_app mediaextractor_service:service_manager find;
|
|
allow debug_camera_app mediametrics_service:service_manager find;
|
|
allow debug_camera_app mediaserver_service:service_manager find;
|
|
|
|
# Allows camera app to access the GXP device.
|
|
allow debug_camera_app gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allows camera app to search for GXP firmware file.
|
|
allow debug_camera_app vendor_fw_file:dir search;
|
|
|
|
# Allows camera app to access the PowerHAL.
|
|
hal_client_domain(debug_camera_app, hal_power)
|
|
')
|