platform_hardware_interfaces/neuralnetworks/utils/common/test
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
..
MockBuffer.h Add additional parameters for NN Burst -- HAL 2021-04-02 22:02:38 -07:00
MockDevice.h Remove NN canonical IDevice::isUpdatable -- hal 2021-04-21 13:27:59 -07:00
MockExecution.h Introduce reusable execution to canonical interface -- HAL. 2021-05-10 15:21:36 -07:00
MockPreparedModel.h Introduce reusable execution to canonical interface -- HAL. 2021-05-10 15:21:36 -07:00
ResilientBufferTest.cpp Change NNAPI Memory to ref-counted SharedMemory -- hal 2021-02-17 10:15:09 -08:00
ResilientDeviceTest.cpp Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal 2021-11-18 23:56:54 +00:00
ResilientExecution.cpp Introduce reusable execution to canonical interface -- HAL. 2021-05-10 15:21:36 -07:00
ResilientPreparedModelTest.cpp Introduce reusable execution to canonical interface -- HAL. 2021-05-10 15:21:36 -07:00