Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/service/src/com/android/car/
H A DUptimeTracker.java24 import com.android.car.systeminterface.TimeInterface;
90 private TimeInterface mTimeInterface;
97 this(file, snapshotInterval, new TimeInterface.DefaultImpl()); in UptimeTracker()
109 TimeInterface timeInterface) { in UptimeTracker()
113 mLastRealTimeSnapshot = mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME); in UptimeTracker()
141 mTimeInterface.getUptime(TimeInterface.EXCLUDE_DEEP_SLEEP_TIME) in getTotalUptime()
176 TimeInterface.EXCLUDE_DEEP_SLEEP_TIME); in flushSnapshot()
/aosp12/packages/services/Car/service/src/com/android/car/systeminterface/
H A DSystemInterface.java41 SystemStateInterface, TimeInterface,
48 private final TimeInterface mTimeInterface;
56 TimeInterface timeInterface, in SystemInterface()
73 public TimeInterface getTimeInterface() { return mTimeInterface; } in getTimeInterface()
205 private TimeInterface mTimeInterface;
224 return builder.withTimeInterface(new TimeInterface.DefaultImpl()); in defaultSystemInterface()
265 public Builder withTimeInterface(TimeInterface timeInterface) { in withTimeInterface()
H A DTimeInterface.java31 public interface TimeInterface { interface
47 class DefaultImpl implements TimeInterface {
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DUptimeTrackerTest.java19 import com.android.car.systeminterface.TimeInterface;
28 static final class MockTimeInterface implements TimeInterface {
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DICarImplTest.java49 import com.android.car.systeminterface.TimeInterface;
86 @Mock private TimeInterface mMockTimeInterface;
H A DMockedCarTestBase.java60 import com.android.car.systeminterface.TimeInterface;
533 static final class MockTimeInterface implements TimeInterface {
H A DCarStorageMonitoringTest.java57 import com.android.car.systeminterface.TimeInterface;
870 static final class MockTimeInterface implements TimeInterface {