Searched refs:mPlugType (Results 1 – 3 of 3) sorted by relevance
172 private int mPlugType; field in BatteryService349 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()474 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()476 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()478 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in processValuesLocked()480 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()487 + ", mPlugType=" + mPlugType); in processValuesLocked()493 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()508 mPlugType != mLastPlugType || in processValuesLocked()516 if (mPlugType != mLastPlugType) { in processValuesLocked()[all …]
86 private int mPlugType = 0; field in PowerUI268 final int oldPlugType = mPlugType; in onReceive()269 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()274 final boolean plugged = mPlugType != 0; in onReceive()286 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()634 pw.println(Integer.toString(mPlugType)); in dump()
379 private int mPlugType; field in PowerManagerService1992 final int oldPlugType = mPlugType;1995 mPlugType = mBatteryManagerInternal.getPlugType();2003 + ", mPlugType=" + mPlugType2007 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {2012 mIsPowered, mPlugType);2033 && BatteryManager.isPlugWired(mPlugType)) {2062 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS3789 pw.println(" mPlugType=" + mPlugType);4002 proto.write(PowerManagerServiceDumpProto.PLUG_TYPE, mPlugType);