/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 69 | BatteryManager.BATTERY_PLUGGED_WIRELESS in run() 79 val = BatteryManager.BATTERY_PLUGGED_WIRELESS; in run()
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 208 public static final int BATTERY_PLUGGED_WIRELESS = OsProtoEnums.BATTERY_PLUGGED_WIRELESS; // = 4 field in BatteryManager 280 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS
|
D | BatteryStats.java | 7092 case BatteryManager.BATTERY_PLUGGED_WIRELESS: in printNextItem()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | SystemSettingsValidators.java | 60 || (val == BatteryManager.BATTERY_PLUGGED_WIRELESS) in VALIDATORS.put() 67 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put() 70 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put() 74 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put()
|
D | GlobalSettingsValidators.java | 67 || (val == BatteryManager.BATTERY_PLUGGED_WIRELESS) in VALIDATORS.put() 74 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put() 80 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put() 85 == (BatteryManager.BATTERY_PLUGGED_WIRELESS in VALIDATORS.put() 90 | BatteryManager.BATTERY_PLUGGED_WIRELESS)) in VALIDATORS.put() 97 | BatteryManager.BATTERY_PLUGGED_WIRELESS in VALIDATORS.put()
|
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/ |
D | BatteryStatusTest.kt | 25 import android.os.BatteryManager.BATTERY_PLUGGED_WIRELESS 178 arrayOf("withWireless_returnsTrue", BATTERY_PLUGGED_WIRELESS, true), in parameters() 211 arrayOf("withWireless_returnsTrue", BATTERY_PLUGGED_WIRELESS, false), in parameters()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 116 return plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; in isPluggedInWireless() 241 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS in isPluggedIn()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 223 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update() 234 if (plugType != 0 && plugType != BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
|
D | PowerManagerService.java | 2699 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { 2706 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS 5152 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_WIRELESS)
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 20 import static android.os.BatteryManager.BATTERY_PLUGGED_WIRELESS; 312 setBatteryReceiverRegistrationResult(getBatteryChangedIntent(BATTERY_PLUGGED_WIRELESS)); in wirelessChargingVibrationsEnabled_doesNotRegisterBatteryReceiver_allowsAnyUsage() 347 Intent wirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_WIRELESS); in shouldIgnoreVibration_onWirelessChargerWhenSystemReady_doesNotAllowFromAnyUsage() 364 Intent wirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_WIRELESS); in shouldIgnoreVibration_receivesWirelessChargingIntent_doesNotAllowFromAnyUsage() 374 Intent wirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_WIRELESS); in shouldIgnoreVibration_receivesNonWirelessChargingIntent_allowsAnyUsage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 261 == BatteryManager.BATTERY_PLUGGED_WIRELESS)) { in onReceive() 356 return mPluggedChargingSource == BatteryManager.BATTERY_PLUGGED_WIRELESS; in isPluggedInWireless()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 413 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in getBatteryStatus_chargingWireless_returnWirelessChargingString() 435 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerTest.java | 232 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistoryIterator.java | 181 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
|
D | BatteryStatsHistory.java | 2235 } else if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 377 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0 in isPoweredLocked() 497 return BatteryManager.BATTERY_PLUGGED_WIRELESS; in plugType() 1275 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_WIRELESS; in dumpProto()
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 48 BATTERY_PLUGGED_WIRELESS = 4; enumerator
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 630 mOnWirelessCharger = pluggedInfo == BatteryManager.BATTERY_PLUGGED_WIRELESS; in updateBatteryInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 782 80 /* level */, BatteryManager.BATTERY_PLUGGED_WIRELESS, 100 /* health */, in onRefreshBatteryInfo_computesChargingTime()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 824 .thenReturn(BatteryManager.BATTERY_PLUGGED_WIRELESS); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn() 826 BatteryManager.BATTERY_PLUGGED_WIRELESS)).thenReturn(false); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21365 field public static final int BATTERY_PLUGGED_WIRELESS = 4; // 0x4
|
/frameworks/base/core/api/ |
D | current.txt | 32581 field public static final int BATTERY_PLUGGED_WIRELESS = 4; // 0x4
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37147 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_WIRELESS:I
|