Home
last modified time | relevance | path

Searched refs:attempt (Results 1 – 25 of 32) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleListenerTest.java143 for (int attempt = 0; attempt < maxRunLimit; attempt++) { in testhasRunCrashedAtAttempt()
144 mListener.testRunStarted("run1", 0, attempt); in testhasRunCrashedAtAttempt()
145 if (attempt < clearRun1FailureAtAttempt) { in testhasRunCrashedAtAttempt()
149 mListener.testRunStarted("run2", 0, attempt); in testhasRunCrashedAtAttempt()
150 if (attempt < clearRun2FailureAtAttempt) { in testhasRunCrashedAtAttempt()
157 for (int attempt = 0; attempt < finalRunFailureAtAttempt; attempt++) { in testhasRunCrashedAtAttempt()
158 assertTrue(hasRunCrashed(mListener.getTestRunForAttempts(attempt))); in testhasRunCrashedAtAttempt()
160 for (int attempt = finalRunFailureAtAttempt; attempt < maxRunLimit; attempt++) { in testhasRunCrashedAtAttempt()
161 assertFalse(hasRunCrashed(mListener.getTestRunForAttempts(attempt))); in testhasRunCrashedAtAttempt()
DModuleDefinitionTest.java1620 for (int attempt = 0; attempt < 3; attempt++) { in testMultiRun_multiAttempts()
1624 EasyMock.eq(attempt), in testMultiRun_multiAttempts()
1716 for (int attempt = 0; attempt < 3; attempt++) { in testMultiRun_multiAttempts_filter()
1717 if (attempt == 0) { in testMultiRun_multiAttempts_filter()
1721 EasyMock.eq(attempt), in testMultiRun_multiAttempts_filter()
1727 EasyMock.eq(attempt), in testMultiRun_multiAttempts_filter()
1731 if (attempt < 1) { in testMultiRun_multiAttempts_filter()
1746 if (attempt < 1) { in testMultiRun_multiAttempts_filter()
1756 if (attempt < 1) { in testMultiRun_multiAttempts_filter()
1771 if (attempt < 1) { in testMultiRun_multiAttempts_filter()
DGranularRetriableTestWrapperTest.java108 public void addTestBecomePass(TestDescription testCase, int attempt) { in addTestBecomePass() argument
109 mBecomePass.put(testCase, attempt); in addTestBecomePass()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestResult.java211 for (TestResult attempt : results) { in merge()
212 mergedResult.mProtoMetrics.putAll(attempt.getProtoMetrics()); in merge()
213 mergedResult.mMetrics.putAll(attempt.getMetrics()); in merge()
214 mergedResult.mLoggedFiles.putAll(attempt.getLoggedFiles()); in merge()
215 earliestStartTime = Math.min(attempt.getStartTime(), earliestStartTime); in merge()
216 latestEndTime = Math.max(attempt.getEndTime(), latestEndTime); in merge()
217 switch (attempt.getStatus()) { in merge()
223 if (attempt.getFailure() != null) { in merge()
224 errors.add(attempt.getFailure()); in merge()
233 if (attempt.getFailure() != null) { in merge()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java501 public List<TestRunResult> getTestRunForAttempts(int attempt) { in getTestRunForAttempts() argument
504 if (attempt < runInfo.getValue().size()) { in getTestRunForAttempts()
505 TestRunResult attemptRes = runInfo.getValue().get(attempt); in getTestRunForAttempts()
542 public TestRunResult getTestRunAtAttempt(String testRunName, int attempt) { in getTestRunAtAttempt() argument
544 if (results == null || attempt < 0 || attempt >= results.size()) { in getTestRunAtAttempt()
548 return results.get(attempt); in getTestRunAtAttempt()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DManagedRemoteDevice.java162 for (int attempt = 0; attempt < getOptions().getGceMaxAttempt(); attempt++) { in launchGce()
169 attempt + 1, getOptions().getGceMaxAttempt(), tse); in launchGce()
DRemoteAndroidVirtualDevice.java252 for (int attempt = 0; attempt < getOptions().getGceMaxAttempt(); attempt++) { in launchGce()
259 attempt + 1, getOptions().getGceMaxAttempt(), tse); in launchGce()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java447 public void testRunStarted(String runName, int testCount, int attempt) { in testRunStarted() argument
449 testRunStarted(runName, testCount, attempt, System.currentTimeMillis()); in testRunStarted()
453 public void testRunStarted(String runName, int testCount, int attempt, long startTime) { in testRunStarted() argument
455 super.testRunStarted(mRunName, testCount, attempt, startTime); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java307 for (int attempt = 0; attempt < options.getGceMaxAttempt(); attempt++) { in acloudCreate()
320 attempt, result.getStatus()); in acloudCreate()
DTestDevice.java1869 int attempt = 0; in dumpAndPullHeap() local
1871 while (!doesFileExist(devicePath) && attempt < 3) { in dumpAndPullHeap()
1873 attempt++; in dumpAndPullHeap()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java370 String runName, String testName, String metricValue, int attempt) { in injectTestRun() argument
371 return injectTestRun(runName, testName, metricValue, attempt, false); in injectTestRun()
380 String runName, String testName, String metricValue, int attempt, boolean failtest) { in injectTestRun() argument
386 mCollectingTestListener.testRunStarted(runName, 1, attempt); in injectTestRun()
DJsonHttpTestResultReporterTest.java118 int attempt, in injectTestRun() argument
125 target.testRunStarted(runName, 1, attempt); in injectTestRun()
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothReconnectTest.py133 for attempt in range(RECONNECTION_ATTEMPTS):
134 self.log.info("Reconnection attempt {}".format(attempt + 1))
143 'reconnect_attempt': attempt + 1}
DBluetoothPairAndConnectTest.py128 for attempt in range(PAIR_CONNECT_ATTEMPTS):
129 self.log.info('Pair and connection attempt {}'.format(attempt + 1))
139 'pair_and_connect_attempt': attempt + 1}
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java650 Integer attempt, in reportFinalResults() argument
654 if (attempt != null) { in reportFinalResults()
657 listener.testRunStarted(getId(), totalExpectedTests, attempt, startTime); in reportFinalResults() local
737 if (attempt != null) { in reportFinalResults()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java173 int attempt = 0; in runTests() local
175 while (!result && attempt < MAX_PUSH_TF_ATTEMPTS) { in runTests()
185 attempt++; in runTests()
DShardListener.java237 private void forwardRunResults(TestRunResult runResult, int attempt) { in forwardRunResults() argument
241 attempt, in forwardRunResults() local
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py1383 for attempt in range(tries_before_recovery):
1396 'left : %d' % (tries_before_recovery - attempt - 1))
1397 if attempt + 1 >= tries_before_recovery:
/tools/test/connectivity/acts/tests/google/wifi/
DWifiChaosTest.py265 for attempt in range(5):
280 "attempt with exception %s." % (ssid, attempt, e))
/tools/tradefederation/core/proto/
Dtest_record.proto65 // The attempt number of a target if the target ran several times. First
66 // attempt is 0 (Default value).
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java91 public TestRunStartedEventInfo(String runName, int testCount, int attempt, long startTime) { in TestRunStartedEventInfo() argument
94 mAttempt = attempt; in TestRunStartedEventInfo()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt86 tool will attempt to load the key using the KeyStore
88 and attempt to load the key using that password.
Dhelp_rotate.txt89 tool will attempt to load the key using the KeyStore
91 and attempt to load the key using that password.
Dhelp_sign.txt137 tool will attempt to load the key using the KeyStore
139 and attempt to load the key using that password.
/tools/repohooks/tools/
Dspelling.txt155 atempt||attempt

12