Home
last modified time | relevance | path

Searched refs:BATTERY_STATUS_UNKNOWN (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryManager.java160 public static final int BATTERY_STATUS_UNKNOWN = Constants.BATTERY_STATUS_UNKNOWN; field in BatteryManager
DBatteryStats.java6208 case BatteryManager.BATTERY_STATUS_UNKNOWN: in printNextItem()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h11 BATTERY_STATUS_UNKNOWN = 1, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java95 @VisibleForTesting int mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN;
212 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
324 && batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN; in shouldShowLowBatteryWarning()
341 if (plugged || isPowerSaver || batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isEnhancedTrigger()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
DBatteryNotLowTracker.java74 || status == BatteryManager.BATTERY_STATUS_UNKNOWN in getInitialState()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
DBatteryNotLowTrackerTest.java50 private static final int UNKNOWN_STATUS = BatteryManager.BATTERY_STATUS_UNKNOWN;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java129 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java329 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isPoweredLocked()
355 && mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in shouldSendBatteryLowLocked()
440 mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
554 BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
/frameworks/base/core/proto/android/os/
Denums.proto52 BATTERY_STATUS_UNKNOWN = 1; enumerator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java189 BatteryManager.BATTERY_STATUS_UNKNOWN); in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java24 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
770 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN);
1179 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, 100, 0, 0, 0); in KeyguardUpdateMonitor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java281 !POWER_SAVER_OFF, BatteryManager.BATTERY_STATUS_UNKNOWN); in testShouldShowLowBatteryWarning_deviceBatteryStatusUnknown_returnsNoShow()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12579 status != BatteryManager.BATTERY_STATUS_UNKNOWN) { in setBatteryStateLocked()
12720 status == BatteryManager.BATTERY_STATUS_UNKNOWN)) { in setBatteryStateLocked()
12736 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21375 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-public-dex.txt30496 Landroid/os/BatteryManager;->BATTERY_STATUS_UNKNOWN:I
/frameworks/base/api/
Dcurrent.txt32086 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1