Home
last modified time | relevance | path

Searched refs:baseTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp92 const nsecs_t baseTime = now - mReferenceTime; in updateModel() local
93 const nsecs_t numOldPeriods = baseTime / mPeriod; in updateModel()
226 const nsecs_t baseTime = now - mReferenceTime; in addEventListener() local
227 const nsecs_t numPeriodsSinceReference = baseTime / mPeriod; in addEventListener()
376 nsecs_t computeListenerNextEventTimeLocked(const EventListener& listener, nsecs_t baseTime) { in computeListenerNextEventTimeLocked() argument
379 ns2us(baseTime)); in computeListenerNextEventTimeLocked()
383 if (baseTime < lastEventTime) { in computeListenerNextEventTimeLocked()
384 baseTime = lastEventTime; in computeListenerNextEventTimeLocked()
385 ALOGV("[%s] Clamping baseTime to lastEventTime -> %" PRId64, mName, ns2us(baseTime)); in computeListenerNextEventTimeLocked()
388 baseTime -= mReferenceTime; in computeListenerNextEventTimeLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java6223 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6225 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem()
6229 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument
6231 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem()
6237 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6243 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
6251 item.append(rec.time - baseTime); in printNextItem()
6780 long baseTime = -1; in dumpHistoryLocked() local
6785 if (baseTime < 0) { in dumpHistoryLocked()
6786 baseTime = lastTime; in dumpHistoryLocked()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java1424 private void verifyWakeupSet(boolean useAwareTimeout, long baseTime) { in verifyWakeupSet() argument
1431 assertEquals(baseTime + (useAwareTimeout ? RttServiceImpl.HAL_AWARE_RANGING_TIMEOUT_MS in verifyWakeupSet()