Home
last modified time | relevance | path

Searched refs:EXTRA_CHARGING_STATUS (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java23 import static android.os.BatteryManager.EXTRA_CHARGING_STATUS;
93 chargingStatus = batteryChangedIntent.getIntExtra(EXTRA_CHARGING_STATUS, in BatteryStatus()
331 batteryChangedIntent.getIntExtra(EXTRA_CHARGING_STATUS, CHARGING_POLICY_DEFAULT); in isBatteryDefender()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java242 intent.putExtra(BatteryManager.EXTRA_CHARGING_STATUS, in batteryStateChanged_chargingStatusNotLongLife_outputsFalse()
253 intent.putExtra(BatteryManager.EXTRA_CHARGING_STATUS, in batteryStateChanged_chargingStatusLongLife_outputsTrue()
/frameworks/base/core/java/android/os/
DBatteryManager.java166 public static final String EXTRA_CHARGING_STATUS = "android.os.extra.CHARGING_STATUS"; field in BatteryManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java21 import static android.os.BatteryManager.EXTRA_CHARGING_STATUS;
273 int chargingStatus = intent.getIntExtra(EXTRA_CHARGING_STATUS, CHARGING_POLICY_DEFAULT); in onReceive()
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt353 putExtra(BatteryManager.EXTRA_CHARGING_STATUS, chargingStatus) in createIntent()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java774 intent.putExtra(BatteryManager.EXTRA_CHARGING_STATUS, mHealthInfo.chargingState); in sendBatteryChangedIntentLocked()
819 event.putInt(BatteryManager.EXTRA_CHARGING_STATUS, mHealthInfo.chargingState); in sendBatteryLevelChangedIntentLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java2398 BatteryManager.EXTRA_CHARGING_STATUS, in getBatteryIntent()
/frameworks/base/core/api/
Dcurrent.txt32595 field public static final String EXTRA_CHARGING_STATUS = "android.os.extra.CHARGING_STATUS";