Searched refs:EXTRA_PLUGGED (Results 1 – 18 of 18) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 129 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyReportsCharging() 134 intentUnplugged.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyReportsCharging() 164 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyTracksTimeOnBattery()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 46 intent.getIntExtra(BatteryManager.EXTRA_PLUGGED,
|
D | BatteryService.java | 706 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryChangedIntentLocked() 732 event.putInt(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryLevelChangedIntentLocked()
|
D | AppStateTracker.java | 688 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0); in onReceive()
|
D | UiModeManagerService.java | 204 mCharging = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
|
D | DeviceIdleController.java | 588 boolean plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 90 public static final String EXTRA_PLUGGED = "plugged"; field in BatteryManager
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 146 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 182 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 233 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1157 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn() 1181 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 994 return batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) > 0; in isDevicePluggedIn()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 29 import static android.os.BatteryManager.EXTRA_PLUGGED; 1075 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 315 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); in UsbDeviceManager()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21379 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 34339 field public static final String EXTRA_PLUGGED = "plugged";
|
/frameworks/base/api/ |
D | current.txt | 34483 field public static final String EXTRA_PLUGGED = "plugged";
|