/art/test/030-bad-finalizer/src/ |
H A D | Main.java | 24 * and finalizer watchdog daemon enough to reach the timeout and throwing the fatal exception. 42 // Now fall asleep with a timeout. The timeout is large enough that we expect the 44 // Note: the timeout is here (instead of an infinite sleep) to protect the test 45 // environment (e.g., in case this is run without a timeout wrapper). 46 final long timeout = 60 * 1000; // 1 minute. 47 long remainingWait = timeout; 56 remainingWait = timeout - (System.currentTimeMillis() - waitStart);
|
/art/tools/dexfuzz/src/dexfuzz/executors/ |
H A D | Executor.java | 36 protected int timeout; field in class:Executor 44 protected Executor(String name, int timeout, BaseListener listener, Architecture architecture, argument 49 this.timeout = 2; 51 this.timeout = timeout; 77 String timeoutString = "timeout " + timeout + " ";
|
/art/tools/common/ |
H A D | common.py | 140 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60): 150 timeout: int, timeout in seconds. 159 (output, stderr_output) = proc.communicate(timeout=timeout) 184 def RunCommand(cmd, out, err, timeout=5): 191 timeout: int, time out in seconds 194 on timeout) 203 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout) 288 timeout [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_adb.cc | 52 /* This timeout is for connect/send with control socket. In practice, the 53 * connect should never timeout since it's just connect to a local unix domain 235 struct timeval timeout; local 236 timeout.tv_sec = kControlSockSendTimeout; 237 timeout.tv_usec = 0; 238 setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout));
|
/art/tools/ |
H A D | run-jdwp-tests.sh | 56 # Note: some tests expect a timeout to check that *no* reply/event is received for a specific case. 57 # A lower timeout can save up several minutes when running the whole test suite, especially for 157 --timeout 800 \ 159 --vm-arg -Djpda.settings.timeout=$jdwp_test_timeout \
|
H A D | setup-buildbot-device.sh | 77 timeout 2s adb shell "ps"
|
/art/runtime/base/ |
H A D | mutex-inl.h | 41 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, argument 43 return syscall(SYS_futex, uaddr, op, val, timeout, uaddr2, val3);
|
/art/tools/jfuzz/ |
H A D | run_jfuzz_test.py | 133 out=None, err=None, timeout=30) == RetCode.SUCCESS: 135 out=None, err='dxerr.txt', timeout=30) 140 out=None, err='jackerr.txt', timeout=30) 157 out=None, err=None, timeout=30) == RetCode.SUCCESS: 236 return ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)] 273 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)] 328 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)] 355 true_divergence_only: boolean, if True don't bisect timeout divergences 554 err=errfile_path, timeout=300) == RetCode.TIMEOUT: 597 help='don\'t bisect timeout divergence [all...] |
H A D | run_dex_fuzz_test.py | 116 timeout=30) != RetCode.SUCCESS:
|
/art/test/testrunner/ |
H A D | testrunner.py | 78 # timeout for individual tests. 80 timeout = 3000 # 50 minutes variable 495 script_output = proc.communicate(timeout=timeout)[0] 513 failed_tests.append((test_name, 'Timed out in %d seconds' % timeout)) 515 timeout, command)) 832 global timeout 837 parser.add_argument('--timeout', default=timeout, type=int, dest='timeout') [all...] |
/art/tools/bisection_search/ |
H A D | bisection_search.py | 352 bisection_opts.add_argument('--timeout', type=int, default=60, 353 help='if timeout seconds pass assume test failed') 396 'bisection_search_', args.cleanup, args.logfile, args.timeout, 402 'bisection_search_', args.cleanup, args.logfile, args.timeout, args.x64)
|
/art/test/ |
H A D | run-test | 240 elif [ "x$1" = "x--suspend-timeout" ]; then 278 run_args="${run_args} --timeout 1800 --invoke-with strace --invoke-with -o --invoke-with $tmp_dir/$strace_output" 435 # Add thread suspend timeout flag 674 echo " --suspend-timeout Change thread suspend timeout ms (default 500000)." 923 --timeout=300
|
/art/runtime/mirror/ |
H A D | object.h | 178 void Wait(Thread* self, int64_t timeout, int32_t nanos) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/dex2oat/ |
H A D | dex2oat.cc | 445 // TODO: tune the multiplier for GC verification, the following is just to make the timeout 916 int64_t timeout = parser_options->watch_dog_timeout_in_ms > 0 local 919 watchdog_.reset(new WatchDog(timeout)); 1153 } else if (option.starts_with("--watchdog-timeout=")) { 1155 "--watchdog-timeout",
|
/art/runtime/gc/ |
H A D | heap.h | 948 // Run the finalizers. If timeout is non zero, then we use the VMRuntime version. 949 void RunFinalization(JNIEnv* env, uint64_t timeout);
|
H A D | heap.cc | 127 // timeout on how long we wait for finalizers to run. b/21544853 3898 void Heap::RunFinalization(JNIEnv* env, uint64_t timeout) { argument 3901 static_cast<jlong>(timeout));
|
/art/runtime/openjdkjvmti/include/ |
H A D | jvmti.h | 858 jlong timeout);
|