Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSelfRecovery.java42 public static final long MAX_RESTARTS_IN_TIME_WINDOW = 2; // 2 restarts per hour field in SelfRecovery
88 if (mPastRestartTimes.size() >= MAX_RESTARTS_IN_TIME_WINDOW) { in trigger()
89 Log.e(TAG, "Already restarted wifi (" + MAX_RESTARTS_IN_TIME_WINDOW + ") times in" in trigger()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java92 for (int i = 0; i < SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW / 2; i++) { in testTimeWindowLimiting_typicalUse()
103 if ((SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW % 2) == 1) { in testTimeWindowLimiting_typicalUse()
156 for (int i = 0; i < SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW * 2; i++) { in testTimeWindowLimiting_lastResortWatchdog_noEffect()
173 for (int i = 0; i < SelfRecovery.MAX_RESTARTS_IN_TIME_WINDOW * 2; i++) { in testTimeWindowLimiting_staIfaceDown_noEffect()