Searched refs:TimeInterface (Results 1 – 7 of 7) sorted by relevance
25 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()
41 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()
31 public interface TimeInterface { interface47 class DefaultImpl implements TimeInterface {
19 import com.android.car.systeminterface.TimeInterface;28 static final class MockTimeInterface implements TimeInterface {
49 import com.android.car.systeminterface.TimeInterface;86 @Mock private TimeInterface mMockTimeInterface;
58 import com.android.car.systeminterface.TimeInterface;519 static final class MockTimeInterface implements TimeInterface {
56 import com.android.car.systeminterface.TimeInterface;864 static final class MockTimeInterface implements TimeInterface {