Searched refs:onBatteryScreenOff (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 161 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/ |
D | MockBatteryStatsImpl.java | 178 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/ |
D | BatteryStatsImpl.java | 430 public void updateProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in updateProcStateCpuTimes() argument 484 u.addProcStateScreenOffTimesMs(procState, cpuTimesMs, onBatteryScreenOff); in updateProcStateCpuTimes() 511 public void copyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in copyFromAllUidsCpuTimes() argument 553 u.addProcStateScreenOffTimesMs(procState, deltaTimesMs, onBatteryScreenOff); in copyFromAllUidsCpuTimes() 617 Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff, in scheduleReadProcStateCpuTimes() argument 619 Future<?> scheduleCopyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff); in scheduleCopyFromAllUidsCpuTimes() argument 622 boolean onBatteryScreenOff); in scheduleCpuSyncDueToScreenStateChange() argument 6871 boolean onBatteryScreenOff) { in addProcStateScreenOffTimesMs() argument 6881 mProcStateScreenOffTimeMs[procState].addCountLocked(cpuTimesMs, onBatteryScreenOff); in addProcStateScreenOffTimesMs() 11576 public void updateCpuTimeLocked(boolean onBattery, boolean onBatteryScreenOff) { in updateCpuTimeLocked() argument [all …]
|