/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCounterTest.java | 38 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()
|
D | BatteryStatsStopwatchTimerTest.java | 40 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()
|
D | BatteryStatsDurationTimerTest.java | 43 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()
|
D | BatteryStatsTimerTest.java | 292 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()
|
D | BatteryStatsServTest.java | 65 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 …]
|
D | BatteryStatsSensorTest.java | 40 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()
|
D | BatteryStatsTimeBaseTest.java | 78 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()
|
D | BatteryStatsSamplingTimerTest.java | 151 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/ |
D | AsyncRunner.java | 107 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/ |
D | RestoreEngine.java | 40 public void setRunning(boolean stillRunning) { in setRunning() method in RestoreEngine
|
D | FullRestoreEngine.java | 193 setRunning(false); in restoreOneFile() 517 setRunning(false); in restoreOneFile() 560 setRunning(false); in restoreOneFile() 601 setRunning(false); in handleTimeout()
|
D | PerformUnifiedRestoreTask.java | 858 setRunning(true); in StreamFeederThread() 1002 setRunning(false); in run() 1041 engine.setRunning(true); in EngineThread()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1206 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/ |
D | boot-image-profile.txt | 38707 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->setRunning(ZJJ)Z
|