Home
last modified time | relevance | path

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

123

/developtools/smartperf_host/ide/src/trace/grpc/
DProfilerController.ts20 get port(): string | number | undefined { method in ClientContainer
24 set port(value: string | number | undefined) { method in ClientContainer
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/profiler/host/smartperf/ide/src/trace/grpc/
DProfilerController.ts20 get port(): string | number | undefined { method in ClientContainer
24 set port(value: string | number | undefined) { method in ClientContainer
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/profiler/host/smartperf/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/profiler/host/smartperf/trace_streamer/src/rpc/
Dhttp_socket.cpp61 bool HttpSocket::Bind(int32_t port) in Bind() argument
73 addr.sin_port = htons(static_cast<uint16_t>(port)); in Bind()
75 TS_LOGE("bind ipv4 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
83 addr.sin6_port = htons(static_cast<uint16_t>(port)); in Bind()
85 TS_LOGE("bind ipv6 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
91 TS_LOGI("bind socket ok, port %d", port); in Bind()
Dhttp_server.h31 void Run(int32_t port = 9001);
52 bool CreateSocket(int32_t port);
/developtools/smartperf_host/trace_streamer/sdk/dubai_sdk/rpc/
Dhttp_socket.cpp61 bool HttpSocket::Bind(int32_t port) in Bind() argument
73 addr.sin_port = htons(static_cast<uint16_t>(port)); in Bind()
75 TS_LOGE("bind ipv4 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
83 addr.sin6_port = htons(static_cast<uint16_t>(port)); in Bind()
85 TS_LOGE("bind ipv6 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
91 TS_LOGI("bind socket ok, port %d", port); in Bind()
Dhttp_server.h31 void Run(int32_t port = 9001);
52 bool CreateSocket(int32_t port);
Dhttp_server.cpp56 void HttpServer::Run(int32_t port) in Run() argument
62 if (!CreateSocket(port)) { in Run()
115 void HttpServer::Run(int32_t port) in Run() argument
121 if (!CreateSocket(port)) { in Run()
172 bool HttpServer::CreateSocket(int32_t port) in CreateSocket() argument
179 if (!sockets_[i].Bind(port)) { in CreateSocket()
/developtools/smartperf_host/trace_streamer/src/rpc/
Dhttp_socket.cpp61 bool HttpSocket::Bind(int32_t port) in Bind() argument
73 addr.sin_port = htons(static_cast<uint16_t>(port)); in Bind()
75 TS_LOGE("bind ipv4 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
83 addr.sin6_port = htons(static_cast<uint16_t>(port)); in Bind()
85 TS_LOGE("bind ipv6 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
91 TS_LOGI("bind socket ok, port %d", port); in Bind()
Dhttp_server.h31 void Run(int32_t port = 9001);
52 bool CreateSocket(int32_t port);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/
Dhttp_socket.cpp61 bool HttpSocket::Bind(int32_t port) in Bind() argument
73 addr.sin_port = htons(static_cast<uint16_t>(port)); in Bind()
75 TS_LOGE("bind ipv4 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
83 addr.sin6_port = htons(static_cast<uint16_t>(port)); in Bind()
85 TS_LOGE("bind ipv6 socket error, port %d: %d:%s", port, errno, strerror(errno)); in Bind()
91 TS_LOGI("bind socket ok, port %d", port); in Bind()
Dhttp_server.h31 void Run(int32_t port = 9001);
52 bool CreateSocket(int32_t port);
Dhttp_server.cpp56 void HttpServer::Run(int32_t port) in Run() argument
62 if (!CreateSocket(port)) { in Run()
115 void HttpServer::Run(int32_t port) in Run() argument
121 if (!CreateSocket(port)) { in Run()
172 bool HttpServer::CreateSocket(int32_t port) in CreateSocket() argument
179 if (!sockets_[i].Bind(port)) { in CreateSocket()
/developtools/smartperf_host/ide/test/trace/grpc/
DProfilerController.test.ts23 expect(profilerController.port).toBeUndefined();
27 profilerController.port = true;
28 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()
126 uint16_t port = 0; in ConnectDaemon() local
127 if (Base::ConnectKey2IPPort(connectKey.c_str(), ip, &port) < 0) { in ConnectDaemon()
139 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()
195 string port = "/dev/" + string(p->d_name); in EnumSerialPort() local
196 …if (port.find("/dev/ttyUSB") == 0 || port.find("/dev/ttySerial") == 0 || port.find("/dev/cu.") == … in EnumSerialPort()
197 newPortInfo.push_back(port); in EnumSerialPort()
198 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port); in EnumSerialPort()
201 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()
265 int port = atoi(input + strlen("tmode port ")); in RunMode() local
266 if (port > MAX_IP_PORT || port <= 0) { in RunMode()
/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/profiler/host/smartperf/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:…
/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:…

123