HomeSort by relevance Sort by last modified time
    Searched refs:mPlugType (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/java/com/android/server/
BatteryService.java 118 private int mPlugType;
176 return mPlugType;
243 mPlugType = BatteryManager.BATTERY_PLUGGED_AC;
245 mPlugType = BatteryManager.BATTERY_PLUGGED_USB;
247 mPlugType = BATTERY_PLUGGED_NONE;
253 mPlugType, mBatteryLevel, mBatteryTemperature,
266 mPlugType != mLastPlugType ||
271 if (mPlugType != mLastPlugType) {
285 } else if (mPlugType == BATTERY_PLUGGED_NONE) {
294 mPlugType != mLastPlugType)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerUI.java 54 int mPlugType = 0;
116 final int oldPlugType = mPlugType;
117 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
121 final boolean plugged = mPlugType != 0;
133 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType);
295 pw.print("mPlugType=");
296 pw.println(Integer.toString(mPlugType));

Completed in 117 milliseconds