Home
last modified time | relevance | path

Searched refs:mLastPlugType (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DBatteryService.java173 private int mLastPlugType = -1; // Extra state so we can detect first run field in BatteryService
350 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
508 mPlugType != mLastPlugType || in processValuesLocked()
516 if (mPlugType != mLastPlugType) { in processValuesLocked()
517 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
548 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mLastPlugType); in processValuesLocked()
563 mPlugType != mLastPlugType) { in processValuesLocked()
608 if (mPlugType != 0 && mLastPlugType == 0) { in processValuesLocked()
619 else if (mPlugType == 0 && mLastPlugType != 0) { in processValuesLocked()
660 if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) { in processValuesLocked()
[all …]