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.java183 long lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
204 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
219 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
247 lastApiTime = ++mInjectedCurrentTimeMillis; in testAddDynamicShortcuts_noManifestShortcuts()
285 long lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
310 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
330 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
358 lastApiTime = ++mInjectedCurrentTimeMillis; in testUpdateShortcuts_noManifestShortcuts()
395 long lastApiTime = ++mInjectedCurrentTimeMillis; in testDeleteDynamicShortcuts_noManifestShortcuts()
421 lastApiTime = ++mInjectedCurrentTimeMillis; in testDeleteDynamicShortcuts_noManifestShortcuts()
[all …]
DShortcutManagerTest2.java923 sorig.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
935 sorig2.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
939 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
940 final long now = mInjectedCurrentTimeMillis; in testShortcutInfoSaveAndLoad()
941 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
1015 sorig.setTimestamp(mInjectedCurrentTimeMillis);
1019 mInjectedCurrentTimeMillis += 1;
1020 final long now = mInjectedCurrentTimeMillis;
1021 mInjectedCurrentTimeMillis += 1;
1082 sorig.setTimestamp(mInjectedCurrentTimeMillis);
[all …]
DShortcutManagerTest1.java150 mInjectedCurrentTimeMillis += 100; in testUpdateAndGetNextResetTimeLocked()
156 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
162 mInjectedCurrentTimeMillis += 1; in testUpdateAndGetNextResetTimeLocked()
167 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
177 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
258 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testGetRateLimitResetTime()
316 mInjectedCurrentTimeMillis++; // Need to advance the clock for reset to work. in testSetDynamicShortcuts()
361 mInjectedCurrentTimeMillis += INTERVAL; // reset in testAddDynamicShortcuts()
472 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling in testPublishWithNoActivity()
783 mInjectedCurrentTimeMillis++; in testCleanupDanglingBitmaps()
[all …]
DBaseShortcutManagerTest.java280 return mInjectedCurrentTimeMillis; in injectCurrentTimeMillis()
287 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
292 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
596 protected long mInjectedCurrentTimeMillis; field in BaseShortcutManagerTest
776 mInjectedCurrentTimeMillis = START_TIME; in setUp()
1535 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1564 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1581 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithExtras()
1597 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithCategory()
DShortcutManagerTest7.java53 mInjectedCurrentTimeMillis++; in callShellCommand()