SELinux issues to solve: native : aion.cc:780 Error loading lib_aion_buffer.so dlopen failed: library "pixel-power-ext-V1-ndk_platform.so" not found: needed by /vendor/lib64/lib_aion_buffer.so in namespace sphal 05-23 10:11:32.055 420 420 E SELinux : avc: denied { find } for pid=6630 uid=10089 name=android.hardware.power.IPower/default scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:hal_power_service:s0 tclass=service_manager permissive=0 Bug: 187373665 Test: Passed, procedure listed in b/187373665#comment8 with forrest. Change-Id: Ice7c69bca4a029a61ca1ccb7087ea01948ae5f24
12 lines
541 B
Text
12 lines
541 B
Text
# Allows privileged applications to discover the EdgeTPU service.
|
|
allow priv_app edgetpu_app_service:service_manager find;
|
|
|
|
# Allows privileged applications to discover the NNAPI TPU service.
|
|
allow priv_app edgetpu_nnapi_service:service_manager find;
|
|
|
|
# Allows privileged applications to access the EdgeTPU device, except open,
|
|
# which is guarded by the EdgeTPU service.
|
|
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)
|