Searched refs:ASSERT_OK (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp36 #define ASSERT_OK(x) ASSERT_EQ(OK, (x)) macro
117 ASSERT_OK(mConsumer->consumerConnect(mDC, /*controlledByApp*/false));
139 ASSERT_OK(TryConnectProducer());
248 ASSERT_OK(mProducer->requestBuffer(*slot, buffer));
287 ASSERT_OK(mConsumer->consumerDisconnect());
301 ASSERT_OK(mProducer->disconnect(TEST_API));
364 ASSERT_OK(mConsumer->consumerDisconnect());
394 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer));
401 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output));
464 ASSERT_OK(mProduce
[all...]
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
H A DVtsHalSensorManagerV1_0TargetTest.cpp90 #define ASSERT_OK(__ret__) ASSERT_TRUE(isOk(__ret__)) macro
135 ASSERT_OK(manager_->getSensorList([] (__unused const auto &list, auto result) {
137 ASSERT_OK(result);
146 ASSERT_OK(ashmem_->allocate(memSize, [&](bool success, const auto &mem) {
149 ASSERT_OK(manager_->createAshmemDirectChannel(mem, intendedSize, callback));
208 ASSERT_OK(manager_->getDefaultSensor(SensorType::ACCELEROMETER, [&] (const auto &info, auto result) {
224 ASSERT_OK(getSensorResult);
226 ASSERT_OK(ashmem_->allocate(memSize, [&] (bool success, const auto &mem) {
230 ASSERT_OK(manager_->createAshmemDirectChannel(mem, memSize, [&](const auto &chan, Result result) {
231 ASSERT_OK(resul
[all...]
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
H A DVtsFwkDisplayServiceV1_0TargetTest.cpp40 #define ASSERT_OK(ret) ASSERT_TRUE((ret).isOk()) macro
43 ASSERT_OK(retVal); \
48 ASSERT_OK(retVal); \
83 ASSERT_OK(ret);

Completed in 11 milliseconds