Searched refs:plugged (Results 1 – 9 of 9) sorted by relevance
40 private static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { in getCustomBatteryIntent() argument42 intent.putExtra(BatteryManager.EXTRA_PLUGGED, plugged); in getCustomBatteryIntent()
138 boolean plugged = (0 != intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0));140 if (plugged != mPlugged) {141 mPlugged = plugged;
159 final boolean plugged = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) != 0; in updateHistPrefSummary()161 if (mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(context) && !plugged) { in updateHistPrefSummary()
70 final int plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);76 ((plugged & BatteryManager.BATTERY_PLUGGED_ANY) != 0) &&