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.cpp385 const int maxBuffers = in TEST_F() local
399 ASSERT_EQ(OK, mProducer->setMaxDequeuedBufferCount(maxBuffers)); in TEST_F()
409 for (int i = 0; i < maxBuffers; ++i) { in TEST_F()
417 ASSERT_EQ(OK, mProducer->setMaxDequeuedBufferCount(maxBuffers - 1)); in TEST_F()
428 const int maxBuffers = in TEST_F() local
435 EXPECT_EQ(BAD_VALUE, mProducer->setMaxDequeuedBufferCount(maxBuffers + 1)) in TEST_F()
436 << "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.cpp1340 size_t maxBuffers = 1; in readBuffer() local
1344 maxBuffers = 8; // too large of a number may influence seeks in readBuffer()
1348 maxBuffers = 64; in readBuffer()
1383 for (size_t numBuffers = 0; numBuffers < maxBuffers; ) { in readBuffer()
1391 &mediaBuffers, maxBuffers - numBuffers, &options); 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/
Dentries_gles1.in81 GL_ENTRY(void, glExtGetBuffersQCOM, GLuint *buffers, GLint maxBuffers, GLint *numBuffers)
Dentries.in251 GL_ENTRY(void, glExtGetBuffersQCOM, GLuint *buffers, GLint maxBuffers, GLint *numBuffers)
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1061 uint32_t maxBuffers = outputStream->asHalStream()->max_buffers; in requestStreamBuffers() local
1062 if (totalHandout > maxBuffers) { in requestStreamBuffers()
1066 numBuffersRequested, maxBuffers); in requestStreamBuffers()
4419 dst->max_buffers = src.v3_2.maxBuffers; in configureStreams()
/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…