/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/vts/testcases/host/kernel_proc_file_api_test/ |
D | proc_utils.py | 57 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/ |
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/vts-testcase/kernel/checkpoint/ |
D | checkpoint_utils.py | 47 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])
|
D | vts_kernel_checkpoint_test.py | 40 self.adb.Execute(["wait-for-device"], timeout=900) 76 self.adb.Execute(["wait-for-device"], timeout=900)
|
D | VtsKernelCheckpointTest.py | 72 self.dut.adb.wait_for_device(timeout=900)
|
/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
|
D | mirror_tracker.py | 528 def SetConnTimeout(self, timeout): argument 536 getattr(self, _DEFAULT_SHELL_NAME).SetConnTimeout(timeout)
|
/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 | 482 def wait_for_standing_subprocess(proc, timeout=None): argument 502 proc.wait(timeout) 531 def timeout(sec): function 608 @timeout(timeout_value)
|
D | test_runner.py | 349 @timeout_utils.timeout(base_test.TIMEOUT_SECS_TEARDOWN_CLASS,
|
/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 | 434 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)
|
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-testcase/hal/treble/vintf/ |
D | VtsTrebleVintfTestBase.cpp | 102 auto timeout = std::chrono::seconds(1); in ForEachHidlHalInstance() local 103 std::future_status status = future_result.wait_for(timeout); in ForEachHidlHalInstance() 128 auto timeout = std::chrono::seconds(1); in ForEachAidlHalInstance() local 129 std::future_status status = future_result.wait_for(timeout); in ForEachAidlHalInstance()
|
/test/cts-root/tests/stats/src/android/stats/cts_root/ |
D | StatsHelperTest.java | 49 public synchronized void waitForReceiver(long timeout) throws InterruptedException { in waitForReceiver() argument 51 wait(timeout); in waitForReceiver()
|
/test/mlts/benchmark/jni/ |
D | run_tflite.cpp | 297 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()
|
D | run_tflite.h | 110 int seqInferencesMaxCount, float timeout, int flags, 135 float timeout, std::vector<float>* results);
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 99 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/ |
D | thermal_hidl_stress_test.cpp | 56 if (status == std::cv_status::timeout) return status; in wait()
|
/test/vts/testcases/template/hal_hidl_gtest/ |
D | hal_hidl_gtest.py | 84 self.resetTimeout(self.timeout * len(self.testcases) /
|
/test/vts/testcases/template/hal_hidl_replay_test/ |
D | hal_hidl_replay_test.py | 55 self.resetTimeout(self.timeout * len(self.testcases) /
|