Searched refs:mPlugType (Results 1 – 3 of 3) sorted by relevance
182 private int mPlugType; field in BatteryService389 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()512 mPlugType = plugType(mHealthInfo); in processValuesLocked()518 + ", mPlugType=" + mPlugType); in processValuesLocked()526 mPlugType, in processValuesLocked()550 || mPlugType != mLastPlugType in processValuesLocked()560 if (mPlugType != mLastPlugType) { in processValuesLocked()568 builder.addTaggedData(MetricsEvent.FIELD_PLUG_TYPE, mPlugType); in processValuesLocked()583 } else if (mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()607 mPlugType != mLastPlugType) { in processValuesLocked()[all …]
92 private int mPlugType = 0; field in PowerUI323 final int oldPlugType = mPlugType; in onReceive()324 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()329 final boolean plugged = mPlugType != 0; in onReceive()341 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()667 pw.println(Integer.toString(mPlugType)); in dump()
458 private int mPlugType; field in PowerManagerService2615 final int oldPlugType = mPlugType;2617 mPlugType = mBatteryManagerInternal.getPlugType();2628 + ", mPlugType=" + mPlugType2639 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {2644 mIsPowered, mPlugType);2667 && BatteryManager.isPlugWired(mPlugType)) {2706 && mPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS4658 pw.println(" mPlugType=" + mPlugType);4914 proto.write(PowerManagerServiceDumpProto.PLUG_TYPE, mPlugType);