Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DSignalController.java62 private int mHistoryIndex; field in SignalController
190 mHistory[mHistoryIndex].copyFrom(mLastState); in recordLastState()
191 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastState()
224 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in getOrderedHistoryExcludingCurrentState()
225 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in getOrderedHistoryExcludingCurrentState()
DCallbackHandler.java60 private int mHistoryIndex; field in CallbackHandler
264 mHistory[mHistoryIndex] = callback; in recordLastCallback()
265 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastCallback()
280 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
281 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
282 pw.println(" Previous Callback(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
DNetworkControllerImpl.java178 private int mHistoryIndex; field in NetworkControllerImpl
1198 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
1199 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
1200 pw.println(" Previous NetworkCallback(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
1418 mHistory[mHistoryIndex] = callback; in recordLastNetworkCallback()
1419 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastNetworkCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java70 private int mHistoryIndex; field in WifiStatusTracker
437 mHistory[mHistoryIndex] = log; in recordLastWifiNetwork()
438 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordLastWifiNetwork()
453 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
454 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
456 + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java125 private int mHistoryIndex = 0; field in StatusBarStateControllerImpl
648 for (int i = mHistoryIndex + HISTORY_SIZE; in dump()
649 i >= mHistoryIndex + HISTORY_SIZE - size + 1; i--) { in dump()
650 pw.println(" (" + (mHistoryIndex + HISTORY_SIZE - i + 1) + ")" in dump()
657 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordHistoricalState()
658 HistoricalState state = mHistoricalRecords[mHistoryIndex]; in recordHistoricalState()