Home
last modified time | relevance | path

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

/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/vts/testcases/host/kernel_proc_file_api_test/
Dproc_utils.py57 def Execute(self, cmd_list, timeout=None): argument
69 return RunCommand(cmd, timeout)
88 def WaitForBootCompletion(self, timeout=None): argument
92 self.adb.Execute(cmd, timeout)
94 if time.time() - start >= timeout:
116 def IsShutdown(self, timeout=0): argument
123 while (time.time() - start) <= timeout:
164 def RunCommand(cmd, timeout=None): argument
169 _timer = Timer(timeout, kill, [proc])
/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/vts-testcase/kernel/checkpoint/
Dcheckpoint_utils.py47 def Execute(self, cmd_list, timeout=DEFAULT_ADB_TIMEOUT): argument
59 return RunCommand(cmd, timeout)
62 def RunCommand(cmd, timeout=None): argument
67 _timer = Timer(timeout, kill, [proc])
Dvts_kernel_checkpoint_test.py40 self.adb.Execute(["wait-for-device"], timeout=900)
76 self.adb.Execute(["wait-for-device"], timeout=900)
DVtsKernelCheckpointTest.py72 self.dut.adb.wait_for_device(timeout=900)
/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
Dmirror_tracker.py528 def SetConnTimeout(self, timeout): argument
536 getattr(self, _DEFAULT_SHELL_NAME).SetConnTimeout(timeout)
/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.py482 def wait_for_standing_subprocess(proc, timeout=None): argument
502 proc.wait(timeout)
531 def timeout(sec): function
608 @timeout(timeout_value)
Dtest_runner.py349 @timeout_utils.timeout(base_test.TIMEOUT_SECS_TEARDOWN_CLASS,
/test/vts/utils/python/controllers/
Dandroid.py64 timeout=None): argument
73 self.conn.settimeout(timeout)
75 except (TimeoutError, socket.timeout):
Dandroid_device.py434 timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT)
849 def waitForBootCompletion(self, timeout=900): argument
861 self.adb.wait_for_device(timeout=timeout)
868 if time.time() - start >= timeout:
1100 def getProp(self, name, timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT): argument
1119 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-testcase/hal/treble/vintf/
DVtsTrebleVintfTestBase.cpp101 auto timeout = std::chrono::seconds(1); in ForEachHidlHalInstance() local
102 std::future_status status = future_result.wait_for(timeout); in ForEachHidlHalInstance()
127 auto timeout = std::chrono::seconds(1); in ForEachAidlHalInstance() local
128 std::future_status status = future_result.wait_for(timeout); in ForEachAidlHalInstance()
/test/cts-root/tests/stats/src/android/stats/cts_root/
DStatsHelperTest.java49 public synchronized void waitForReceiver(long timeout) throws InterruptedException { in waitForReceiver() argument
51 wait(timeout); in waitForReceiver()
/test/mlts/benchmark/jni/
Drun_tflite.cpp297 int seqInferencesMaxCount, float timeout, int flags, in benchmark() argument
377 if (timeout > 0.001 && inferenceTotal > timeout) { in benchmark()
490 int maxNumIterations, float timeout, in benchmarkSingleTypeOfCompilation() argument
544 if (timeout > 0.001 && compilationTotal > timeout) { in benchmarkSingleTypeOfCompilation()
Drun_tflite.h110 int seqInferencesMaxCount, float timeout, int flags,
135 float timeout, std::vector<float>* results);
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DCrashTestStatus.java99 public boolean waitForCompletion(long timeout, TimeUnit timeUnit) throws InterruptedException { in waitForCompletion() argument
100 return mParallelTestComplete.await(timeout, timeUnit); in waitForCompletion()
/test/vts-testcase/hal/thermal/V1_0/target_stress/
Dthermal_hidl_stress_test.cpp56 if (status == std::cv_status::timeout) return status; in wait()
/test/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py84 self.resetTimeout(self.timeout * len(self.testcases) /
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py55 self.resetTimeout(self.timeout * len(self.testcases) /