Home
last modified time | relevance | path

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

/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeClock.java44 private long mCurrentTimeMillis; field in FakeClock
49 mCurrentTimeMillis = currentTimeMillis; in FakeClock()
57 mCurrentTimeMillis = ms; in setCurrentTimeMillis()
61 if (ms > mCurrentTimeMillis) { in setBootTimeMillis()
83 mCurrentTimeMillis += unit.toMillis(amount); in increment()
88 return mCurrentTimeMillis; in currentTimeMillis()
93 return mCurrentTimeMillis - mBootTimeMillis; in elapsedRealtime()
105 mCurrentTimeMillis += ms; in sleep()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockClock.java21 private long mCurrentTimeMillis; field in MockClock
26 mCurrentTimeMillis = 100000; in install()
35 return mCurrentTimeMillis; in currentTimeMillis()
39 mCurrentTimeMillis = time; in setCurrentTimeMillis()
43 mCurrentTimeMillis++; in advance()
47 mCurrentTimeMillis += 24 * 60 * 60; in advanceDay()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/testing/system/
DFakeSystemClock.java25 private long mCurrentTimeMillis = 1555555500000L; field in FakeSystemClock
29 return mCurrentTimeMillis; in currentTimeMillis()
34 mCurrentTimeMillis = currentTime.toEpochMilli(); in set()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeClock.java26 private long mCurrentTimeMillis; field in FakeClock
32 mCurrentTimeMillis = duration.toMillis(); in setCurrentTime()
52 return mCurrentTimeMillis; in millis()