Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DByteArrayRingBufferTest.java35 private static final int MAX_BYTES = 10; field in ByteArrayRingBufferTest
39 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in ctorCreatesEmptyRingBuffer()
45 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveSingleElement()
54 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveMultipleElements()
66 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canFillToCapacityWithMultipleElements()
69 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements()
77 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canFillToCapacityWithSingleElement()
79 assertEquals(MAX_BYTES, data.length); in canFillToCapacityWithSingleElement()
85 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canNotOverfillWithSingleElement()
87 assertTrue(data.length > MAX_BYTES); in canNotOverfillWithSingleElement()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java178 public static final int MAX_BYTES = 508; field in GattClientListener.GattCallback
292 byte[] byteValue = new byte[MAX_BYTES]; in writeCharacteristic()
294 for (int i = 0; i < MAX_BYTES; i++) { in writeCharacteristic()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt299 … field public static final String EXTRA_MAX_BYTES = "android.provider.MediaStore.extra.MAX_BYTES";