Searched refs:maxAttempts (Results 1 – 2 of 2) sorted by relevance
35 public RetryRule(int maxAttempts) { in RetryRule() argument36 if (maxAttempts < 2) { in RetryRule()40 mMaxAttempts = maxAttempts; in RetryRule()
167 final int maxAttempts = 5; in assertRestrictBackgroundChangedReceived() local178 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived()180 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()