Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp294 nsecs_t computeListenerNextEventTimeLocked(const EventListener& listener, nsecs_t baseTime) { in computeListenerNextEventTimeLocked() argument
297 ns2us(baseTime)); in computeListenerNextEventTimeLocked()
301 if (baseTime < lastEventTime) { in computeListenerNextEventTimeLocked()
302 baseTime = lastEventTime; in computeListenerNextEventTimeLocked()
303 ALOGV("[%s] Clamping baseTime to lastEventTime -> %" PRId64, mName, ns2us(baseTime)); in computeListenerNextEventTimeLocked()
306 baseTime -= mReferenceTime; in computeListenerNextEventTimeLocked()
307 ALOGV("[%s] Relative baseTime = %" PRId64, mName, ns2us(baseTime)); in computeListenerNextEventTimeLocked()
310 baseTime -= phase; in computeListenerNextEventTimeLocked()
311 ALOGV("[%s] baseTime - phase = %" PRId64, mName, ns2us(baseTime)); in computeListenerNextEventTimeLocked()
320 if (baseTime < 0) { in computeListenerNextEventTimeLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java6112 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6114 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem()
6118 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument
6120 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem()
6126 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6132 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
6140 item.append(rec.time - baseTime); in printNextItem()
6659 long baseTime = -1; in dumpHistoryLocked() local
6664 if (baseTime < 0) { in dumpHistoryLocked()
6665 baseTime = lastTime; in dumpHistoryLocked()
[all …]