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

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java66 private int mPlugType = 0; field in class:PowerUI
192 final int oldPlugType = mPlugType;
193 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
197 final boolean plugged = mPlugType != 0;
209 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType);
379 pw.print("mPlugType=");
380 pw.println(Integer.toString(mPlugType));
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java143 private int mPlugType; field in class:BatteryService
269 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE;
339 mPlugType = BatteryManager.BATTERY_PLUGGED_AC;
341 mPlugType = BatteryManager.BATTERY_PLUGGED_USB;
343 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS;
345 mPlugType = BATTERY_PLUGGED_NONE;
365 + ", mPlugType=" + mPlugType);
371 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature,
385 mPlugType !
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java347 private int mPlugType; field in class:PowerManagerService
1696 final int oldPlugType = mPlugType;
1699 mPlugType = mBatteryManagerInternal.getPlugType();
1707 + ", mPlugType=" + mPlugType
1711 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
1716 mIsPowered, mPlugType, mBatteryLevel);
1768 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS
3208 pw.println(" mPlugType=" + mPlugType);
[all...]

Completed in 840 milliseconds