Home
last modified time | relevance | path

Searched refs:maxBuffers (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DBufferPool.java32 public BufferPool(int initialBufferSize, int maxBufferSize, int maxBuffers) { in BufferPool() argument
35 mBuffers = new ByteBuffer[maxBuffers]; in BufferPool()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp381 const int maxBuffers = in TEST_F() local
396 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers)); in TEST_F()
406 for (int i = 0; i < maxBuffers; ++i) { in TEST_F()
414 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers - 1)); in TEST_F()
425 const int maxBuffers = in TEST_F() local
433 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1)) in TEST_F()
434 << "bufferCount: " << maxBuffers + 1; in TEST_F()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp490 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() local
506 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers)); in TEST_F()
519 for (int i = 0; i < maxBuffers; ++i) { in TEST_F()
533 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers-1)); in TEST_F()
543 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() local
549 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1)) in TEST_F()
550 << "bufferCount: " << maxBuffers + 1; in TEST_F()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1388 size_t maxBuffers = 1; in readBuffer() local
1392 maxBuffers = 8; // too large of a number may influence seeks in readBuffer()
1396 maxBuffers = 64; in readBuffer()
1430 for (size_t numBuffers = 0; numBuffers < maxBuffers; ) { in readBuffer()
1436 &mediaBuffers, maxBuffers - numBuffers, &options); in readBuffer()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in415 void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) {
416 CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers);
/frameworks/native/opengl/include/GLES/
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 *n…
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1060 void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) {
1061 CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2852 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *n…
2861 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffe…
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp3107 dst->max_buffers = src.maxBuffers; in configureStreams()
/frameworks/native/opengl/libs/
Dentries.in234 GL_ENTRY(void, glExtGetBuffersQCOM, GLuint *buffers, GLint maxBuffers, GLint *numBuffers)