Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1316 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1320 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1325 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1330 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1335 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1340 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1345 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1351 mInjectedCurrentTimeMillis += INTERVAL; // reset throttling.
1383 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1388 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java139 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testFirstInitialize()
147 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
153 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
156 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; in testUpdateAndGetNextResetTimeLocked()
159 assertResetTimes(START_TIME, START_TIME + INTERVAL); in testUpdateAndGetNextResetTimeLocked()
164 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
167 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testUpdateAndGetNextResetTimeLocked()
169 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testUpdateAndGetNextResetTimeLocked()
177 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; in testInitializeFromSavedFile()
178 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); in testInitializeFromSavedFile()
[all …]
DBaseShortcutManagerTest.java252 return ConfigConstants.KEY_RESET_INTERVAL_SEC + "=" + (INTERVAL / 1000) + "," in injectShortcutManagerConstants()
704 protected static final long INTERVAL = 10000; field in BaseShortcutManagerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryEvaluator.java27 private static final float INTERVAL = 50.0f; field in HistoryEvaluator
81 float factor = (float) Math.pow(HISTORY_FACTOR, (time - mLastUpdate) / INTERVAL); in decayValue()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java138 dump.write("interval", UsbEndPointProto.INTERVAL, endpoint.getInterval()); in writeEndpoint()