Home
last modified time | relevance | path

Searched refs:maxLockedBuffers (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp48 int maxLockedBuffers; member
54 << p.maxLockedBuffers << ", F:0x" in operator <<()
68 params.maxLockedBuffers, params.format); in SetUp()
72 mCC = new CpuConsumer(consumer, params.maxLockedBuffers); in SetUp()
619 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, params.maxLockedBuffers + 1)); in TEST_P()
626 for (int i = 0; i < params.maxLockedBuffers + 1; i++) { in TEST_P()
634 std::vector<CpuConsumer::LockedBuffer> b(params.maxLockedBuffers); in TEST_P()
635 for (int i = 0; i < params.maxLockedBuffers; i++) { in TEST_P()
650 ALOGV("Locking frame %d (too many)", params.maxLockedBuffers); in TEST_P()
659 ALOGV("Locking frame %d (should work now)", params.maxLockedBuffers); in TEST_P()
[all …]
/frameworks/native/libs/gui/
DCpuConsumer.cpp35 size_t maxLockedBuffers, bool controlledByApp) : in CpuConsumer() argument
37 mMaxLockedBuffers(maxLockedBuffers), in CpuConsumer()
41 mAcquiredBuffers.insertAt(0, maxLockedBuffers); in CpuConsumer()
44 mConsumer->setMaxAcquiredBufferCount(static_cast<int32_t>(maxLockedBuffers)); in CpuConsumer()
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h95 size_t maxLockedBuffers, bool controlledByApp = false);