Searched refs:INTERVAL (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 1553 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1557 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1562 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1567 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1572 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1577 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1582 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1588 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling. 1620 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime()); 1625 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime()); [all …]
|
D | ShortcutManagerTest1.java | 163 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize() 171 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked() 177 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked() 180 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked() 183 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked() 188 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked() 191 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked() 193 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked() 201 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile() 202 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile() [all …]
|
D | BaseShortcutManagerTest.java | 300 return ConfigConstants.KEY_RESET_INTERVAL_SEC + "=" + (INTERVAL / 1000) + "," in injectShortcutManagerConstants() 810 protected static final long INTERVAL = 10000; field in BaseShortcutManagerTest
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 133 private static final int INTERVAL = 50; field in PlatLogoActivity.RumblePack 147 if (msg.getWhen() > mLastVibe + INTERVAL) { in handleMessage()
|
/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 140 dump.write("interval", UsbEndPointProto.INTERVAL, endpoint.getInterval()); in writeEndpoint()
|