Searched refs:EXTRA_PLUGGED (Results 1 – 18 of 18) sorted by relevance
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/ |
D | BatteryNotLowTracker.java | 67 int plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, BATTERY_PLUGGED_NONE); in getInitialState()
|
D | BatteryChargingTracker.java | 104 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in isBatteryChangedIntentCharging()
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 86 public static final String EXTRA_PLUGGED = "plugged"; field in BatteryManager
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/ |
D | BatteryNotLowTrackerTest.java | 78 intent.putExtra(BatteryManager.EXTRA_PLUGGED, plugged); in createBatteryChangedIntent()
|
D | BatteryChargingTrackerTest.java | 78 intent.putExtra(BatteryManager.EXTRA_PLUGGED, plugged); in createBatteryChangedIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 126 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 134 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 214 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 672 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryChangedIntentLocked() 698 event.putInt(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendBatteryLevelChangedIntentLocked()
|
D | UiModeManagerService.java | 162 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
D | AppStateTracker.java | 688 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0); in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1156 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn() 1180 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 29 import static android.os.BatteryManager.EXTRA_PLUGGED; 771 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 992 return batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) > 0; in isDevicePluggedIn()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 324 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/config/ |
D | hiddenapi-public-dex.txt | 30504 Landroid/os/BatteryManager;->EXTRA_PLUGGED:Ljava/lang/String;
|
/frameworks/base/api/ |
D | current.txt | 32091 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
|