Searched refs:ASSERT_OK (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 36 #define ASSERT_OK(x) ASSERT_EQ(OK, (x)) macro 117 ASSERT_OK(mConsumer->consumerConnect(mDC, /*controlledByApp*/false)); in SetUp() 139 ASSERT_OK(TryConnectProducer()); in ConnectProducer() 248 ASSERT_OK(mProducer->requestBuffer(*slot, buffer)); in setupDequeueRequestBuffer() 287 ASSERT_OK(mConsumer->consumerDisconnect()); in TEST_P() 301 ASSERT_OK(mProducer->disconnect(TEST_API)); in TEST_P() 364 ASSERT_OK(mConsumer->consumerDisconnect()); in TEST_P() 394 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer)); in TEST_P() 401 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P() 464 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer)); in TEST_P() [all …]
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 90 #define ASSERT_OK(__ret__) ASSERT_TRUE(isOk(__ret__)) macro 135 ASSERT_OK(manager_->getSensorList([] (__unused const auto &list, auto result) { in TEST_F() 137 ASSERT_OK(result); in TEST_F() 146 ASSERT_OK(ashmem_->allocate(memSize, [&](bool success, const auto &mem) { in TEST_F() 149 ASSERT_OK(manager_->createAshmemDirectChannel(mem, intendedSize, callback)); in TEST_F() 208 …ASSERT_OK(manager_->getDefaultSensor(SensorType::ACCELEROMETER, [&] (const auto &info, auto result… in TEST_F() 224 ASSERT_OK(getSensorResult); in TEST_F() 226 ASSERT_OK(ashmem_->allocate(memSize, [&] (bool success, const auto &mem) { in TEST_F() 230 … ASSERT_OK(manager_->createAshmemDirectChannel(mem, memSize, [&](const auto &chan, Result result) { in TEST_F() 231 ASSERT_OK(result); in TEST_F() [all …]
|
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/ |
D | VtsFwkDisplayServiceV1_0TargetTest.cpp | 40 #define ASSERT_OK(ret) ASSERT_TRUE((ret).isOk()) macro 43 ASSERT_OK(retVal); \ 48 ASSERT_OK(retVal); \ 83 ASSERT_OK(ret); in SetUp()
|