Home
last modified time | relevance | path

Searched refs:decision (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java772 IRetryDecision decision = new BaseRetryDecision(); in testIntraModuleRun_iterations() local
773 OptionSetter setter = new OptionSetter(decision); in testIntraModuleRun_iterations()
776 decision.setInvocationContext(mModuleInvocationContext); in testIntraModuleRun_iterations()
777 granularTestWrapper.setRetryDecision(decision); in testIntraModuleRun_iterations()
809 IRetryDecision decision = new BaseRetryDecision(); in testIntraModuleRun_untilFailure() local
810 OptionSetter setter = new OptionSetter(decision); in testIntraModuleRun_untilFailure()
813 decision.setInvocationContext(mModuleInvocationContext); in testIntraModuleRun_untilFailure()
814 granularTestWrapper.setRetryDecision(decision); in testIntraModuleRun_untilFailure()
918 IRetryDecision decision = new BaseRetryDecision(); in testIntraModuleRun_rebootAtLastIntraModuleRetry() local
919 OptionSetter setter = new OptionSetter(decision); in testIntraModuleRun_rebootAtLastIntraModuleRetry()
[all …]
DModuleDefinitionTest.java973 RetryPreparationDecision decision = new RetryPreparationDecision(true, false); in testRun_failPreparation_FailAfterModuleRetry() local
974 decision.setPreviousException(error); in testRun_failPreparation_FailAfterModuleRetry()
976 doReturn(decision, decision, decision, decision2) in testRun_failPreparation_FailAfterModuleRetry()
1714 IRetryDecision decision = new BaseRetryDecision(); in testMultiRun_multiAttempts() local
1715 OptionSetter setter = new OptionSetter(decision); in testMultiRun_multiAttempts()
1718 decision.setInvocationContext(mModule.getModuleInvocationContext()); in testMultiRun_multiAttempts()
1719 mModule.setRetryDecision(decision); in testMultiRun_multiAttempts()
1813 IRetryDecision decision = new BaseRetryDecision(); in testMultiRun_multiAttempts_filter() local
1814 OptionSetter setter = new OptionSetter(decision); in testMultiRun_multiAttempts_filter()
1817 decision.setInvocationContext(mModule.getModuleInvocationContext()); in testMultiRun_multiAttempts_filter()
[all …]
DITestSuiteTest.java650 RetryPreparationDecision decision = new RetryPreparationDecision( in testRun_preparationPassAfterRetry_report2times() local
652 doReturn(decision) in testRun_preparationPassAfterRetry_report2times()
1640 IRetryDecision decision = new BaseRetryDecision(); in testRun_GranularRerunwithModuleListener() local
1641 OptionSetter setter = new OptionSetter(decision); in testRun_GranularRerunwithModuleListener()
1644 decision.setInvocationContext(mContext); in testRun_GranularRerunwithModuleListener()
1646 Configuration.RETRY_DECISION_TYPE_NAME, decision); in testRun_GranularRerunwithModuleListener()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java185 RetryPreparationDecision decision = new RetryPreparationDecision(false, true); in shouldRetryPreparation() local
189 return decision; in shouldRetryPreparation()
196 return decision; in shouldRetryPreparation()
200 return decision; in shouldRetryPreparation()
208 return decision; in shouldRetryPreparation()
215 decision = new RetryPreparationDecision(true, false); in shouldRetryPreparation()
216 decision.setPreviousException(e.getCause()); in shouldRetryPreparation()
217 return decision; in shouldRetryPreparation()
220 decision = new RetryPreparationDecision(false, false); in shouldRetryPreparation()
221 decision.setPreviousException(null); in shouldRetryPreparation()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java1202 IRetryDecision decision = config.getRetryDecision(); in runTests() local
1210 if (!decision.isAutoRetryEnabled() in runTests()
1211 || RetryStrategy.NO_RETRY.equals(decision.getRetryStrategy()) in runTests()
1219 decision.getRetryStrategy()))) { in runTests()
1268 if (!decision.shouldRetry( in runTests()
1279 attemptNumber < decision.getMaxRetryCount(); in runTests()
1283 decision.shouldRetry( in runTests()
1315 decision.addLastAttempt( in runTests()
1317 decision.getMaxRetryCount() - 1)); in runTests()
1319 RetryStatistics retryStats = decision.getRetryStatistics(); in runTests()
DTestInvocation.java1128 IRetryDecision decision = config.getRetryDecision(); in invoke() local
1129 decision.setInvocationContext(context); in invoke()
1130 if (decision instanceof ITestInformationReceiver) { in invoke()
1131 ((ITestInformationReceiver) decision).setTestInformation(info); in invoke()
1141 if (decision.isAutoRetryEnabled() in invoke()
1142 && decision.getMaxRetryCount() > 1 in invoke()
1143 && !RetryStrategy.NO_RETRY.equals(decision.getRetryStrategy())) { in invoke()
1147 aggregator = new ResultAggregator(allListeners, decision.getRetryStrategy()); in invoke()
1148 aggregator.setUpdatedReporting(decision.useUpdatedReporting()); in invoke()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java391 IRetryDecision decision = config.getRetryDecision(); in isAutoRetryEnabled() local
392 if (decision.isAutoRetryEnabled() && decision.getMaxRetryCount() > 0) { in isAutoRetryEnabled()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java1096 IRetryDecision decision = mMainConfiguration.getRetryDecision(); in runSingleModule() local
1099 && decision.getMaxRetryCount() > 1 in runSingleModule()
1100 && !RetryStrategy.NO_RETRY.equals(decision.getRetryStrategy())) { in runSingleModule()
1106 module.setRetryDecision(decision); in runSingleModule()
1108 if (decision instanceof IConfigurationReceiver) { in runSingleModule()
1109 ((IConfigurationReceiver) decision).setConfiguration(mMainConfiguration); in runSingleModule()
DGranularRetriableTestWrapper.java134 public void setRetryDecision(IRetryDecision decision) { in setRetryDecision() argument
135 mRetryDecision = decision; in setRetryDecision()
DModuleDefinition.java1233 public final void setRetryDecision(IRetryDecision decision) { in setRetryDecision() argument
1234 mRetryDecision = decision; in setRetryDecision()
1236 mModuleConfiguration.setRetryDecision(decision); in setRetryDecision()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java1086 IRetryDecision decision = mConfiguration.getRetryDecision(); in runWithRerun() local
1087 if (!RetryStrategy.NO_RETRY.equals(decision.getRetryStrategy()) in runWithRerun()
1088 && decision.getMaxRetryCount() > 1) { in runWithRerun()
/tools/external/fat32lib/
DNOTICE132 …he Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by…