Home | History | Annotate | Download | only in keyguard

Lines Matching refs:plugged

444                 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
448 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
583 public final int plugged;
585 public BatteryStatus(int status, int level, int plugged, int health) {
588 this.plugged = plugged;
593 * Determine whether the device is plugged in (USB, power, or wireless).
594 * @return true if the device is plugged in.
597 return plugged == BatteryManager.BATTERY_PLUGGED_AC
598 || plugged == BatteryManager.BATTERY_PLUGGED_USB
599 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS;
1060 // change in battery level while plugged in