Lines Matching refs:minBuffers
490 int minBuffers; in TEST_F() local
491 ASSERT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minBuffers)); in TEST_F()
494 minBuffers++; in TEST_F()
496 ASSERT_OK(mProducer->setBufferCount(minBuffers)) << "bufferCount: " << minBuffers; in TEST_F()
501 for (int i = 0; i < minBuffers; ++i) { in TEST_F()
514 for (int i = 0; i < minBuffers; ++i) { in TEST_F()
536 int minBuffers; in TEST_F() local
537 ASSERT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minBuffers)); in TEST_F()
540 minBuffers++; in TEST_F()
544 …EXPECT_EQ(BAD_VALUE, mProducer->setBufferCount(minBuffers - 1)) << "bufferCount: " << minBuffers -… in TEST_F()
562 EXPECT_EQ(BAD_VALUE, mProducer->setBufferCount(minBuffers)) << "bufferCount: " << minBuffers; in TEST_F()
568 EXPECT_EQ(NO_INIT, mProducer->setBufferCount(minBuffers)) << "bufferCount: " << minBuffers; in TEST_F()