Home
last modified time | relevance | path

Searched refs:maxBuffers (Results 1 – 11 of 11) 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.cpp387 const int maxBuffers = in TEST_F() local
402 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers)); in TEST_F()
412 for (int i = 0; i < maxBuffers; ++i) { in TEST_F()
420 ASSERT_EQ(NO_ERROR, mProducer->setMaxDequeuedBufferCount(maxBuffers - 1)); in TEST_F()
431 const int maxBuffers = in TEST_F() local
439 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1)) in TEST_F()
440 << "bufferCount: " << maxBuffers + 1; in TEST_F()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp537 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() local
553 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers)); in TEST_P()
566 for (int i = 0; i < maxBuffers; ++i) { in TEST_P()
579 ASSERT_OK(mProducer->setMaxDequeuedBufferCount(maxBuffers-1)); in TEST_P()
589 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() local
595 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1)) in TEST_P()
596 << "bufferCount: " << maxBuffers + 1; in TEST_P()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1308 size_t maxBuffers = 1; in readBuffer() local
1312 maxBuffers = 8; // too large of a number may influence seeks in readBuffer()
1316 maxBuffers = 64; in readBuffer()
1351 for (size_t numBuffers = 0; numBuffers < maxBuffers; ) { in readBuffer()
1359 &mediaBuffers, maxBuffers - numBuffers, &options); in readBuffer()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp1273 size_t maxBuffers = 1; in readBuffer() local
1277 maxBuffers = 8; // too large of a number may influence seeks in readBuffer()
1281 maxBuffers = 64; in readBuffer()
1310 for (size_t numBuffers = 0; numBuffers < maxBuffers; ) { in readBuffer()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in424 void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) {
425 CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers);
/frameworks/native/opengl/include/GLES/
Dglext.h859 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *n…
868 GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1417 void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) {
1418 CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3491 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *n…
3500 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffe…
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp3708 dst->max_buffers = src.v3_2.maxBuffers; in configureStreams()
/frameworks/native/opengl/libs/
Dentries.in251 GL_ENTRY(void, glExtGetBuffersQCOM, GLuint *buffers, GLint maxBuffers, GLint *numBuffers)