Searched refs:lowestTime (Results 1 – 2 of 2) sorted by relevance
159 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() local165 if (event.getTimestamp() < lowestTime) { in add()174 protected SchedulableEvent removeNextEventLocked(long lowestTime) { in removeNextEventLocked() argument176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked()179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()196 long lowestTime = mEventBuffer.firstKey(); in getNextEvent() local198 if (lowestTime <= time) { in getNextEvent()199 event = removeNextEventLocked(lowestTime); in getNextEvent()223 long lowestTime = mEventBuffer.firstKey(); in waitNextEvent() local225 if (lowestTime <= now) { in waitNextEvent()[all …]
77 long lowestTime = Long.MAX_VALUE; in waitNextEvent() local81 lowestTime = Math.min(lowestTime, in waitNextEvent()85 if (lowestTime <= now) { in waitNextEvent()88 long nanosToWait = lowestTime - now; in waitNextEvent()