Home
last modified time | relevance | path

Searched refs:onBatteryScreenOff (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java161 boolean onBattery, boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument
171 mStats, onBattery, onBatteryScreenOff).recycleOnUse(), in scheduleReadProcStateCpuTimes()
180 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() argument
190 mStats, onBattery, onBatteryScreenOff).recycleOnUse()); in scheduleCopyFromAllUidsCpuTimes()
198 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange() argument
202 mOnBatteryScreenOff = onBatteryScreenOff; in scheduleCpuSyncDueToScreenStateChange()
334 final boolean onBatteryScreenOff;
341 onBatteryScreenOff = mOnBatteryScreenOff;
363 onBatteryScreenOff, useLatestStates);
405 boolean onBattery, boolean onBatteryScreenOff, boolean useLatestStates) { in updateExternalStatsLocked() argument
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java178 boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument
184 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() argument
190 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange() argument
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java432 public void updateProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in updateProcStateCpuTimes() argument
486 u.addProcStateScreenOffTimesMs(procState, cpuTimesMs, onBatteryScreenOff); in updateProcStateCpuTimes()
513 public void copyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in copyFromAllUidsCpuTimes() argument
555 u.addProcStateScreenOffTimesMs(procState, deltaTimesMs, onBatteryScreenOff); in copyFromAllUidsCpuTimes()
619 Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff, in scheduleReadProcStateCpuTimes() argument
621 Future<?> scheduleCopyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff); in scheduleCopyFromAllUidsCpuTimes() argument
624 boolean onBatteryScreenOff); in scheduleCpuSyncDueToScreenStateChange() argument
6884 boolean onBatteryScreenOff) { in addProcStateScreenOffTimesMs() argument
6894 mProcStateScreenOffTimeMs[procState].addCountLocked(cpuTimesMs, onBatteryScreenOff); in addProcStateScreenOffTimesMs()
11582 public void updateCpuTimeLocked(boolean onBattery, boolean onBatteryScreenOff) { in updateCpuTimeLocked() argument
[all …]