Searched defs:host (Results 1 - 8 of 8) sorted by path

/system/core/adb/
H A Dadb.c288 return snprintf(buf, bufsize, "host::") + 1;
708 // It's non-sensical to support the "reserved" space on the adb host side
1237 void connect_device(char* host, char* buffer, int buffer_size) argument
1240 char* portstr = strchr(host, ':');
1244 strncpy(hostbuf, host, sizeof(hostbuf) - 1);
1246 if (portstr - host >= (ptrdiff_t)sizeof(hostbuf)) {
1247 snprintf(buffer, buffer_size, "bad host name %s", host);
1250 // zero terminate the host at the point we found the colon
1251 hostbuf[portstr - host]
1398 char* host = service + 8; local
[all...]
H A Dsysdeps_win32.c662 int socket_network_client(const char *host, int port, int type) argument
675 hp = gethostbyname(host);
699 D( "socket_network_client: host '%s' port %d type %s => fd %d\n", host, port, type != SOCK_STREAM ? "udp" : "tcp", _fh_to_int(f) );
H A Dtransport_local.c115 const char *host = getenv("ADBHOST"); local
116 if (host) {
117 fd = socket_network_client(host, adb_port, SOCK_STREAM);
181 register_socket_transport(fd, "host", port, 1);
204 /* A worker thread that monitors host connections, and registers a transport for
205 * every new host connection. This thread replaces server_socket_thread on
208 * to provide more robust communication channel between ADB host and guest. The
212 * the connection between ADB host and guest will be lost. To make ADB traffic
214 * between the host, and the guest. See external/qemu/android/adb-*.* that
222 * - Wait for the ADB host t
[all...]
/system/core/libcutils/
H A Dsocket_network_client.c39 int socket_network_client(const char *host, int port, int type) argument
46 hp = gethostbyname(host);
/system/extras/tests/bionic/libc/
H A DAndroid.mk43 # same as 'device-test' but builds a host executable instead
46 define host-test
91 $(call host-test, $(sources))
125 $(call host-test, $(sources))
135 $(call host-test, $(sources))
/system/extras/tests/bionic/libstdc++/
H A DAndroid.mk41 # same as 'device-test' but builds a host executable instead
44 define host-test
71 $(call host-test, $(sources))
76 # host environments don't provide it unless you use specific
/system/netd/
H A DDnsProxyListener.h39 // Note: All of host, service, and hints may be NULL
41 char* host,
45 mHost(host),
40 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints) argument
H A DMDnsSdListener.cpp156 const char *domain, const char *host, int port, int txtLen, void *txtRecord) {
159 interfaceName, serviceName, serviceType, domain, host, port, txtLen);
173 serviceType, domain, host, port, txtLen, txtRecord, &MDnsSdListenerRegisterCallback,
429 char *host = NULL; // will use default hostname local
434 serviceType, domain, host, port, textLen, textRecord);
154 serviceRegister(SocketClient *cli, int requestId, const char *interfaceName, const char *serviceName, const char *serviceType, const char *domain, const char *host, int port, int txtLen, void *txtRecord) argument

Completed in 39 milliseconds