Searched refs:onBatteryScreenOff (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 153 boolean onBattery, boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument 163 mStats, onBattery, onBatteryScreenOff).recycleOnUse(), in scheduleReadProcStateCpuTimes() 172 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() argument 182 mStats, onBattery, onBatteryScreenOff).recycleOnUse()); in scheduleCopyFromAllUidsCpuTimes() 190 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange() argument 194 mOnBatteryScreenOff = onBatteryScreenOff; in scheduleCpuSyncDueToScreenStateChange() 326 final boolean onBatteryScreenOff; 333 onBatteryScreenOff = mOnBatteryScreenOff; 355 onBatteryScreenOff, useLatestStates); 395 boolean onBattery, boolean onBatteryScreenOff, boolean useLatestStates) { in updateExternalStatsLocked() argument [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MockBatteryStatsImpl.java | 169 boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument 175 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() argument 181 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 393 public void updateProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in updateProcStateCpuTimes() argument 447 u.addProcStateScreenOffTimesMs(procState, cpuTimesMs, onBatteryScreenOff); in updateProcStateCpuTimes() 474 public void copyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in copyFromAllUidsCpuTimes() argument 516 u.addProcStateScreenOffTimesMs(procState, deltaTimesMs, onBatteryScreenOff); in copyFromAllUidsCpuTimes() 580 Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff, in scheduleReadProcStateCpuTimes() argument 582 Future<?> scheduleCopyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff); in scheduleCopyFromAllUidsCpuTimes() argument 585 boolean onBatteryScreenOff); in scheduleCpuSyncDueToScreenStateChange() argument 7000 boolean onBatteryScreenOff) { in addProcStateScreenOffTimesMs() argument 7009 mProcStateScreenOffTimeMs[procState].addCountLocked(cpuTimesMs, onBatteryScreenOff); in addProcStateScreenOffTimesMs() 11907 public void updateCpuTimeLocked(boolean onBattery, boolean onBatteryScreenOff) { in updateCpuTimeLocked() argument [all …]
|