Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_AC (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryManager.java186 public static final int BATTERY_PLUGGED_AC = OsProtoEnums.BATTERY_PLUGGED_AC; // = 1 field in BatteryManager
194 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
362 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java68 val = BatteryManager.BATTERY_PLUGGED_AC | in run()
77 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java129 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyReportsCharging()
164 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyTracksTimeOnBattery()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java175 dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC in onReceive()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java339 executeCommand("cmd battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in turnBatteryOff()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java332 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mHealthInfo.chargerAcOnline) { in isPoweredLocked()
466 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()
1035 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_AC; in dumpProto()
/frameworks/base/core/proto/android/os/
Denums.proto41 BATTERY_PLUGGED_AC = 1; enumerator
/frameworks/base/core/java/android/provider/
DSettings.java3110 || (val == BatteryManager.BATTERY_PLUGGED_AC)
3113 || (val == (BatteryManager.BATTERY_PLUGGED_AC
3115 || (val == (BatteryManager.BATTERY_PLUGGED_AC
3119 || (val == (BatteryManager.BATTERY_PLUGGED_AC
9593 || (val == BatteryManager.BATTERY_PLUGGED_AC)
9596 || (val == (BatteryManager.BATTERY_PLUGGED_AC
9598 || (val == (BatteryManager.BATTERY_PLUGGED_AC
9602 || (val == (BatteryManager.BATTERY_PLUGGED_AC
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java919 executeCmd("dumpsys battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in batteryOff()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1261 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
1271 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1009 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); in updateSettingsLocked()
3753 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0)); in dumpProto()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...