HomeSort by relevance Sort by last modified time
    Searched refs:hostname (Results 26 - 50 of 1117) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/dhcpcd-6.8.2/
dhcpcd.conf 13 # Inform the DHCP server of our hostname for DDNS.
14 hostname
47 # A hook script is provided to lookup the hostname if not set by the DHCP
49 #nohook lookup-hostname
  /external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/
RecordingHostnameVerifier.java 26 public boolean verify(String hostname, SSLSession session) {
27 calls.add("verify " + hostname);
  /external/toolchain-utils/dejagnu/boards/
chromeos-machine.exp 6 # Set hostname and username. # Make sure SSH keys are set up prior to run.
7 set_board_info hostname $env(DEJAGNU_HOSTNAME)
  /frameworks/base/core/java/android/security/
FrameworkNetworkSecurityPolicy.java 37 public boolean isCleartextTrafficPermitted(String hostname) {
42 public boolean isCertificateTransparencyVerificationRequired(String hostname) {
  /libcore/luni/src/main/java/java/net/
AddressCache.java 47 AddressCacheKey(String hostname, int netId) {
48 mHostname = hostname;
98 * Returns the cached InetAddress[] for 'hostname' on network 'netId'. Returns null
99 * if nothing is known about 'hostname'. Returns a String suitable for use as an
100 * UnknownHostException detail message if 'hostname' is known not to exist.
102 public Object get(String hostname, int netId) {
103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId));
114 * Associates the given 'addresses' with 'hostname'. The association will expire after a
117 public void put(String hostname, int netId, InetAddress[] addresses) {
118 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses))
    [all...]
  /test/vti/test_serving/gae/script/
build.sh 30 python lib/endpoints/endpointscfg.py get_openapi_spec webapp.src.endpoint.build_info.BuildInfoApi --hostname $SERVICE
31 python lib/endpoints/endpointscfg.py get_openapi_spec webapp.src.endpoint.host_info.HostInfoApi --hostname $SERVICE
32 python lib/endpoints/endpointscfg.py get_openapi_spec webapp.src.endpoint.schedule_info.ScheduleInfoApi --hostname $SERVICE
33 python lib/endpoints/endpointscfg.py get_openapi_spec webapp.src.endpoint.lab_info.LabInfoApi --hostname $SERVICE
  /external/apache-http/src/org/apache/http/
HttpHost.java 61 protected final String hostname; field in class:HttpHost
78 * @param hostname the hostname (IP or DNS name)
85 public HttpHost(final String hostname, int port, final String scheme) {
87 if (hostname == null) {
90 this.hostname = hostname;
91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
103 * @param hostname the hostname (IP or DNS name
    [all...]
  /external/autotest/frontend/afe/
rpc_client_lib.py 16 def add_protocol(hostname):
20 (global_config/shadow_config) include only the hostname of the RPC server to
22 To support endpoints that require a specific protocol, we allow the hostname
30 @param hostname: hostname or url prefix of the RPC server.
33 if (not hostname.startswith('http://') and
34 not hostname.startswith('https://')):
35 return 'http://' + hostname
36 return hostname
  /external/autotest/site_utils/
add_detected_host_labels.py 40 def add_missing_labels(afe, hostname):
46 @param hostname: The host to query and update.
53 host = hosts.create_host(hostname)
56 logging.warning('Unable to establish ssh connection to hostname '
57 '%s. Skipping.', hostname)
60 logging.warning('Unable to query labels on hostname %s. Skipping.',
61 hostname)
67 afe_host = afe.get_hosts(hostname=hostname)[0]
84 afe_label.remove_hosts(hosts=[hostname])
    [all...]
  /external/syslinux/com32/lib/syslinux/
pxe_dns.c 31 * Resolve a hostname via DNS
44 uint32_t pxe_dns(const char *hostname)
54 if (sscanf(hostname, "%hhu.%hhu.%hhu.%hhu",
58 lm_hostname = lstrdup(hostname);
  /external/ltp/testcases/kernel/containers/utsname/
utstest.c 118 char hostname[HLEN], newhostname[HLEN], rhostname[HLEN]; local
130 gethostname(hostname, HLEN);
133 if (strcmp(hostname, rhostname) == 0) {
138 "test 1 (%s): hostname 1 %s, hostname 2 %s",
139 tsttype, hostname, rhostname);
141 gethostname(hostname, HLEN);
142 picknewhostname(hostname, newhostname);
157 "test 2 (%s) hostname 1 %s, hostname 2 %s"
228 char hostname[HLEN], newhostname[HLEN]; local
    [all...]
  /system/core/adb/
socket_spec.cpp 67 bool parse_tcp_socket_spec(const std::string& spec, std::string* hostname, int* port,
102 if (hostname) {
103 *hostname = std::move(hostname_value);
113 static bool tcp_host_is_local(const std::string& hostname) {
115 return hostname.empty() || hostname == "localhost";
137 std::string hostname; local
138 if (!parse_tcp_socket_spec(spec, &hostname, nullptr, &error)) {
141 return tcp_host_is_local(hostname);
146 std::string hostname; local
191 std::string hostname; local
    [all...]
  /external/autotest/server/cros/network/
rf_switch_utils.py 30 if afe.lock_host(rf_switch.hostname, LOCK_REASON):
33 'RF Switch %s could not be locked' % rf_switch.hostname)
47 afe.unlock_hosts([rf_switch_host.hostname])
48 rf_switch = afe.get_hosts(hostnames=(rf_switch_host.hostname,))
  /external/conscrypt/platform/src/main/java/org/conscrypt/ct/
CTPolicy.java 24 boolean doesResultConformToPolicy(CTVerificationResult result, String hostname,
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
tirpc_rpc_call.c 44 //Program parameters : argc[1] : HostName or Host IP
55 char hostname[256] = { 0 }; local
60 strcpy(hostname, argc[1]);
63 fprintf(stderr, "Server : %s\n", hostname);
67 rslt = rpc_call(hostname, progNum, VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
  /external/okhttp/android/main/java/com/squareup/okhttp/internalandroidapi/
Dns.java 28 * Returns the IP addresses of {@code hostname}, in the order they should
31 List<InetAddress> lookup(String hostname) throws UnknownHostException;
  /external/syslinux/com32/include/syslinux/
pxe.h 42 uint32_t pxe_dns(const char *hostname);
  /frameworks/base/core/java/android/net/
INetdEventCallback.aidl 31 * @param hostname the name that was looked up.
39 void onDnsEvent(String hostname, in String[] ipAddresses, int ipAddressesCount, long timestamp,
48 * @param hostname the hostname for which validation was performed.
51 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname,
  /frameworks/base/core/java/org/apache/http/conn/scheme/
HostNameResolver.java 45 InetAddress resolve (String hostname) throws IOException;
  /libcore/ojluni/src/main/java/java/net/
InetSocketAddress.java 38 * It can also be a pair (hostname + port number), in which case an attempt
39 * will be made to resolve the hostname. If resolution fails then the address
58 // The hostname of the Socket Address
59 private String hostname; field in class:InetSocketAddress.InetSocketAddressHolder
65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) {
66 this.hostname = hostname;
80 if (hostname != null)
81 return hostname;
88 if (hostname != null
    [all...]
  /external/curl/lib/
hostip4.c 93 const char *hostname,
105 ai = Curl_ipv4_resolve_r(hostname, port);
107 infof(conn->data, "Curl_ipv4_resolve_r failed for %s\n", hostname);
123 Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
134 if(Curl_inet_pton(AF_INET, hostname, &in) > 0)
136 return Curl_ip2addr(AF_INET, &in, hostname, port);
152 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
174 h = gethostbyname_r(hostname,
193 (void)gethostbyname_r(hostname,
260 res = gethostbyname_r(hostname,
    [all...]
  /device/generic/goldfish-opengl/tests/gles_android_wrapper/
ServerConnection.cpp 97 char *hostname; local
99 hostname = strdup(defaultServer);
101 hostname = strdup(s);
104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) {
105 ALOGE("couldn't connect to %s\n", hostname);
106 free(hostname);
110 LOGI("connecting to server %s\n", hostname);
111 free(hostname);
  /external/conscrypt/common/src/main/java/org/conscrypt/
AddressUtils.java 36 * Returns true when the supplied hostname is valid for SNI purposes.
49 * Returns true if the supplied hostname is an literal IP address.
51 static boolean isLiteralIpAddress(String hostname) {
57 return ipPattern.matcher(hostname).matches();
  /external/libevent/sample/
openssl_hostname_validation.c 26 * Helper functions to perform basic hostname validation using OpenSSL.
56 * Tries to find a match for hostname in the certificate's Common Name field.
63 static HostnameValidationResult matches_common_name(const char *hostname, const X509 *server_cert) {
93 // Compare expected hostname with the CN
94 if (Curl_cert_hostcheck(common_name_str, hostname) == CURL_HOST_MATCH) {
104 * Tries to find a match for hostname in the certificate's Subject Alternative Name extension.
111 static HostnameValidationResult matches_subject_alternative_name(const char *hostname, const X509 *server_cert) {
137 else { // Compare expected hostname with the DNS name
138 if (Curl_cert_hostcheck(dns_name, hostname)
153 * Validates the server's identity by looking for the expected hostname in th
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
SingleInetAddressDns.java 30 @Override public List<InetAddress> lookup(String hostname) throws UnknownHostException {
31 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);

Completed in 383 milliseconds

12 3 4 5 6 7 8 91011>>