Home
last modified time | relevance | path

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

/frameworks/base/tests/MidiTests/src/com/android/server/midi/
DMidiEventMultiSchedulerTest.java77 assertNotNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
78 assertNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
79 assertNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
81 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
82 assertNotNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
83 assertNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
85 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
86 assertNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
87 assertNotNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
89 assertNotNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
[all …]
/frameworks/base/cmds/uinput/tests/src/com/android/commands/uinput/tests/
DEvemuParserTest.java50 Event event = parser.getNextEvent(); in getRegistrationEvent()
180 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testLedAndSwitchStatesIgnored()
181 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.DELAY); in testLedAndSwitchStatesIgnored()
182 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.INJECT); in testLedAndSwitchStatesIgnored()
214 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testEventParsing_OneFrame()
215 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.DELAY); in testEventParsing_OneFrame()
216 assertInjectEvent(parser.getNextEvent(), 0x2, 0x0, 1, -1); in testEventParsing_OneFrame()
217 assertInjectEvent(parser.getNextEvent(), 0x2, 0x1, -2); in testEventParsing_OneFrame()
218 assertInjectEvent(parser.getNextEvent(), 0x0, 0x0, 0); in testEventParsing_OneFrame()
234 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testEventParsing_MultipleFrames()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/
DUserUsageStatsServiceTest.java116 events.getNextEvent(outEvent); in testReportEvent_eventAppearsInQueries()
143 events.getNextEvent(outEvent); in testReportEvent_packageUsedEventNotTracked()
174 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage()
211 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
229 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
249 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
269 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
289 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
309 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
329 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage_Caching()
[all …]
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEventParser.java28 Event getNextEvent() throws IOException; in getNextEvent() method
DUinput.java110 while ((e = mParser.getNextEvent()) != null) { in run()
DJsonStyleParser.java51 public Event getNextEvent() throws IOException { in getNextEvent() method in JsonStyleParser
DEvemuParser.java162 public Event getNextEvent() throws IOException { in getNextEvent() method in EvemuParser
/frameworks/base/services/people/java/com/android/server/people/data/
DUsageStatsQueryHelper.java81 usageEvents.getNextEvent(e); in querySince()
138 usageEvents.getNextEvent(e); in queryAppMovingToForegroundEvents()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DHid.java76 while ((e = mReader.getNextEvent()) != null) { in run()
DEvent.java239 public Event getNextEvent() throws IOException { in getNextEvent() method in Event.Reader
/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java191 public SchedulableEvent getNextEvent(long time) { in getNextEvent() method in EventScheduler
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java81 results.getNextEvent(event); in update()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDirectMidiDevice.java572 (MidiEvent) eventScheduler.getNextEvent(now); in openLocked()
590 event = (MidiEvent) eventScheduler.getNextEvent(now); in openLocked()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java911 public boolean getNextEvent(Event eventOut) { in getNextEvent() method in UsageEvents
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1657 if (events.getNextEvent(event)) { in calculateEstimatedPackageLaunchTime()
1678 } while (events.getNextEvent(event)); in calculateEstimatedPackageLaunchTime()
1712 for (boolean unprocessedEvent = events.getNextEvent(event); unprocessedEvent; in handleEstimatedLaunchTimesOnUserUnlock()
1713 unprocessedEvent = events.getNextEvent(event)) { in handleEstimatedLaunchTimesOnUserUnlock()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java4461 events.getNextEvent(event);
/frameworks/base/boot/
Dboot-image-profile.txt3427 HSPLandroid/app/usage/UsageEvents;->getNextEvent(Landroid/app/usage/UsageEvents$Event;)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5619 method public boolean getNextEvent(android.app.usage.UsageEvents.Event);
/frameworks/base/config/
Dboot-image-profile.txt3427 HSPLandroid/app/usage/UsageEvents;->getNextEvent(Landroid/app/usage/UsageEvents$Event;)Z
/frameworks/base/core/api/
Dcurrent.txt9450 method public boolean getNextEvent(android.app.usage.UsageEvents.Event);