Board tree for Google Tensor G1 devices
Find a file
Richard Hsu 5675757d41 [SELinux] Allow NNAPI HAL to log traces to perfetto under userdebug builds
Allows DarwiNN NNAPI HAL to log traces to perfetto only under userdebug builds. This is similar to the camera HAL fix in ag/17080874

Error message:
TracingMuxer: type=1400 audit(0.0:486): avc: denied { write } for name="traced_producer" dev="tmpfs" ino=1116 scontext=u:r:hal_neuralnetworks_darwinn:s0

This rule is common for EdgeTPU in both WHI and PRO.

Bug: 231838536

Test: tested on PRO before and after the change, and the traces now shows up.

Example: https://ui.perfetto.dev/#!/?s=ab911b3972bc16a1a831e148a7446c09757a08426bbe3c3b16d31a728b1d923
https://screenshot.googleplex.com/3roWETkTFyiDjW9

Change-Id: I8d4a57e262087aa4ec6670a487d7b06d2f2cde69
2022-05-07 22:28:22 -07:00
ambient Allow exo_app to find Virtual Device manager 2021-10-19 11:20:13 -07:00
bluetooth Grant policy for EWP feature 2022-04-11 14:40:02 +08:00
confirmationui organize confirmationui settings 2021-06-18 12:56:05 +08:00
display atc context change 2022-01-17 16:53:53 +08:00
edgetpu [SELinux] Allow NNAPI HAL to log traces to perfetto under userdebug builds 2022-05-07 22:28:22 -07:00
health Implement health AIDL HAL. 2022-01-05 23:08:07 -08:00
modem modularize dmd 2021-06-24 14:17:29 +08:00
neuralnetworks modulize hal_neuralnetwork_armnn 2021-06-08 11:17:22 +08:00
pkvm Assign pkvm_enabler to vendor_misc_writer domain 2021-10-08 09:34:22 +00:00
private sched: move sysfs to procfs 2022-03-29 09:43:32 +00:00
system_ext Allow platform apps to access FP Hal 2022-04-14 21:44:11 +00:00
telephony Avoid VTS testDataTypeViolators failure 2021-06-29 07:58:57 +08:00
tracking_denials sepolicy: ignore avc denial 2022-04-06 09:21:24 +00:00
trusty_metricsd reorganize trusty_metricsd settings 2021-06-10 02:54:00 +00:00
usf Allow Sensor HAL access to display sysfs panel_name file. 2022-03-24 17:55:43 -07:00
whitechapel/vendor/google Merge "genfs_contexts: add raw i2c-s2mpg10mfd and i2c-s2mpg11mfd nodes" into tm-dev 2022-05-04 16:10:16 +00:00
gs101-sepolicy.mk Implement health AIDL HAL. 2022-01-05 23:08:07 -08:00
OWNERS Include core policy OWNERS. 2022-01-06 10:17:14 -08:00