Home
last modified time | relevance | path

Searched refs:mCurrentTimeMillis (Results 1 – 2 of 2) 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()