Searched refs:baseTime (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.cpp | 92 const nsecs_t baseTime = now - mReferenceTime; in updateModel() local 93 const nsecs_t numOldPeriods = baseTime / mPeriod; in updateModel() 237 const nsecs_t baseTime = now - mReferenceTime; in addEventListener() local 238 const nsecs_t numPeriodsSinceReference = baseTime / mPeriod; in addEventListener() 387 nsecs_t computeListenerNextEventTimeLocked(const EventListener& listener, nsecs_t baseTime) { in computeListenerNextEventTimeLocked() argument 390 ns2us(baseTime)); in computeListenerNextEventTimeLocked() 394 if (baseTime < lastEventTime) { in computeListenerNextEventTimeLocked() 395 baseTime = lastEventTime; in computeListenerNextEventTimeLocked() 396 ALOGV("[%s] Clamping baseTime to lastEventTime -> %" PRId64, mName, ns2us(baseTime)); in computeListenerNextEventTimeLocked() 399 baseTime -= mReferenceTime; in computeListenerNextEventTimeLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 6256 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6258 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem() 6262 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument 6264 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem() 6270 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6276 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem() 6284 item.append(rec.time - baseTime); in printNextItem() 6817 long baseTime = -1; in dumpHistoryLocked() local 6822 if (baseTime < 0) { in dumpHistoryLocked() 6823 baseTime = lastTime; in dumpHistoryLocked() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 1450 private void verifyWakeupSet(boolean useAwareTimeout, long baseTime) { in verifyWakeupSet() argument 1457 assertEquals(baseTime + (useAwareTimeout ? RttServiceImpl.HAL_AWARE_RANGING_TIMEOUT_MS in verifyWakeupSet()
|