KeyguardUpdateMonitor.java | 444 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0); 448 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health)); 583 public final int plugged; field in class:KeyguardUpdateMonitor.BatteryStatus 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_US [all...] |