android-nn-driver icon indicating copy to clipboard operation
android-nn-driver copied to clipboard

prefix vendor properties with vendor

Open justeph opened this issue 2 years ago • 0 comments

vendor properties need to be prefixed with "vendor" on android 12, as explained here: https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/master/tests/check_prop_prefix.py#86

Today, when defining this sepolicy:

Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

we have this build error:

Allowed context prefixes for [...]/sepolicy/30.0/vendor/property_contexts: ['vendor_', 'odm_']


1 violation found: Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

Signed-off-by: Julien STEPHAN [email protected]

justeph avatar Feb 01 '22 17:02 justeph