Searched refs:MAX_RESTARTS_IN_TIME_WINDOW (Results 1 – 2 of 2) sorted by relevance
42 public static final long MAX_RESTARTS_IN_TIME_WINDOW = 2; // 2 restarts per hour field in SelfRecovery88 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()
92 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()