Home
last modified time | relevance | path

Searched refs:pluggedStatus (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java54 public int pluggedStatus; field in BatteryInfo
306 info.pluggedStatus = batteryBroadcast.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in getBatteryInfo()
307 info.mCharging = info.pluggedStatus != 0; in getBatteryInfo()
410 info.pluggedStatus, in updateBatteryInfoCharging()
434 info.pluggedStatus, in updateBatteryInfoCharging()
471 int pluggedStatus, in getPowerRemainingChargingLabel() argument
474 if (pluggedStatus == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in getPowerRemainingChargingLabel()
DBatterySettingsFeatureProvider.java70 int pluggedStatus, in getChargingOptimizationRemainingLabel() argument
DBatterySettingsFeatureProviderImpl.java88 int pluggedStatus, in getChargingOptimizationRemainingLabel() argument
DBatteryHeaderPreferenceController.java96 if (info.pluggedStatus == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in generateLabel()
DBatteryUtils.java598 if (batteryInfo.pluggedStatus == BatteryManager.BATTERY_PLUGGED_DOCK) { in getCurrentDockDefenderMode()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryDefenderDetector.java44 final boolean isPluggedIn = mBatteryInfo.pluggedStatus != 0; in detect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceControllerTest.java289 batteryInfo.pluggedStatus = BatteryManager.BATTERY_PLUGGED_WIRELESS; in updateBatteryStatus_customizedWirelessChargingLabel_customizedLabel()
312 batteryInfo.pluggedStatus = BatteryManager.BATTERY_PLUGGED_WIRELESS; in updateBatteryStatus_noCustomizedWirelessChargingLabel_statusWithRemainingLabel()
331 batteryInfo.pluggedStatus = BatteryManager.BATTERY_PLUGGED_WIRELESS; in updateBatteryStatus_noCustomizedWirelessChargingLabel_v1StatusWithRemainingLabel()