Home
last modified time | relevance | path

Searched refs:BUFFER_COUNT (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/usb/tests/accessorytest/
Daudio.c35 #define BUFFER_COUNT 2 macro
42 static char* buffers[BUFFER_COUNT];
43 static int buffer_states[BUFFER_COUNT];
197 for (i = 0; i < BUFFER_COUNT; i++) { in init_audio()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp150 const int BUFFER_COUNT = 4 + extraDiscardedBuffers; in testSurfaceListener() local
151 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() local
500 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 …]
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerPerfTest.java63 private static final int BUFFER_COUNT = 2; field in SurfaceFlingerPerfTest
185 BufferFlinger bufferTracker = new BufferFlinger(BUFFER_COUNT, color, bufferTransformHint); in createBufferTracker()