Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp35 ASSERT_OK(devicesFactory->openDevice("primary", returnIn(result, baseDevice))); in TEST_F()
36 ASSERT_OK(result); in TEST_F()
53 ASSERT_OK(device->getMicrophones(returnIn(res, microphones))); in TEST_F()
54 ASSERT_OK(res); in TEST_F()
75 ASSERT_OK(device->openInputStream(ioHandle, microphone.deviceAddress, config, flags, in TEST_F()
81 ASSERT_OK(device->openInputStream(ioHandle, microphone.deviceAddress, in TEST_F()
85 ASSERT_OK(res); in TEST_F()
94 ASSERT_OK(stream->prepareForReading( in TEST_F()
105 ASSERT_OK(readRes); in TEST_F()
115 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_F()
[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_F()
44 ASSERT_OK(res); in TEST_F()
63 ASSERT_OK(res); in TEST_F()
79 ASSERT_OK(res); in TEST_F()
105 ASSERT_OK(res); in TEST_F()
129 ASSERT_OK(res); in TEST_F()
149 ASSERT_OK(res); in TEST_F()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h248 ASSERT_OK(devicesFactory->openDevice(invalidDevice, returnIn(result, device))); in TEST_F()
280 ASSERT_OK(devicesFactory->openDevice(IDevicesFactory::Device::PRIMARY, in initPrimaryDevice()
282 ASSERT_OK(result); in initPrimaryDevice()
287 ASSERT_OK(devicesFactory->openPrimaryDevice(returnIn(result, device))); in initPrimaryDevice()
288 ASSERT_OK(result); in initPrimaryDevice()
300 ASSERT_OK(device->initCheck()); in TEST_F()
327 ASSERT_OK((device.get()->*getter)(returnIn(res, initialValue)));
346 ASSERT_OK((device.get()->*getter)(returnIn(res, getValue)));
522 ASSERT_OK(device->getInputBufferSize(audioConfig, returnIn(res, bufferSize))); in inputBufferSizeTest()
591 ASSERT_OK(Parameters::get(device, keys, returnIn(res, values))); in TEST_F()
[all …]
/hardware/interfaces/radio/1.3/vts/functional/
Dradio_hidl_hal_api.cpp20 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
30 ASSERT_OK(res); in TEST_F()
47 ASSERT_OK(resEnabled); in TEST_F()
68 ASSERT_OK(res); in TEST_F()
92 ASSERT_OK(res); in TEST_F()
104 ASSERT_OK(res); in TEST_F()
/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()
76 ASSERT_OK(device->setMode(mode)); in TEST_F()
/hardware/interfaces/radio/1.2/vts/functional/
Dradio_hidl_hal_api.cpp20 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
52 ASSERT_OK(res); in TEST_F()
89 ASSERT_OK(res); in TEST_F()
121 ASSERT_OK(res); in TEST_F()
153 ASSERT_OK(res); in TEST_F()
185 ASSERT_OK(res); in TEST_F()
217 ASSERT_OK(res); in TEST_F()
249 ASSERT_OK(res); in TEST_F()
281 ASSERT_OK(res); in TEST_F()
315 ASSERT_OK(res); in TEST_F()
[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_F()
45 ASSERT_OK(res); in TEST_F()
/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_F()
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_api.cpp19 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
37 ASSERT_OK(res); in TEST_F()
68 ASSERT_OK(res); in TEST_F()
100 ASSERT_OK(res); in TEST_F()
124 ASSERT_OK(res); in TEST_F()
146 ASSERT_OK(res); in TEST_F()
159 ASSERT_OK(res); in TEST_F()
184 ASSERT_OK(res); in TEST_F()
212 ASSERT_OK(res); in TEST_F()
248 ASSERT_OK(res); in TEST_F()
[all …]
/hardware/interfaces/contexthub/1.0/vts/functional/
DVtsHalContexthubV1_0TargetTest.cpp47 #define ASSERT_OK(result) ASSERT_EQ(result, Result::OK) macro
227 ASSERT_OK(registerCallback(new ContexthubCallbackBase())); in TEST_P()
232 ASSERT_OK(registerCallback(nullptr)); in TEST_P()
252 ASSERT_OK(registerCallback(cb)); in TEST_P()
255 ASSERT_OK(result); in TEST_P()
289 ASSERT_OK(registerCallback(cb)); in SetUp()
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp33 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) << ret.description() macro
159 ASSERT_OK(ret); in TEST_F()
173 ASSERT_OK(ret); in TEST_F()
/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp38 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
99 ASSERT_OK(light->getSupportedTypes([this](const hidl_vec<Type> &types) { in SetUp()
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp136 #define ASSERT_OK(r) ASSERT_TRUE(isOk(r)) macro
200 ASSERT_OK(ret); in TEST_F()
/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/configstore/1.0/vts/functional/
DVtsHalConfigstoreV1_0TargetTest.cpp35 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp76 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
267 ASSERT_OK(res); in SetUp()
277 ASSERT_OK(res); in SetUp()
Ddrm_hal_vendor_test.cpp82 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro
329 ASSERT_OK(res); in SetUp()
339 ASSERT_OK(res); in SetUp()
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp89 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) macro