Searched refs:mLastPlugType (Results 1 – 1 of 1) sorted by relevance
173 private int mLastPlugType = -1; // Extra state so we can detect first run field in BatteryService351 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()510 mPlugType != mLastPlugType || in processValuesLocked()518 if (mPlugType != mLastPlugType) { in processValuesLocked()519 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()550 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked()565 mPlugType != mLastPlugType) { in processValuesLocked()610 if (mPlugType != 0 && mLastPlugType == 0) { in processValuesLocked()621 else if (mPlugType == 0 && mLastPlugType != 0) { in processValuesLocked()662 if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) { in processValuesLocked()[all …]