Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventIndexTest.java134 mInjector.mCurrentTimeMillis = timestamp("01-27 18:41"); in combineEventIndexes()
135 a.addEvent(mInjector.mCurrentTimeMillis); in combineEventIndexes()
136 mInjector.mCurrentTimeMillis = timestamp("01-30 03:06"); in combineEventIndexes()
137 a.addEvent(mInjector.mCurrentTimeMillis); in combineEventIndexes()
139 mInjector.mCurrentTimeMillis = CURRENT_TIMESTAMP; in combineEventIndexes()
161 private long mCurrentTimeMillis; field in EventIndexTest.TestInjector
164 mCurrentTimeMillis = currentTimeMillis; in TestInjector()
168 mCurrentTimeMillis += (seconds * 1000L); in moveTimeForwardSeconds()
173 return mCurrentTimeMillis; in currentTimeMillis()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java52 private final long mCurrentTimeMillis; field in NitzData
64 this.mCurrentTimeMillis = unixEpochTimeMillis; in NitzData()
156 return mCurrentTimeMillis; in getCurrentTimeInMillis()
230 if (mCurrentTimeMillis != nitzData.mCurrentTimeMillis) { in equals()
247 result = 31 * result + Long.hashCode(mCurrentTimeMillis); in hashCode()
259 + ", mCurrentTimeMillis=" + mCurrentTimeMillis in toString()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/
DFakeSystemClock.java38 private long mCurrentTimeMillis = 1555555500000L; field in FakeSystemClock
63 return mCurrentTimeMillis; in currentTimeMillis()
71 mCurrentTimeMillis = millis; in setCurrentTimeMillis()
107 mCurrentTimeMillis += awakeMillis + sleepMillis; in advanceTime()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DTestThreadingDomain.java64 private long mCurrentTimeMillis; field in TestThreadingDomain
69 mCurrentTimeMillis = 123456L; in TestThreadingDomain()
94 mQueue.add(new QueuedRunnable(r, token, mCurrentTimeMillis + delayMillis)); in postDelayed()
135 return mQueue.get(0).executionTimeMillis - mCurrentTimeMillis; in getNextQueueItemDelayMillis()
142 mCurrentTimeMillis = queued.executionTimeMillis; in executeNext()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java304 private long mCurrentTimeMillis; field in BackgroundRestrictionTest
747 mCurrentTimeMillis = 10_000L; in testBgCurrentDrainMonitor()
748 doReturn(mCurrentTimeMillis - windowMs).when(stats).getStatsStartTimestamp(); in testBgCurrentDrainMonitor()
749 doReturn(mCurrentTimeMillis).when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()
757 new Notification(), UserHandle.of(testUser), null, mCurrentTimeMillis), null); in testBgCurrentDrainMonitor()
763 doReturn(mCurrentTimeMillis).when(stats).getStatsStartTimestamp(); in testBgCurrentDrainMonitor()
764 doReturn(mCurrentTimeMillis + windowMs) in testBgCurrentDrainMonitor()
766 mCurrentTimeMillis += windowMs + 1; in testBgCurrentDrainMonitor()
780 doReturn(mCurrentTimeMillis).when(stats).getStatsStartTimestamp(); in testBgCurrentDrainMonitor()
781 doReturn(mCurrentTimeMillis + windowMs) in testBgCurrentDrainMonitor()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java116 private long mCurrentTimeMillis = 0; field in DevicePolicyManagerServiceTestable.MockInjector
445 mCurrentTimeMillis = value; in setSystemCurrentTimeMillis()
450 return mCurrentTimeMillis != 0 ? mCurrentTimeMillis : System.currentTimeMillis(); in systemCurrentTimeMillis()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java483 mInjector.mCurrentTimeMillis = System.currentTimeMillis(); in testReadEvents()
591 mInjector.mCurrentTimeMillis = System.currentTimeMillis(); in testFailedRead()
1015 long mCurrentTimeMillis = System.currentTimeMillis(); field in BrightnessTrackerTest.TestInjector
1035 mCurrentTimeMillis += timeMillis; in incrementTime()
1134 return mCurrentTimeMillis; in currentTimeMillis()
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerBackupRestoreTest.java110 private long mCurrentTimeMillis; field in LocaleManagerBackupRestoreTest
133 return mCurrentTimeMillis; in currentTimeMillis()
137 mCurrentTimeMillis = currentTimeMillis; in setCurrentTimeMillis()