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.java948 sorig.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
960 sorig2.setTimestamp(mInjectedCurrentTimeMillis); in testShortcutInfoSaveAndLoad()
964 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
965 final long now = mInjectedCurrentTimeMillis; in testShortcutInfoSaveAndLoad()
966 mInjectedCurrentTimeMillis += 1; in testShortcutInfoSaveAndLoad()
1041 sorig.setTimestamp(mInjectedCurrentTimeMillis);
1045 mInjectedCurrentTimeMillis += 1;
1046 final long now = mInjectedCurrentTimeMillis;
1047 mInjectedCurrentTimeMillis += 1;
1109 sorig.setTimestamp(mInjectedCurrentTimeMillis);
[all …]
DShortcutManagerTest1.java169 mInjectedCurrentTimeMillis += 100; in testUpdateAndGetNextResetTimeLocked()
175 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
181 mInjectedCurrentTimeMillis += 1; in testUpdateAndGetNextResetTimeLocked()
186 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
196 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
277 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testGetRateLimitResetTime()
335 mInjectedCurrentTimeMillis++; // Need to advance the clock for reset to work. in testSetDynamicShortcuts()
380 mInjectedCurrentTimeMillis += INTERVAL; // reset in testAddDynamicShortcuts()
440 mInjectedCurrentTimeMillis += INTERVAL; // reset in testPushDynamicShortcut()
461 mInjectedCurrentTimeMillis += INTERVAL; // reset in testPushDynamicShortcut()
[all …]
DBaseShortcutManagerTest.java334 return mInjectedCurrentTimeMillis; in injectCurrentTimeMillis()
341 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
346 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
934 protected long mInjectedCurrentTimeMillis; field in BaseShortcutManagerTest
1129 mInjectedCurrentTimeMillis = START_TIME; in setUp()
1891 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1920 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcut()
1937 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithExtras()
1953 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithCategory()
1969 s.setTimestamp(mInjectedCurrentTimeMillis); // HACK in makeShortcutWithLocusId()
[all …]
DShortcutManagerTest7.java59 mInjectedCurrentTimeMillis++; in callShellCommand()