Lines Matching full:consumer
265 const sp<CpuConsumer>& consumer) {
274 if (OK == (ret = consumer->lockNextBuffer(&buf))) {
280 EXPECT_OK(consumer->unlockBuffer(buf));
755 sp<CpuConsumer> consumer;
757 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
822 sp<CpuConsumer> consumer;
824 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
829 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &depthStreamId));
903 sp<CpuConsumer> consumer;
905 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
969 sp<CpuConsumer> consumer;
971 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
997 sp<CpuConsumer> consumer;
999 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
1013 EXPECT_OK(consumer->lockNextBuffer(&buf));
1019 EXPECT_OK(consumer->unlockBuffer(buf));
1037 sp<CpuConsumer> consumer;
1039 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
1093 while (consumer->lockNextBuffer(&greyBuffer) == OK) {
1100 EXPECT_OK(consumer->unlockBuffer(greyBuffer));
1122 sp<CpuConsumer> consumer;
1125 /*synchronousMode*/true, &consumer, &streamId));
1149 EXPECT_OK(consumer->lockNextBuffer(&buf));
1160 EXPECT_OK(consumer->unlockBuffer(buf));
1176 sp<CpuConsumer> consumer;
1179 /*synchronousMode*/false, &consumer, &streamId));
1204 EXPECT_EQ(OK, consumer->lockNextBuffer(&buf));
1218 EXPECT_OK(consumer->unlockBuffer(buf));