Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBlocklistMonitor.java281 private long getBlocklistDurationWithExponentialBackoff(int failureStreak, in getBlocklistDurationWithExponentialBackoff() argument
284 failureStreak = Math.min(failureStreak, mContext.getResources().getInteger( in getBlocklistDurationWithExponentialBackoff()
286 if (failureStreak >= 1) { in getBlocklistDurationWithExponentialBackoff()
288 (long) (Math.pow(2.0, (double) failureStreak) * baseBlocklistDurationMs); in getBlocklistDurationWithExponentialBackoff()