Home
last modified time | relevance | path

Searched refs:BATTERY_STATUS_DISCHARGING (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryChargeCalculatorTest.java64 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals()
67 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals()
70 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals()
107 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals_chargeUahUnavailable()
110 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals_chargeUahUnavailable()
113 batteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, 100, in testDischargeTotals_chargeUahUnavailable()
DBatteryStatsHistoryIteratorTest.java142 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in prepareHistory()
145 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in prepareHistory()
169 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in tagsLongHistory()
233 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in cpuSuspendHistoryEvents()
240 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in cpuSuspendHistoryEvents()
252 mBatteryStats.setBatteryStateLocked(BatteryManager.BATTERY_STATUS_DISCHARGING, in cpuSuspendHistoryEvents()
DBatteryStatsResetTest.java309 mBatteryStatus = BatteryManager.BATTERY_STATUS_DISCHARGING; in dischargeToLevel()
DBatteryStatsImplTest.java921 BatteryManager.BATTERY_STATUS_DISCHARGING, 50, 0); in storeBatteryUsageStatsOnReset()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h11 BATTERY_STATUS_DISCHARGING = 3, enumerator
/frameworks/base/core/java/android/hardware/
DBatteryState.java47 public static final int STATUS_DISCHARGING = BatteryManager.BATTERY_STATUS_DISCHARGING;
/frameworks/base/core/java/android/os/
DBatteryManager.java188 public static final int BATTERY_STATUS_DISCHARGING = Constants.BATTERY_STATUS_DISCHARGING; field in BatteryManager
DBatteryStats.java7034 case BatteryManager.BATTERY_STATUS_DISCHARGING: in printNextItem()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java231 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_DISCHARGING); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
/frameworks/proto_logging/stats/enums/os/
Denums.proto59 BATTERY_STATUS_DISCHARGING = 3; enumerator
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java681 == BatteryManager.BATTERY_STATUS_DISCHARGING in areBatteryThermalOrMemoryCritical()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp364 case BATTERY_STATUS_DISCHARGING: in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java268 } else if (status == BatteryManager.BATTERY_STATUS_DISCHARGING) { in getBatteryStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java178 ExtendedMockito.doReturn(BatteryManager.BATTERY_STATUS_DISCHARGING) in setDefaultMockValues()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java888 BatteryStatus status = new BatteryStatus(BatteryManager.BATTERY_STATUS_DISCHARGING, in onRefreshBatteryInfo_dozing_dischargingWithLongLife_presentBatteryPercentage()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java931 } else if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_DISCHARGING) { in getIconLocked()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp102 {"Discharging", BATTERY_STATUS_DISCHARGING},
/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.txt21372 field public static final int BATTERY_STATUS_DISCHARGING = 3; // 0x3
/frameworks/base/core/api/
Dcurrent.txt32590 field public static final int BATTERY_STATUS_DISCHARGING = 3; // 0x3
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37149 Landroid/os/OsProtoEnums;->BATTERY_STATUS_DISCHARGING:I