Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DUptimeTracker.java91 private TimeInterface mTimeInterface; field in UptimeTracker
113 mTimeInterface = timeInterface; in UptimeTracker()
114 mLastRealTimeSnapshot = mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME); in UptimeTracker()
117 mTimeInterface.scheduleAction(this::flushSnapshot, snapshotInterval); in UptimeTracker()
122 if (mTimeInterface != null) { in onDestroy()
123 mTimeInterface.cancelAllActions(); in onDestroy()
126 mTimeInterface = null; in onDestroy()
138 if (mTimeInterface == null) { in getTotalUptime()
142 mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME) in getTotalUptime()
176 mLastRealTimeSnapshot = mTimeInterface.getUptime( in flushSnapshot()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemInterface.java44 private final TimeInterface mTimeInterface; field in SystemInterface
57 mTimeInterface = timeInterface; in SystemInterface()
64 public TimeInterface getTimeInterface() { return mTimeInterface; } in getTimeInterface()
92 return mTimeInterface.getUptime(); in getUptime()
97 return mTimeInterface.getUptime(includeDeepSleepTime); in getUptime()
102 mTimeInterface.scheduleAction(r, delayMs); in scheduleAction()
112 mTimeInterface.cancelAllActions(); in cancelAllActions()
190 private TimeInterface mTimeInterface; field in SystemInterface.Builder
217 .withTimeInterface(otherBuilder.mTimeInterface) in fromBuilder()
243 mTimeInterface = timeInterface; in withTimeInterface()
[all …]