Home
last modified time | relevance | path

Searched refs:mInjectedCurrentTimeMillis (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest3.java186 long lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
207 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
222 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
250 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
288 long lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
313 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
333 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
361 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
398 long lastApiTime = ++mInjectedCurrentTimeMillis; in testDeleteDynamicShortcuts_noManifestShortcuts()
424 lastApiTime = ++mInjectedCurrentTimeMillis; in testDeleteDynamicShortcuts_noManifestShortcuts()
[all …]
DShortcutManagerTest2.java988 sorig.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
1000 sorig2.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
1004 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
1005 final long now = mInjectedCurrentTimeMillis; in testShortcutInfoSaveAndLoad()
1006 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
1090 sorig.setTimestamp(mInjectedCurrentTimeMillis);
1094 mInjectedCurrentTimeMillis += 1;
1095 final long now = mInjectedCurrentTimeMillis;
1096 mInjectedCurrentTimeMillis += 1;
1158 sorig.setTimestamp(mInjectedCurrentTimeMillis);
[all …]
DBaseShortcutManagerTest.java328 return mInjectedCurrentTimeMillis; in injectCurrentTimeMillis()
335 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
340 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
684 protected long mInjectedCurrentTimeMillis; field in BaseShortcutManagerTest
892 mInjectedCurrentTimeMillis = START_TIME; in setUp()
1557 s.setTimestamp(mInjectedCurrentTimeMillis); in makeShortcutExcludedFromLauncher()
1677 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1706 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1723 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithExtras()
1739 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithCategory()
[all …]
DShortcutManagerTest1.java174 mInjectedCurrentTimeMillis += 100; in testUpdateAndGetNextResetTimeLocked()
180 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
186 mInjectedCurrentTimeMillis += 1; in testUpdateAndGetNextResetTimeLocked()
191 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
201 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
282 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testGetRateLimitResetTime()
340 mInjectedCurrentTimeMillis++; // Need to advance the clock for reset to work. in testSetDynamicShortcuts()
385 mInjectedCurrentTimeMillis += INTERVAL; // reset in testAddDynamicShortcuts()
445 mInjectedCurrentTimeMillis += INTERVAL; // reset in testPushDynamicShortcut()
466 mInjectedCurrentTimeMillis += INTERVAL; // reset in testPushDynamicShortcut()
[all …]
DShortcutManagerTest7.java62 mInjectedCurrentTimeMillis++; in callShellCommand()