Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev
This commit is contained in:
commit
694694857a
2 changed files with 4 additions and 0 deletions
|
@ -7,3 +7,6 @@ allow priv_app edgetpu_nnapi_service:service_manager find;
|
||||||
# Allows privileged applications to access the EdgeTPU device, except open,
|
# Allows privileged applications to access the EdgeTPU device, except open,
|
||||||
# which is guarded by the EdgeTPU service.
|
# which is guarded by the EdgeTPU service.
|
||||||
allow priv_app edgetpu_device:chr_file { getattr read write ioctl map };
|
allow priv_app edgetpu_device:chr_file { getattr read write ioctl map };
|
||||||
|
|
||||||
|
# Allows privileged applications to access the PowerHAL.
|
||||||
|
hal_client_domain(priv_app, hal_power)
|
||||||
|
|
1
whitechapel/vendor/google/file_contexts
vendored
1
whitechapel/vendor/google/file_contexts
vendored
|
@ -177,6 +177,7 @@
|
||||||
/data/vendor/camera(/.*)? u:object_r:vendor_camera_data_file:s0
|
/data/vendor/camera(/.*)? u:object_r:vendor_camera_data_file:s0
|
||||||
/vendor/lib(64)?/lib_aion_buffer\.so u:object_r:same_process_hal_file:s0
|
/vendor/lib(64)?/lib_aion_buffer\.so u:object_r:same_process_hal_file:s0
|
||||||
/vendor/lib(64)?/libGralloc4Wrapper\.so u:object_r:same_process_hal_file:s0
|
/vendor/lib(64)?/libGralloc4Wrapper\.so u:object_r:same_process_hal_file:s0
|
||||||
|
/vendor/lib(64)?/pixel-power-ext-V1-ndk_platform\.so u:object_r:same_process_hal_file:s0
|
||||||
|
|
||||||
/dev/stmvl53l1_ranging u:object_r:rls_device:s0
|
/dev/stmvl53l1_ranging u:object_r:rls_device:s0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue