/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 26 import static android.os.BatteryManager.EXTRA_PLUGGED; 91 plugged = batteryChangedIntent.getIntExtra(EXTRA_PLUGGED, 0); in BatteryStatus() 229 return batteryChangedIntent.getIntExtra(EXTRA_PLUGGED, 0); in getPluggedType() 248 batteryChangedIntent.getIntExtra(EXTRA_PLUGGED, BATTERY_PLUGGED_NONE)); in isPluggedInDock()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 131 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyReportsCharging() 136 intentUnplugged.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyReportsCharging() 166 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyTracksTimeOnBattery()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 391 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in getBatteryStatus_batteryLevel99_returnChargingString() 402 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_DOCK); in getBatteryStatus_chargingDock_returnDockChargingString() 413 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in getBatteryStatus_chargingWireless_returnWirelessChargingString() 424 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString() 435 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 46 intent.getIntExtra(BatteryManager.EXTRA_PLUGGED,
|
D | BatteryService.java | 761 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryChangedIntentLocked() 813 event.putInt(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryLevelChangedIntentLocked()
|
D | UiModeManagerService.java | 304 mCharging = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryInputSuspendTest.java | 112 return batteryMonitor.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) != 0; in isCharging()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerTest.java | 221 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_DOCK); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue() 232 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_WIRELESS); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 94 batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, /* defaultValue= */ -1) > 0; in isBatteryLevelSufficient()
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 96 public static final String EXTRA_PLUGGED = "plugged"; field in BatteryManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 253 mPluggedChargingSource = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in onReceive() 260 && intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) in onReceive()
|
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/ |
D | BatteryStatusTest.kt | 354 putExtra(BatteryManager.EXTRA_PLUGGED, plugged) in createIntent()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | PowerMetricsCollector.java | 167 return intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) != 0;
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 189 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 21 import static android.os.BatteryManager.EXTRA_PLUGGED; 1027 batteryIntent.putExtra(EXTRA_PLUGGED, extraPluggedValue); in getBatteryChangedIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 324 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 628 int pluggedInfo = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in updateBatteryInfo()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BstatsCpuTimesValidationTest.java | 899 return batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) > 0; in isDevicePluggedIn()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 456 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
D | DeviceIdleController.java | 675 boolean plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1655 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn() 1679 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 368 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); in UsbDeviceManager()
|
/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 | 21379 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
|
/frameworks/base/core/api/ |
D | current.txt | 32600 field public static final String EXTRA_PLUGGED = "plugged";
|