platform_hardware_interfaces/neuralnetworks/aidl
Michael Butler 6f497d1833 Clamp NNAPI HAL Version to runtime version -- hal
The NNAPI is a Mainline Module, and its runtime version is determined by
an Android Feature Flag to remotely rollout and rollback Feature Levels
as needed. This change propagates the maximum feature level version
allowed by the runtime to the HAL utility code, and clamps the utility
code's version to the version allowed by the runtime.

Bug: N/A
Test: mma
Test: CtsNNAPITestCases
Test: NeuralNetworksTest_static
Test: logged driver version, set current_feature_level, and verified the
      driver version was clamped by current_feature_level
Change-Id: Ibaa895f8e35d36b2ddf9432b3ef9468e5886075f
2022-02-14 19:21:09 -08:00
..
aidl_api/android.hardware.neuralnetworks Address ANAPIC review comments -- hal. 2022-02-07 14:02:41 -08:00
android/hardware/neuralnetworks Address ANAPIC review comments -- hal. 2022-02-07 14:02:41 -08:00
utils Clamp NNAPI HAL Version to runtime version -- hal 2022-02-14 19:21:09 -08:00
vts/functional Address ANAPIC review comments -- hal. 2022-02-07 14:02:41 -08:00
Android.bp Freeze neuralnetworks AIDL version as v3 for FL7 2022-01-12 14:18:36 -08:00