Searched refs:maxBuffers (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DBufferPool.java32 public BufferPool(int initialBufferSize, int maxBufferSize, int maxBuffers) { argument
35 mBuffers = new ByteBuffer[maxBuffers];
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp490 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; local
506 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers));
516 // Should now be able to dequeue up to maxBuffers times
519 for (int i = 0; i < maxBuffers; ++i) {
533 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers-1));
543 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; local
549 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1))
550 << "bufferCount: " << maxBuffers + 1;
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp381 const int maxBuffers = local
390 // Should now be able to dequeue up to maxBuffers times
396 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers));
406 for (int i = 0; i < maxBuffers; ++i) {
414 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers - 1));
425 const int maxBuffers = local
433 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1))
434 << "bufferCount: " << maxBuffers + 1;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp1388 size_t maxBuffers = 1; local
1392 maxBuffers = 8; // too large of a number may influence seeks
1396 maxBuffers = 64;
1430 for (size_t numBuffers = 0; numBuffers < maxBuffers; ) {
1436 &mediaBuffers, maxBuffers - numBuffers, &options);
/frameworks/native/opengl/include/GLES/
H A Dglext.h1219 GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
1228 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h2852 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
2861 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp3107 dst->max_buffers = src.maxBuffers;

Completed in 137 milliseconds