Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java159 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() local
165 if (event.getTimestamp() < lowestTime) { in add()
174 protected SchedulableEvent removeNextEventLocked(long lowestTime) { in removeNextEventLocked() argument
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked()
179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
196 long lowestTime = mEventBuffer.firstKey(); in getNextEvent() local
198 if (lowestTime <= time) { in getNextEvent()
199 event = removeNextEventLocked(lowestTime); in getNextEvent()
223 long lowestTime = mEventBuffer.firstKey(); in waitNextEvent() local
225 if (lowestTime <= now) { in waitNextEvent()
[all …]
DMidiEventMultiScheduler.java77 long lowestTime = Long.MAX_VALUE; in waitNextEvent() local
81 lowestTime = Math.min(lowestTime, in waitNextEvent()
85 if (lowestTime <= now) { in waitNextEvent()
88 long nanosToWait = lowestTime - now; in waitNextEvent()