Searched refs:nextWakeupTime (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncDispatchTimerQueue.cpp | 107 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule() local 112 mArmedInfo && ((nextWakeupTime > (mArmedInfo->mActualWakeupTime + mMinVsyncDistance))); in schedule() 121 nextWakeupTime = std::max(now, nextVsyncTime - timing.workDuration - timing.readyDuration); in schedule() 127 nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule() 132 mArmedInfo = {nextWakeupTime, nextVsyncTime, nextReadyTime}; in schedule() 133 return ScheduleResult{TimePoint::fromNs(nextWakeupTime), TimePoint::fromNs(nextVsyncTime)}; in schedule() 184 const auto nextWakeupTime = nextReadyTime - timing.workDuration; in getArmedInfo() local 190 armedInfo && (nextWakeupTime > (armedInfo->mActualWakeupTime + mMinVsyncDistance)); in getArmedInfo() 198 return ArmingInfo{nextWakeupTime, nextVsyncTime, nextReadyTime}; in getArmedInfo()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | UserWakeupStore.java | 259 long nextWakeupTime = -1; in getNextWakeupTime() local 262 if (mUserStarts.valueAt(i) < nextWakeupTime || nextWakeupTime == -1) { in getNextWakeupTime() 263 nextWakeupTime = mUserStarts.valueAt(i); in getNextWakeupTime() 267 return nextWakeupTime; in getNextWakeupTime()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 230 void dispatchOnceInnerLocked(nsecs_t& nextWakeupTime) REQUIRES(mLock); 454 DropReason* dropReason, nsecs_t& nextWakeupTime) REQUIRES(mLock); 456 DropReason* dropReason, nsecs_t& nextWakeupTime) REQUIRES(mLock); 468 DropReason* dropReason, nsecs_t& nextWakeupTime) REQUIRES(mLock); 540 nsecs_t currentTime, const EventEntry& entry, nsecs_t& nextWakeupTime,
|
D | InputDispatcher.cpp | 978 nsecs_t nextWakeupTime = LLONG_MAX; in dispatchOnce() local 986 dispatchOnceInnerLocked(/*byref*/ nextWakeupTime); in dispatchOnce() 992 nextWakeupTime = LLONG_MIN; in dispatchOnce() 998 nextWakeupTime = std::min(nextWakeupTime, nextAnrCheck); in dispatchOnce() 1002 if (nextWakeupTime == LLONG_MAX) { in dispatchOnce() 1009 int timeoutMillis = toMillisecondTimeoutDelay(currentTime, nextWakeupTime); in dispatchOnce() 1092 void InputDispatcher::dispatchOnceInnerLocked(nsecs_t& nextWakeupTime) { in dispatchOnceInnerLocked() argument 1119 nextWakeupTime = std::min(nextWakeupTime, mKeyRepeatState.nextRepeatTime); in dispatchOnceInnerLocked() 1214 done = dispatchKeyLocked(currentTime, keyEntry, &dropReason, nextWakeupTime); in dispatchOnceInnerLocked() 1239 done = dispatchMotionLocked(currentTime, motionEntry, &dropReason, nextWakeupTime); in dispatchOnceInnerLocked() [all …]
|