Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java21 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
63 status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in BatteryStatus()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h11 BATTERY_STATUS_UNKNOWN = 1, enumerator
/frameworks/base/core/java/android/os/
DBatteryManager.java168 public static final int BATTERY_STATUS_UNKNOWN = Constants.BATTERY_STATUS_UNKNOWN; field in BatteryManager
DBatteryStats.java6352 case BatteryManager.BATTERY_STATUS_UNKNOWN: in printNextItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java105 @VisibleForTesting int mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN;
267 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
438 || snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN) { in shouldShowHybridWarning()
441 + (snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN)); in shouldShowHybridWarning()
500 && currentSnapshot.getBatteryStatus() != BatteryManager.BATTERY_STATUS_UNKNOWN; in shouldShowLowBatteryWarning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java400 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_lowLevelWarning()
465 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_severeLevelWarning()
596 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowStandardWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java333 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isPoweredLocked()
359 && mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in shouldSendBatteryLowLocked()
471 mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
586 BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java164 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
/frameworks/base/core/proto/android/os/
Denums.proto52 BATTERY_STATUS_UNKNOWN = 1; enumerator
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java24 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
1689 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, 100, 0, 0, 0); in KeyguardUpdateMonitor()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12283 status != BatteryManager.BATTERY_STATUS_UNKNOWN) { in setBatteryStateLocked()
12431 status == BatteryManager.BATTERY_STATUS_UNKNOWN)) { in setBatteryStateLocked()
12449 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21375 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt35748 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1