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

/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java136 private int mPlugType; field in class:BatteryService
259 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE;
329 mPlugType = BatteryManager.BATTERY_PLUGGED_AC;
331 mPlugType = BatteryManager.BATTERY_PLUGGED_USB;
333 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS;
335 mPlugType = BATTERY_PLUGGED_NONE;
354 + ", mPlugType=" + mPlugType);
360 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature,
373 mPlugType !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java60 private int mPlugType = 0; field in class:PowerUI
168 final int oldPlugType = mPlugType;
169 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
173 final boolean plugged = mPlugType != 0;
185 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType);
339 pw.print("mPlugType=");
340 pw.println(Integer.toString(mPlugType));
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java305 private int mPlugType; field in class:PowerManagerService
1486 final int oldPlugType = mPlugType;
1489 mPlugType = mBatteryManagerInternal.getPlugType();
1497 + ", mPlugType=" + mPlugType
1501 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
1506 mIsPowered, mPlugType, mBatteryLevel);
1558 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS
2863 pw.println(" mPlugType=" + mPlugType);
[all...]

Completed in 118 milliseconds