Searched refs:BUFFER_COUNT (Results 1 – 3 of 3) sorted by relevance
35 #define BUFFER_COUNT 2 macro42 static char* buffers[BUFFER_COUNT];43 static int buffer_states[BUFFER_COUNT];197 for (i = 0; i < BUFFER_COUNT; i++) { in init_audio()
150 const int BUFFER_COUNT = 4 + extraDiscardedBuffers; in testSurfaceListener() local151 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(window.get(), BUFFER_COUNT)); in testSurfaceListener()154 ANativeWindowBuffer* buffers[BUFFER_COUNT]; in testSurfaceListener()156 for (int i = 0; i < BUFFER_COUNT; i++) { in testSurfaceListener()159 for (int i = 0; i < BUFFER_COUNT; i++) { in testSurfaceListener()165 for (int i = 0; i < BUFFER_COUNT-1; i++) { in testSurfaceListener()499 const int BUFFER_COUNT = 4; in TEST_F() local500 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(window.get(), BUFFER_COUNT)); in TEST_F()505 int fences[BUFFER_COUNT]; in TEST_F()506 ANativeWindowBuffer* buffers[BUFFER_COUNT]; in TEST_F()[all …]
63 private static final int BUFFER_COUNT = 2; field in SurfaceFlingerPerfTest185 BufferFlinger bufferTracker = new BufferFlinger(BUFFER_COUNT, color, bufferTransformHint); in createBufferTracker()