Searched refs:maxAttempts (Results 1 – 2 of 2) sorted by relevance
73 final int maxAttempts = 5; in testRunTimedRetry() local79 return attempts == maxAttempts; in testRunTimedRetry()87 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry()91 final long expectedPollTime = SHORT_TIMEOUT_MS * (maxAttempts-1); in testRunTimedRetry()
78 int maxAttempts) in InstrumentationFileTest() argument94 mMaxAttemps = maxAttempts; in InstrumentationFileTest()