centralize common settings for edgeTPU

Bug: 258114806
Test: build pass with all the things still in the ROM
Change-Id: Iafa355c047d39cfb21ef043ed0e7b4108630b781
This commit is contained in:
Adam Shih 2022-11-08 13:21:51 +08:00
parent a3319d4b0d
commit af0e90ecb1
14 changed files with 230 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# Allows applications to discover the EdgeTPU service.
allow untrusted_app_all edgetpu_app_service:service_manager find;
# Allows applications to access the EdgeTPU device, except open, which is guarded
# by the EdgeTPU service.
allow untrusted_app_all edgetpu_device:chr_file { getattr read write ioctl map };