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/
DFakeClock.java46 private long mCurrentTimeMillis; field in FakeClock
51 mCurrentTimeMillis = currentTimeMillis; in FakeClock()
59 mCurrentTimeMillis = ms; in setCurrentTimeMillis()
63 if (ms > mCurrentTimeMillis) { in setBootTimeMillis()
85 mCurrentTimeMillis += unit.toMillis(amount); in increment()
90 return mCurrentTimeMillis; in currentTimeMillis()
95 return mCurrentTimeMillis - mBootTimeMillis; in elapsedRealtime()
104 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()