Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp46 int maxLockedBuffers; member
52 << p.maxLockedBuffers << ", F:0x" in operator <<()
66 params.maxLockedBuffers, params.format); in SetUp()
70 mCC = new CpuConsumer(consumer, params.maxLockedBuffers); in SetUp()
623 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, params.maxLockedBuffers + 1)); in TEST_P()
630 for (int i = 0; i < params.maxLockedBuffers + 1; i++) { in TEST_P()
638 CpuConsumer::LockedBuffer *b = new CpuConsumer::LockedBuffer[params.maxLockedBuffers]; in TEST_P()
639 for (int i = 0; i < params.maxLockedBuffers; i++) { in TEST_P()
654 ALOGV("Locking frame %d (too many)", params.maxLockedBuffers); in TEST_P()
663 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/include/gui/
DCpuConsumer.h94 size_t maxLockedBuffers, bool controlledByApp = false);