/hardware/interfaces/drm/1.1/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 48 EXPECT_OK(res); in openSession() 64 EXPECT_OK(res); in openSession() 123 EXPECT_OK(res); in loadKeys() 133 EXPECT_OK(res); in loadKeys() 145 EXPECT_OK(res); in TEST_P() 170 EXPECT_OK(res); in TEST_P() 191 EXPECT_OK(res); in TEST_P() 206 EXPECT_OK(res); in TEST_P() 226 EXPECT_OK(res); in TEST_P() 244 EXPECT_OK(res); in TEST_P() [all …]
|
/hardware/interfaces/configstore/1.0/vts/functional/ |
D | VtsHalConfigstoreV1_0TargetTest.cpp | 37 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) macro 59 EXPECT_OK(status); in TEST_P() 63 EXPECT_OK(status); in TEST_P() 67 EXPECT_OK(status); in TEST_P() 71 EXPECT_OK(status); in TEST_P() 75 EXPECT_OK(status); in TEST_P() 79 EXPECT_OK(status); in TEST_P() 83 EXPECT_OK(status); in TEST_P() 87 EXPECT_OK(status); in TEST_P() 91 EXPECT_OK(status); in TEST_P() [all …]
|
/hardware/interfaces/secure_element/aidl/vts/ |
D | VtsHalSecureElementTargetTest.cpp | 42 #define EXPECT_OK(status) \ macro 112 EXPECT_OK(secure_element_->init(secure_element_callback_)); in SetUp() 127 EXPECT_OK(secure_element_->reset()); in TearDown() 179 EXPECT_OK(secure_element_->init(secure_element_callback_)); in TEST_P() 189 EXPECT_OK(secure_element_->openBasicChannel(kSelectableAid, 0x00, &basic_channel_response)); in TEST_P() 191 EXPECT_OK(secure_element_->openLogicalChannel(kSelectableAid, 0x00, &logical_channel_response)); in TEST_P() 193 EXPECT_OK(secure_element_->reset()); in TEST_P() 207 EXPECT_OK(secure_element_->isCardPresent(&res)); in TEST_P() 216 EXPECT_OK(secure_element_->getAtr(&atr)); in TEST_P() 233 EXPECT_OK(secure_element_->openBasicChannel(kSelectableAid, 0x00, &response)); in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 93 EXPECT_OK(res); in TEST_P() 107 EXPECT_OK(res); in TEST_P() 121 EXPECT_OK(res); in TEST_P() 135 EXPECT_OK(res); in TEST_P() 149 EXPECT_OK(res); in TEST_P() 163 EXPECT_OK(res); in TEST_P() 184 EXPECT_OK(res); in TEST_P() 198 EXPECT_OK(res); in TEST_P() 214 EXPECT_OK(res); in openSession() 272 EXPECT_OK(res); in loadKeys() [all …]
|
D | drm_hal_vendor_test.cpp | 148 EXPECT_OK(res); in TEST_P() 163 EXPECT_OK(res); in TEST_P() 178 EXPECT_OK(res); in TEST_P() 193 EXPECT_OK(res); in TEST_P() 227 EXPECT_OK(res); in TEST_P() 239 EXPECT_OK(res); in TEST_P() 255 EXPECT_OK(res); in TEST_P() 270 EXPECT_OK(res); in openSession() 316 EXPECT_OK(res); in loadKeys() 336 EXPECT_OK(res); in loadKeys() [all …]
|
/hardware/interfaces/vibrator/1.2/vts/functional/ |
D | VtsHalVibratorV1_2TargetTest.cpp | 37 #define EXPECT_OK(ret) ASSERT_TRUE((ret).isOk()) macro 76 EXPECT_OK(vibrator->perform_1_2(effect, strength, validatePerformEffect)); in TEST_P() 87 EXPECT_OK( in TEST_P() 97 EXPECT_OK( in TEST_P() 107 EXPECT_OK(vibrator->perform_1_2(Effect::THUD, badStrength, validatePerformEffectBadInput)); in TEST_P() 116 EXPECT_OK(vibrator->perform_1_2(Effect::THUD, badStrength, validatePerformEffectBadInput)); in TEST_P()
|
/hardware/interfaces/vibrator/1.3/vts/functional/ |
D | VtsHalVibratorV1_3TargetTest.cpp | 36 #define EXPECT_OK(ret) ASSERT_TRUE((ret).isOk()) macro 89 EXPECT_OK(vibrator->perform_1_3(effect, strength, validatePerformEffect)); in TEST_P() 100 EXPECT_OK(vibrator->perform_1_3(badEffect, EffectStrength::LIGHT, in TEST_P() 110 EXPECT_OK(vibrator->perform_1_3(badEffect, EffectStrength::LIGHT, in TEST_P() 120 EXPECT_OK(vibrator->perform_1_3(Effect::THUD, badStrength, in TEST_P() 130 EXPECT_OK(vibrator->perform_1_3(Effect::THUD, badStrength, in TEST_P()
|
/hardware/interfaces/light/2.0/vts/functional/ |
D | VtsHalLightV2_0TargetTest.cpp | 41 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) macro 97 EXPECT_OK(ret); in TearDown() 106 EXPECT_OK(ret); in TearDown() 118 EXPECT_OK(ret); in TEST_P() 129 EXPECT_OK(ret); in TEST_P() 148 EXPECT_OK(ret); in TEST_P()
|
/hardware/interfaces/vibrator/1.1/vts/functional/ |
D | VtsHalVibratorV1_1TargetTest.cpp | 36 #define EXPECT_OK(ret) EXPECT_TRUE((ret).isOk()) macro 79 EXPECT_OK( in TEST_P() 89 EXPECT_OK( in TEST_P() 99 EXPECT_OK(vibrator->perform_1_1(Effect_1_1::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P() 108 EXPECT_OK(vibrator->perform_1_1(Effect_1_1::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.1/ |
D | AudioPrimaryHidlHalTest.cpp | 57 EXPECT_OK(stream->getRecommendedLatencyModes(returnIn(res, mSupportedLatencyModes))); in SetUp() 76 EXPECT_OK(stream->setLatencyMode(mode)); in TEST_P() 96 EXPECT_OK(stream->setLatencyModeCallback(new MockOutLatencyModeCallback)); in TEST_P() 97 EXPECT_OK(stream->setLatencyModeCallback(nullptr)); in TEST_P()
|
/hardware/interfaces/drm/aidl/vts/ |
D | drm_hal_test.cpp | 112 EXPECT_OK(result); in TEST_P() 182 EXPECT_OK(ret); in TEST_P() 193 EXPECT_OK(ret); in TEST_P() 196 EXPECT_OK(ret); in TEST_P() 229 EXPECT_OK(ret); in TEST_P() 234 EXPECT_OK(ret); in TEST_P() 279 EXPECT_OK(ret); in TEST_P() 303 EXPECT_OK(ret); in TEST_P() 331 EXPECT_OK(ret); in TEST_P() 357 EXPECT_OK(ret); in TEST_P() [all …]
|
D | drm_hal_common.cpp | 230 EXPECT_OK(ret) << "createDrmPlugin remote call failed"; in createDrmPlugin() 241 EXPECT_OK(ret) << "createCryptoPlugin remote call failed"; in createCryptoPlugin() 271 EXPECT_OK(ret); in isCryptoSchemeSupported() 342 EXPECT_OK(ret); in openSession() 356 EXPECT_OK(ret); in closeSession() 367 EXPECT_OK(ret) << "Failed to get key request for configuration " in getKeyRequest() 394 EXPECT_OK(ret) << "Failure providing key response for configuration "; in provideKeyResponse() 462 EXPECT_OK(cryptoPlugin->setSharedBufferBase(out)); in getDecryptMemory() 629 EXPECT_OK(ret); in decryptWithInvalidKeys() 632 EXPECT_OK(cryptoPlugin->setMediaDrmSession(sessionId)); in decryptWithInvalidKeys()
|
/hardware/interfaces/vibrator/1.0/vts/functional/ |
D | VtsHalVibratorV1_0TargetTest.cpp | 37 #define EXPECT_OK(ret) EXPECT_TRUE((ret).isOk()) macro 84 EXPECT_OK(vibrator->perform(badEffect, EffectStrength::LIGHT, validatePerformEffectBadInput)); in TEST_P() 93 EXPECT_OK(vibrator->perform(badEffect, EffectStrength::LIGHT, validatePerformEffectBadInput)); in TEST_P() 102 EXPECT_OK(vibrator->perform(Effect::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P() 111 EXPECT_OK(vibrator->perform(Effect::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
|
/hardware/interfaces/automotive/occupant_awareness/aidl/vts/functional/ |
D | VtsHalOccupantAwarenessV1_0TargetTest.cpp | 42 #define EXPECT_OK(ret) ASSERT_TRUE((ret).isOk()) macro 79 EXPECT_OK(status); in TEST_P() 82 EXPECT_OK(mOccupantAwarenessService->stopDetection(&occupantAwarenessStatus)); in TEST_P() 97 EXPECT_OK(mOccupantAwarenessService->getCapabilityForRole(role, &capabilities)); in TEST_P() 129 EXPECT_OK(mOccupantAwarenessService->getState(role, detectionCapability, &oasStatus)); in TEST_P() 172 EXPECT_OK(status); in TEST_P()
|
/hardware/interfaces/drm/1.4/vts/functional/ |
D | drm_hal_test.cpp | 46 EXPECT_OK(res); in CryptoPlugin() 70 EXPECT_OK(res); in OpenSession() 153 EXPECT_OK(res); in TEST_P() 172 EXPECT_OK(res); in TEST_P() 185 EXPECT_OK(res2); in TEST_P() 188 EXPECT_OK(res3); in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalUtils.h | 71 EXPECT_OK(stream->getSupportedSampleRates(getFormat(stream), returnIn(res, rates))); in sampleRates() 78 EXPECT_OK(stream->getSupportedChannelMasks(getFormat(stream), returnIn(res, channels))); in channelMasks() 84 EXPECT_OK(stream->getSupportedFormats(returnIn(capabilities))); in formats() 90 EXPECT_OK(stream->getSupportedFormats(returnIn(res, capabilities))); in formats()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalUtils.h | 57 EXPECT_OK(stream->getSupportedSampleRates(returnIn(rates))); in sampleRates() 62 EXPECT_OK(stream->getSupportedChannelMasks(returnIn(channels))); in channelMasks() 67 EXPECT_OK(stream->getSupportedFormats(returnIn(capabilities))); in formats()
|
D | AudioPrimaryHidlHalTest.cpp | 39 EXPECT_OK(stream->setDevice(otherAddress)); in testSetDevice()
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_test.cpp | 128 EXPECT_OK(res); in TEST_P() 146 EXPECT_OK(res); in TEST_P() 189 EXPECT_OK(res); in TEST_P() 201 EXPECT_OK(res); in TEST_P() 247 EXPECT_OK(res); in TEST_P() 261 EXPECT_OK(res); in TEST_P() 271 EXPECT_OK(res); in TEST_P() 421 EXPECT_OK(res); in TEST_P() 440 EXPECT_OK(res); in TEST_P() 442 EXPECT_OK(res); in TEST_P() [all …]
|
D | drm_hal_common.cpp | 207 EXPECT_OK(res); in provision() 219 EXPECT_OK(res); in provision() 230 EXPECT_OK(res); in openSession() 246 EXPECT_OK(res); in openSession() 280 EXPECT_OK(res); in getKeyRequest() 305 EXPECT_OK(res); in provideKeyResponse() 375 EXPECT_OK(res); in getDecryptMemory() 380 EXPECT_OK(res); in getDecryptMemory() 433 EXPECT_OK(res); in decrypt() 541 EXPECT_OK(res); in decryptWithInvalidKeys()
|
/hardware/interfaces/health/2.0/vts/functional/ |
D | VtsHalHealthV2_0TargetTest.cpp | 104 #define EXPECT_OK(r) EXPECT_TRUE(isOk(r)) macro 247 EXPECT_OK(mHealth->getChargeCounter([](auto result, auto value) { in TEST_P() 256 EXPECT_OK(mHealth->getCurrentNow([](auto result, auto value) { in TEST_P() 265 EXPECT_OK(mHealth->getCurrentAverage([](auto result, auto value) { in TEST_P() 274 EXPECT_OK(mHealth->getCapacity([](auto result, auto value) { in TEST_P() 283 EXPECT_OK(mHealth->getEnergyCounter([](auto result, auto value) { in TEST_P() 292 EXPECT_OK(mHealth->getChargeStatus([](auto result, auto value) { in TEST_P() 301 EXPECT_OK(mHealth->getStorageInfo([](auto result, auto& value) { in TEST_P() 310 EXPECT_OK(mHealth->getDiskStats([](auto result, auto& value) { in TEST_P() 319 EXPECT_OK(mHealth->getHealthInfo([](auto result, auto& value) { in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | AudioPrimaryHidlHalTest.cpp | 151 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{validSource}, in TEST_P() 162 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{invalidSource}, in TEST_P() 180 EXPECT_OK(getDevice()->updateAudioPatch(handle, hidl_vec<AudioPortConfig>{validSource}, in TEST_P() 191 EXPECT_OK(getDevice()->updateAudioPatch( in TEST_P() 538 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{source}, in createPatchIfNeeded() 543 EXPECT_OK(stream->setDevices({address})); in createPatchIfNeeded() 550 EXPECT_OK(getDevice()->releaseAudioPatch(mPatchHandle)); in releasePatchIfNeeded() 708 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{source}, in createPatchIfNeeded() 713 EXPECT_OK(stream->setDevices({address})); in createPatchIfNeeded() 719 EXPECT_OK(getDevice()->releaseAudioPatch(mPatchHandle)); in releasePatchIfNeeded() [all …]
|
/hardware/interfaces/contexthub/common/vts/ |
D | VtsHalContexthubUtilsHidl.h | 36 #define EXPECT_OK(result) EXPECT_EQ(result, ::android::hardware::contexthub::V1_0::Result::OK) macro
|
/hardware/interfaces/health/storage/aidl/vts/functional/ |
D | VtsHalHealthStorageTargetTest.cpp | 41 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) << ret.getDescription() macro
|
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/ |
D | AssertOk.h | 112 #define EXPECT_OK(ret) EXPECT_PRED_FORMAT1(detail::assertOk, ret) macro
|