/test/vts/runners/target/vts_hal_hidl_target/ |
D | VtsHalHidlTargetCallbackBase.h | 128 milliseconds timeout = milliseconds(-1)) { 129 return GetCallbackLock(callback_function_name)->WaitForCallback(timeout); 153 if (status == cv_status::timeout) { 216 milliseconds timeout) { in SetWaitTimeout() argument 217 GetCallbackLock(callback_function_name)->SetWaitTimeout(timeout); in SetWaitTimeout() 232 void SetWaitTimeoutDefault(milliseconds timeout) { in SetWaitTimeoutDefault() argument 233 cb_default_wait_timeout_ = timeout; in SetWaitTimeoutDefault() 254 milliseconds timeout = milliseconds(-1), 256 return Wait(timeout, no_wait_blocking); 282 void SetWaitTimeout(milliseconds timeout) { timeout_ = timeout; } in SetWaitTimeout() argument [all …]
|
/test/framework/harnesses/host_controller/tradefed/ |
D | remote_client.py | 30 def __init__(self, host=LOCALHOST, port=DEFAULT_PORT, timeout=None): argument 40 self._timeout = timeout if timeout else socket.getdefaulttimeout() 108 def WaitForCommandResult(self, serial, timeout, poll_interval=5): argument 125 deadline = time.time() + timeout
|
D | remote_client_test.py | 41 def __init__(self, timeout): argument 45 self._timeout = timeout 154 timeout=0.5, poll_interval=1) 160 timeout=5, poll_interval=1) 167 self.assertRaises(socket.timeout, self._client.ListDevices)
|
/test/vts/utils/python/common/ |
D | cmd_utils.py | 34 timeout, argument 67 wait_thread.join(timeout) 103 def ExecuteOneShellCommand(cmd, timeout=None, callback_on_timeout=None, *args): argument 118 if timeout is None: 128 str(cmd), timeout, callback_on_timeout, *args)
|
D | timeout_utils_test.py | 35 @timeout_utils.timeout(1, no_exception=True) 44 @timeout_utils.timeout(1, no_exception=True) 54 @timeout_utils.timeout(1) 68 @timeout_utils.timeout(1)
|
D | timeout_utils.py | 30 def timeout(seconds, message=os.strerror(errno.ETIME), no_exception=False): function
|
/test/framework/harnesses/host_controller/vti_interface/ |
D | vti_endpoint_client.py | 89 timeout=REQUESTS_TIMEOUT_SECONDS) 125 timeout=REQUESTS_TIMEOUT_SECONDS) 155 headers=self._headers, timeout=REQUESTS_TIMEOUT_SECONDS) 195 timeout=REQUESTS_TIMEOUT_SECONDS) 237 timeout=REQUESTS_TIMEOUT_SECONDS) 265 timeout=REQUESTS_TIMEOUT_SECONDS) 330 timeout=REQUESTS_TIMEOUT_SECONDS) 374 timeout=REQUESTS_TIMEOUT_SECONDS) 407 timeout=REQUESTS_TIMEOUT_SECONDS)
|
/test/vts/runners/host/tcp_client/ |
D | vts_tcp_client.py | 73 timeout=_DEFAULT_SOCKET_TIMEOUT_SECS): argument 77 self.timeout = timeout 81 def timeout(self): member in VtsTcpClient 92 @timeout.setter 93 def timeout(self, timeout): argument 99 self._timeout = timeout 121 timeout=None): argument 146 connection_timeout = self._timeout if timeout is None else timeout 149 (ip, command_port), timeout=connection_timeout) 766 except socket.timeout as e:
|
/test/vts/utils/python/mirror/ |
D | shell_mirror.py | 105 def SetConnTimeout(self, timeout): argument 111 self._client.timeout = timeout
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | CommonTestUtils.java | 33 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local 34 while (System.currentTimeMillis() < timeout) { in waitUntil()
|
D | LogcatInspector.java | 97 long timeout = System.currentTimeMillis() + TimeUnit.SECONDS.toMillis(timeInSeconds); in numberOfLogcatStringsFound() local 99 while (timeout >= System.currentTimeMillis()) { in numberOfLogcatStringsFound()
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | HostSideTestUtils.java | 33 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local 34 while (System.currentTimeMillis() < timeout) { in waitUntil()
|
/test/vts/utils/python/controllers/ |
D | android.py | 64 timeout=None): argument 73 self.conn.settimeout(timeout) 75 except (TimeoutError, socket.timeout):
|
D | android_device.py | 421 timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT) 826 def waitForBootCompletion(self, timeout=900): argument 838 self.adb.wait_for_device(timeout=timeout) 845 if time.time() - start >= timeout: 1077 def getProp(self, name, timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT): argument 1096 out = self.adb.shell("getprop %s" % name, timeout=timeout)
|
D | adb.py | 128 def _exec_cmd(self, cmd, no_except=False, timeout=DEFAULT_ADB_TIMEOUT): argument 149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsDevicePreparer.java | 376 void startFramework(long timeout) throws DeviceNotAvailableException { in startFramework() argument 398 void waitForFrameworkStartComplete(long timeout) throws DeviceNotAvailableException { in waitForFrameworkStartComplete() argument 402 mDevice.waitForBootComplete(timeout); in waitForFrameworkStartComplete() 405 if (System.currentTimeMillis() - start >= timeout) { in waitForFrameworkStartComplete()
|
/test/vts/runners/host/ |
D | base_test.py | 148 self.timeout = timeout_milli / 1000 if timeout_milli > 0 else _DEFAULT_TEST_TIMEOUT_SECS 448 timeout = self.timeout - time.time() + self.start_time_sec 449 if timeout < 0: 450 timeout = 1 451 self.resetTimeout(timeout) 521 @timeout_utils.timeout(TIMEOUT_SECS_TEARDOWN_CLASS, 556 @timeout_utils.timeout(TIMEOUT_SECS_LOG_UPLOADING, 601 def resetTimeout(self, timeout): argument 610 logging.debug("Start timer with timeout=%ssec.", timeout) 613 signal.alarm(int(timeout)) [all …]
|
D | utils.py | 484 def wait_for_standing_subprocess(proc, timeout=None): argument 504 proc.wait(timeout) 533 def timeout(sec): function 610 @timeout(timeout_value)
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_adb.py | 71 if args.timeout == 0: 76 " ".join(cmd_list), args.timeout,
|
D | command_fastboot.py | 82 if args.timeout == 0: 86 cmd, args.timeout,
|
/test/vts-testcase/hal/contexthub/V1_0/host/ |
D | VtsHalContexthubV1_0HostTest.py | 32 def wait_on_callback(timeout=None): argument 41 return self.event.wait(timeout)
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | VtsPythonRunnerHelper.java | 76 public String runPythonRunner(String[] cmd, CommandResult commandResult, long timeout) { in runPythonRunner() argument 92 commandStatus = process.waitForProcess(timeout); in runPythonRunner()
|
/test/mlts/benchmark/jni/ |
D | run_tflite.cpp | 236 int seqInferencesMaxCount, float timeout, int flags, in benchmark() argument 310 if (timeout > 0.001 && inferenceTotal > timeout) { in benchmark()
|
/test/framework/harnesses/host_controller/build/ |
D | build_provider_pab.py | 241 timeout=REQUESTS_TIMEOUT_SECONDS) 323 timeout=REQUESTS_TIMEOUT_SECONDS) 486 timeout=REQUESTS_TIMEOUT_SECONDS) 690 timeout=REQUESTS_TIMEOUT_SECONDS)
|
/test/vts-testcase/hal/treble/vintf/ |
D | VtsTrebleVintfTestBase.cpp | 98 auto timeout = std::chrono::seconds(1); in ForEachHalInstance() local 99 std::future_status status = future_result.wait_for(timeout); in ForEachHalInstance()
|