Searched refs:mPlugType (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DBatteryService.java134 private int mPlugType; field in class:BatteryService
217 return mPlugType;
292 mPlugType = BatteryManager.BATTERY_PLUGGED_AC;
294 mPlugType = BatteryManager.BATTERY_PLUGGED_USB;
296 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS;
298 mPlugType = BATTERY_PLUGGED_NONE;
314 + ", mPlugType=" + mPlugType);
320 mPlugType, mBatteryLevel, mBatteryTemperature,
333 mPlugType !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java55 int mPlugType = 0; field in class:PowerUI
117 final int oldPlugType = mPlugType;
118 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
122 final boolean plugged = mPlugType != 0;
134 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType);
300 pw.print("mPlugType=");
301 pw.println(Integer.toString(mPlugType));
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java264 private int mPlugType; field in class:PowerManagerService
1115 final int oldPlugType = mPlugType;
1117 mPlugType = mBatteryService.getPlugType();
1124 + ", mPlugType=" + mPlugType
1128 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
1178 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS
2170 pw.println(" mPlugType=" + mPlugType);

Completed in 284 milliseconds