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.java1383 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1388 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1393 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1400 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1403 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1;
1406 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1412 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1417 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1422 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1427 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java139 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize()
147 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
153 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
156 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
159 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
164 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
167 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
169 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
177 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
178 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile()
[all …]
DBaseShortcutManagerTest.java287 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
292 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
702 protected static final long START_TIME = 1440000000101L; field in BaseShortcutManagerTest
776 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
173 out.println(START_TIME); in addDeviceSpecificEntropy()