Home
last modified time | relevance | path

Searched refs:plugged (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java211 String plugged = args.getString("plugged"); in dispatchDemoCommand() local
215 if (plugged != null) { in dispatchDemoCommand()
216 mPluggedIn = Boolean.parseBoolean(plugged); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java179 final boolean plugged = mPlugType != 0; in onReceive()
194 Slog.d(TAG, "plugged " + oldPlugged + " --> " + plugged); in onReceive()
210 if (!plugged in onReceive()
218 } else if (isPowerSaver || plugged || (bucket > oldBucket && bucket > 0)) { in onReceive()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md31 … | ```plugged``` | | Sets charging state (```true```, ```false```)
104 0 -e plugged false
158 plugged false
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java654 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
674 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health,
854 public final int plugged; field in KeyguardUpdateMonitor.BatteryStatus
857 public BatteryStatus(int status, int level, int plugged, int health, in BatteryStatus() argument
861 this.plugged = plugged; in BatteryStatus()
871 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
872 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
873 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; in isPluggedIn()
/frameworks/base/core/proto/android/service/
Dpower.proto130 // True if the device is plugged into a power source.
309 // True if the device should wake up when plugged or unplugged.
311 // True if the device should wake up when plugged or unplugged in theater mode.
325 // True if dreams can run while not plugged in.
365 // The stay on while plugged in setting.
Dbattery.proto53 BatteryPlugged plugged = 2; field
/frameworks/base/tests/AccessoryDisplay/
DREADME45 so the USB OTG cable should be plugged directly into it.
/frameworks/base/tools/orientationplot/
DREADME.txt21 1. Plug in the device. Ensure that it is the only device plugged in
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java269 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
278 return !plugged in shouldSendBatteryLowLocked()
DEventLogTags.logtags9 2723 battery_status (status|1|5),(health|1|5),(present|1|5),(plugged|1|5),(technology|3)
DDeviceIdleController.java343 int plugged = intent.getIntExtra("plugged", 0);
344 updateChargingLocked(plugged != 0);
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5715 void setHdmiPlugged(boolean plugged) {
5716 if (mHdmiPlugged != plugged) {
5717 mHdmiPlugged = plugged;
5721 intent.putExtra(EXTRA_HDMI_PLUGGED_STATE, plugged);
5727 boolean plugged = false;
5739 plugged = 0 != Integer.parseInt(new String(buf, 0, n-1));
5756 mHdmiPlugged = !plugged;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21379 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
/frameworks/base/api/
Dcurrent.txt30393 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
Dsystem-current.txt33102 field public static final java.lang.String EXTRA_PLUGGED = "plugged";