/system/extras/multinetwork/ |
D | httpurl.cpp | 39 std::string hostname; member 72 parameters->hostname = parameters->host.substr(1, closing_bracket - 1); in parseUrl() 86 parameters->hostname = parameters->host.substr(0, first_colon); in parseUrl() 88 parameters->hostname = parameters->host; in parseUrl() 94 std::cerr << "Resolving hostname=" << parameters->hostname in parseUrl() 108 parameters->hostname.c_str(), in parseUrl() 113 rval = getaddrinfo(parameters->hostname.c_str(), in parseUrl()
|
/system/core/adb/ |
D | adb_auth_host.cpp | 111 char hostname[1024], username[1024]; in get_user_info() local 115 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname)); in get_user_info() 116 hostname[sizeof(hostname)-1] = '\0'; in get_user_info() 122 ret = gethostname(hostname, sizeof(hostname)); in get_user_info() 125 strcpy(hostname, "unknown"); in get_user_info() 142 ret = snprintf(buf, len, " %s@%s", username, hostname); in get_user_info()
|
D | adb_client.h | 49 void adb_set_tcp_name(const char* _Nullable hostname);
|
D | adb_client.cpp | 67 void adb_set_tcp_name(const char* hostname) in adb_set_tcp_name() argument 69 __adb_server_name = hostname; in adb_set_tcp_name()
|
/system/netd/server/ |
D | MDnsSdListener.h | 41 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);
|
D | MDnsSdListener.cpp | 284 const char *interfaceName, uint32_t protocol, const char *hostname) { in getAddrInfo() argument 285 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname); in getAddrInfo() 297 hostname, &MDnsSdListenerGetAddrInfoCallback, context); in getAddrInfo() 313 uint32_t /* interface */, DNSServiceErrorType errorCode, const char *hostname, in MDnsSdListenerGetAddrInfoCallback() argument 327 char *quotedHostname = SocketClient::quoteArg(hostname); in MDnsSdListenerGetAddrInfoCallback() 344 const char *hostname) { in setHostname() argument 345 if (VDBG) ALOGD("setHostname(%d, %s)", requestId, hostname); in setHostname() 355 DNSServiceErrorType result = DNSSetHostname(ref, nativeFlags, hostname, in setHostname() 371 DNSServiceErrorType errorCode, const char *hostname, void *inContext) { in MDnsSdListenerSetHostnameCallback() argument 380 char *quotedHostname = SocketClient::quoteArg(hostname); in MDnsSdListenerSetHostnameCallback() [all …]
|
/system/connectivity/shill/ |
D | shill_ares.cc | 38 const char* hostname, in GetHostByName() argument 42 ares_gethostbyname(channel, hostname, family, callback, arg); in GetHostByName()
|
D | mock_dns_client.h | 34 MOCK_METHOD2(Start, bool(const std::string& hostname, Error* error));
|
D | mock_ares.h | 34 const char* hostname,
|
D | shill_ares.h | 38 const char* hostname,
|
D | dns_client.h | 71 virtual bool Start(const std::string& hostname, Error* error);
|
D | mock_device_info.h | 83 MOCK_CONST_METHOD1(SetHostname, bool(const std::string& hostname));
|
D | dns_client.cc | 97 bool DNSClient::Start(const string& hostname, Error* error) { in Start() argument 162 ares_->GetHostByName(resolver_state_->channel, hostname.c_str(), in Start()
|
D | device_info.cc | 1281 bool DeviceInfo::SetHostname(const std::string& hostname) const { in SetHostname() 1282 if (sethostname(hostname.c_str(), hostname.length())) { in SetHostname() 1283 PLOG(ERROR) << "Failed to set hostname to: " << hostname; in SetHostname()
|
D | device_info.h | 158 virtual bool SetHostname(const std::string& hostname) const;
|
/system/core/fastboot/ |
D | tcp.h | 46 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
|
D | udp.h | 44 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
|
D | tcp.cpp | 181 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() argument 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
|
D | socket.h | 58 static std::unique_ptr<Socket> NewClient(Protocol protocol, const std::string& hostname,
|
D | udp.cpp | 373 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() argument 374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
|
D | socket_test.cpp | 37 const std::string hostname = "localhost") { in MakeConnectedSockets() argument 44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr); in MakeConnectedSockets()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv4_config_unittest.cc | 104 DHCPv4ConfigRefPtr CreateMockMinijailConfig(const string& hostname, 108 DHCPv4ConfigRefPtr CreateRunningConfig(const string& hostname, 133 const string& hostname, in CreateMockMinijailConfig() argument 139 if (!hostname.empty()) { in CreateMockMinijailConfig() 170 const string& hostname, const string& vendorclass, in CreateRunningConfig() argument 174 if (!hostname.empty()) { in CreateRunningConfig() 205 EXPECT_EQ(config->hostname_, hostname); in CreateRunningConfig()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | header.h | 80 char * hostname; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 69 char *hostname; member
|
/system/connectivity/shill/init/ |
D | shill.conf.in | 94 ARGS="${ARGS} --accept-hostname-from=${SHILL_ACCEPT_HOSTNAME_FROM}"
|