Home
last modified time | relevance | path

Searched refs:START_TIME (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/input/
DVelocityTrackerBenchmarkTest.kt46 protected var currentTime = START_TIME
50 currentTime = START_TIME in reset()
61 val START_TIME = Duration.ofMillis(100) in createMotionEvent() constant
117 /*downTime=*/START_TIME.toMillis(), in createMotionEvent()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsAggregatorTest.java51 private static final long START_TIME = 1234; field in PowerStatsAggregatorTest
54 private final MonotonicClock mMonotonicClock = new MonotonicClock(START_TIME, mClock);
124 assertThat(stats.getStartTime()).isEqualTo(START_TIME); in stateUpdates()
228 assertThat(stats.getStartTime()).isEqualTo(START_TIME); in incompatiblePowerStats()
243 assertThat(stats.getStartTime()).isEqualTo(START_TIME + 2000); in incompatiblePowerStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1620 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1625 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1630 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1637 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1640 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1;
1643 assertEquals(START_TIME + INTERVAL, mManager.getRateLimitResetTime());
1649 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1654 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1659 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
1664 assertEquals(START_TIME + INTERVAL * 2, mManager.getRateLimitResetTime());
[all …]
DShortcutManagerTest1.java163 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 …]
DBaseShortcutManagerTest.java335 return mInjectedCurrentTimeMillis - START_TIME; in injectElapsedRealtime()
340 return mInjectedCurrentTimeMillis - START_TIME - mDeepSleepTime; in injectUptimeMillis()
808 protected static final long START_TIME = 1440000000101L; field in BaseShortcutManagerTest
892 mInjectedCurrentTimeMillis = START_TIME; in setUp()
/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java59 private static final long START_TIME = System.currentTimeMillis(); field in EntropyMixer
254 b.append(START_TIME).append('\n'); in getDeviceSpecificInformation()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibration.java333 proto.write(VibrationProto.START_TIME, mStartTime); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java905 proto.write(ServiceRecordProto.ShortFgsInfo.START_TIME, in dumpDebug()
/frameworks/base/core/api/
Dcurrent.txt11423 field public static final String EXTRA_START_TIME = "android.intent.extra.START_TIME";