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()
188 final int maxAttempts = 5; in assertRestrictBackgroundChangedReceived() local201 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived()203 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()