Home
last modified time | relevance | path

Searched refs:EXPECT_OK (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp48 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/
DVtsHalConfigstoreV1_0TargetTest.cpp37 #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/
DVtsHalSecureElementTargetTest.cpp42 #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/
Ddrm_hal_clearkey_test.cpp93 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 …]
Ddrm_hal_vendor_test.cpp148 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/
DVtsHalVibratorV1_2TargetTest.cpp37 #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/
DVtsHalVibratorV1_3TargetTest.cpp36 #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/
DVtsHalLightV2_0TargetTest.cpp41 #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/
DVtsHalVibratorV1_1TargetTest.cpp36 #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/
DAudioPrimaryHidlHalTest.cpp57 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/
Ddrm_hal_test.cpp112 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 …]
Ddrm_hal_common.cpp230 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/
DVtsHalVibratorV1_0TargetTest.cpp37 #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/
DVtsHalOccupantAwarenessV1_0TargetTest.cpp42 #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/
Ddrm_hal_test.cpp46 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/
DAudioPrimaryHidlHalUtils.h71 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/
DAudioPrimaryHidlHalUtils.h57 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()
DAudioPrimaryHidlHalTest.cpp39 EXPECT_OK(stream->setDevice(otherAddress)); in testSetDevice()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp128 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 …]
Ddrm_hal_common.cpp207 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/
DVtsHalHealthV2_0TargetTest.cpp104 #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/
DAudioPrimaryHidlHalTest.cpp151 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/
DVtsHalContexthubUtilsHidl.h36 #define EXPECT_OK(result) EXPECT_EQ(result, ::android::hardware::contexthub::V1_0::Result::OK) macro
/hardware/interfaces/health/storage/aidl/vts/functional/
DVtsHalHealthStorageTargetTest.cpp41 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) << ret.getDescription() macro
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DAssertOk.h112 #define EXPECT_OK(ret) EXPECT_PRED_FORMAT1(detail::assertOk, ret) macro

12