HomeSort by relevance Sort by last modified time
    Searched refs:attempts (Results 1 - 25 of 224) sorted by null

1 2 3 4 5 6 7 8 9

  /prebuilts/go/darwin-x86/src/net/testdata/
resolv.conf 7 options ndots:5 timeout:10 attempts:3 rotate
8 options attempts 3
  /prebuilts/go/linux-x86/src/net/testdata/
resolv.conf 7 options ndots:5 timeout:10 attempts:3 rotate
8 options attempts 3
  /external/mockito/src/test/java/org/mockitoutil/
RetryRule.java 17 public static RetryRule attempts(final int attempts) { method in class:RetryRule
18 return new RetryRule(new NumberedAttempts(attempts));
30 private final int attempts; field in class:RetryRule.NumberedAttempts
32 NumberedAttempts(int attempts) {
33 assert attempts > 1; local
34 this.attempts = attempts;
42 for (int remainingAttempts = attempts; remainingAttempts > 0 ; remainingAttempts--) {
47 throw new AssertionError(format("Tried this test + %d times and failed", attempts))
    [all...]
  /external/vboot_reference/utility/
tpm-dad-lock 20 attempts=0
25 attempts=$(( $attempts + 1 ))
44 echo delay of $elapsed seconds after $attempts attempts
  /external/compiler-rt/test/asan/android_commands/
android_common.py 11 def adb(args, attempts = 1):
17 while attempts > 0 and ret != 0:
18 attempts -= 1
20 if attempts != 0:
  /system/extras/tests/sdcard/
sysutil.cpp 97 int attempts = 0; local
101 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
124 ++attempts;
163 int attempts = 0; local
165 while (size > 0 && !error && attempts < kMaxAttempts)
182 ++attempts;
449 int attempts = 0; local
451 while (size > 0 && !error && attempts < kMaxAttempts)
468 ++attempts;
480 attempts = 0
524 int attempts; local
    [all...]
  /system/extras/tests/tcp_nuke_addr/
tcp_nuke_addr_test.cpp 92 android::RWLock *lock, std::atomic<unsigned int> *attempts) {
109 attempts->fetch_add(1);
115 void progressThread(std::atomic<unsigned int> *attempts) {
121 total = attempts->load();
138 std::atomic<unsigned int> attempts; local
139 attempts.store(0);
144 connectThreads[i] = new std::thread(connectLoop, sin, listensock, &lock, &attempts);
146 std::thread t1(progressThread, &attempts);
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue18146.go 33 attempts := 1000
37 attempts = 100
40 // Restrict the number of attempts based on RLIMIT_NPROC.
58 if attempts > max {
59 t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
60 attempts = max
89 for n := attempts; n > 0; n-- {
126 t.Logf("Failed %v of %v attempts.", failures, len(cmds))
  /prebuilts/go/linux-x86/misc/cgo/test/
issue18146.go 33 attempts := 1000
37 attempts = 100
40 // Restrict the number of attempts based on RLIMIT_NPROC.
58 if attempts > max {
59 t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
60 attempts = max
89 for n := attempts; n > 0; n-- {
126 t.Logf("Failed %v of %v attempts.", failures, len(cmds))
  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
CommonLauncherHelper.java 75 int attempts = 0; local
77 attempts++;
78 if (attempts > maxAttempts) {
80 "scrollBackToBeginning: exceeded max attempts: " + maxAttempts);
156 int attempts = 0; local
158 attempts++;
159 if (attempts > maxScrollAttempts) {
161 "launchApp: exceeded max attempts to locate app icon: "
  /tools/tradefederation/core/src/com/android/tradefed/util/
IRunUtil.java 110 * @param attempts the maximum number of attempts to try
114 int attempts, final String... command);
135 * @param attempts the maximum number of attempts to try
139 int attempts, final String... command);
212 * @param attempts the maximum number of attempts to try
214 * @return <code>true</code> if operation completed successfully before attempts reached.
216 public boolean runTimedRetry(long opTimeout, long pollInterval, int attempts,
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug460.go 7 // part one of issue 4124. Make sure that the compiler rejects access attempts.
  /prebuilts/go/linux-x86/test/fixedbugs/
bug460.go 7 // part one of issue 4124. Make sure that the compiler rejects access attempts.
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/
pr12815-1.d 6 # someone attempts linking to the "binary" output format with
pr12815-2.d 6 # someone attempts linking to the "binary" output format with
  /prebuilts/go/darwin-x86/src/net/
dnsconfig_unix_test.go 29 attempts: 3,
31 unknownOpt: true, // the "options attempts 3" line
41 attempts: 2,
51 attempts: 2,
60 attempts: 2,
70 attempts: 2,
80 attempts: 2,
90 attempts: 2,
99 attempts: 2,
138 attempts: 2
    [all...]
tcpsock_unix_test.go 46 attempts := int(1e4) // larger is better
47 wg.Add(attempts)
49 for i := 0; i < attempts; i++ {
  /prebuilts/go/linux-x86/src/net/
dnsconfig_unix_test.go 29 attempts: 3,
31 unknownOpt: true, // the "options attempts 3" line
41 attempts: 2,
51 attempts: 2,
60 attempts: 2,
70 attempts: 2,
80 attempts: 2,
90 attempts: 2,
99 attempts: 2,
138 attempts: 2
    [all...]
tcpsock_unix_test.go 46 attempts := int(1e4) // larger is better
47 wg.Add(attempts)
49 for i := 0; i < attempts; i++ {
  /cts/hostsidetests/theme/
android_device.py 47 attempts = 0
49 while not boot_complete and (attempts*wait_period) < timeout:
56 attempts += 1
  /external/autotest/client/site_tests/desktopui_Respawn/
desktopui_Respawn.py 12 attempts in a time window. By design, this test does _not_ attempt to
64 'Respawning should have stopped before %d attempts' %
  /prebuilts/go/darwin-x86/misc/cgo/testplugin/altpath/src/plugin-mismatch/
main.go 11 // imported by plugin1. A program that attempts to load plugin1 and
  /prebuilts/go/linux-x86/misc/cgo/testplugin/altpath/src/plugin-mismatch/
main.go 11 // imported by plugin1. A program that attempts to load plugin1 and
  /external/skia/experimental/Networking/
SkSockets.cpp 97 int attempts = 0; local
108 ++attempts;
146 // h.done, h.bytes, fSockfd, attempts);
149 attempts = 0;
184 int attempts = 0; local
199 attempts++;
229 // h.done, h.bytes, i, attempts);
232 attempts = 0;
  /system/core/fastboot/
udp.cpp 119 // Sends |length| bytes from |data| and waits for the response packet up to |attempts| times.
125 size_t rx_length, int attempts, std::string* error);
130 uint8_t* rx_data, size_t rx_length, int attempts,
207 size_t rx_length, int attempts, std::string* error) {
229 rx_length, attempts, error);
254 size_t rx_length, const int attempts, std::string* error) {
258 int attempts_left = attempts;
304 attempts_left = attempts;

Completed in 1454 milliseconds

1 2 3 4 5 6 7 8 9