Home
last modified time | relevance | path

Searched refs:mOnBattery (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjProfiler.java36 private boolean mOnBattery; field in OomAdjProfiler
76 mOnBattery = onBattery; in batteryPowerChanged()
111 mLastScheduledOnBattery = mOnBattery; in scheduleSystemServerCpuTimeUpdate()
157 updateSystemServerCpuTime(mOnBattery, mScreenOff, false); in dump()
197 addCpuTimeUs(cpuTimeMs * 1000, mOnBattery, mScreenOff); in addCpuTimeMs()
205 addCpuTimeUs(cpuTimeUs, mOnBattery, mScreenOff); in addCpuTimeUs()
DBatteryExternalStatsWorker.java108 private boolean mOnBattery; field in BatteryExternalStatsWorker
298 mOnBattery = onBattery; in scheduleSyncDueToScreenStateChange()
440 onBattery = mOnBattery;
DActivityManagerService.java1269 volatile boolean mOnBattery = false; field in ActivityManagerService
2300 mOnBattery = DEBUG_POWER ? true in ActivityManagerService()
2303 mOomAdjProfiler.batteryPowerChanged(mOnBattery); in ActivityManagerService()
2533 mOnBattery = DEBUG_POWER ? true : onBattery; in batteryPowerChanged()
5493 if (mOnBattery // Short-circuit in common case. in appRestrictedInBackgroundLOSP()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java403 if (mOnBattery) {
1021 boolean mOnBattery; field in BatteryStatsImpl
7052 return mOnBattery; in getIsOnBattery()
10621 mOnBattery = mOnBatteryInternal = false; in BatteryStatsImpl()
11177 return mOnBattery; in isOnBattery()
13588 mOnBattery = mOnBatteryInternal = true; in setOnBatteryLocked()
13625 mOnBattery = mOnBatteryInternal = false; in setOnBatteryLocked()
13717 if (onBattery == mOnBattery) { in setBatteryStateLocked()
13732 } else if (mCurrentBatteryLevel != level || mOnBattery != onBattery) { in setBatteryStateLocked()
13755 if (onBattery != mOnBattery) { in setBatteryStateLocked()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt77730 Lcom/android/internal/os/BatteryStatsImpl;->mOnBattery:Z