Searched refs:maxAttempts (Results 1 – 2 of 2) sorted by relevance
32 static boolean waitForConnectionToClose(int maxAttempts, int pollIntervalMs) in waitForConnectionToClose() argument34 for (int i = 0; i < maxAttempts; i++) { in waitForConnectionToClose()
214 final int maxAttempts = 5; in assertRestrictBackgroundChangedReceived() local225 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived()227 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()