Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DShutdownCheckPointsTest.java74 mTestInjector.setCurrentTime(1000); in testSystemServerEntry()
86 mTestInjector.setCurrentTime(1000); in testSystemServerEntryWithoutReason()
95 mTestInjector.setCurrentTime(1000); in testSystemServiceBinderEntry()
112 mTestInjector.setCurrentTime(1000); in testCallerProcessBinderEntry()
128 mTestInjector.setCurrentTime(1000); in testRemoteExceptionOnBinderEntry()
142 mTestInjector.setCurrentTime(1000); in testUnknownProcessBinderEntry()
156 mTestInjector.setCurrentTime(1000); in testBinderEntryWithoutReason()
165 mTestInjector.setCurrentTime(1000); in testSystemServiceIntentEntry()
177 mTestInjector.setCurrentTime(1000); in testIntentEntry()
190 mTestInjector.setCurrentTime(1000); in testIntentEntryWithoutReason()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryUsageStatsProviderTest.java77 mStatsRule.setCurrentTime(54321); in test_getBatteryUsageStats()
201 mStatsRule.setCurrentTime(5 * MINUTE_IN_MS); in testAggregateBatteryStats()
216 mStatsRule.setCurrentTime(25 * MINUTE_IN_MS); in testAggregateBatteryStats()
223 mStatsRule.setCurrentTime(55 * MINUTE_IN_MS); in testAggregateBatteryStats()
231 mStatsRule.setCurrentTime(75 * MINUTE_IN_MS); in testAggregateBatteryStats()
239 mStatsRule.setCurrentTime(95 * MINUTE_IN_MS); in testAggregateBatteryStats()
DBatteryUsageStatsRule.java173 public void setCurrentTime(long currentTimeMs) {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java731 setCurrentTime(7000); in test_expansionChanges()
764 setCurrentTime(7000); in test_expansionChanges_withUpdatesWhileCollapsed()
969 private void setCurrentTime(long time) { in setCurrentTime() method in BubbleDataTest
989 setCurrentTime(time); in changeExpandedStateAtTime()