Home
last modified time | relevance | path

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

12

/developtools/smartperf_host/ide/src/trace/grpc/
DProfilerController.ts20 get port(): string | number | undefined { method in ClientVessel
24 set port(value: string | number | undefined) { method in ClientVessel
44 let { host, port } = SettingRegistry.settings;
46 this._port = port;
61 port: string | number; property
DProfilerClient.ts69 return clientAddress.host + ':' + clientAddress.port;
115 port: string | number; property
/developtools/integration_verification/DeployDevice/src/aw/poweronoff/
Dserial_power_on_off.py7 def __init__(self, ip, port, timeout=10, encoding="GBK"): argument
24 self.connect((ip, port))
108 def serialPowerOnOff(ip, port, index, power, user='Administrator', password=''): argument
124 serialPort = SocketCon(ip, int(port))
164 def usbPowerOnOff(ip, port, index, power): argument
178 usbpower = SocketCon(ip, int(port))
213 def usbPowerOnOffV2(ip, port, index, power): argument
227 usbpower = SocketCon(ip, int(port))
/developtools/smartperf_host/ide/src/command/
DCmd.ts54 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/exec`;
67 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/hdcCmd`;
82 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/hdcCmd`;
103 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/hdcCmd`;
122 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/showSaveDialog`;
140 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/upload`;
158 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/copyfile`;
175 let uri = `http://${window.location.host.split(':')[0]}:${window.location.port}/showOpenDialog`;
/developtools/smartperf_host/ide/test/trace/grpc/
DProfilerController.test.ts22 expect(profilerController.port).toBeUndefined();
26 profilerController.port = true;
27 expect(profilerController.port).toBeTruthy();
/developtools/hdc/src/host/
Dhost_tcp.cpp37 int port = 0; in RecvUDPEntry() local
42 port = atoi(p + 1); in RecvUDPEntry()
43 if (!port) { in RecvUDPEntry()
48 addrPort += string(":") + std::to_string(port); in RecvUDPEntry()
128 uint16_t port = 0; in ConnectDaemon() local
129 if (Base::ConnectKey2IPPort(connectKey.c_str(), ip, &port) < 0) { in ConnectDaemon()
143 uv_ip4_addr(ip, port, &dest); in ConnectDaemon()
Dmain.cpp249 int port = atoi(buf); in ParseServerListenString() local
250 if (port <= 0 || port > MAX_IP_PORT) { in ParseServerListenString()
254 (void)snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "::ffff:127.0.0.1:%d", port); in ParseServerListenString()
266 int port = atoi(p + 1); in ParseServerListenString() local
270 if ((port <= 0 || port > MAX_IP_PORT)) { in ParseServerListenString()
275 if (uv_ip4_addr(buf, port, &addrv4) == 0) { in ParseServerListenString()
278 } else if (uv_ip6_addr(buf, port, &addrv6) == 0) { in ParseServerListenString()
388 int port; in InitServerAddr() local
392 port = DEFAULT_PORT; in InitServerAddr()
410 port = atoi(env); in InitServerAddr()
[all …]
Dhost_uart.cpp138 std::string port; in EnumSerialPort() local
163 port = std::string(strDSName); in EnumSerialPort()
165 newPortInfo.push_back(port); in EnumSerialPort()
166 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port); in EnumSerialPort()
169 WRITE_LOG(LOG_DEBUG, "%s:new port %s", __FUNCTION__, port.c_str()); in EnumSerialPort()
196 string port = "/dev/" + string(p->d_name); in EnumSerialPort() local
197 …if (port.find("/dev/ttyUSB") == 0 || port.find("/dev/ttySerial") == 0 || port.find("/dev/cu.") == … in EnumSerialPort()
198 newPortInfo.push_back(port); in EnumSerialPort()
199 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port); in EnumSerialPort()
202 WRITE_LOG(LOG_DEBUG, "new port:%s", port.c_str()); in EnumSerialPort()
[all …]
Dtranslate.cpp217 int port = std::stoi(sport); in TargetConnect() local
219 if ((port <= 0 || port > MAX_IP_PORT) || uv_ip4_addr(ip.c_str(), port, &addr) < 0) { in TargetConnect()
270 int port = atoi(input + strlen("tmode port ")); in RunMode() local
271 if (port > MAX_IP_PORT || port <= 0) { in RunMode()
Dclient.cpp309 uint16_t port = 0; in ExecuteCommand() local
310 int ret = Base::ConnectKey2IPPort(channelHostPort.c_str(), ip, &port); in ExecuteCommand()
333 ConnectServerForClient(ip, port); in ExecuteCommand()
351 int HdcClient::ConnectServerForClient(const char *ip, uint16_t port) in ConnectServerForClient() argument
357 WRITE_LOG(LOG_DEBUG, "Try to connect %s:%d", ip, port); in ConnectServerForClient()
371 WRITE_LOG(LOG_DEBUG, "ConnectServerForClient ipv4 %s:%d", s.c_str(), port); in ConnectServerForClient()
373 uv_ip4_addr(s.c_str(), port, &destv4); in ConnectServerForClient()
376 WRITE_LOG(LOG_DEBUG, "ConnectServerForClient ipv6 %s:%d", ip, port); in ConnectServerForClient()
378 uv_ip6_addr(ip, port, &dest); in ConnectServerForClient()
/developtools/integration_verification/tools/fotff/utils/
Dmail.go30 port int member
44 if mailConfig.port, err = strconv.Atoi(mailConfig.Port); err != nil {
56 dail := gomail.NewDialer(mailConfig.Host, mailConfig.port, mailConfig.User, mailConfig.Password)
/developtools/hdc/hdc_rust/src/cffi/
Duart.cpp51 std::string port; local
76 port = std::string(strDSName);
78 newPortInfo.push_back(port);
79 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port);
103 string port = "/dev/" + string(p->d_name); local
104 …if (port.find("/dev/ttyUSB") == 0 || port.find("/dev/ttySerial") == 0 || port.find("/dev/cu.") == …
105 newPortInfo.push_back(port);
106 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port);
109 printf("new port:%s", port.c_str());
/developtools/smartperf_host/trace_streamer/prebuilts/patch_googletest/
Dgtest_port.h.patch1 --- third_party/googletest/googletest/include/gtest/internal/gtest-port.h 2023-01-17 16:10:56.25236…
2 …e_resolver/third_party/googletest/googletest/include/gtest/internal/gtest-port.h 2023-01-06 17:58:…
Dgoogletestbuild.gn56 "googletest/include/gtest/internal/custom/gtest-port.h",
65 "googletest/include/gtest/internal/gtest-port-arch.h",
66 "googletest/include/gtest/internal/gtest-port.h",
74 "googletest/src/gtest-port.cc",
168 "googlemock/include/gmock/internal/custom/gmock-port.h",
171 "googlemock/include/gmock/internal/gmock-port.h",
Dgtest-message.h.patch13 #include "gtest/internal/gtest-port.h"
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dsunrpc.proto210 string port = 4; field
218 string port = 4; field
226 string port = 4; field
234 string port = 4; field
240 string port = 2; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dsunrpc.proto210 string port = 4; field
218 string port = 4; field
226 string port = 4; field
234 string port = 4; field
240 string port = 2; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dsunrpc.proto210 string port = 4; field
218 string port = 4; field
226 string port = 4; field
234 string port = 4; field
240 string port = 2; field
/developtools/packing_tool/adapter/ohos/
DUriInfo.java33 public String port = ""; field in UriInfo
/developtools/hdc/hdc_rust/src/host/
Dparser.rs197 if let Ok(port) = port_str.parse::<u16>() { in check_port()
198 return Ok(port); in check_port()
207 let port = check_port(port_str)?; in parse_server_listen_string() localVariable
215 port in parse_server_listen_string()
/developtools/integration_verification/tools/fotff/
Dfotff.ini6 port = 8080 key
10 port = 465 key
/developtools/hdc/hdc_rust/src/daemon/
Ddaemon_unity.rs183 let port = &str[config::PREFIX_PORT.len()..]; in set_device_mode() localVariable
184 let port = in set_device_mode() localVariable
185 port.trim_end_matches(|c: char| c.is_ascii_control() || c.is_ascii_whitespace()); in set_device_mode()
190 port in set_device_mode()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dproject_config.ts106 port?: string;
177 this.port = PORT_DEFAULT;
/developtools/ace_ets2bundle/compiler/test/
DREADME.md19 npm config set proxy http://username:password@server:port
20 npm confit set https-proxy http://username:password@server:port
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/workers/
Dworker.js27 port: 8282 property
33 port: 8283 property

12