/system/core/adb/ |
D | console.cpp | 8 int fd, port; in connect_to_console() local 10 port = adb_get_emulator_console_port(); in connect_to_console() 11 if (port < 0) { in connect_to_console() 12 if (port == -2) in connect_to_console() 18 fd = socket_loopback_client( port, SOCK_STREAM ); in connect_to_console() 20 fprintf(stderr, "error: could not connect to TCP port %d\n", port); in connect_to_console()
|
D | transport_local.cpp | 87 int local_connect(int port) { in local_connect() argument 88 return local_connect_arbitrary_ports(port-1, port); in local_connect() 120 int port = DEFAULT_ADB_LOCAL_TRANSPORT_PORT; in client_socket_thread() local 128 for ( ; count > 0; count--, port += 2 ) { in client_socket_thread() 129 (void) local_connect(port); in client_socket_thread() 140 int port = (int) (uintptr_t) arg; in server_socket_thread() local 146 serverfd = socket_inaddr_any_server(port, SOCK_STREAM); in server_socket_thread() 156 D("server: trying to get new connection from %d\n", port); in server_socket_thread() 162 register_socket_transport(fd, "host", port, 1); in server_socket_thread() 222 const int port = (int) (uintptr_t) arg; in qemu_socket_thread() local [all …]
|
D | services.cpp | 97 int port = (int) (uintptr_t) cookie; in restart_tcp_service() local 98 if (port <= 0) { in restart_tcp_service() 99 WriteFdFmt(fd, "invalid port %d\n", port); in restart_tcp_service() 105 snprintf(value, sizeof(value), "%d", port); in restart_tcp_service() 107 WriteFdFmt(fd, "restarting in TCP mode port: %d\n", port); in restart_tcp_service() 430 int port = atoi(name + 4); in service_to_fd() local 433 ret = socket_loopback_client(port, SOCK_STREAM); in service_to_fd() 438 ret = socket_network_client(name + 1, port, SOCK_STREAM); in service_to_fd() 486 int port; in service_to_fd() local 487 if (sscanf(name + 6, "%d", &port) != 1) { in service_to_fd() [all …]
|
D | adb_client.cpp | 86 int port; in adb_get_emulator_console_port() local 87 return (sscanf(__adb_serial, "emulator-%d", &port) == 1) ? port : -1; in adb_get_emulator_console_port() 100 int port; in adb_get_emulator_console_port() local 103 if (sscanf(device.c_str(), "emulator-%d", &port) == 1) { in adb_get_emulator_console_port() 110 return port; in adb_get_emulator_console_port()
|
D | adb_main.cpp | 207 int port; in adb_main() local 316 if (sscanf(value, "%d", &port) == 1 && port > 0) { in adb_main() 317 printf("using port=%d\n", port); in adb_main() 319 local_init(port); in adb_main()
|
D | SERVICES.TXT | 35 host:emulator:<port> 37 new emulator starts up. <port> is a decimal number corresponding 38 to the emulator's ADB control port, i.e. the TCP port that the 109 tcp:<port> -> TCP connection on localhost:<port> 114 tcp:<port> -> TCP localhost:<port> on device 184 tcp:<port> 185 Tries to connect to tcp port <port> on localhost. 187 tcp:<port>:<server-name> 188 Tries to connect to tcp port <port> on machine <server-name> from
|
D | adb_listeners.cpp | 116 int port; in local_name_to_fd() local 120 port = atoi(name + 4); in local_name_to_fd() 123 ret = socket_inaddr_any_server(port, SOCK_STREAM); in local_name_to_fd() 125 ret = socket_loopback_server(port, SOCK_STREAM); in local_name_to_fd()
|
D | sysdeps.h | 189 extern int socket_loopback_client(int port, int type); 190 extern int socket_network_client(const char *host, int port, int type); 191 extern int socket_network_client_timeout(const char *host, int port, int type, 193 extern int socket_loopback_server(int port, int type); 194 extern int socket_inaddr_any_server(int port, int type);
|
D | adb.h | 268 int init_socket_transport(atransport *t, int s, int port, int local); 321 void local_init(int port); 322 int local_connect(int port);
|
/system/bt/stack/rfcomm/ |
D | rfc_utils.c | 144 i, rfc_cb.port.rfc_mcb[i].state); in rfc_alloc_multiplexer_channel() 146 … rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel() 147 … rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel() 148 … rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel() 150 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in rfc_alloc_multiplexer_channel() 151 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) in rfc_alloc_multiplexer_channel() 155 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED) in rfc_alloc_multiplexer_channel() 156 rfc_timer_stop (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 158 … is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 159 return (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() [all …]
|
D | port_api.c | 256 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveConnection() 292 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveServer() 337 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback() 370 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_ClearKeepHandleFlag() 400 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCallback() 436 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCOCallback() 472 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventMask() 509 p_port = &rfc_cb.port.port[handle - 1]; in PORT_CheckConnection() 551 if ((rfc_cb.port.rfc_mcb[xx].state > RFC_MX_STATE_IDLE) && in PORT_IsOpening() 552 (rfc_cb.port.rfc_mcb[xx].state < RFC_MX_STATE_CONNECTED)) in PORT_IsOpening() [all …]
|
D | port_utils.c | 65 tPORT *p_port = &rfc_cb.port.port[0]; in port_allocate_port() 73 p_port = &rfc_cb.port.port[yy]; in port_allocate_port() 288 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in port_find_mcb() 289 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) in port_find_mcb() 295 i, &rfc_cb.port.rfc_mcb[i], rfc_cb.port.rfc_mcb[i].lcid); in port_find_mcb() 296 return (&rfc_cb.port.rfc_mcb[i]); in port_find_mcb() 334 return (&rfc_cb.port.port[inx - 1]); in port_find_mcb_dlci_port() 354 p_port = &rfc_cb.port.port[i]; in port_find_dlci_port() 389 p_port = &rfc_cb.port.port[i]; in port_find_port()
|
D | port_rfc.c | 208 p_port = &rfc_cb.port.port[0]; in PORT_StartCnf() 269 p_port = &rfc_cb.port.port[0]; in PORT_StartInd() 783 p_port = &rfc_cb.port.port[0]; in PORT_CloseInd() 809 p_port = &rfc_cb.port.port[0]; in Port_TimeOutCloseMux() 954 p_port = &rfc_cb.port.port[i]; in PORT_FlowInd()
|
D | rfc_l2cap_if.c | 182 rfc_cb.port.port[idx - 1].dlci += 1; in RFCOMM_ConnectCnf() 183 … RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci); in RFCOMM_ConnectCnf()
|
/system/core/include/cutils/ |
D | sockets.h | 77 extern int socket_loopback_client(int port, int type); 78 extern int socket_network_client(const char *host, int port, int type); 79 extern int socket_network_client_timeout(const char *host, int port, int type, 81 extern int socket_loopback_server(int port, int type); 87 extern int socket_inaddr_any_server(int port, int type);
|
/system/media/camera/docs/ |
D | README.md | 25 sudo port install py27-beautifulsoup4 26 sudo port install py27-mako 27 sudo port install py27-markdown 28 sudo port install tidy 29 sudo port install libxml2 #xmllint
|
/system/core/libcutils/ |
D | socket_network_client.c | 36 int socket_network_client(const char *host, int port, int type) in socket_network_client() argument 38 return socket_network_client_timeout(host, port, type, 0); in socket_network_client() 44 int socket_network_client_timeout(const char *host, int port, int type, int timeout) in socket_network_client_timeout() argument 62 addr.sin_port = htons(port); in socket_network_client_timeout()
|
D | socket_loopback_client.c | 36 int socket_loopback_client(int port, int type) in socket_loopback_client() argument 43 addr.sin_port = htons(port); in socket_loopback_client()
|
D | socket_inaddr_any_server.c | 35 int socket_inaddr_any_server(int port, int type) in socket_inaddr_any_server() argument 42 addr.sin_port = htons(port); in socket_inaddr_any_server()
|
D | socket_loopback_server.c | 35 int socket_loopback_server(int port, int type) in socket_loopback_server() argument 42 addr.sin_port = htons(port); in socket_loopback_server()
|
/system/bt/include/ |
D | bte.h | 89 UINT8 port; /* port number */ member 94 extern void bte_hcisu_userial_oper( tUSERIAL_MSG_CBACK *p_cback, UINT8 port, UINT8 op, UINT8 option… 97 extern int (*p_bte_hci_send)(UINT16 port, BT_HDR *p_msg);
|
/system/extras/tests/net_test/ |
D | csocket.py | 57 addr, port, flowinfo, scope_id = addr 59 (addr, port), flowinfo, scope_id = addr, 0, 0 61 return SockaddrIn6((family, socket.ntohs(port), socket.ntohl(flowinfo), 65 addr, port = addr 67 return SockaddrIn((family, socket.ntohs(port), addr))
|
/system/bt/osi/src/ |
D | socket.c | 101 bool socket_listen(const socket_t *socket, port_t port) { in socket_listen() argument 107 addr.sin_port = htons(port); in socket_listen() 109 LOG_ERROR("%s unable to bind socket to port %u: %s", __func__, port, strerror(errno)); in socket_listen() 114 LOG_ERROR("%s unable to listen on port %u: %s", __func__, port, strerror(errno)); in socket_listen()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 156 const char *domain, const char *host, int port, int txtLen, void *txtRecord) { in serviceRegister() argument 159 interfaceName, serviceName, serviceType, domain, host, port, txtLen); in serviceRegister() 163 port = htons(port); in serviceRegister() 173 serviceType, domain, host, port, txtLen, txtRecord, &MDnsSdListenerRegisterCallback, in serviceRegister() 245 const char *hosttarget, uint16_t port, uint16_t txtLen, in MDnsSdListenerResolveCallback() argument 250 port = ntohs(port); in MDnsSdListenerResolveCallback() 258 asprintf(&msg, "%d %s %s %d %d", refNumber, quotedFullName, quotedHostTarget, port, txtLen); in MDnsSdListenerResolveCallback() 264 refNumber, fullname, hosttarget, port, txtLen); in MDnsSdListenerResolveCallback() 427 int port = atoi(argv[5]); in runCommand() local 453 serviceType, domain, host, port, ptr - txtRecord, txtRecord); in runCommand()
|
/system/bt/udrv/ulinux/ |
D | uipc_linux.h | 28 unsigned int port; member
|