Home
last modified time | relevance | path

Searched refs:tries (Results 1 – 25 of 145) sorted by relevance

123456

/cts/tests/mediapc/src/android/mediapc/cts/
DPost.java78 int tries = 1; in send() local
122 if (tries == MAX_TRIES) { in send()
124 + tries); in send()
129 + tries); in send()
130 tries++; in send()
134 Thread.sleep(tries * 500L); in send()
DKeyRequester.java99 int tries = 1; in getKeyRequest() local
123 if (tries == MAX_KEY_REQUEST_ATTEMPTS) { in getKeyRequest()
129 tries++; in getKeyRequest()
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java129 for (int tries = 0; tries < MAXIMUM_PING_TRIES; tries++) { in testCleanLogcat()
130 if (tries > 0 && tries % MAXIMUM_PING_TRIES_PER_CONNECTION == 0) { in testCleanLogcat()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DPoll.java210 int tries = 0; in await() local
213 tries++; in await()
247 + " - Exception when getting value (checked " + tries + " times in " in await()
258 mErrorSupplier.apply(mValueName, value) + " (checked " + tries + " times in " in await()
263 mErrorSupplier.apply(mValueName, value) + " (checked " + tries + " times in " in await()
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py297 tries = 0
303 while status is None and tries < 5:
304 tries += 1
461 for tries in xrange(MAX_TRIALS):
462 print("Trial number %d of %d..." % (tries, MAX_TRIALS))
539 tries = 0
542 while len(measurements) < measurementCount and tries < 5:
543 if tries:
547 tries += 1
550 tries = 0
/cts/tests/tests/print/src/android/print/cts/
DCustomPrintOptionsTest.java195 int tries = 0; in setUpServicesAndAdapter() local
202 if (getActivityDestroyCallbackCallCount() > 0 && tries < MAX_TRIES) { in setUpServicesAndAdapter()
205 tries++; in setUpServicesAndAdapter()
307 int tries = 0; in testCase() local
361 if (getActivityDestroyCallbackCallCount() > 0 && tries < MAX_TRIES) { in testCase()
364 tries++; in testCase()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21254/test-app/src/android/security/cts/CVE_2023_21254_test/
DDeviceTest.java96 int tries = 5; in testPocCVE_2023_21254() local
97 while (tries-- > 0) { in testPocCVE_2023_21254()
168 String.format("Exploit run number %s completed", 5 - tries)); in testPocCVE_2023_21254()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21249/test-app/src/android/security/cts/CVE_2023_21249_test/
DDeviceTest.java96 int tries = 0; in testPocCVE_2023_21249() local
97 while (tries++ < 5) { in testPocCVE_2023_21249()
157 Log.e("testPocCVE_2023_21249", format("Exploit run number %s completed", tries)); in testPocCVE_2023_21249()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java320 int tries = 30; in pollForSubscribe() local
323 while (tries-- > 0 && !service.subscribed) { in pollForSubscribe()
339 int tries = 100; in pollForConnection() local
345 while (tries-- > 0 && (waitForConnection ? instance == null : instance != null)) { in pollForConnection()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMagneticFieldMeasurementTestActivity.java111 int tries = LOCATION_TRIES; in testNorm() local
112 while (lm != null && location.get() == null && tries > 0) { in testNorm()
114 tries--; in testNorm()
/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java111 int tries = 0; in waitUntilSettingMatches() local
116 tries++; in waitUntilSettingMatches()
117 } while (tries < 10 && !Objects.equals(value, v)); in waitUntilSettingMatches()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderRenderTest.java391 int tries = 50; in primeVideoPipeline() local
393 while (tries > 0) { in primeVideoPipeline()
422 if (ipBufferId == -1) tries--; in primeVideoPipeline()
427 assertTrue("Timed out from waiting on OutputBuffer ", tries != 0); in primeVideoPipeline()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java420 for (int tries = 0; ; ++tries) { in playAV()
445 info += "[" + tries in playAV()
457 assertTrue("bad playback\n" + info, tries < limit); in playAV()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_3.dfh134 // tries:
154 // tries:
179 // tries:
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyLocationTests.java335 int tries = 0; in performLocationAccessCommand() local
336 while (tries < 5) { in performLocationAccessCommand()
342 tries++; in performLocationAccessCommand()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_3.dfh134 // tries:
154 // tries:
179 // tries:
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py204 tries = 0
206 while ser is None and tries < 100:
211 tries += 1
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.dfh121 // tries:
140 // tries:
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/
DT_f1_9.dfh123 // tries:
153 // tries:
DT_f1_3.dfh122 // tries:
152 // tries:
DT_f1_4.dfh122 // tries:
152 // tries:
DT_f1_5.dfh122 // tries:
152 // tries:
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/
DT_sput_object_3.dfh125 // tries:
146 // tries:
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/
DT_a3_1.dfh121 // tries:
146 // tries:
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/
DT_goto_16_2.dfh132 // tries:
153 // tries:

123456