Searched refs:mLastPlugType (Results 1 – 1 of 1) sorted by relevance
176 private int mLastPlugType = -1; // Extra state so we can detect first run field in BatteryService357 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()524 mPlugType != mLastPlugType || in processValuesLocked()532 if (mPlugType != mLastPlugType) { in processValuesLocked()533 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()564 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked()579 mPlugType != mLastPlugType) { in processValuesLocked()624 if (mPlugType != 0 && mLastPlugType == 0) { in processValuesLocked()635 else if (mPlugType == 0 && mLastPlugType != 0) { in processValuesLocked()676 if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) { in processValuesLocked()[all …]