platform_hardware_interfaces/neuralnetworks/1.2
Michael Butler 60a7b86cf0 Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal
Prior to this change, version constants (e.g., Version::ANDROID_S) were
public static constants to make the version constants look as if they
were enum values. However, this method prevented versions from being
constexpr, because the Version type was incomplete by that point in
time. This change moves these version constants outside of the Version
struct, and makes them constexpr. They have the new names:
* Version::ANDROID_OC_MR1 -> kVersionFeatureLevel1
* Version::ANDROID_P -> kVersionFeatureLevel2
* Version::ANDROID_Q -> kVersionFeatureLevel3
* Version::ANDROID_R -> kVersionFeatureLevel4
* Version::ANDROID_S -> kVersionFeatureLevel5
* Version::FEATURE_LEVEL_6 -> kVersionFeatureLevel6
* Version::EXPERIMENTAL -> kVersionFeatureLevelExperimental

Bug: 206975939
Test: mma
Change-Id: Ibf5f2fdb1459a69c51865aa5fdcd0cb0c3a88ade
2021-11-18 23:56:54 +00:00
..
utils Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal 2021-11-18 23:56:54 +00:00
vts/functional Consolidate NNAPI OWNERS files 2021-11-15 20:22:41 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
IBurstCallback.hal Fix IBurstCallback.hal typo 2019-04-17 17:37:30 +00:00
IBurstContext.hal NNAPI Burst -- HAL interface 2019-01-24 14:04:35 -08:00
IDevice.hal Change 'blacklist' to 'disallow' 2020-06-29 13:24:11 +01:00
IExecutionCallback.hal Update neuralnetworks HAL to allow collecting execution duration. 2019-01-24 16:07:03 -08:00
IPreparedModel.hal Specify NNAPI Burst FMQ read/write requirements 2019-09-19 13:31:01 -07:00
IPreparedModelCallback.hal Add 1.2 NN HAL: IPreparedModel & callbacks. 2018-12-13 13:56:51 -08:00
types.hal Fix HAL and AIDL files to be consistent with API generation tool. 2021-09-08 17:41:10 +01:00
types.t Move NNAPI type information to types.spec 2021-03-17 13:32:50 +00:00