Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DSignalController.java63 private int mHistoryIndex; field in SignalController
191 mHistory[mHistoryIndex].copyFrom(mLastState); in recordLastState()
192 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastState()
225 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in getOrderedHistoryExcludingCurrentState()
226 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in getOrderedHistoryExcludingCurrentState()
H A DCallbackHandler.java61 private int mHistoryIndex; field in CallbackHandler
265 mHistory[mHistoryIndex] = callback; in recordLastCallback()
266 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastCallback()
281 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
282 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
283 pw.println(" Previous Callback(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
H A DNetworkControllerImpl.java176 private int mHistoryIndex; field in NetworkControllerImpl
1192 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
1193 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
1194 pw.println(" Previous NetworkCallback(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
1410 mHistory[mHistoryIndex] = callback; in recordLastNetworkCallback()
1411 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastNetworkCallback()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiStatusTracker.java70 private int mHistoryIndex; field in WifiStatusTracker
436 mHistory[mHistoryIndex] = log; in recordLastWifiNetwork()
437 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastWifiNetwork()
452 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
453 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
455 + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarStateControllerImpl.java113 private int mHistoryIndex = 0; field in StatusBarStateControllerImpl
622 for (int i = mHistoryIndex + HISTORY_SIZE; in dump()
623 i >= mHistoryIndex + HISTORY_SIZE - size + 1; i--) { in dump()
624 pw.println(" (" + (mHistoryIndex + HISTORY_SIZE - i + 1) + ")" in dump()
631 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordHistoricalState()
632 HistoricalState state = mHistoricalRecords[mHistoryIndex]; in recordHistoricalState()