/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | PreparedModelTest.cpp | 92 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 …]
|
D | DeviceTest.cpp | 168 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 …]
|
D | TestUtils.h | 29 const nn::Version kVersion = GetParam();
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Utils.h | 31 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/ |
D | Utils.h | 33 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/ |
D | Utils.h | 42 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/ |
D | Utils.h | 42 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/ |
D | Utils.h | 50 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/ |
D | fingerprint_test_fixtures.h | 26 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/ |
D | FuchsiaVirtGpuDevice.cpp | 47 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/ |
D | BiometricsFingerprint.cpp | 36 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/ |
D | Device.cpp | 102 return kVersion; in getFeatureLevel()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Device.cpp | 102 return kVersion; in getFeatureLevel()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 146 return kVersion; in getFeatureLevel()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 195 return kVersion; in getFeatureLevel()
|