Home
last modified time | relevance | path

Searched refs:ASSERT_OK (Results 1 – 25 of 41) sorted by relevance

12

/hardware/interfaces/radio/aidl/vts/
Dradio_imsmedia_test.cpp24 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
60 ASSERT_OK(res); in TEST_P()
64 ASSERT_OK(res); in TEST_P()
71 ASSERT_OK(res); in TEST_P()
75 ASSERT_OK(res); in TEST_P()
82 ASSERT_OK(res); in TEST_P()
108 ASSERT_OK(res); in TEST_P()
112 ASSERT_OK(res); in TEST_P()
119 ASSERT_OK(res); in TEST_P()
123 ASSERT_OK(res); in TEST_P()
[all …]
Dradio_sap_test.cpp21 #define ASSERT_OK(ret) ASSERT_TRUE((ret).isOk()) macro
41 ASSERT_OK(res) << res; in SetUp()
99 ASSERT_OK(res) << res; in TEST_P()
123 ASSERT_OK(res) << res; in TEST_P()
145 ASSERT_OK(res) << res; in TEST_P()
171 ASSERT_OK(res) << res; in TEST_P()
197 ASSERT_OK(res) << res; in TEST_P()
223 ASSERT_OK(res) << res; in TEST_P()
249 ASSERT_OK(res) << res; in TEST_P()
274 ASSERT_OK(res) << res; in TEST_P()
Dradio_ims_test.cpp22 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
68 ASSERT_OK(res); in TEST_P()
100 ASSERT_OK(res); in TEST_P()
127 ASSERT_OK(res); in TEST_P()
152 ASSERT_OK(res); in TEST_P()
178 ASSERT_OK(res); in TEST_P()
204 ASSERT_OK(res); in TEST_P()
232 ASSERT_OK(res); in TEST_P()
Dradio_config_test.cpp21 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
66 ASSERT_OK(res); in TEST_P()
85 ASSERT_OK(res); in TEST_P()
104 ASSERT_OK(res); in TEST_P()
137 ASSERT_OK(aidl_status); in TEST_P()
146 ASSERT_OK(res); in TEST_P()
179 ASSERT_OK(res); in TEST_P()
203 ASSERT_OK(res); in TEST_P()
230 ASSERT_OK(res); in TEST_P()
303 ASSERT_OK(res); in TEST_P()
[all …]
Dradio_network_test.cpp24 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
96 ASSERT_OK(aidl_status); in TEST_P()
164 ASSERT_OK(res); in TEST_P()
194 ASSERT_OK(res); in TEST_P()
215 ASSERT_OK(res); in invokeAndExpectResponse()
363 ASSERT_OK(res); in TEST_P()
395 ASSERT_OK(res); in TEST_P()
428 ASSERT_OK(res); in TEST_P()
462 ASSERT_OK(res); in TEST_P()
495 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/power/stats/aidl/vts/
DVtsHalPowerStatsTargetTest.cpp43 #define ASSERT_OK(a) \ macro
150 ASSERT_OK(powerstats->getPowerEntityInfo(&infos)); in TEST_P()
160 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
168 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
176 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
186 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
198 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
208 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
218 ASSERT_OK(powerstats->getStateResidency({}, &results)); in TEST_P()
224 ASSERT_OK(powerstats->getPowerEntityInfo(&entities)); in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/2.3/vts/functional/
DVtsHalBiometricsFingerprintV2_3TargetTest.cpp17 #define ASSERT_OK(v) ASSERT_TRUE(v.isOk()) macro
50 ASSERT_OK(mService->isUdfps(sensorId)); in TEST_P()
55 ASSERT_OK(mService->onFingerDown(1, 2, 3.0f, 4.0f)); in TEST_P()
60 ASSERT_OK(mService->onFingerUp()); in TEST_P()
/hardware/interfaces/contexthub/1.2/vts/functional/
DVtsHalContexthubV1_2TargetTest.cpp111 ASSERT_OK(registerCallback_1_2(new ContexthubCallbackV1_2())); in TEST_P()
116 ASSERT_OK(registerCallback_1_2(nullptr)); in TEST_P()
122 ASSERT_OK(registerCallback_1_2(new ContexthubCallbackV1_2())); in TEST_P()
125 ASSERT_OK(registerCallback_1_2(nullptr)); in TEST_P()
129 ASSERT_OK(registerCallback_1_2(new ContexthubCallbackV1_2())); in TEST_P()
132 ASSERT_OK(registerCallback_1_2(nullptr)); in TEST_P()
136 ASSERT_OK(registerCallback_1_2(new ContexthubCallbackV1_2())); in TEST_P()
139 ASSERT_OK(registerCallback_1_2(nullptr)); in TEST_P()
164 ASSERT_OK(registerCallback_1_2(cb)); in TEST_P()
167 ASSERT_OK(result); in TEST_P()
/hardware/interfaces/radio/config/1.1/vts/functional/
Dradio_config_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
27 ASSERT_OK(res); in TEST_P()
44 ASSERT_OK(res); in TEST_P()
72 ASSERT_OK(res); in TEST_P()
88 ASSERT_OK(res); in TEST_P()
114 ASSERT_OK(res); in TEST_P()
138 ASSERT_OK(res); in TEST_P()
158 ASSERT_OK(res); in TEST_P()
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp70 ASSERT_OK(getDevice()->getMicrophones(returnIn(res, microphones))); in TEST_P()
74 ASSERT_OK(res); in TEST_P()
111 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_P()
112 ASSERT_OK(res); in TEST_P()
148 ASSERT_OK(ret);
161 ASSERT_OK(stream->getDevices(returnIn(res, devices)));
208 ASSERT_OK(device->getHwAvSync(returnIn(res, sync)));
212 ASSERT_OK(res);
224 ASSERT_OK(stream->updateSinkMetadata(metadata))
232 ASSERT_OK(stream->updateSinkMetadata({}));
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DAudioPrimaryHidlHalTest.cpp25 ASSERT_OK(closeStream(true /*clear*/)); in TEST_P()
26 ASSERT_OK(getDevice()->close()); in TEST_P()
39 ASSERT_OK(closeStream(true /*clear*/)); in TEST_P()
40 ASSERT_OK(getDevice()->close()); in TEST_P()
51 ASSERT_OK(getDevice()->updateAudioPatch(AudioPatchHandle{}, hidl_vec<AudioPortConfig>(), in TEST_P()
135 ASSERT_OK(stream->setEventCallback(nullptr)); in TEST_P()
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/
DAudioPrimaryHidlHalTest.cpp41 ASSERT_OK(stream->setDevice(address)); // Go back to the original value in testSetDevice()
54 ASSERT_OK(stream->setConnectedState(address, true)); in testConnectedState()
55 ASSERT_OK(stream->setConnectedState(address, false)); in testConnectedState()
77 ASSERT_OK(getDevice()->setMode(mode)); in TEST_P()
/hardware/interfaces/radio/1.3/vts/functional/
Dradio_hidl_hal_api.cpp21 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
40 ASSERT_OK(res); in TEST_P()
57 ASSERT_OK(resEnabled); in TEST_P()
78 ASSERT_OK(res); in TEST_P()
/hardware/interfaces/radio/1.2/vts/functional/
Dradio_hidl_hal_api.cpp21 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
56 ASSERT_OK(res); in TEST_P()
96 ASSERT_OK(res); in TEST_P()
131 ASSERT_OK(res); in TEST_P()
166 ASSERT_OK(res); in TEST_P()
201 ASSERT_OK(res); in TEST_P()
236 ASSERT_OK(res); in TEST_P()
271 ASSERT_OK(res); in TEST_P()
306 ASSERT_OK(res); in TEST_P()
345 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/radio/config/1.0/vts/functional/
Dradio_config_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
27 ASSERT_OK(res); in TEST_P()
45 ASSERT_OK(res); in TEST_P()
/hardware/interfaces/radio/config/1.2/vts/functional/
Dradio_config_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
27 ASSERT_OK(res); in TEST_P()
/hardware/interfaces/radio/config/1.3/vts/functional/
Dradio_config_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
27 ASSERT_OK(res); in TEST_P()
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp38 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) << ret.description() macro
104 ASSERT_OK(ret); in TEST_P()
118 ASSERT_OK(ret); in TEST_P()
/hardware/interfaces/contexthub/1.1/vts/functional/
DVtsHalContexthubV1_1TargetTest.cpp55 ASSERT_OK(registerCallback(new ContexthubCallbackV1_0())); in TEST_P()
58 ASSERT_OK(registerCallback(nullptr)); in TEST_P()
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
57 ASSERT_OK(res); in TEST_P()
113 ASSERT_OK(res); in TEST_P()
169 ASSERT_OK(res); in TEST_P()
207 ASSERT_OK(res); in TEST_P()
229 ASSERT_OK(res); in TEST_P()
243 ASSERT_OK(res); in TEST_P()
274 ASSERT_OK(res); in TEST_P()
314 ASSERT_OK(res); in TEST_P()
347 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/health/storage/aidl/vts/functional/
DVtsHalHealthStorageTargetTest.cpp40 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) << ret.getDescription() macro
106 ASSERT_OK(storage_->garbageCollect(kDevGcTimeoutSec, nullptr)); in TEST_P()
119 ASSERT_OK(storage_->garbageCollect(kDevGcTimeoutSec, cb)); in TEST_P()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h349 ASSERT_OK(getDevicesFactory()->openDevice(invalidDevice, returnIn(result, device))); in TEST_P()
380 ASSERT_OK(getDevice()->initCheck()); in TEST_P()
445 ASSERT_OK(((this->*iutGetter)().get()->*getter)(returnIn(res, initialValue)));
464 ASSERT_OK(((this->*iutGetter)().get()->*getter)(returnIn(res, getValue)));
688 ASSERT_OK(getDevice()->getInputBufferSize(audioConfig, returnIn(res, bufferSize))); in inputBufferSizeTest()
771 ASSERT_OK(Parameters::get(getDevice(), keys, returnIn(res, values))); in TEST_P()
802 ASSERT_OK(debugDump(handle)); in testDebugDump()
823 ASSERT_OK(dump(getDevice(), hidl_handle())); in TEST_P()
850 ASSERT_OK(openStream(mIoHandle, config, returnIn(*res, mStream, *suggestedConfigPtr))); in open()
860 ASSERT_OK(openStream(mIoHandle, *suggestedConfigPtr, in open()
[all …]
/hardware/interfaces/contexthub/1.0/vts/functional/
DVtsHalContexthubV1_0TargetTest.cpp91 ASSERT_OK(registerCallback(new ContexthubCallbackV1_0())); in TEST_P()
96 ASSERT_OK(registerCallback(nullptr)); in TEST_P()
115 ASSERT_OK(registerCallback(cb)); in TEST_P()
118 ASSERT_OK(result); in TEST_P()
152 ASSERT_OK(registerCallback(cb)); in SetUp()
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp20 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
37 ASSERT_OK(res); in TEST_P()
61 ASSERT_OK(res); in TEST_P()
86 ASSERT_OK(res); in TEST_P()
111 ASSERT_OK(res); in TEST_P()
136 ASSERT_OK(res); in TEST_P()
161 ASSERT_OK(res); in TEST_P()
186 ASSERT_OK(res); in TEST_P()
207 ASSERT_OK(res); in TEST_P()
232 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h51 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
137 ASSERT_OK(res); in SetUp()
147 ASSERT_OK(res); in SetUp()

12