Home
last modified time | relevance | path

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

/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.java6371 case BatteryManager.BATTERY_STATUS_UNKNOWN: in printNextItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java96 @VisibleForTesting int mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN;
231 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
400 || snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN) { in shouldShowHybridWarning()
403 + (snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN)); in shouldShowHybridWarning()
459 && currentSnapshot.getBatteryStatus() != BatteryManager.BATTERY_STATUS_UNKNOWN; in shouldShowLowBatteryWarning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java379 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_lowLevelWarning()
444 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_severeLevelWarning()
575 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowStandardWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java334 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isPoweredLocked()
360 && mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in shouldSendBatteryLowLocked()
473 mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
588 BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java149 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
/frameworks/base/core/proto/android/os/
Denums.proto52 BATTERY_STATUS_UNKNOWN = 1; enumerator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java179 BatteryManager.BATTERY_STATUS_UNKNOWN); in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java24 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
1074 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN);
1539 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, 100, 0, 0, 0); in KeyguardUpdateMonitor()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12266 status != BatteryManager.BATTERY_STATUS_UNKNOWN) { in setBatteryStateLocked()
12414 status == BatteryManager.BATTERY_STATUS_UNKNOWN)) { in setBatteryStateLocked()
12432 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/non-updatable-api/
Dcurrent.txt34334 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt34478 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51674 Landroid/os/OsProtoEnums;->BATTERY_STATUS_UNKNOWN:I