Searched defs:mPlugType (Results 1 - 3 of 3) sorted by last modified time

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java52 private int mPlugType = 0; field in class:PowerUI
160 final int oldPlugType = mPlugType;
161 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
165 final boolean plugged = mPlugType != 0;
177 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType);
232 pw.print("mPlugType=");
233 pw.println(Integer.toString(mPlugType));
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java131 private int mPlugType; field in class:BatteryService
242 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE;
312 mPlugType = BatteryManager.BATTERY_PLUGGED_AC;
314 mPlugType = BatteryManager.BATTERY_PLUGGED_USB;
316 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS;
318 mPlugType = BATTERY_PLUGGED_NONE;
334 + ", mPlugType=" + mPlugType);
340 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature,
353 mPlugType !
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java269 private int mPlugType; field in class:PowerManagerService
1322 final int oldPlugType = mPlugType;
1325 mPlugType = mBatteryManagerInternal.getPlugType();
1333 + ", mPlugType=" + mPlugType
1337 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
1342 mIsPowered, mPlugType, mBatteryLevel);
1394 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS
2599 pw.println(" mPlugType=" + mPlugType);
[all...]

Completed in 94 milliseconds