android-nn-driver
android-nn-driver copied to clipboard
prefix vendor properties with vendor
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]