Lines Matching refs:OK

67     ASSERT_EQ(OK, outputConsumer->consumerConnect(new DummyListener, false));  in TEST_F()
71 ASSERT_EQ(OK, status); in TEST_F()
72 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
75 ASSERT_EQ(OK, outputProducer->allowAllocation(false)); in TEST_F()
78 ASSERT_EQ(OK, inputProducer->connect(new DummyProducerListener, in TEST_F()
87 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); in TEST_F()
90 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F()
93 ASSERT_EQ(OK, buffer->unlock()); in TEST_F()
98 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
102 ASSERT_EQ(OK, inputProducer->allowAllocation(false)); in TEST_F()
105 ASSERT_EQ(OK, outputConsumer->acquireBuffer(&item, 0)); in TEST_F()
108 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, in TEST_F()
111 ASSERT_EQ(OK, item.mGraphicBuffer->unlock()); in TEST_F()
113 ASSERT_EQ(OK, outputConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
135 ASSERT_EQ(OK, outputConsumers[output]->consumerConnect( in TEST_F()
141 ASSERT_EQ(OK, status); in TEST_F()
143 ASSERT_EQ(OK, splitter->addOutput(outputProducers[output])); in TEST_F()
146 ASSERT_EQ(OK, outputProducers[output]->allowAllocation(false)); in TEST_F()
150 ASSERT_EQ(OK, inputProducer->connect(new DummyProducerListener, in TEST_F()
159 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); in TEST_F()
162 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F()
165 ASSERT_EQ(OK, buffer->unlock()); in TEST_F()
170 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
174 ASSERT_EQ(OK, inputProducer->allowAllocation(false)); in TEST_F()
178 ASSERT_EQ(OK, outputConsumers[output]->acquireBuffer(&item, 0)); in TEST_F()
181 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, in TEST_F()
184 ASSERT_EQ(OK, item.mGraphicBuffer->unlock()); in TEST_F()
186 ASSERT_EQ(OK, outputConsumers[output]->releaseBuffer(item.mSlot, in TEST_F()
206 ASSERT_EQ(OK, outputConsumer->consumerConnect(new DummyListener, false)); in TEST_F()
210 ASSERT_EQ(OK, status); in TEST_F()
211 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
214 ASSERT_EQ(OK, inputProducer->connect(new DummyProducerListener, in TEST_F()
223 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); in TEST_F()
231 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()