8 Commits

Author SHA1 Message Date
Devika Krishnadas
9357dd1314 Add pixel mapper service context
Bug: 267352318
Test: Build & check SELinux denials

Change-Id: I763f49d2ef38ae0ab5c1ee1652957f6512f8fbc6
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-03-20 18:12:29 +00:00
Renato Grottesi
90d658bb11 Revert^2 "Disable armnn nnapi backend"
Discontinue maintenance and active support of ArmNN on Pixel phones.

This reverts commit 4564ee58a431ea2407ee2ef160b98aa17c2449e3.
Reason for revert: resubmitting again together with a fix for the broken test

Bug: 294459623
Change-Id: I4635c49836dd0e5716308ed0184b14954ccdbd6b
Test: Local nnapi_info
Test: Presubmit
2023-08-07 10:07:22 +00:00
Adrian Roos
4564ee58a4 Revert "Disable armnn nnapi backend"
This reverts commit e8c933f6260319a54931c0dab18f066f9e10347b.

Reason for revert: Breaks tests 
Bug: 294459623
Fixes: 294795899

Change-Id: Ia795c9981a42d59a3fe4bd8ebdfb870d5ff87480
2023-08-07 09:27:20 +00:00
Renato Grottesi
e8c933f626 Disable armnn nnapi backend
Discontinue maintenance and active support of ArmNN on Pixel phones.

Bug: 294459623
Test: Local nnapi_info
Change-Id: I142e27e4084e0f8bb82212c35512d327257953b3
2023-08-04 08:23:22 +00:00
Renato Grottesi
146e77649b Revert^2 "New ArmNN AIDL SELinux permissions and settings"
58c26f29062fb48925f58c88aa11b25403c370c3

Compile ArmNN shim over the support library

This change adds the SELinux permissions for the new
ArmNN AIDL backend based on a shim over the NNAPI
Support Library.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Change-Id: I24b69c4f6d65f45ec6935744717b66bed14cb236
2023-07-13 09:08:41 +00:00
Android Culprit Assistant
58c26f2906 Revert "New ArmNN AIDL SELinux permissions and settings"
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/123b2665-83ef-4fd0-904d-a0d8c5782db9).

Bug: b/290958543
Change-Id: I6c085728c663845efb1006e62a54482c01d500ff
2023-07-12 20:49:39 +00:00
Renato Grottesi
6deca6aed4 New ArmNN AIDL SELinux permissions and settings
Compile ArmNN shim over the support library

This change adds the SELinux permissions for the new
ArmNN AIDL backend based on a shim over the NNAPI
Support Library.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Change-Id: Ie63c9adebf723c0df22c9533f46ad7475414dd3a
2023-07-12 13:08:22 +00:00
Kevin DuBois
148a9232e1 gpu: add SELinux policies for GPU probe.
Adds SELinux policies for gpu_probe service. These allow us to upload
events to Perfetto. gpu_probe is an untrusted producer in Perfetto model, in same manner as traced_probes.

Bug: 267669418
Test: see events produced when designating perfetto config.

Change-Id: Id122870b14000288fc3c26aa3c49348a8f7322df
2023-03-24 21:02:20 +00:00