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.java40 assertEquals(0, rb.getNumBuffers()); in ctorCreatesEmptyRingBuffer()
48 assertEquals(1, rb.getNumBuffers()); in canAddAndRetrieveSingleElement()
59 assertEquals(2, rb.getNumBuffers()); in canAddAndRetrieveMultipleElements()
72 assertEquals(2, rb.getNumBuffers()); in canFillToCapacityWithMultipleElements()
89 assertEquals(0, rb.getNumBuffers()); in canNotOverfillWithSingleElement()
100 assertEquals(1, rb.getNumBuffers()); in appendPrunesBufferIfNecessary()
114 assertEquals(1, rb.getNumBuffers()); in appendPrunesMultipleBuffersIfNecessary()
126 assertEquals(2, rb.getNumBuffers()); in appendPrunesOnlyWhenNecessary()
139 assertEquals(2, rb.getNumBuffers()); in appendPrunesInFifoOrder()
152 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.java648 byte[][] buffers = new byte[data.getNumBuffers()][]; in captureBugreport()
649 for (int i = 0; i < data.getNumBuffers(); i++) { in captureBugreport()