KeyguardUpdateMonitor.java | 272 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0); 276 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health)); 377 public final int plugged; field in class:KeyguardUpdateMonitor.BatteryStatus 379 public BatteryStatus(int status, int level, int plugged, int health) { 382 this.plugged = plugged; 387 * Determine whether the device is plugged in (USB, power, or wireless). 388 * @return true if the device is plugged in. 391 return plugged == BatteryManager.BATTERY_PLUGGED_AC 392 || plugged == BatteryManager.BATTERY_PLUGGED_US [all...] |