Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_WIRELESS (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java69 | BatteryManager.BATTERY_PLUGGED_WIRELESS in run()
79 val = BatteryManager.BATTERY_PLUGGED_WIRELESS; in run()
/frameworks/base/core/java/android/os/
DBatteryManager.java208 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
DBatteryStats.java7092 case BatteryManager.BATTERY_PLUGGED_WIRELESS: in printNextItem()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSystemSettingsValidators.java60 || (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()
DGlobalSettingsValidators.java67 || (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/
DBatteryStatusTest.kt25 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/
DBatteryStatus.java116 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/
DWirelessChargerDetector.java223 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
234 if (plugType != 0 && plugType != BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
DPowerManagerService.java2699 && 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/
DVibrationSettingsTest.java20 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/
DBatteryControllerImpl.java261 == 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/
DUtilsTest.java413 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/
DBatteryControllerTest.java232 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistoryIterator.java181 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
DBatteryStatsHistory.java2235 } else if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java377 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/
Denums.proto48 BATTERY_PLUGGED_WIRELESS = 4; enumerator
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java630 mOnWirelessCharger = pluggedInfo == BatteryManager.BATTERY_PLUGGED_WIRELESS; in updateBatteryInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java782 80 /* level */, BatteryManager.BATTERY_PLUGGED_WIRELESS, 100 /* health */, in onRefreshBatteryInfo_computesChargingTime()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java824 .thenReturn(BatteryManager.BATTERY_PLUGGED_WIRELESS); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
826 BatteryManager.BATTERY_PLUGGED_WIRELESS)).thenReturn(false); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21365 field public static final int BATTERY_PLUGGED_WIRELESS = 4; // 0x4
/frameworks/base/core/api/
Dcurrent.txt32581 field public static final int BATTERY_PLUGGED_WIRELESS = 4; // 0x4
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37147 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_WIRELESS:I