Searched refs:hostname (Results 1 - 10 of 10) sorted by relevance

/system/core/adb/
H A Dadb_client.h34 void adb_set_tcp_name(const char* hostname);
H A Dadb_auth_host.cpp120 char hostname[1024], username[1024]; local
124 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname));
125 hostname[sizeof(hostname)-1] = '\0';
131 ret = gethostname(hostname, sizeof(hostname));
134 strcpy(hostname, "unknown");
151 ret = snprintf(buf, len, " %s@%s", username, hostname);
H A Dadb_client.cpp78 void adb_set_tcp_name(const char* hostname) argument
80 __adb_server_name = hostname;
H A Dservices.cpp550 const std::string& hostname = pieces[0]; local
562 std::string serial = android::base::StringPrintf("%s:%d", hostname.c_str(), port);
564 int fd = socket_network_client_timeout(hostname.c_str(), port, SOCK_STREAM, 10);
567 hostname.c_str(), port);
H A Dcommandline.cpp1030 const char *hostname = NULL; local
1033 hostname = argv[1];
1037 hostname = argv[0] + 2;
1039 adb_set_tcp_name(hostname);
/system/netd/server/
H A DMDnsSdListener.h41 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
125 void setHostname(SocketClient *cli, int requestId, const char *hostname);
128 uint32_t protocol, const char *hostname);
H A DMDnsSdListener.cpp271 const char *interfaceName, uint32_t protocol, const char *hostname) {
272 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname);
284 hostname, &MDnsSdListenerGetAddrInfoCallback, context);
300 uint32_t /* interface */, DNSServiceErrorType errorCode, const char *hostname,
314 char *quotedHostname = SocketClient::quoteArg(hostname);
331 const char *hostname) {
332 if (VDBG) ALOGD("setHostname(%d, %s)", requestId, hostname);
342 DNSServiceErrorType result = DNSSetHostname(ref, nativeFlags, hostname,
358 DNSServiceErrorType errorCode, const char *hostname, void *inContext) {
367 char *quotedHostname = SocketClient::quoteArg(hostname);
270 getAddrInfo(SocketClient *cli, int requestId, const char *interfaceName, uint32_t protocol, const char *hostname) argument
299 MDnsSdListenerGetAddrInfoCallback(DNSServiceRef , DNSServiceFlags , uint32_t , DNSServiceErrorType errorCode, const char *hostname, const struct sockaddr *const sa, uint32_t ttl, void *inContext) argument
330 setHostname(SocketClient *cli, int requestId, const char *hostname) argument
357 MDnsSdListenerSetHostnameCallback(DNSServiceRef , DNSServiceFlags , DNSServiceErrorType errorCode, const char *hostname, void *inContext) argument
489 char *hostname = argv[3]; local
500 char *hostname = argv[3]; local
[all...]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
H A Dheader.h80 char * hostname; member in struct:perf_session_env
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Dheader.h69 char *hostname; member in struct:perf_session_env
/system/core/init/
H A Dkeywords.h62 KEYWORD(hostname, COMMAND, 1, do_hostname)

Completed in 1737 milliseconds