Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryWifiParser.java28 switch ((record.states2 & HistoryItem.STATE2_WIFI_SUPPL_STATE_MASK) in isSet()
H A DBatteryFlagParser.java41 return ((mState2 ? record.states2 : record.states) & mFlag) != 0; in isSet()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHistoryIterator.java156 cur.states2 = src.readInt(); in readHistoryDelta()
159 + Integer.toHexString(cur.states2)); in readHistoryDelta()
H A DBatteryStatsImpl.java3478 final boolean state2IntChanged = cur.states2 != last.states2; in writeHistoryDelta()
3524 dest.writeInt(cur.states2); in writeHistoryDelta()
3526 + Integer.toHexString(cur.states2)); in writeHistoryDelta()
3727 final int diffStates2 = mHistoryLastWritten.states2^(cur.states2&mActiveHistoryStates2); in addHistoryBufferLocked()
3729 final int lastDiffStates2 = mHistoryLastWritten.states2^mHistoryLastLastWritten.states2; in addHistoryBufferLocked()
3822 mHistoryLastWritten.states2 &= mActiveHistoryStates2; in addHistoryBufferLocked()
4975 mHistoryCur.states2 = (mHistoryCur.states2&~HistoryItem.STATE2_GPS_SIGNAL_QUALITY_MASK) in noteGpsSignalQualityLocked()
5528 mHistoryCur.states2 = (mHistoryCur.states2 & ~HistoryItem.STATE2_DEVICE_IDLE_MASK) in noteDeviceIdleModeLocked()
5531 + Integer.toHexString(mHistoryCur.states2)); in noteDeviceIdleModeLocked()
6476 mHistoryCur.states2 = in noteWifiSupplicantStateChangedLocked()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryStats.java1803 public int states2; field in BatteryStats.HistoryItem
1937 dest.writeInt(states2); in writeToParcel()
1969 states2 = src.readInt(); in readFromParcel()
2012 states2 = 0; in clear()
2044 states2 = o.states2; in setToCommon()
2078 && states2 == o.states2 in sameNonEvent()
6618 printBitDescriptions(item, oldState2, rec.states2, null, in printNextItem()
6757 oldState2 = rec.states2; in printNextItem()
6759 if ((rec.states2 & HistoryItem.STATE2_CELLULAR_HIGH_TX_POWER_FLAG) != 0) { in printNextItem()
6760 rec.states2 &= ~HistoryItem.STATE2_CELLULAR_HIGH_TX_POWER_FLAG; in printNextItem()