Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/platform/android/thread/
DThreadBase.h54 nsecs_t nextWakeup; in waitForWork() local
57 nextWakeup = mQueue.nextWakeup(lock); in waitForWork()
60 if (nextWakeup < std::numeric_limits<nsecs_t>::max()) { in waitForWork()
61 timeout = ns2ms(nextWakeup - WorkQueue::clock::now()); in waitForWork()
/frameworks/base/libs/hwui/platform/host/thread/
DThreadBase.h48 nsecs_t nextWakeup = mQueue.nextWakeup(lock); in waitForWork() local
50 if (nextWakeup < std::numeric_limits<nsecs_t>::max()) { in waitForWork()
51 int timeout = nextWakeup - WorkQueue::clock::now(); in waitForWork()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DLazyAlarmStore.java126 long nextWakeup = 0; in getNextWakeupDeliveryTime() local
132 if (nextWakeup == 0) { in getNextWakeupDeliveryTime()
133 nextWakeup = a.getMaxWhenElapsed(); in getNextWakeupDeliveryTime()
135 if (a.getWhenElapsed() > nextWakeup) { in getNextWakeupDeliveryTime()
138 nextWakeup = Math.min(nextWakeup, a.getMaxWhenElapsed()); in getNextWakeupDeliveryTime()
142 return nextWakeup; in getNextWakeupDeliveryTime()
/frameworks/base/libs/hwui/thread/
DWorkQueue.h112 nsecs_t nextWakeup(std::unique_lock<std::mutex>& lock) { in nextWakeup() function