Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DByteArrayRingBufferTest.java38 assertEquals(0, rb.getNumBuffers()); in ctorCreatesEmptyRingBuffer()
46 assertEquals(1, rb.getNumBuffers()); in canAddAndRetrieveSingleElement()
57 assertEquals(2, rb.getNumBuffers()); in canAddAndRetrieveMultipleElements()
70 assertEquals(2, rb.getNumBuffers()); in canFillToCapacityWithMultipleElements()
87 assertEquals(0, rb.getNumBuffers()); in canNotOverfillWithSingleElement()
98 assertEquals(1, rb.getNumBuffers()); in appendPrunesBufferIfNecessary()
112 assertEquals(1, rb.getNumBuffers()); in appendPrunesMultipleBuffersIfNecessary()
124 assertEquals(2, rb.getNumBuffers()); in appendPrunesOnlyWhenNecessary()
137 assertEquals(2, rb.getNumBuffers()); in appendPrunesInFifoOrder()
150 assertEquals(0, rb.getNumBuffers()); in appendPrunesEvenWhenNewDataCanNotFit()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java76 public int getNumBuffers() { in getNumBuffers() method in ByteArrayRingBuffer
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java574 byte[][] buffers = new byte[data.getNumBuffers()][]; in captureBugreport()
575 for (int i = 0; i < data.getNumBuffers(); i++) { in captureBugreport()