Searched refs:bufferCapacity (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTraceBufferTest.java | 91 final int bufferCapacity = objectSize * 2 + 1; in test_addItemMustOverwriteOne() local 92 mBuffer.setCapacity(bufferCapacity); in test_addItemMustOverwriteOne() 116 assertEquals(String.format("Buffer is full, used space should be %d", bufferCapacity), in test_addItemMustOverwriteOne() 117 mBuffer.getBufferSize(), bufferCapacity - 1); in test_addItemMustOverwriteOne() 127 final int bufferCapacity = objectSize * 2; in test_addItemMustOverwriteMultiple() local 128 mBuffer.setCapacity(bufferCapacity); in test_addItemMustOverwriteMultiple() 157 assertEquals(String.format(" Buffer is full, used space should be %d", bufferCapacity), in test_addItemMustOverwriteMultiple() 158 mBuffer.getBufferSize(), bufferCapacity); in test_addItemMustOverwriteMultiple()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_various.cpp | 419 int32_t bufferCapacity; in TEST() local 439 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in TEST() 441 bufferCapacity, bufferCapacity % framesPerBurst); in TEST() 445 EXPECT_LE(actualSize, bufferCapacity); in TEST() 449 EXPECT_LE(actualSize, bufferCapacity); in TEST() 451 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity - 1); in TEST() 453 EXPECT_LE(actualSize, bufferCapacity); in TEST() 455 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity); in TEST() 457 EXPECT_LE(actualSize, bufferCapacity); in TEST() 459 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity + 1); in TEST() [all …]
|
D | test_open_params.cpp | 49 int32_t bufferCapacity; in testOpenOptions() local 108 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in testOpenOptions() 110 bufferCapacity, bufferCapacity % framesPerBurst); in testOpenOptions()
|
D | test_recovery.cpp | 33 int32_t bufferCapacity; in main() local 81 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in main() 83 bufferCapacity, framesPerBurst); in main()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowTracing.java | 77 int bufferCapacity) { in WindowTracing() argument 78 this(file, service, choreographer, service.mGlobalLock, bufferCapacity); in WindowTracing() 82 WindowManagerGlobalLock globalLock, int bufferCapacity) { in WindowTracing() argument 87 mBuffer = new WindowTraceBuffer(bufferCapacity); in WindowTracing()
|
D | WindowTraceBuffer.java | 47 WindowTraceBuffer(int bufferCapacity) { in WindowTraceBuffer() argument 48 mBufferCapacity = bufferCapacity; in WindowTraceBuffer()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 149 public int bufferCapacity() { in bufferCapacity() method in IpConnectivityMetrics 156 mCapacity = bufferCapacity(); in initBuffer()
|