2a724dd853
This is being used in libsensorndkbridge now, so permissions are required. Test: atest CtsCameraTestCases && adb logcat | grep avc Bug: 205764765 Change-Id: I7a1569b8b4e2a21961f3950fa3947b5e20fc674b
19 lines
676 B
Text
19 lines
676 B
Text
type hal_camera_default, domain;
|
|
hal_server_domain(hal_camera_default, hal_camera)
|
|
|
|
type hal_camera_default_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(hal_camera_default)
|
|
|
|
# HIDL sensorservice
|
|
allow hal_camera_default fwk_sensor_hwservice:hwservice_manager find;
|
|
# AIDL sensorservice
|
|
allow hal_camera_default fwk_sensor_service:service_manager find;
|
|
|
|
get_prop(hal_camera_default, device_config_camera_native_prop);
|
|
|
|
# For collecting bugreports.
|
|
allow hal_camera_default dumpstate:fd use;
|
|
allow hal_camera_default dumpstate:fifo_file write;
|
|
|
|
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
|
allow hal_camera_default gpu_device:dir r_dir_perms;
|