/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 186 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()
|
D | BatteryStats.java | 6409 case BatteryManager.BATTERY_PLUGGED_AC: in printNextItem()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | GlobalSettingsValidators.java | 52 || (val == BatteryManager.BATTERY_PLUGGED_AC) in VALIDATORS.put() 56 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 59 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 65 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put()
|
D | SystemSettingsValidators.java | 57 || (val == BatteryManager.BATTERY_PLUGGED_AC) in VALIDATORS.put() 61 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 64 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 70 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 91 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn() 102 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 69 val = BatteryManager.BATTERY_PLUGGED_AC | in run() 78 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 131 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyReportsCharging() 166 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyTracksTimeOnBattery()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 188 dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 306 executeCommand("cmd battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in turnBatteryOff()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 336 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mHealthInfo.chargerAcOnline) { in isPoweredLocked() 474 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked() 1046 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_AC; in dumpProto()
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 41 BATTERY_PLUGGED_AC = 1; enumerator
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 919 executeCmd("dumpsys battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in batteryOff()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 720 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); in testInattentiveSleep_hideWarningIfStayOnIsEnabledAndPluggedIn()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1243 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); 4214 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0));
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3374 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt() 3530 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21363 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
|
/frameworks/base/api/ |
D | current.txt | 35735 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
|