Home
last modified time | relevance | path

Searched refs:BATTERY_STATUS_CHARGING (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h12 BATTERY_STATUS_CHARGING = 2, enumerator
/frameworks/base/core/java/android/os/
DBatteryManager.java168 public static final int BATTERY_STATUS_CHARGING = Constants.BATTERY_STATUS_CHARGING; field in BatteryManager
DBatteryStats.java6425 case BatteryManager.BATTERY_STATUS_CHARGING: in printNextItem()
/frameworks/base/core/java/android/hardware/
DBatteryState.java45 public static final int STATUS_CHARGING = BatteryManager.BATTERY_STATUS_CHARGING;
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryChargeCalculatorTest.java71 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_CHARGING, 100, in testDischargeTotals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java551 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime()
563 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime_onlyWhenCharging()
606 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_chargingWithOverheat_presentChargingLimited()
642 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_fullChargedWithOverheat_presentCharged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java340 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_batteryLevel99_returnChargingString()
351 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWireless_returnWirelessChargingString()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java389 return mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_CHARGING; in shouldShutdownLocked()
849 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_CHARGING) { in getIconLocked()
1165 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in updateLightsLocked()
1173 } else if (status == BatteryManager.BATTERY_STATUS_CHARGING in updateLightsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java307 executeCommand("cmd battery set status " + BatteryManager.BATTERY_STATUS_CHARGING); in turnBatteryOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java185 mCharging = mCharged || status == BatteryManager.BATTERY_STATUS_CHARGING; in onReceive()
/frameworks/proto_logging/stats/enums/os/
Denums.proto53 BATTERY_STATUS_CHARGING = 2; enumerator
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp323 case BATTERY_STATUS_CHARGING: in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java206 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java866 boolean isChargingOrFull = status.status == BatteryManager.BATTERY_STATUS_CHARGING in onRefreshBatteryInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java792 ExtendedMockito.doReturn(BatteryManager.BATTERY_STATUS_CHARGING) in testInstallScenarioToReasonBatteryCharging()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp92 {"Charging", BATTERY_STATUS_CHARGING},
/frameworks/base/core/api/
Dcurrent.txt30645 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21371 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt41114 Landroid/os/OsProtoEnums;->BATTERY_STATUS_CHARGING:I