Searched refs:mPlugType (Results 1 – 3 of 3) sorted by relevance
168 private int mPlugType; field in BatteryService345 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()443 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()445 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()447 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in processValuesLocked()449 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()456 + ", mPlugType=" + mPlugType); in processValuesLocked()462 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()476 mPlugType != mLastPlugType || in processValuesLocked()484 if (mPlugType != mLastPlugType) { in processValuesLocked()[all …]
77 private int mPlugType = 0; field in PowerUI213 final int oldPlugType = mPlugType; in onReceive()214 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()218 final boolean plugged = mPlugType != 0; in onReceive()230 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()505 pw.println(Integer.toString(mPlugType)); in dump()
349 private int mPlugType; field in PowerManagerService1667 final int oldPlugType = mPlugType; in updateIsPoweredLocked()1670 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()1678 + ", mPlugType=" + mPlugType in updateIsPoweredLocked()1682 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1687 mIsPowered, mPlugType); in updateIsPoweredLocked()1707 && BatteryManager.isPlugWired(mPlugType)) { in updateIsPoweredLocked()1736 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS in shouldWakeUpWhenPluggedOrUnpluggedLocked()3226 pw.println(" mPlugType=" + mPlugType); in dumpInternal()3426 proto.write(PowerManagerServiceDumpProto.PLUG_TYPE, mPlugType); in dumpProto()