Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h12 BATTERY_STATUS_CHARGING = 2, enumerator
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java359 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_batteryLevel99_returnChargingString()
370 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingDock_returnDockChargingString()
381 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWireless_returnWirelessChargingString()
392 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString()
403 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
/frameworks/base/core/java/android/os/
DBatteryManager.java168 public static final int BATTERY_STATUS_CHARGING = Constants.BATTERY_STATUS_CHARGING; field in BatteryManager
DBatteryStats.java6870 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.java74 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_CHARGING, 100, in testDischargeTotals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java964 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime()
976 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime_onlyWhenCharging()
1018 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_chargingWithOverheat_presentChargingLimited()
1036 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_fullChargedWithOverheat_presentChargingLimited()
1054 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_fullChargedWithoutOverheat_presentCharged()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java379 return mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_CHARGING; in shouldShutdownLocked()
831 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_CHARGING) { in getIconLocked()
1198 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in updateLightsLocked()
1206 } else if (status == BatteryManager.BATTERY_STATUS_CHARGING in updateLightsLocked()
DStorageManagerService.java2794 if (status != BatteryManager.BATTERY_STATUS_CHARGING && in checkChargeStatus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java206 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java221 mCharging = mCharged || status == BatteryManager.BATTERY_STATUS_CHARGING; in onReceive()
/frameworks/proto_logging/stats/enums/os/
Denums.proto55 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.java225 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in getBatteryStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java792 ExtendedMockito.doReturn(BatteryManager.BATTERY_STATUS_CHARGING) in testInstallScenarioToReasonBatteryCharging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1053 boolean isChargingOrFull = status.status == BatteryManager.BATTERY_STATUS_CHARGING in onRefreshBatteryInfo()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp94 {"Charging", BATTERY_STATUS_CHARGING},
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21371 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt30823 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37791 Landroid/os/OsProtoEnums;->BATTERY_STATUS_CHARGING:I