Searched refs:mPlugType (Results 1 – 3 of 3) sorted by relevance
172 private int mPlugType; field in BatteryService350 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()476 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()478 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()480 mPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in processValuesLocked()482 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()489 + ", mPlugType=" + mPlugType); in processValuesLocked()495 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()510 mPlugType != mLastPlugType || in processValuesLocked()518 if (mPlugType != mLastPlugType) { in processValuesLocked()[all …]
77 private int mPlugType = 0; field in PowerUI232 final int oldPlugType = mPlugType; in onReceive()233 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()238 final boolean plugged = mPlugType != 0; in onReceive()250 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()577 pw.println(Integer.toString(mPlugType)); in dump()
358 private int mPlugType; field in PowerManagerService1759 final int oldPlugType = mPlugType; in updateIsPoweredLocked()1762 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()1770 + ", mPlugType=" + mPlugType in updateIsPoweredLocked()1774 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1779 mIsPowered, mPlugType); in updateIsPoweredLocked()1800 && BatteryManager.isPlugWired(mPlugType)) { in updateIsPoweredLocked()1829 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS in shouldWakeUpWhenPluggedOrUnpluggedLocked()3397 pw.println(" mPlugType=" + mPlugType); in dumpInternal()3599 proto.write(PowerManagerServiceDumpProto.PLUG_TYPE, mPlugType); in dumpProto()