Home
last modified time | relevance | path

Searched refs:START_TIME (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java63 private static final long START_TIME = System.currentTimeMillis(); field in EntropyMixer
173 out.println(START_TIME); in addDeviceSpecificEntropy()
DVibratorService.java341 proto.write(VibrationProto.START_TIME, mStartTimeDebug); in dumpProto()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1565 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1570 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1575 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1582 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1585 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1;
1588 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1594 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1599 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1604 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1609 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java156 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize()
164 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
170 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
173 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
176 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
181 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
184 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
186 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
194 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
195 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile()
[all …]
DBaseShortcutManagerTest.java291 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
296 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
719 protected static final long START_TIME = 1440000000101L; field in BaseShortcutManagerTest
800 mInjectedCurrentTimeMillis = START_TIME; in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/time/
DFakeSystemClock.java109 private static final long START_TIME = 10000; field in FakeSystemClock