Home | History | Annotate | Download | only in keyguard

Lines Matching refs:plugged

561                 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
565 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
724 public final int plugged;
726 public BatteryStatus(int status, int level, int plugged, int health) {
729 this.plugged = plugged;
734 * Determine whether the device is plugged in (USB, power, or wireless).
735 * @return true if the device is plugged in.
738 return plugged == BatteryManager.BATTERY_PLUGGED_AC
739 || plugged == BatteryManager.BATTERY_PLUGGED_USB
740 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS;
1249 // change in battery level while plugged in