| /developtools/integration_verification/DeployDevice/src/aw/Telnet/ |
| D | TelnetClient.py | 28 self.device = telnetlib.Telnet(self._host, port=self._port, timeout=self.__timeout) 30 def tellogin(self, username, password, endwaittag, timeout): argument 32 rets = self.device.read_until(endwaittag, timeout) 38 rets = self.sendCmdAndCheckResult(username.encode('utf-8'), 'Password:', timeout) 42 rets = self.sendCmdAndCheckResult(password.encode('utf-8'), endwaittag, timeout) 47 def sendCmd(self, send_cmd, endtag, timeout): argument 51 rets = self.device.read_until(endtag.encode('utf-8'), timeout) 57 def sendEnterCmd(self, endtag, timeout): argument 73 def sendCmdAndCheckResult(self, cmd, endtag, timeout): argument 75 rets = self.sendCmd(cmd + '\n'.encode('utf-8'), endtag, timeout) [all …]
|
| /developtools/integration_verification/DeployDevice/resource/common/ |
| D | portalocker.py | 16 def __init__(self, timeout=7200, delay=30): argument 21 self.timeout = timeout 37 if (start_time - mark_file_mtime > self.timeout): 50 if (time.time() - start_time) >= self.timeout:
|
| /developtools/integration_verification/DeployDevice/src/util/ |
| D | file_locker.py | 17 def __init__(self, timeout=7200, delay=3): argument 22 self.timeout = timeout 38 if (start_time - mark_file_mtime > self.timeout): 51 if (time.time() - start_time) >= self.timeout:
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | ipc_unix_socket_test.cpp | 69 const uint32_t timeout = 1000; variable 70 ASSERT_TRUE(client.RecvMessage(buf.data(), size, timeout)); 78 ASSERT_TRUE(client.RecvMessage(buf.data(), size, timeout)); 97 const uint32_t timeout = 1000; variable 102 ASSERT_FALSE(client.RecvMessage(buf.data(), size, timeout));
|
| /developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/ |
| D | liteOsUpgrade_RK3568_app.py | 15 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 80 @timeout(3600) 211 @timeout(1000) 239 @timeout(120) 383 @timeout(30) 411 @timeout(180) 440 @timeout(3600) 471 @timeout(3600) 513 @timeout(1000)
|
| D | liteOsUpgrade_L2_app.py | 12 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 78 @timeout(18000) 313 ser = serial.Serial(deploy_com, int(baudrate), timeout=0) 369 @timeout(30) 474 def sendCmd(ser, cmd, timeout): argument 487 time.sleep(timeout) 511 @timeout(10) 524 ser = serial.Serial('com5', 115200, timeout=0)
|
| D | liteOsUpgrade_L3_app.py | 11 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 75 @timeout(1800) 206 @timeout(900) 275 @timeout(60*2*3) 290 @timeout(60*2)
|
| D | liteOsUpgrade_L0_app.py | 9 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 94 @timeout(1200) 122 @timeout(1800)
|
| D | liteOsUpgrade_L1_shequ_dv_app.py | 11 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 73 @timeout(1800) 327 ser = serial.Serial(deploy_com, int(baudrate), timeout=1) 428 def sendCmd(ser, cmd, endtag, timeout): argument 443 if i > timeout: 449 def sendResetCmd(ser, timeout): argument
|
| D | liteOsUpgrade_L1_shequ_test_app.py | 11 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 74 @timeout(1800) 307 ser = serial.Serial(deploy_com, int(baudrate), timeout=1) 413 def sendCmd(ser, cmd, timeout): argument 426 time.sleep(timeout)
|
| D | liteOsUpgrade_L1_shequ_app copy.py | 11 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 76 @timeout(1800) 300 ser = serial.Serial(deploy_com, int(baudrate), timeout=0) 435 def sendCmd(ser, cmd, timeout): argument 448 time.sleep(timeout)
|
| D | liteOsUpgrade_L2_app - 副本.py | 11 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 72 @timeout(18000) 346 def sendCmd(ser, cmd, timeout): argument 359 time.sleep(timeout)
|
| /developtools/profiler/hiebpf/src/ |
| D | ipc_unix_socket.cpp | 95 const int timeout = 1000; in handleThreadLoop() local 96 int polled = TEMP_FAILURE_RETRY(poll(&pollFd, 1, timeout)); in handleThreadLoop() 176 bool IpcUnixSocketClient::RecvMessage(void *buf, size_t &size, uint32_t timeout) in RecvMessage() argument 181 int polled = poll(&pollFd, 1, timeout); in RecvMessage()
|
| D | bpf_log_reader.cpp | 148 constexpr int timeout {10}; in MoveBPFLog() local 150 int ret = poll(&fds, nfds, timeout); in MoveBPFLog()
|
| D | hiebpf.cpp | 99 HiebpfIpcCommand cmd, uint32_t timeout) in SendIpcCommand() argument 105 CHECK_TRUE(client.RecvMessage(buf, size, timeout), false, "recv reply failed\n"); in SendIpcCommand() 107 HHLOGE(true, "recv reply timeout(%dms)\n", timeout); in SendIpcCommand()
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | process_utils.cpp | 96 int PollEvents(int timeout) in PollEvents() 98 int nready = poll(pollSet_.data(), pollSet_.size(), timeout); in PollEvents() 101 HILOG_INFO(LOG_CORE, "poll %dms timeout!", timeout); in PollEvents() 184 int timeout = 1000; in ReceiveOutputAndSigchld() local 185 int events = poller.PollEvents(timeout); in ReceiveOutputAndSigchld()
|
| /developtools/packing_tool/ |
| D | build.py | 53 haptobin_out, haptobin_err = child_haptobin.communicate(timeout=time_out) 73 unpack_out, unpack_err = child_unpack.communicate(timeout=time_out) 83 pack_out, pack_err = child_pack.communicate(timeout=time_out)
|
| /developtools/hiperf/demo/cpp/ |
| D | hiperf_demo.cpp | 66 const int timeout = 30; in main() local 68 opt.SetTimeStopSec(timeout); in main()
|
| /developtools/hdc/src/common/ |
| D | file_descriptor.cpp | 67 struct timeval timeout; in FileIOOnThread() local 68 timeout.tv_sec = SECONDS_TIMEOUT; in FileIOOnThread() 69 timeout.tv_usec = 0; in FileIOOnThread() 92 int rc = select(thisClass->fdIO + 1, &rset, nullptr, nullptr, &timeout); in FileIOOnThread()
|
| /developtools/integration_verification/DeployDevice/src/core/ |
| D | run.py | 16 from util.time_info import get_now_time_str_info, get_now_time_info, Timeout, timeout 165 @timeout(30)
|
| /developtools/profiler/device/plugins/arkts_plugin/src/ |
| D | arkts_plugin.cpp | 339 struct timeval timeout = {timeoutLimit, 0}; in SetWebSocketTimeOut() local 340 if (setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout)) != SOCKET_SUCCESS) { in SetWebSocketTimeOut() 343 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout)) != SOCKET_SUCCESS) { in SetWebSocketTimeOut()
|
| /developtools/integration_verification/cases/daily/mini_system/ |
| D | L0_mini_system_test.py | 58 def ReadFromComPort(com_port, timeout): argument 63 while (time_end - time_start).seconds < timeout:
|
| /developtools/integration_verification/DeployDevice/src/aw/poweronoff/ |
| D | serial_power_on_off.py | 7 def __init__(self, ip, port, timeout=10, encoding="GBK"): argument 23 self.settimeout(timeout)
|
| /developtools/profiler/hiebpf/include/ |
| D | ipc_unix_socket.h | 69 bool RecvMessage(void *buf, size_t &size, uint32_t timeout);
|
| /developtools/integration_verification/DeployDevice/src/aw/Download/ |
| D | Download.py | 31 from util.time_info import get_now_time_str_info, timeout 101 … --max-download-limit=50M --bt-stop-timeout=120 %s" % (version_path, download_torrent) 445 @timeout(240) 522 res = requests.get(link, headers=heard, stream=True, timeout=240) 528 res = requests.get(link, headers=heard, stream=True, timeout=240)
|