Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp44 ASSERT_OK(getDevice()->getMicrophones(returnIn(res, microphones))); in TEST_P()
48 ASSERT_OK(res); in TEST_P()
83 ASSERT_OK(stream->prepareForReading( in TEST_P()
94 ASSERT_OK(readRes); in TEST_P()
104 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_P()
105 ASSERT_OK(res); in TEST_P()
109 ASSERT_OK(res); in TEST_P()
132 ASSERT_OK(ret); in TEST_P()
145 ASSERT_OK(stream->getDevices(returnIn(res, devices))); in testGetDevices()
178 ASSERT_OK(device->getHwAvSync(returnIn(res, sync))); in checkGetHwAVSync()
[all …]
/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()
63 ASSERT_OK(res); in TEST_P()
79 ASSERT_OK(res); in TEST_P()
105 ASSERT_OK(res); in TEST_P()
129 ASSERT_OK(res); in TEST_P()
149 ASSERT_OK(res); 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.cpp20 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
55 ASSERT_OK(res); in TEST_P()
92 ASSERT_OK(res); in TEST_P()
124 ASSERT_OK(res); in TEST_P()
156 ASSERT_OK(res); in TEST_P()
188 ASSERT_OK(res); in TEST_P()
220 ASSERT_OK(res); in TEST_P()
252 ASSERT_OK(res); in TEST_P()
284 ASSERT_OK(res); in TEST_P()
320 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/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h362 ASSERT_OK(getDevicesFactory()->openDevice(invalidDevice, returnIn(result, device))); in TEST_P()
393 ASSERT_OK(getDevice()->initCheck()); in TEST_P()
456 ASSERT_OK((BaseTestClass::getDevice().get()->*getter)(returnIn(res, initialValue)));
475 ASSERT_OK((BaseTestClass::getDevice().get()->*getter)(returnIn(res, getValue)));
679 ASSERT_OK(getDevice()->getInputBufferSize(audioConfig, returnIn(res, bufferSize))); in inputBufferSizeTest()
762 ASSERT_OK(Parameters::get(getDevice(), keys, returnIn(res, values))); in TEST_P()
793 ASSERT_OK(debugDump(handle)); in testDebugDump()
814 ASSERT_OK(dump(getDevice(), hidl_handle())); in TEST_P()
839 ASSERT_OK(openStream(ioHandle, config, returnIn(*res, mStream, *suggestedConfigPtr))); in open()
849 ASSERT_OK(openStream(ioHandle, *suggestedConfigPtr, in open()
[all …]
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
53 ASSERT_OK(res); in TEST_P()
91 ASSERT_OK(res); in TEST_P()
130 ASSERT_OK(res); in TEST_P()
154 ASSERT_OK(res); in TEST_P()
176 ASSERT_OK(res); in TEST_P()
189 ASSERT_OK(res); in TEST_P()
220 ASSERT_OK(res); in TEST_P()
260 ASSERT_OK(res); in TEST_P()
293 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
36 ASSERT_OK(res); in TEST_P()
60 ASSERT_OK(res); in TEST_P()
85 ASSERT_OK(res); in TEST_P()
110 ASSERT_OK(res); in TEST_P()
135 ASSERT_OK(res); in TEST_P()
160 ASSERT_OK(res); in TEST_P()
185 ASSERT_OK(res); in TEST_P()
206 ASSERT_OK(res); in TEST_P()
231 ASSERT_OK(res); in TEST_P()
[all …]
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp34 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) << ret.description() macro
145 ASSERT_OK(ret); in TEST_P()
159 ASSERT_OK(ret); in TEST_P()
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
/hardware/interfaces/contexthub/1.0/vts/functional/
DVtsHalContexthubV1_0TargetTest.cpp48 #define ASSERT_OK(result) ASSERT_EQ(result, Result::OK) macro
203 ASSERT_OK(registerCallback(new ContexthubCallbackBase())); in TEST_P()
208 ASSERT_OK(registerCallback(nullptr)); in TEST_P()
228 ASSERT_OK(registerCallback(cb)); in TEST_P()
231 ASSERT_OK(result); in TEST_P()
265 ASSERT_OK(registerCallback(cb)); in SetUp()
/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()
Ddrm_hal_vendor_test.h57 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
152 ASSERT_OK(res); in SetUp()
162 ASSERT_OK(res); in SetUp()
/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp40 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
86 ASSERT_OK(light->getSupportedTypes([this](const hidl_vec<Type> &types) { in SetUp()
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DAudioPrimaryHidlHalTest.cpp108 ASSERT_OK(getDevice()->close()); in TEST_P()
133 ASSERT_OK(getDevice()->close()); in TEST_P()
/hardware/interfaces/configstore/1.0/vts/functional/
DVtsHalConfigstoreV1_0TargetTest.cpp36 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DAssertOk.h111 #define ASSERT_OK(ret) ASSERT_PRED_FORMAT1(detail::assertOk, ret) macro
/hardware/interfaces/light/aidl/vts/functional/
DVtsHalLightTargetTest.cpp47 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h53 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp101 #define ASSERT_OK(r) ASSERT_TRUE(isOk(r)) macro
163 ASSERT_OK(ret); in TEST_P()