Home
last modified time | relevance | path

Searched refs:OPTION_MAX_RETRY (Results 1 – 2 of 2) sorted by relevance

/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/
DAppSetupPreparerTest.java123 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "1") in setUp_withinRetryLimit_doesNotThrowException()
140 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "1") in setUp_exceedsRetryLimit_throwsException()
176 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "0") in setUp_zeroMaxRetry_runsOnce()
191 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "1") in setUp_positiveMaxRetryButNoException_runsOnlyOnce()
202 new PreparerBuilder().setOption(AppSetupPreparer.OPTION_MAX_RETRY, "-1").build(); in setUp_negativeMaxRetry_throwsException()
377 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "1") in setUp_zeroExponentialBackoffMultiplier_noSleepBetweenRetries()
395 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "3") in setUp_positiveExponentialBackoffMultiplier_sleepsBetweenRetries()
415 .setOption(AppSetupPreparer.OPTION_MAX_RETRY, "3") in setUp_interruptedDuringBackoff_throwsException()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java67 @VisibleForTesting static final String OPTION_MAX_RETRY = "max-retry"; field in AppSetupPreparer
109 @Option(name = OPTION_MAX_RETRY, description = "Max number of retries upon TargetSetupError.")
160 checkArgumentNonNegative(mMaxRetry, OPTION_MAX_RETRY); in setUp()