Searched refs:MAX_BYTES (Results 1 – 3 of 3) sorted by relevance
35 private static final int MAX_BYTES = 10; field in ByteArrayRingBufferTest39 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 …]
178 public static final int MAX_BYTES = 508; field in GattClientListener.GattCallback292 byte[] byteValue = new byte[MAX_BYTES]; in writeCharacteristic()294 for (int i = 0; i < MAX_BYTES; i++) { in writeCharacteristic()
299 … field public static final String EXTRA_MAX_BYTES = "android.provider.MediaStore.extra.MAX_BYTES";