Home
last modified time | relevance | path

Searched refs:TimeInterface (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DUptimeTracker.java25 import com.android.car.systeminterface.TimeInterface;
91 private TimeInterface mTimeInterface;
98 this(file, snapshotInterval, new TimeInterface.DefaultImpl()); in UptimeTracker()
110 TimeInterface timeInterface) { in UptimeTracker()
114 mLastRealTimeSnapshot = mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME); in UptimeTracker()
142 mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME) in getTotalUptime()
177 TimeInterface.EXCLUDE_DEEP_SLEEP_TIME); in flushSnapshot()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemInterface.java41 SystemStateInterface, TimeInterface,
48 private final TimeInterface mTimeInterface;
56 TimeInterface timeInterface, in SystemInterface()
73 public TimeInterface getTimeInterface() { return mTimeInterface; } in getTimeInterface()
200 private TimeInterface mTimeInterface;
219 return builder.withTimeInterface(new TimeInterface.DefaultImpl()); in defaultSystemInterface()
260 public Builder withTimeInterface(TimeInterface timeInterface) { in withTimeInterface()
DTimeInterface.java31 public interface TimeInterface { interface
47 class DefaultImpl implements TimeInterface {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUptimeTrackerTest.java19 import com.android.car.systeminterface.TimeInterface;
28 static final class MockTimeInterface implements TimeInterface {
/packages/services/Car/tests/carservice_test/src/com/android/car/
DICarImplTest.java49 import com.android.car.systeminterface.TimeInterface;
86 @Mock private TimeInterface mMockTimeInterface;
DMockedCarTestBase.java58 import com.android.car.systeminterface.TimeInterface;
519 static final class MockTimeInterface implements TimeInterface {
DCarStorageMonitoringTest.java56 import com.android.car.systeminterface.TimeInterface;
864 static final class MockTimeInterface implements TimeInterface {