Home
last modified time | relevance | path

Searched refs:generateRandomByteStream (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbMidiPacketConverterTest.java36 private byte[] generateRandomByteStream(Random rnd, int size) { in generateRandomByteStream() method in UsbMidiPacketConverterTest
178 byte[] input = generateRandomByteStream(rnd, 1003 /* arbitrary large size */); in testDecoderLargePacketDoesNotCrash()
361 byte[] input = generateRandomByteStream(rnd, 1003 /* arbitrary large size */); in testEncoderLargePacketDoesNotCrash()
377 rawMidi[cableNumber] = generateRandomByteStream(rnd, bufferSize); in testEncodeDecode()
/frameworks/base/tests/MidiTests/src/com/android/server/midi/
DMidiEventMultiSchedulerTest.java42 private byte[] generateRandomByteStream(Random rnd, int size) { in generateRandomByteStream() method in MidiEventMultiSchedulerTest
107 byte[] expectedArray = generateRandomByteStream(rnd, arraySize); in testSchedulerLargeData()