Searched refs:maxRetryAttempts (Results 1 – 2 of 2) sorted by relevance
47 int maxRetryAttempts = 1; in test_call_success() local50 maxRetryAttempts, AdServicesExecutors.getLightWeightExecutor()); in test_call_success()53 new RetryStrategyTestHelper(maxRetryAttempts, new RetryableException()); in test_call_success()66 int maxRetryAttempts = 0; in test_call_withZeroRetryAttemptsDoesNotRetry() local69 maxRetryAttempts, AdServicesExecutors.getLightWeightExecutor()); in test_call_withZeroRetryAttemptsDoesNotRetry()
53 public RetryStrategy createRetryStrategy(int maxRetryAttempts) { in createRetryStrategy() argument55 ? new RetryStrategyImpl(maxRetryAttempts, mExecutorService) in createRetryStrategy()