Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 44) sorted by relevance

12

/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetCallbackBase.h128 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/
Dremote_client.py30 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
Dremote_client_test.py41 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/
Dcmd_utils.py34 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)
Dtimeout_utils_test.py35 @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)
Dtimeout_utils.py30 def timeout(seconds, message=os.strerror(errno.ETIME), no_exception=False): function
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py89 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/
Dvts_tcp_client.py73 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/
Dshell_mirror.py105 def SetConnTimeout(self, timeout): argument
111 self._client.timeout = timeout
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCommonTestUtils.java33 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local
34 while (System.currentTimeMillis() < timeout) { in waitUntil()
DLogcatInspector.java97 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/
DHostSideTestUtils.java33 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local
34 while (System.currentTimeMillis() < timeout) { in waitUntil()
/test/vts/utils/python/controllers/
Dandroid.py64 timeout=None): argument
73 self.conn.settimeout(timeout)
75 except (TimeoutError, socket.timeout):
Dandroid_device.py421 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)
Dadb.py128 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/
DVtsDevicePreparer.java376 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/
Dbase_test.py148 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 …]
Dutils.py484 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/
Dcommand_adb.py71 if args.timeout == 0:
76 " ".join(cmd_list), args.timeout,
Dcommand_fastboot.py82 if args.timeout == 0:
86 cmd, args.timeout,
/test/vts-testcase/hal/contexthub/V1_0/host/
DVtsHalContexthubV1_0HostTest.py32 def wait_on_callback(timeout=None): argument
41 return self.event.wait(timeout)
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java76 public String runPythonRunner(String[] cmd, CommandResult commandResult, long timeout) { in runPythonRunner() argument
92 commandStatus = process.waitForProcess(timeout); in runPythonRunner()
/test/mlts/benchmark/jni/
Drun_tflite.cpp236 int seqInferencesMaxCount, float timeout, int flags, in benchmark() argument
310 if (timeout > 0.001 && inferenceTotal > timeout) { in benchmark()
/test/framework/harnesses/host_controller/build/
Dbuild_provider_pab.py241 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/
DVtsTrebleVintfTestBase.cpp98 auto timeout = std::chrono::seconds(1); in ForEachHalInstance() local
99 std::future_status status = future_result.wait_for(timeout); in ForEachHalInstance()

12