Home
last modified time | relevance | path

Searched refs:EXPECT_OK (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderRpcUniversalTests.cpp100 EXPECT_OK(proc.rootIface->getClientPort(&port1)); in TEST_P()
104 EXPECT_OK(rootIface2->getClientPort(&port2)); in TEST_P()
153 EXPECT_OK(proc.rootIface->sendString("asdf")); in TEST_P()
159 EXPECT_OK(proc.rootIface->doubleString("cool ", &doubled)); in TEST_P()
169 EXPECT_OK(proc.rootIface->doubleString(single, &doubled)); in TEST_P()
184 EXPECT_OK(proc.rootIface->pingMe(new MyBinderRpcSession("foo"), &pingResult)); in TEST_P()
195 EXPECT_OK(proc.rootIface->repeatBinder(inBinder, &outBinder)); in TEST_P()
216 EXPECT_OK(proc.rootIface->openSession("aoeu", &session)); in TEST_P()
220 EXPECT_OK(proc.rootIface->repeatBinder(inBinder, &outBinder)); in TEST_P()
240 EXPECT_OK(proc.rootIface->repeatBinder(nullptr, &outBinder)); in TEST_P()
[all …]
DbinderRpcTestFixture.h23 #define EXPECT_OK(status) \ macro
91 EXPECT_OK(rootIface->countBinders(&remoteCounts)); in ~BinderRpcTestProcessSession()
DbinderRpcTest.cpp429 EXPECT_OK(proc.rootIface->lock()); in TEST_P()
445 EXPECT_OK(proc.rootIface->unlockInMsAsync(blockTimeMs)); in TEST_P()
521 EXPECT_OK(proc.rootIface->repeatBinder(proc.rootBinder, &out)); in TEST_P()
533 threads.push_back(std::thread([&] { EXPECT_OK(iface->sleepMs(500)); })); in saturateThreadPool()
553 EXPECT_OK(proc.rootIface->sendString("a")); in TEST_P()
587 EXPECT_OK(proc.rootIface->blockingSendFdOneway( in TEST_P()
589 EXPECT_OK(proc.rootIface->blockingSendFdOneway( in TEST_P()
593 EXPECT_OK(proc.rootIface->blockingRecvFd(&fdA)); in TEST_P()
599 EXPECT_OK(proc.rootIface->blockingRecvFd(&fdB)); in TEST_P()
664 EXPECT_OK(proc.rootIface->countBinders(&remoteCounts)); in TEST_P()
[all …]
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp38 #define EXPECT_OK(x) EXPECT_EQ(OK, (x)) macro
323 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value)); in TEST_P()
326 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value)); in TEST_P()
329 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value)); in TEST_P()
332 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value)); in TEST_P()
336 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value)); in TEST_P()
339 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &value)); in TEST_P()
352 EXPECT_OK(mProducer->query(inputs, &outputs)); in TEST_P()
360 EXPECT_OK(output.result); in TEST_P()
397 EXPECT_OK(mProducer->query(inputs, &outputs)); in TEST_P()
[all …]
/frameworks/hardware/interfaces/sensorservice/aidl/vts/
DVtsHalSensorManagerTargetTest.cpp71 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro
141 EXPECT_OK(result); in TEST_P()
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp96 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro
176 EXPECT_OK(result); in TEST_P()