Home
last modified time | relevance | path

Searched refs:TestClock (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
H A DEventsLiveDataTest.java97 private TestClock mTestClock;
101 mTestClock = new TestClock(BERLIN_ZONE_ID); in setUp()
587 static class TestClock extends Clock { class in EventsLiveDataTest
591 TestClock(ZoneId zone) { in TestClock() method in EventsLiveDataTest.TestClock
606 return new TestClock(zone) { in withZone()
609 return TestClock.this.millis(); in withZone()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
H A DScreenUndimDetectorTest.java73 private final TestClock mClock = new TestClock();
75 private static class TestClock extends ScreenUndimDetector.InternalClock { class in ScreenUndimDetectorTest
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DConnectedClientsTrackerTest.kt45 private val clock = TestClock(1324L)
157 private class TestClock(var time: Long) : ConnectedClientsTracker.Clock() { regex
/aosp12/frameworks/base/tests/PackageWatchdog/src/com/android/server/
H A DPackageWatchdogTest.java101 private final TestClock mTestClock = new TestClock();
1582 private static class TestClock implements PackageWatchdog.SystemClock { class in PackageWatchdogTest