Home
last modified time | relevance | path

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

/frameworks/base/tests/MidiTests/src/com/android/server/midi/
DMidiEventMultiSchedulerTest.java64 MidiEventScheduler scheduler0 = multiScheduler.getEventScheduler(0); in testMultiScheduler() local
68 scheduler0.add(scheduler0.createScheduledEvent(new byte[]{(byte) 0xf0, (byte) 0xf7}, in testMultiScheduler()
74 scheduler0.add(scheduler0.createScheduledEvent(new byte[]{(byte) 0xf5, (byte) 0xf6}, in testMultiScheduler()
77 assertNotNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
81 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
85 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
89 assertNotNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
102 MidiEventScheduler scheduler0 = multiScheduler.getEventScheduler(0); in testSchedulerLargeData() local
109 scheduler0.add(scheduler0.createScheduledEvent(expectedArray, 0, arraySize, in testSchedulerLargeData()
113 (MidiEventScheduler.MidiEvent) scheduler0.getNextEvent(System.nanoTime()); in testSchedulerLargeData()
[all …]