Home
last modified time | relevance | path

Searched refs:kVersion (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp92 const auto result = PreparedModel::create(kInvalidPreparedModel, kVersion); in TEST_P()
100 if (kVersion.level >= nn::Version::Level::FEATURE_LEVEL_8) return; in TEST_P()
104 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
124 if (kVersion.level >= nn::Version::Level::FEATURE_LEVEL_8) return; in TEST_P()
128 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
142 if (kVersion.level >= nn::Version::Level::FEATURE_LEVEL_8) return; in TEST_P()
146 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
160 if (kVersion.level >= nn::Version::Level::FEATURE_LEVEL_8) return; in TEST_P()
164 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
178 if (kVersion.level >= nn::Version::Level::FEATURE_LEVEL_8) return; in TEST_P()
[all …]
DDeviceTest.cpp168 const auto result = Device::create(kInvalidName, device, kVersion); in TEST_P()
177 const auto result = Device::create(kName, kInvalidDevice, kVersion); in TEST_P()
192 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
207 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
222 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
235 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
250 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
265 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
280 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
295 const auto result = Device::create(kName, mockDevice, kVersion); in TEST_P()
[all …]
DTestUtils.h29 const nn::Version kVersion = GetParam();
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DUtils.h31 constexpr auto kVersion = nn::kVersionFeatureLevel1; variable
54 if (!nn::isCompliantVersion(version, kVersion)) { in compliantVersion()
55 return NN_ERROR() << "Insufficient version: " << version << " vs required " << kVersion; in compliantVersion()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h33 constexpr auto kVersion = nn::kVersionFeatureLevel2; variable
56 if (!nn::isCompliantVersion(version, kVersion)) { in compliantVersion()
57 return NN_ERROR() << "Insufficient version: " << version << " vs required " << kVersion; in compliantVersion()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h42 constexpr auto kVersion = nn::kVersionFeatureLevel4; variable
65 if (!nn::isCompliantVersion(version, kVersion)) { in compliantVersion()
66 return NN_ERROR() << "Insufficient version: " << version << " vs required " << kVersion; in compliantVersion()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h42 constexpr auto kVersion = nn::kVersionFeatureLevel3; variable
65 if (!nn::isCompliantVersion(version, kVersion)) { in compliantVersion()
66 return NN_ERROR() << "Insufficient version: " << version << " vs required " << kVersion; in compliantVersion()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DUtils.h50 constexpr auto kVersion = aidlVersionToCanonicalVersion(IDevice::version).value(); variable
73 if (!nn::isCompliantVersion(version, kVersion)) { in compliantVersion()
74 return NN_ERROR() << "Insufficient version: " << version << " vs required " << kVersion; in compliantVersion()
/hardware/libhardware/tests/fingerprint/
Dfingerprint_test_fixtures.h26 static const uint16_t kVersion = HARDWARE_MODULE_API_VERSION(1, 0); variable
64 ASSERT_EQ(kVersion, device->version) in SetUp()
/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpuDevice.cpp47 constexpr uint16_t kVersion = 0; in FuchsiaVirtGpuDevice() local
48 query_id |= static_cast<uint64_t>(kVersion) << 16; in FuchsiaVirtGpuDevice()
/hardware/interfaces/biometrics/fingerprint/2.1/default/
DBiometricsFingerprint.cpp36 static const uint16_t kVersion = HARDWARE_MODULE_API_VERSION(2, 1); variable
242 if (kVersion != device->version) { in openHal()
244 ALOGE("Wrong fp version. Expected %d, got %d", kVersion, device->version); in openHal()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp102 return kVersion; in getFeatureLevel()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DDevice.cpp102 return kVersion; in getFeatureLevel()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp146 return kVersion; in getFeatureLevel()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp195 return kVersion; in getFeatureLevel()