Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1320 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1325 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1330 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1337 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1340 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1;
1343 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1349 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1354 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1359 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1364 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java122 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize()
130 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
136 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
139 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
142 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
147 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
150 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
152 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
160 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
161 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile()
[all …]
DBaseShortcutManagerTest.java278 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
283 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
667 protected static final long START_TIME = 1440000000101L; field in BaseShortcutManagerTest
730 mInjectedCurrentTimeMillis = START_TIME; in setUp()
/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java63 private static final long START_TIME = System.currentTimeMillis(); field in EntropyMixer
165 out.println(START_TIME); in addDeviceSpecificEntropy()