Searched refs:onBattery (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryExternalStatsWorker.java153 boolean onBattery, boolean onBatteryScreenOff, long delayMillis) {
163 mStats, onBattery, onBatteryScreenOff).recycleOnUse(),
172 boolean onBattery, boolean onBatteryScreenOff) {
182 mStats, onBattery, onBatteryScreenOff).recycleOnUse());
190 boolean onBattery, boolean onBatteryScreenOff) {
193 mOnBattery = onBattery;
325 final boolean onBattery;
332 onBattery = mOnBattery;
354 updateExternalStatsLocked(reason, updateFlags, onBattery,
395 boolean onBattery, boolea
152 scheduleReadProcStateCpuTimes( boolean onBattery, boolean onBatteryScreenOff, long delayMillis) argument
171 scheduleCopyFromAllUidsCpuTimes( boolean onBattery, boolean onBatteryScreenOff) argument
189 scheduleCpuSyncDueToScreenStateChange( boolean onBattery, boolean onBatteryScreenOff) argument
394 updateExternalStatsLocked(final String reason, int updateFlags, boolean onBattery, boolean onBatteryScreenOff, boolean useLatestStates) argument
[all...]
H A DBatteryStatsService.java1110 final boolean onBattery = BatteryStatsImpl.isOnBattery(plugType, status);
1111 if (mStats.isOnBattery() == onBattery) {
H A DActivityManagerService.java3417 public void batteryPowerChanged(boolean onBattery) { argument
3423 mOnBattery = DEBUG_POWER ? true : onBattery;
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DMockBatteryStatsImpl.java168 public Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, argument
175 boolean onBattery, boolean onBatteryScreenOff) {
181 boolean onBattery, boolean onBatteryScreenOff) {
174 scheduleCopyFromAllUidsCpuTimes( boolean onBattery, boolean onBatteryScreenOff) argument
180 scheduleCpuSyncDueToScreenStateChange( boolean onBattery, boolean onBatteryScreenOff) argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java321 public void batteryPowerChanged(boolean onBattery); argument
393 public void updateProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { argument
444 if (onBattery && cpuTimesMs != null) {
446 u.addProcStateTimesMs(procState, cpuTimesMs, onBattery);
474 public void copyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff) { argument
505 if (onBattery && deltaTimesMs != null) {
515 u.addProcStateTimesMs(procState, deltaTimesMs, onBattery);
580 Future<?> scheduleReadProcStateCpuTimes(boolean onBattery, boolean onBatteryScreenOff, argument
582 Future<?> scheduleCopyFromAllUidsCpuTimes(boolean onBattery, boolean onBatteryScreenOff); argument
584 Future<?> scheduleCpuSyncDueToScreenStateChange(boolean onBattery, argument
6987 addProcStateTimesMs(int procState, long[] cpuTimesMs, boolean onBattery) argument
11907 updateCpuTimeLocked(boolean onBattery, boolean onBatteryScreenOff) argument
12011 updateClusterSpeedTimes(@onNull SparseLongArray updatedUids, boolean onBattery) argument
12069 readKernelUidCpuTimesLocked(@ullable ArrayList<StopwatchTimer> partialTimers, @Nullable SparseLongArray updatedUids, boolean onBattery) argument
12177 readKernelUidCpuFreqTimesLocked(@ullable ArrayList<StopwatchTimer> partialTimers, boolean onBattery, boolean onBatteryScreenOff) argument
12290 readKernelUidCpuActiveTimesLocked(boolean onBattery) argument
12319 readKernelUidCpuClusterTimesLocked(boolean onBattery) argument
12358 setOnBatteryLocked(final long mSecRealtime, final long mSecUptime, final boolean onBattery, final int oldStatus, final int level, final int chargeUAh) argument
[all...]

Completed in 78 milliseconds