/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | PreparedModelTest.cpp | 99 ASSERT_FALSE(result.has_value()); in TEST() 113 ASSERT_FALSE(result.has_value()); in TEST() 128 ASSERT_FALSE(result.has_value()); in TEST() 143 ASSERT_FALSE(result.has_value()); in TEST() 160 EXPECT_TRUE(result.has_value()) in TEST() 178 ASSERT_FALSE(result.has_value()); in TEST() 195 ASSERT_FALSE(result.has_value()); in TEST() 212 ASSERT_FALSE(result.has_value()); in TEST() 230 EXPECT_TRUE(result.has_value()) in TEST() 249 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
D | DeviceTest.cpp | 150 ASSERT_FALSE(result.has_value()); in TEST() 159 ASSERT_FALSE(result.has_value()); in TEST() 173 ASSERT_FALSE(result.has_value()); in TEST() 188 ASSERT_FALSE(result.has_value()); in TEST() 203 ASSERT_FALSE(result.has_value()); in TEST() 218 ASSERT_FALSE(result.has_value()); in TEST() 233 ASSERT_FALSE(result.has_value()); in TEST() 248 ASSERT_FALSE(result.has_value()); in TEST() 263 ASSERT_FALSE(result.has_value()); in TEST() 278 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/utils/test/ |
D | PreparedModelTest.cpp | 67 ASSERT_FALSE(result.has_value()); in TEST() 81 ASSERT_FALSE(result.has_value()); in TEST() 96 ASSERT_FALSE(result.has_value()); in TEST() 111 ASSERT_FALSE(result.has_value()); in TEST() 127 EXPECT_TRUE(result.has_value()) in TEST() 144 ASSERT_FALSE(result.has_value()); in TEST() 161 ASSERT_FALSE(result.has_value()); in TEST() 177 ASSERT_FALSE(result.has_value()); in TEST() 193 ASSERT_FALSE(result.has_value()); in TEST() 211 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
D | DeviceTest.cpp | 110 ASSERT_FALSE(result.has_value()); in TEST() 119 ASSERT_FALSE(result.has_value()); in TEST() 137 ASSERT_FALSE(result.has_value()); in TEST() 152 ASSERT_FALSE(result.has_value()); in TEST() 167 ASSERT_FALSE(result.has_value()); in TEST() 181 ASSERT_FALSE(result.has_value()); in TEST() 196 ASSERT_FALSE(result.has_value()); in TEST() 211 ASSERT_FALSE(result.has_value()); in TEST() 243 ASSERT_TRUE(result.has_value()) in TEST() 266 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | PreparedModelTest.cpp | 127 ASSERT_FALSE(result.has_value()); in TEST() 141 ASSERT_FALSE(result.has_value()); in TEST() 156 ASSERT_FALSE(result.has_value()); in TEST() 171 ASSERT_FALSE(result.has_value()); in TEST() 188 EXPECT_TRUE(result.has_value()) in TEST() 206 ASSERT_FALSE(result.has_value()); in TEST() 223 ASSERT_FALSE(result.has_value()); in TEST() 240 ASSERT_FALSE(result.has_value()); in TEST() 258 EXPECT_TRUE(result.has_value()) in TEST() 277 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
D | DeviceTest.cpp | 170 ASSERT_FALSE(result.has_value()); in TEST() 179 ASSERT_FALSE(result.has_value()); in TEST() 193 ASSERT_FALSE(result.has_value()); in TEST() 208 ASSERT_FALSE(result.has_value()); in TEST() 223 ASSERT_FALSE(result.has_value()); in TEST() 238 ASSERT_FALSE(result.has_value()); in TEST() 253 ASSERT_FALSE(result.has_value()); in TEST() 268 ASSERT_FALSE(result.has_value()); in TEST() 283 ASSERT_FALSE(result.has_value()); in TEST() 298 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
D | BufferTest.cpp | 64 ASSERT_FALSE(result.has_value()); in TEST() 76 ASSERT_FALSE(result.has_value()); in TEST() 102 EXPECT_TRUE(result.has_value()) << result.error().message; in TEST() 115 ASSERT_FALSE(result.has_value()); in TEST() 131 ASSERT_FALSE(result.has_value()); in TEST() 145 ASSERT_FALSE(result.has_value()); in TEST() 159 EXPECT_TRUE(result.has_value()); in TEST() 172 ASSERT_FALSE(result.has_value()); in TEST() 188 ASSERT_FALSE(result.has_value()); in TEST() 204 ASSERT_FALSE(result.has_value()); in TEST()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | PreparedModelTest.cpp | 95 ASSERT_FALSE(result.has_value()); in TEST_P() 119 EXPECT_TRUE(result.has_value()) in TEST_P() 137 ASSERT_FALSE(result.has_value()); in TEST_P() 155 ASSERT_FALSE(result.has_value()); in TEST_P() 173 ASSERT_FALSE(result.has_value()); in TEST_P() 196 ASSERT_TRUE(result.has_value()) in TEST_P() 204 ASSERT_TRUE(callbackResult.has_value()) << "Failed with " << callbackResult.error().code << ": " in TEST_P() 228 ASSERT_TRUE(result.has_value()) in TEST_P() 236 ASSERT_FALSE(callbackResult.has_value()); in TEST_P() 254 ASSERT_FALSE(result.has_value()); in TEST_P() [all …]
|
D | DeviceTest.cpp | 171 ASSERT_FALSE(result.has_value()); in TEST_P() 180 ASSERT_FALSE(result.has_value()); in TEST_P() 195 ASSERT_FALSE(result.has_value()); in TEST_P() 210 ASSERT_FALSE(result.has_value()); in TEST_P() 225 ASSERT_FALSE(result.has_value()); in TEST_P() 238 ASSERT_FALSE(result.has_value()); in TEST_P() 253 ASSERT_FALSE(result.has_value()); in TEST_P() 268 ASSERT_FALSE(result.has_value()); in TEST_P() 283 ASSERT_FALSE(result.has_value()); in TEST_P() 298 ASSERT_FALSE(result.has_value()); in TEST_P() [all …]
|
D | ExecutionTest.cpp | 73 ASSERT_FALSE(result.has_value()); in TEST() 95 EXPECT_TRUE(result.has_value()) in TEST() 111 ASSERT_FALSE(result.has_value()); in TEST() 127 ASSERT_FALSE(result.has_value()); in TEST() 143 ASSERT_FALSE(result.has_value()); in TEST() 164 ASSERT_TRUE(result.has_value()) in TEST() 172 ASSERT_TRUE(callbackResult.has_value()) << "Failed with " << callbackResult.error().code << ": " in TEST() 194 ASSERT_TRUE(result.has_value()) in TEST() 202 ASSERT_FALSE(callbackResult.has_value()); in TEST() 218 ASSERT_FALSE(result.has_value()); in TEST() [all …]
|
D | BufferTest.cpp | 66 ASSERT_FALSE(result.has_value()); in TEST() 78 ASSERT_FALSE(result.has_value()); in TEST() 104 EXPECT_TRUE(result.has_value()) << result.error().message; in TEST() 117 ASSERT_FALSE(result.has_value()); in TEST() 133 ASSERT_FALSE(result.has_value()); in TEST() 147 ASSERT_FALSE(result.has_value()); in TEST() 161 EXPECT_TRUE(result.has_value()); in TEST() 176 ASSERT_FALSE(result.has_value()); in TEST() 192 ASSERT_FALSE(result.has_value()); in TEST() 208 ASSERT_FALSE(result.has_value()); in TEST()
|
/hardware/interfaces/neuralnetworks/1.1/utils/test/ |
D | DeviceTest.cpp | 118 ASSERT_FALSE(result.has_value()); in TEST() 127 ASSERT_FALSE(result.has_value()); in TEST() 147 ASSERT_FALSE(result.has_value()); in TEST() 162 ASSERT_FALSE(result.has_value()); in TEST() 177 ASSERT_FALSE(result.has_value()); in TEST() 191 ASSERT_FALSE(result.has_value()); in TEST() 206 ASSERT_FALSE(result.has_value()); in TEST() 221 ASSERT_FALSE(result.has_value()); in TEST() 253 ASSERT_TRUE(result.has_value()) in TEST() 276 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientExecution.cpp | 73 ASSERT_FALSE(result.has_value()); in TEST() 85 ASSERT_FALSE(result.has_value()); in TEST() 109 ASSERT_TRUE(result.has_value()) in TEST() 122 ASSERT_FALSE(result.has_value()); in TEST() 136 ASSERT_FALSE(result.has_value()); in TEST() 152 ASSERT_TRUE(result.has_value()) in TEST() 167 ASSERT_TRUE(result.has_value()) in TEST() 180 ASSERT_FALSE(result.has_value()); in TEST() 194 ASSERT_FALSE(result.has_value()); in TEST() 212 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
D | ResilientBufferTest.cpp | 73 ASSERT_FALSE(result.has_value()); in TEST() 85 ASSERT_FALSE(result.has_value()); in TEST() 122 ASSERT_TRUE(result.has_value()) in TEST() 136 ASSERT_FALSE(result.has_value()); in TEST() 151 ASSERT_FALSE(result.has_value()); in TEST() 168 ASSERT_TRUE(result.has_value()) in TEST() 182 ASSERT_TRUE(result.has_value()) in TEST() 196 ASSERT_FALSE(result.has_value()); in TEST() 211 ASSERT_FALSE(result.has_value()); in TEST() 228 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
D | ResilientPreparedModelTest.cpp | 77 ASSERT_FALSE(result.has_value()); in TEST() 89 ASSERT_FALSE(result.has_value()); in TEST() 115 ASSERT_TRUE(result.has_value()) in TEST() 130 ASSERT_FALSE(result.has_value()); in TEST() 145 ASSERT_FALSE(result.has_value()); in TEST() 165 ASSERT_TRUE(result.has_value()) in TEST() 180 ASSERT_TRUE(result.has_value()) in TEST() 195 ASSERT_FALSE(result.has_value()); in TEST() 211 ASSERT_FALSE(result.has_value()); in TEST() 233 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
D | ResilientDeviceTest.cpp | 114 ASSERT_FALSE(result.has_value()); in TEST() 126 ASSERT_FALSE(result.has_value()); in TEST() 201 ASSERT_TRUE(result.has_value()) in TEST() 214 ASSERT_FALSE(result.has_value()); in TEST() 228 ASSERT_FALSE(result.has_value()); in TEST() 244 ASSERT_TRUE(result.has_value()) in TEST() 259 ASSERT_TRUE(result.has_value()) in TEST() 272 ASSERT_FALSE(result.has_value()); in TEST() 286 ASSERT_FALSE(result.has_value()); in TEST() 304 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
/hardware/interfaces/audio/aidl/default/ |
D | Bluetooth.cpp | 39 if (in_config.isEnabled.has_value()) { in setScoConfig() 42 if (in_config.isNrecEnabled.has_value()) { in setScoConfig() 48 if (in_config.debugName.has_value()) { in setScoConfig() 58 if (in_config.sampleRate.has_value() && in_config.sampleRate.value().value <= 0) { in setHfpConfig() 62 if (in_config.volume.has_value() && (in_config.volume.value().value < HfpConfig::VOLUME_MIN || in setHfpConfig() 68 if (in_config.isEnabled.has_value()) { in setHfpConfig() 71 if (in_config.sampleRate.has_value()) { in setHfpConfig() 74 if (in_config.volume.has_value()) { in setHfpConfig()
|
/hardware/interfaces/identity/aidl/default/ |
D | EicTests.cpp | 45 ASSERT_TRUE(credKey.has_value()); in TEST() 56 ASSERT_TRUE(encContent.has_value()); in TEST() 60 ASSERT_TRUE(signatureOfToBeSigned.has_value()); in TEST() 63 ASSERT_TRUE(credData.has_value()); in TEST() 80 ASSERT_FALSE(decContent.has_value()); in TEST()
|
/hardware/interfaces/bluetooth/audio/aidl/default/ |
D | LeAudioOffloadAudioProvider.cpp | 175 if (!capabilities.metadata.has_value()) return true; in filterCapabilitiesMatchedContext() 178 if (!metadata.has_value()) continue; in filterCapabilitiesMatchedContext() 336 if (requirement_cfg.codecId.has_value()) { in filterMatchedAseConfiguration() 337 if (!setting_cfg.codecId.has_value()) return false; in filterMatchedAseConfiguration() 412 if (!direction_configuration.has_value()) continue; in filterCapabilitiesAseDirectionConfiguration() 413 if (!direction_configuration.value().aseConfiguration.codecId.has_value()) in filterCapabilitiesAseDirectionConfiguration() 492 if (cfg.has_value()) return {cfg.value()}; in getValidConfigurationsFromAllocation() 501 if (cfg.has_value()) temp.push_back(cfg.value()); in getValidConfigurationsFromAllocation() 516 if (!direction_configurations.has_value()) return; in filterRequirementAseDirectionConfiguration() 518 if (!valid_direction_configurations.has_value()) { in filterRequirementAseDirectionConfiguration() [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/ |
D | ConnectedClientTest.cpp | 87 ASSERT_TRUE(maybeGetValueResults.has_value()); in TEST_F() 115 EXPECT_TRUE(maybeGetValueResults.has_value()); in TEST_F() 116 if (!maybeGetValueResults.has_value()) { in TEST_F() 148 ASSERT_TRUE(maybeGetValueResults.has_value()); in TEST_F() 168 ASSERT_TRUE(maybeSetValueResults.has_value()); in TEST_F() 188 EXPECT_TRUE(maybeSetValueResults.has_value()); in TEST_F() 189 if (!maybeSetValueResults.has_value()) { in TEST_F() 213 ASSERT_TRUE(maybeSetValueResults.has_value()); in TEST_F()
|
/hardware/interfaces/graphics/mapper/stable-c/implutils/ |
D | impltests.cpp | 78 EXPECT_TRUE(read.has_value()); in TEST() 95 ASSERT_TRUE(read.has_value()); in TEST() 112 ASSERT_TRUE(readValue.has_value()); in TEST() 131 EXPECT_FALSE(readValue.has_value()); in TEST() 133 ASSERT_FALSE(readValue.has_value()); in TEST() 160 ASSERT_TRUE(read.has_value()); in TEST() 163 EXPECT_FALSE(read.has_value()); in TEST() 176 EXPECT_FALSE(CompressionValue::decode(buffer.data(), 0).has_value()); in TEST() 178 ASSERT_TRUE(read.has_value()); in TEST() 203 EXPECT_FALSE(PlaneLayoutValue::decode(buffer.data(), 0).has_value()); in TEST() [all …]
|
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/ |
D | MessageCounter.cpp | 29 CHECK(mCurrent.has_value()) << "Counter not initialized. Did you call isReady?"; in next() 36 if (!mCurrent.has_value()) { in read() 53 bool MessageCounter::isReady() const { return mCurrent.has_value(); } in isReady()
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Utils.h | 36 if (!maybeCanonical.has_value()) { in validate() 45 if (!result.has_value()) { in valid() 48 return result.has_value(); in valid()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Utils.h | 38 if (!maybeCanonical.has_value()) { in validate() 47 if (!result.has_value()) { in valid() 50 return result.has_value(); in valid()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ValidateHal.cpp | 87 NN_RET_CHECK(canonicalOperandType.has_value()) << canonicalOperandType.error().message; in validateMemoryDesc() 91 NN_RET_CHECK(maybeDimensions.has_value()) << maybeDimensions.error().message; in validateMemoryDesc() 104 << (lhsExtraParams.has_value() ? lhsExtraParams.value().toString() in validateMemoryDesc() 107 << (rhsExtraParams.has_value() ? rhsExtraParams.value().toString() in validateMemoryDesc() 111 NN_RET_CHECK(maybeRhsDimensions.has_value()) << maybeRhsDimensions.error().message; in validateMemoryDesc() 113 NN_RET_CHECK(combined.has_value()); in validateMemoryDesc()
|