Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h10 BATTERY_STATUS_CHARGING = 2, enumerator
/frameworks/base/core/java/android/hardware/
DBatteryState.java45 public static final int STATUS_CHARGING = BatteryManager.BATTERY_STATUS_CHARGING;
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java390 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_batteryLevel99_returnChargingString()
401 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingDock_returnDockChargingString()
412 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWireless_returnWirelessChargingString()
423 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString()
434 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
/frameworks/base/core/java/android/os/
DBatteryManager.java187 public static final int BATTERY_STATUS_CHARGING = Constants.BATTERY_STATUS_CHARGING; field in BatteryManager
DBatteryStats.java7031 case BatteryManager.BATTERY_STATUS_CHARGING: in printNextItem()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryChargeCalculatorTest.java93 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_CHARGING, 100, in testDischargeTotals()
DBatteryStatsHistoryTest.java434 mHistory.setBatteryState(true /* charging */, BatteryManager.BATTERY_STATUS_CHARGING, 80, in testNrState_dump()
475 mHistory.setBatteryState(true /* charging */, BatteryManager.BATTERY_STATUS_CHARGING, 80, in testNrState_checkin()
551 mHistory.setBatteryState(true, BatteryManager.BATTERY_STATUS_CHARGING, tag % 50, 0); in largeTagPool()
DBatteryStatsResetTest.java318 mBatteryStatus = BatteryManager.BATTERY_STATUS_CHARGING; in chargeToLevel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java781 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime()
793 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_computesChargingTime_onlyWhenCharging()
835 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_chargingWithLongLife_presentChargingLimited()
853 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_fullChargedWithLongLife_presentChargingLimited()
871 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_CHARGING, in onRefreshBatteryInfo_fullChargedWithoutLongLife_presentCharged()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java425 return mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_CHARGING; in shouldShutdownLocked()
929 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_CHARGING) { in getIconLocked()
1365 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in updateLightsLocked()
1375 } else if (status == BatteryManager.BATTERY_STATUS_CHARGING in updateLightsLocked()
DStorageManagerService.java2832 if (status != BatteryManager.BATTERY_STATUS_CHARGING && in checkChargeStatus()
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt347 status: Int = BatteryManager.BATTERY_STATUS_CHARGING, in createIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DControllerMetricsStats.java385 boolean isCharged = (status == BatteryManager.BATTERY_STATUS_CHARGING);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java220 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue()
/frameworks/proto_logging/stats/enums/os/
Denums.proto58 BATTERY_STATUS_CHARGING = 2; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java258 mCharging = mCharged || status == BatteryManager.BATTERY_STATUS_CHARGING; in onReceive()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp361 case BATTERY_STATUS_CHARGING: in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java248 if (status == BatteryManager.BATTERY_STATUS_CHARGING) { in getBatteryStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java796 ExtendedMockito.doReturn(BatteryManager.BATTERY_STATUS_CHARGING) in testInstallScenarioToReasonBatteryCharging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1268 boolean isChargingOrFull = status.status == BatteryManager.BATTERY_STATUS_CHARGING in onRefreshBatteryInfo()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp101 {"Charging", BATTERY_STATUS_CHARGING},
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21371 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt32589 field public static final int BATTERY_STATUS_CHARGING = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37148 Landroid/os/OsProtoEnums;->BATTERY_STATUS_CHARGING:I