Searched refs:mPlugType (Results 1 – 3 of 3) sorted by relevance
136 private int mPlugType; field in BatteryService259 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()329 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()331 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()333 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in processValuesLocked()335 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()354 + ", mPlugType=" + mPlugType); in processValuesLocked()360 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature, in processValuesLocked()373 mPlugType != mLastPlugType || in processValuesLocked()381 if (mPlugType != mLastPlugType) { in processValuesLocked()[all …]
60 private int mPlugType = 0; field in PowerUI168 final int oldPlugType = mPlugType; in onReceive()169 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()173 final boolean plugged = mPlugType != 0; in onReceive()185 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()340 pw.println(Integer.toString(mPlugType)); in dump()
305 private int mPlugType; field in PowerManagerService1486 final int oldPlugType = mPlugType; in updateIsPoweredLocked()1489 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()1497 + ", mPlugType=" + mPlugType in updateIsPoweredLocked()1501 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1506 mIsPowered, mPlugType, mBatteryLevel); in updateIsPoweredLocked()1558 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS in shouldWakeUpWhenPluggedOrUnpluggedLocked()2863 pw.println(" mPlugType=" + mPlugType); in dumpInternal()