platform_hardware_interfaces/neuralnetworks/1.1
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
IDevice.hal NNAPI: Add execution preference to prepareModel (HAL) 2018-04-18 19:08:24 +00:00
types.hal NNAPI: Clarify behaviour of ops that reduce dimensions 2020-05-19 13:39:26 -07:00
types.t Move NNAPI type information to types.spec 2021-03-17 13:32:50 +00:00