Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCounterTest.java40 timeBase.setRunning(false, 1, 1); in testCounter()
49 timeBase.setRunning(true, 2, 2); in testCounter()
57 timeBase.setRunning(false, 3, 3); in testCounter()
64 timeBase.setRunning(true, 4, 4); in testCounter()
80 timeBase.setRunning(true, 1, 1); in testParceling()
97 timeBase.setRunning(false, 3, 3); in testParceling()
102 timeBase.setRunning(true, 4, 4); in testParceling()
119 timeBase.setRunning(false, 5, 5); in testParceling()
124 timeBase.setRunning(true, 6, 6); in testParceling()
DBatteryStatsTimerTest.java205 timeBase.setRunning(true, 10, 20); in testSummaryParceling()
206 timeBase.setRunning(false, 45, 60); in testSummaryParceling()
248 timeBase.setRunning(true, 10, 20); in testGetTotalTimeLocked()
249 timeBase.setRunning(false, 45, 60); in testGetTotalTimeLocked()
273 timeBase.setRunning(true, 10, 20); in testGetCountLocked()
274 timeBase.setRunning(false, 45, 60); in testGetCountLocked()
294 timeBase.setRunning(true, 10, 20); in testGetTimeSinceMarked()
295 timeBase.setRunning(false, 45, 60); in testGetTimeSinceMarked()
DBatteryStatsDurationTimerTest.java45 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100*1000); in testStartStop()
88 timeBase.setRunning(false, /* uptimeUs */ 10, /* realtimeUs */ 55000*1000); in testStartStop()
96 timeBase.setRunning(true, /* uptimeUs */ 10, /* realtimeUs */ 220100*1000); in testStartStop()
116 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100_000); in testReset()
152 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100_000); in testResetAndDetach()
182 timeBase.setRunning(true, clocks.uptimeMillis()*1000, clocks.elapsedRealtime()*1000); in testParceling()
DBatteryStatsStopwatchTimerTest.java42 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
83 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
124 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
130 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
140 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount()
DBatteryStatsServTest.java57 void setRunning(boolean val) { in setRunning() method in BatteryStatsServTest.TestServ
160 serv.setRunning(true); in testStartTimeToNow()
164 serv.setRunning(false); in testStartTimeToNow()
325 serv.setRunning(true); in testStartRunningLockedWhileRunning()
354 serv.setRunning(false); in testStartRunningLockedWhileNotRunning()
383 serv.setRunning(true); in testStopRunningLockedWhileRunningNormal()
412 serv.setRunning(true); in testStopRunningLockedWhileRunningTooQuick()
467 serv.setRunning(true); in testGetStartTimeRunning()
493 serv.setRunning(false); in testGetStartTimeNotRunning()
DBatteryStatsTimeBaseTest.java79 tb.setRunning(true, 100, 10000); in testRunning()
80 tb.setRunning(false, 200, 11000); in testRunning()
105 tb.setRunning(true, 250, 14000); in testRunning()
139 tb.setRunning(false, 402, 14002); in testRunning()
DBatteryStatsSensorTest.java42 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorStartStop()
385 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorReset()
434 timeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
435 bgTimeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
442 timeBase.setRunning(false, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
443 bgTimeBase.setRunning(false, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
485 timeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
486 bgTimeBase.setRunning(true, clocks.uptime * 1000, clocks.realtime * 1000); in testSensorResetTimes()
DBatteryStatsSamplingTimerTest.java153 timeBase.setRunning(true, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
173 timeBase.setRunning(false, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
187 timeBase.setRunning(true, clocks.uptimeMillis(), clocks.elapsedRealtime()); in testSampleTimerSummaryParceling()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java18 engine.setRunning(true); in FullRestoreEngineThread()
30 engine.setRunning(true); in FullRestoreEngineThread()
DRestoreEngine.java40 public void setRunning(boolean stillRunning) { in setRunning() method in RestoreEngine
DFullRestoreEngine.java202 setRunning(false); in restoreOneFile()
533 setRunning(false); in restoreOneFile()
576 setRunning(false); in restoreOneFile()
647 setRunning(false); in handleTimeout()
DPerformUnifiedRestoreTask.java861 setRunning(true); in StreamFeederThread()
1005 setRunning(false); in run()
/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/av/media/codec2/sfplugin/
DCCodec.cpp1292 auto setRunning = [this] { in start() local
1300 if (tryAndReportOnError(setRunning) != OK) { in start()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1260 public boolean setRunning(boolean running, long uptime, long realtime) { in setRunning() method in BatteryStatsImpl.TimeBase
3883 mOnBatteryTimeBase.setRunning(unplugged, uptime, realtime); in updateTimeBasesLocked()
3890 mOnBatteryScreenOffTimeBase.setRunning(unplugged && screenOff, uptime, realtime); in updateTimeBasesLocked()
9480 return mOnBatteryBackgroundTimeBase.setRunning(on, uptimeUs, realtimeUs); in updateOnBatteryBgTimeBase()
9485 return mOnBatteryScreenOffBackgroundTimeBase.setRunning(on, uptimeUs, realtimeUs); in updateOnBatteryScreenOffBgTimeBase()
/frameworks/base/config/
Dboot-image-profile.txt20624 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->setRunning(ZJJ)Z
Dhiddenapi-greylist-max-o.txt19191 Landroid/filterfw/core/AsyncRunner;->setRunning(Z)V
94462 Lcom/android/internal/os/BatteryStatsImpl$TimeBase;->setRunning(ZJJ)Z