Home
last modified time | relevance | path

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

/frameworks/base/tests/MidiTests/src/com/android/server/midi/
DMidiEventMultiSchedulerTest.java62 MidiEventMultiScheduler multiScheduler = new MidiEventMultiScheduler(3); in testMultiScheduler() local
63 assertEquals(3, multiScheduler.getNumEventSchedulers()); in testMultiScheduler()
64 MidiEventScheduler scheduler0 = multiScheduler.getEventScheduler(0); in testMultiScheduler()
65 MidiEventScheduler scheduler1 = multiScheduler.getEventScheduler(1); in testMultiScheduler()
66 MidiEventScheduler scheduler2 = multiScheduler.getEventScheduler(2); in testMultiScheduler()
76 assertTrue(multiScheduler.waitNextEvent()); in testMultiScheduler()
80 assertTrue(multiScheduler.waitNextEvent()); in testMultiScheduler()
84 assertTrue(multiScheduler.waitNextEvent()); in testMultiScheduler()
88 assertTrue(multiScheduler.waitNextEvent()); in testMultiScheduler()
100 MidiEventMultiScheduler multiScheduler = new MidiEventMultiScheduler(1); in testSchedulerLargeData() local
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDirectMidiDevice.java377 MidiEventMultiScheduler multiScheduler = in openLocked() local
380 MidiEventScheduler scheduler = multiScheduler.getEventScheduler(cableNumber); in openLocked()
766 MidiEventMultiScheduler multiScheduler = in closeLocked() local
768 multiScheduler.close(); in closeLocked()