Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java76 int attempt = 0; in setUp() local
79 while (!hasVirtualDisk && attempt++ < 20) { in setUp()
98 int attempt = 0; in tearDown() local
101 while (hasVirtualDisk && attempt++ < 20) { in tearDown()
111 attempt = 0; in tearDown()
114 while (!volumeStateRecovered && attempt++ < 20) { in tearDown()
141 int attempt = 0; in waitForVolumeReady() local
144 while (!noCheckingEjecting && attempt++ < 60) { in waitForVolumeReady()
417 int attempt = 0; in getAdoptionDisk() local
419 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTimeout.java168 int attempt = 0; in run() local
176 attempt++; in run()
179 Log.v(TAG, description + " failed at attempt #" + attempt + "; sleeping for " in run()
187 Log.w(TAG, description + " failed after " + attempt + " attempts and " + totalSlept + "ms: " in run()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java169 for (int attempt = 0; attempt < BT_ENABLE_ATTEMPTS; attempt++) { in performBleScan()
173 if (attempt < BT_ENABLE_ATTEMPTS - 1) { in performBleScan()
390 for (int attempt = 0; attempt < PROC_STATE_CHECK_ATTEMPTS; attempt++) { in checkAppState()
394 if (attempt < PROC_STATE_CHECK_ATTEMPTS - 1) { in checkAppState()
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java55 int attempt = 0; in getVirtualDisk() local
57 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getVirtualDisk()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/permissionstate/
DDangerousPermissionStateTests.java126 for (int attempt = 0; attempt < 10; attempt++) { in testDangerousPermissionStateSampled()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DREADME3 the build_libs.sh script. Don't attempt to modify manually. To rebuild
/cts/tests/tests/appop/src/android/app/appops/cts/
DRuntimeMessageCollectionTest.kt54 for (attempt in 0..24) { in collectAsyncStackTrace() method
/cts/tests/tests/media/src/android/media/cts/
DRoutingTest.java498 int attempt = 0; in assertHasNonNullRoutedDevice() local
501 totalWait += timeouts[attempt]; in assertHasNonNullRoutedDevice()
502 try { Thread.sleep(timeouts[attempt++]); } catch (InterruptedException ex) {} in assertHasNonNullRoutedDevice()
504 if (routedDevice == null && (attempt > 2 || totalWait >= 1000)) { in assertHasNonNullRoutedDevice()
507 } while (routedDevice == null && attempt < timeouts.length); in assertHasNonNullRoutedDevice()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java192 int attempt = 0; in executeShellCommand() local
193 while (attempt++ < 5) { in executeShellCommand()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale121 in the versions previously distributed, no attempt has been made to
273 attempt has been made to provide a Pascal version with several
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java220 int attempt = 0; in executeShellCommand() local
221 while (attempt++ < 5) { in executeShellCommand()
/cts/apps/CtsVerifier/
DNOTICE.txt666 except as expressly provided under this License. Any attempt
1184 attempt otherwise to copy, modify, sublicense, link with, or
1688 attempt otherwise to copy, modify, sublicense, link with, or
2014 except as expressly provided under this License. Any attempt
2386 except as expressly provided under this License. Any attempt
6508 expressly provided under this License. Any attempt otherwise to copy, modify,
9936 Executable version does not attempt to limit or alter the recipient's
10338 except as expressly provided under this License. Any attempt
10931 attempt otherwise to copy, modify, sublicense, link with, or
12697 expressly provided under this License. Any attempt otherwise to copy, modify,