Searched defs:onBattery (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjProfiler.java | 61 void batteryPowerChanged(boolean onBattery) { in batteryPowerChanged() 118 private void updateSystemServerCpuTime(boolean onBattery, boolean screenOff) { in updateSystemServerCpuTime() 192 public void addCpuTimeMs(long cpuTimeMs, boolean onBattery, boolean screenOff) { in addCpuTimeMs()
|
D | BatteryExternalStatsWorker.java | 161 boolean onBattery, boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() 180 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() 198 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange() 405 boolean onBattery, boolean onBatteryScreenOff, boolean useLatestStates) { in updateExternalStatsLocked()
|
D | ActivityManagerService.java | 2898 public void batteryPowerChanged(boolean onBattery) { in batteryPowerChanged()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MockBatteryStatsImpl.java | 177 public Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, in scheduleReadProcStateCpuTimes() 184 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCopyFromAllUidsCpuTimes() 190 boolean onBattery, boolean onBatteryScreenOff) { in scheduleCpuSyncDueToScreenStateChange()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 327 public void batteryPowerChanged(boolean onBattery); in batteryPowerChanged() 432 public void updateProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in updateProcStateCpuTimes() 513 public void copyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { in copyFromAllUidsCpuTimes() 619 Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff, in scheduleReadProcStateCpuTimes() 621 Future<?> scheduleCopyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff); in scheduleCopyFromAllUidsCpuTimes() 623 Future<?> scheduleCpuSyncDueToScreenStateChange(boolean onBattery, in scheduleCpuSyncDueToScreenStateChange() 6870 private void addProcStateTimesMs(int procState, long[] cpuTimesMs, boolean onBattery) { in addProcStateTimesMs() 11582 public void updateCpuTimeLocked(boolean onBattery, boolean onBatteryScreenOff) { in updateCpuTimeLocked() 11686 public void updateClusterSpeedTimes(@NonNull SparseLongArray updatedUids, boolean onBattery) { in updateClusterSpeedTimes() 11745 @Nullable SparseLongArray updatedUids, boolean onBattery) { in readKernelUidCpuTimesLocked() [all …]
|