Home
last modified time | relevance | path

Searched refs:INTERVAL (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1504 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1508 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1513 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1518 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1523 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1528 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1533 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1539 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1571 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1576 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java158 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize()
166 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
172 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
175 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
178 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
183 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
186 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
188 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
196 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
197 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile()
[all …]
DBaseShortcutManagerTest.java306 return ConfigConstants.KEY_RESET_INTERVAL_SEC + "=" + (INTERVAL / 1000) + "," in injectShortcutManagerConstants()
1047 protected static final long INTERVAL = 10000; field in BaseShortcutManagerTest
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java138 dump.write("interval", UsbEndPointProto.INTERVAL, endpoint.getInterval()); in writeEndpoint()