Searched refs:expectedArray (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/MidiTests/src/com/android/server/midi/ |
D | MidiEventMultiSchedulerTest.java | 48 private void compareByteArrays(byte[] expectedArray, byte[] outputArray) { in compareByteArrays() argument 49 assertEquals(expectedArray.length, outputArray.length); in compareByteArrays() 51 assertEquals(expectedArray[i], outputArray[i]); in compareByteArrays() 107 byte[] expectedArray = generateRandomByteStream(rnd, arraySize); in testSchedulerLargeData() 109 scheduler0.add(scheduler0.createScheduledEvent(expectedArray, 0, arraySize, in testSchedulerLargeData() 115 compareByteArrays(expectedArray, event.data); in testSchedulerLargeData()
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbMidiPacketConverterTest.java | 42 private void compareByteArrays(byte[] expectedArray, byte[] outputArray) { in compareByteArrays() argument 43 assertEquals(expectedArray.length, outputArray.length); in compareByteArrays() 45 assertEquals(expectedArray[i], outputArray[i]); in compareByteArrays()
|