/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 204 public static final int BATTERY_PLUGGED_AC = OsProtoEnums.BATTERY_PLUGGED_AC; // = 1 field in BatteryManager 280 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS 572 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
|
D | BatteryStats.java | 7085 case BatteryManager.BATTERY_PLUGGED_AC: in printNextItem()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 67 val = BatteryManager.BATTERY_PLUGGED_AC in run() 77 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | SystemSettingsValidators.java | 58 || (val == BatteryManager.BATTERY_PLUGGED_AC) in VALIDATORS.put() 63 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 66 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 72 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 76 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put()
|
D | GlobalSettingsValidators.java | 65 || (val == BatteryManager.BATTERY_PLUGGED_AC) in VALIDATORS.put() 70 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 73 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 76 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 88 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put() 92 == (BatteryManager.BATTERY_PLUGGED_AC in VALIDATORS.put()
|
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/ |
D | BatteryStatusTest.kt | 22 import android.os.BatteryManager.BATTERY_PLUGGED_AC 175 arrayOf("withAC_returnsTrue", BATTERY_PLUGGED_AC, true), in parameters() 208 arrayOf("withAC_returnsTrue", BATTERY_PLUGGED_AC, false), in parameters()
|
/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/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 108 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired() 239 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistoryIterator.java | 175 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
|
D | BatteryStatsHistory.java | 2231 if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 836 80 /* level */, BatteryManager.BATTERY_PLUGGED_AC, in onRefreshBatteryInfo_chargingWithLongLife_presentChargingLimited() 854 100 /* level */, BatteryManager.BATTERY_PLUGGED_AC, in onRefreshBatteryInfo_fullChargedWithLongLife_presentChargingLimited() 872 100 /* level */, BatteryManager.BATTERY_PLUGGED_AC, in onRefreshBatteryInfo_fullChargedWithoutLongLife_presentCharged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 369 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 in isPoweredLocked() 493 return BatteryManager.BATTERY_PLUGGED_AC; in plugType() 1271 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_AC; in dumpProto()
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 44 BATTERY_PLUGGED_AC = 1; enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 310 mIncrement > 0 ? BatteryManager.BATTERY_PLUGGED_AC : 0); in onReceive()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BstatsCpuTimesValidationTest.java | 824 executeCmd("dumpsys battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in batteryOff()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 983 .thenReturn(BatteryManager.BATTERY_PLUGGED_AC); in testWakefulnessDream_shouldStopDreamingWhenUnplugging_whenDreamPrevents() 1345 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 | 1583 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); 5144 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0));
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21363 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
|
/frameworks/base/core/api/ |
D | current.txt | 32578 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37144 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_AC:I
|