Home
last modified time | relevance | path

Searched refs:isOnBattery (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java80 public boolean isOnBattery() { in isOnBattery() method in MockBatteryStatsImpl
81 return mForceOnBattery ? true : super.isOnBattery(); in isOnBattery()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java875 if (mStats.isOnBattery()) { in noteWifiRadioPowerState()
1129 public boolean isOnBattery() { in isOnBattery() method in BatteryStatsService
1130 return mStats.isOnBattery(); in isOnBattery()
1143 final boolean onBattery = BatteryStatsImpl.isOnBattery(plugType, status); in setBatteryState()
1144 if (mStats.isOnBattery() == onBattery) { in setBatteryState()
DActivityManagerService.java18215 if (!mBatteryStatsService.isOnBattery()) { in updateForegroundTimeIfOnBattery()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3972 if (isOnBattery()) { in noteProcessStartLocked()
3989 if (isOnBattery()) { in noteProcessCrashLocked()
3997 if (isOnBattery()) { in noteProcessAnrLocked()
4125 if (isOnBattery()) { in noteWakupAlarmLocked()
4138 if (isOnBattery()) { in noteWakupAlarmLocked()
4145 if (isOnBattery()) { in noteWakupAlarmLocked()
10386 public boolean isOnBattery() { in isOnBattery() method in BatteryStatsImpl
12231 final boolean onBattery = isOnBattery(plugType, status); in setBatteryStateLocked()
12431 public static boolean isOnBattery(int plugType, int status) { in isOnBattery() method in BatteryStatsImpl
/frameworks/base/config/
Dboot-image-profile.txt20980 HSPLcom/android/internal/os/BatteryStatsImpl;->isOnBattery()Z
Dhiddenapi-greylist-max-o.txt88642 Lcom/android/internal/os/BatteryStatsImpl;->isOnBattery(II)Z