Home
last modified time | relevance | path

Searched refs:setRunning (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCounterTest.java38 timeBase.setRunning(false, 1, 1); in testCounter()
49 timeBase.setRunning(true, 2, 2); in testCounter()
59 timeBase.setRunning(false, 3, 3); in testCounter()
68 timeBase.setRunning(true, 4, 4); in testCounter()
86 timeBase.setRunning(true, 1, 1); in testParceling()
107 timeBase.setRunning(false, 3, 3); in testParceling()
114 timeBase.setRunning(true, 4, 4); in testParceling()
135 timeBase.setRunning(false, 5, 5); in testParceling()
142 timeBase.setRunning(true, 6, 6); in testParceling()
DBatteryStatsStopwatchTimerTest.java40 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
81 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
122 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
128 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
138 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
DBatteryStatsDurationTimerTest.java43 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100*1000); in testStartStop()
86 timeBase.setRunning(false, /* uptimeUs */ 10, /* realtimeUs */ 55000*1000); in testStartStop()
94 timeBase.setRunning(true, /* uptimeUs */ 10, /* realtimeUs */ 220100*1000); in testStartStop()
118 timeBase.setRunning(true, clocks.uptimeMillis()*1000, clocks.elapsedRealtime()*1000); in testParceling()
DBatteryStatsTimerTest.java292 timeBase.setRunning(true, 10, 20); in testSummaryParceling()
293 timeBase.setRunning(false, 45, 60); in testSummaryParceling()
353 timeBase.setRunning(true, 10, 20); in testGetTotalTimeLocked()
354 timeBase.setRunning(false, 45, 60); in testGetTotalTimeLocked()
395 timeBase.setRunning(true, 10, 20); in testGetCountLocked()
396 timeBase.setRunning(false, 45, 60); in testGetCountLocked()
431 timeBase.setRunning(true, 10, 20); in testGetTimeSinceMarked()
432 timeBase.setRunning(false, 45, 60); in testGetTimeSinceMarked()
DBatteryStatsServTest.java65 void setRunning(boolean val) { in setRunning() method in BatteryStatsServTest.TestServ
157 serv.setRunning(true); in testOnTimeStarted()
164 serv.setRunning(false); in testOnTimeStarted()
234 serv.setRunning(true); in testStartTimeToNow()
238 serv.setRunning(false); in testStartTimeToNow()
444 serv.setRunning(true); in testStartRunningLockedWhileRunning()
482 serv.setRunning(false); in testStartRunningLockedWhileNotRunning()
520 serv.setRunning(true); in testStopRunningLockedWhileRunningNormal()
558 serv.setRunning(true); in testStopRunningLockedWhileRunningTooQuick()
633 serv.setRunning(true); in testGetStartTimeRunning()
[all …]
DBatteryStatsSensorTest.java40 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorStartStop()
383 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorReset()
432 timeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
433 bgTimeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
440 timeBase.setRunning(false, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
441 bgTimeBase.setRunning(false, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
483 timeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
484 bgTimeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
DBatteryStatsTimeBaseTest.java78 tb.setRunning(true, 100, 10000); in testRunning()
79 tb.setRunning(false, 200, 11000); in testRunning()
104 tb.setRunning(true, 250, 14000); in testRunning()
138 tb.setRunning(false, 402, 14002); in testRunning()
DBatteryStatsSamplingTimerTest.java151 timeBase.setRunning(true, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
171 timeBase.setRunning(false, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
185 timeBase.setRunning(true, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java107 setRunning(false); in onPostExecute()
196 setRunning(true); in run()
231 synchronized private void setRunning(boolean running) { in setRunning() method in AsyncRunner
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java40 public void setRunning(boolean stillRunning) { in setRunning() method in RestoreEngine
DFullRestoreEngine.java193 setRunning(false); in restoreOneFile()
517 setRunning(false); in restoreOneFile()
560 setRunning(false); in restoreOneFile()
601 setRunning(false); in handleTimeout()
DPerformUnifiedRestoreTask.java858 setRunning(true); in StreamFeederThread()
1002 setRunning(false); in run()
1041 engine.setRunning(true); in EngineThread()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1206 public boolean setRunning(boolean running, long uptime, long realtime) { in setRunning() method in BatteryStatsImpl.TimeBase
4005 mOnBatteryTimeBase.setRunning(unplugged, uptime, realtime); in updateTimeBasesLocked()
4012 mOnBatteryScreenOffTimeBase.setRunning(unplugged && screenOff, uptime, realtime); in updateTimeBasesLocked()
9845 return mOnBatteryBackgroundTimeBase.setRunning(on, uptimeUs, realtimeUs); in updateOnBatteryBgTimeBase()
9850 return mOnBatteryScreenOffBackgroundTimeBase.setRunning(on, uptimeUs, realtimeUs); in updateOnBatteryScreenOffBgTimeBase()
/frameworks/base/config/
Dboot-image-profile.txt38707 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->setRunning(ZJJ)Z