Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryServiceConstants.h9 BATTERY_STATUS_UNKNOWN = 1, enumerator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java20 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
90 status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in BatteryStatus()
172 int status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in isCharged()
/frameworks/base/core/java/android/hardware/
DBatteryState.java43 public static final int STATUS_UNKNOWN = BatteryManager.BATTERY_STATUS_UNKNOWN;
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt27 import android.os.BatteryManager.BATTERY_STATUS_UNKNOWN
244 arrayOf(BATTERY_STATUS_UNKNOWN, 100, true), in parameters()
246 arrayOf(BATTERY_STATUS_UNKNOWN, 99, false), in parameters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java111 @VisibleForTesting int mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN;
322 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
476 || snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN) { in shouldShowHybridWarning()
479 + (snapshot.getBatteryStatus() == BatteryManager.BATTERY_STATUS_UNKNOWN)); in shouldShowHybridWarning()
533 && currentSnapshot.getBatteryStatus() != BatteryManager.BATTERY_STATUS_UNKNOWN; in shouldShowLowBatteryWarning()
/frameworks/base/core/java/android/os/
DBatteryManager.java186 public static final int BATTERY_STATUS_UNKNOWN = Constants.BATTERY_STATUS_UNKNOWN; field in BatteryManager
DBatteryStats.java7028 case BatteryManager.BATTERY_STATUS_UNKNOWN: in printNextItem()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java414 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_lowLevelWarning()
473 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowHybridWarning_severeLevelWarning()
604 state.mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; in testShouldShowStandardWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java366 if (mHealthInfo.batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isPoweredLocked()
399 && mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in shouldSendBatteryLowLocked()
510 mHealthInfo.batteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
637 BatteryManager.BATTERY_STATUS_UNKNOWN in processValuesLocked()
/frameworks/proto_logging/stats/enums/os/
Denums.proto57 BATTERY_STATUS_UNKNOWN = 1; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java256 BatteryManager.BATTERY_STATUS_UNKNOWN); in onReceive()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp360 switch (getBatteryStatus(batteryId).value_or(BATTERY_STATUS_UNKNOWN)) { in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java235 BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_UNKNOWN); in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java37 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
2349 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, /* level= */ 100, /* plugged= */ in start()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp100 {{"Unknown", BATTERY_STATUS_UNKNOWN},
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2399 return static_cast<jint>(ret.value_or(BATTERY_STATUS_UNKNOWN)); in nativeGetBatteryStatus()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java15014 status != BatteryManager.BATTERY_STATUS_UNKNOWN) {
15166 status == BatteryManager.BATTERY_STATUS_UNKNOWN)) {
15185 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN;
/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.txt21375 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/core/api/
Dcurrent.txt32593 field public static final int BATTERY_STATUS_UNKNOWN = 1; // 0x1
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37153 Landroid/os/OsProtoEnums;->BATTERY_STATUS_UNKNOWN:I