/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/src/main/java/org/conscrypt/ |
AddressUtils.java | 37 * Returns true when the supplied hostname is valid for SNI purposes. 57 * Returns true if the supplied hostname is an literal IP address. 59 public static boolean isLiteralIpAddress(String hostname) { 65 return ipPattern.matcher(hostname).matches();
|
OpenSSLSocketFactoryImpl.java | 67 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { 68 return new OpenSSLSocketImpl(hostname, port, (SSLParametersImpl) sslParameters.clone()); 72 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 74 return new OpenSSLSocketImpl(hostname, 100 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) 103 hostname,
|
/external/toybox/tests/ |
hostname.test | 10 # Get system hostname 11 hostnameExe=`which hostname` 14 # New hostname 17 testing "Hostname - Get" "hostname" "$hostnameOut\n" "" "" 18 testing "Hostname - Set, Get and then Reset" "hostname $NewHostname; hostname; hostname $hostnameOut; hostname" "$NewHostname\n$hostnameOut\n" "" " [all...] |
/libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/ |
X509ExtendedTrustManager.java | 76 * to use. If the algorithm and the peer hostname are available, the 77 * peer hostname is checked against the peer's identity presented in 82 * @param hostname the peer hostname 91 String authType, String hostname, String algorithm) 105 * to use. If the algorithm and the peer hostname are available, the 106 * peer hostname is checked against the peer's identity presented in 111 * @param hostname the peer hostname 120 String authType, String hostname, String algorithm [all...] |
/external/autotest/server/hosts/ |
factory.py | 58 def _detect_host(connectivity_class, hostname, **args): 68 @param hostname: A string representing the host name of the device. 77 with closing(connectivity_class(hostname, **args)) as host: 87 def _choose_connectivity_class(hostname, ssh_port): 88 """Choose a connectivity class for this hostname. 90 @param hostname: hostname that we need a connectivity class for. 95 if (hostname == 'localhost' and ssh_port == DEFAULT_SSH_PORT): 121 representing the DUT hostname (for legacy caller support). 122 If it is a machine dict, the 'hostname' key is required [all...] |
teststation_host.py | 22 def create_teststationhost(hostname, **kwargs): 25 @param hostname: Hostname of the test station. 31 if hostname == 'localhost': 36 return host_class(hostname, **kwargs) 43 def check_credentials(self, hostname): 46 @param hostname: Hostname of the machine. 48 if hostname != 'localhost': 57 def _initialize(self, hostname='localhost', *args, **dargs) [all...] |
/external/autotest/site_utils/ |
server_manager.py | 8 create(hostname, role=None, note=None) 11 delete(hostname) 15 modify(hostname, role=None, status=None, note=None, delete=False, 56 'Server %s already has role %s.' % (server.hostname, role)) 59 if not server_manager_utils.check_server(server.hostname, role): 61 'Server %s is not ready for role %s.' % (server.hostname, role)) 70 (role, servers[0].hostname, role)) 78 print 'Role %s is added to server %s.' % (role, server.hostname) 94 'Server %s does not have role %s.' % (server.hostname, role)) 104 print 'Deleting role %s from server %s...' % (role, server.hostname) [all...] |
/external/autotest/server/ |
afe_utils.py | 33 return AFE.get_hosts(hostname=host.hostname) 48 return utils.get_build_from_afe(host.hostname, AFE) 62 return utils.get_board_from_afe(host.hostname, AFE) 73 host_list = [host.hostname] 76 host__hostname=host.hostname) 91 AFE.run('label_add_hosts', id=label, hosts=[host.hostname])
|
profilers.py | 32 # maps hostname to (host object, autotest.Autotest object, Autotest 68 if host.hostname not in self.job.machines: 75 in_use_hosts.add(host.hostname) 82 profiler_hosts.add(host.hostname) 86 host.hostname, profiler_dir) 88 del self.installed_hosts[host.hostname] 93 for hostname in in_use_hosts - profiler_hosts: 94 host = hosts.create_host(hostname) 98 self.installed_hosts[host.hostname] = (host, at, tmp_dir) 102 hosts_to_drop = [self.installed_hosts[hostname][0 [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CertificatePinner.java | 55 * String hostname = "publicobject.com"; 57 * .add(hostname, "sha1/BOGUSPIN") 63 * .url("https://" + hostname) 95 * Pinning is per-hostname and/or per-wildcard pattern. To pin both 113 * If hostname pinned directly and via wildcard pattern, both 142 * Confirms that at least one of the certificates pinned for {@code hostname} 144 * pinned for {@code hostname}. OkHttp calls this after a successful TLS 148 * the certificates pinned for {@code hostname}. 150 public void check(String hostname, List<Certificate> peerCertificates) 153 Set<ByteString> pins = findMatchingPins(hostname); [all...] |
/external/autotest/site_utils/rpm_control_system/ |
dli.py | 34 def __init__(self,userid='admin',password='4321',hostname='192.168.0.100'): 37 self.hostname=hostname 48 curl.setopt(curl.URL, 'http://%s:%s@%s/%s' % (self.userid,self.password,self.hostname,url)) 64 each item will contain 3 itmes plugnumber, hostname and state """ 77 hostname=columns[1].string 79 outlets.append([int(plugnumber),hostname,state]) 84 print "Unable to communicte to the Web power switch at %s" % self.hostname 86 print 'Outlet\t%-15.15s\tState' % 'Hostname' 100 parser.add_option('--hostname',dest='hostname',default="192.168.0.100" [all...] |
/external/autotest/scheduler/ |
drones.py | 39 self.hostname = None 92 logging.info("Running drone_utility on %s", self.hostname) 105 self.hostname.replace('.', '_'), len(calls)) 108 subject = 'Warning from drone %s' % self.hostname 192 self.hostname = 'localhost' 199 if drone.hostname == self.hostname: 203 self.queue_call('send_file_to', drone.hostname, source_path, 208 def __init__(self, hostname, timestamp_remote_calls=True): 211 self.hostname = hostnam [all...] |
/external/autotest/client/tests/kvm/deps/ |
heartbeat_slu.py | 90 return "%s %06d %.2f" % (hostname, seq, float(time.time())) 93 hostname, seq, timestamp = heartbeat.rsplit() 95 if client_prev_timestamp.has_key(hostname): 96 delta = local_timestamp - client_prev_timestamp[hostname] 99 % (float(time.time()), hostname, delta) 101 client_prev_timestamp[hostname] = local_timestamp 104 if not client_clock_offset.has_key(hostname): 105 client_clock_offset[hostname] = timestamp - local_timestamp 106 client_prev_drift[hostname] = 0 107 drift = timestamp - local_timestamp - client_clock_offset[hostname] 140 hostname = socket.gethostname() variable [all...] |
/external/autotest/server/cros/dynamic_suite/ |
fakes.py | 45 def __init__(self, hostname='', status='Ready', locked=False, locked_by=''): 46 self.hostname = hostname 54 self.hostname, self.status, 74 hostname=None, subdir='fake_Test.tag.subdir_tag', 75 job_tag='id-owner/hostname'): 79 self.hostname = hostname if hostname else 'hostless' 87 if hostname [all...] |
/external/autotest/cli/ |
atest_migrate_host | 11 hostname = sys.argv[3] variable 12 print 'Migrating %s ...' % hostname 14 old_host = old.get_hosts(hostname=hostname)[0] 17 print "Usage: atest_migrate_host <old_server> <new_server> <hostname>" 24 new_host = new.create_host(hostname=hostname, locked=True)
|
/external/autotest/client/common_lib/cros/graphite/ |
autotest_stats.py | 16 # If one has their hostname listed including a domain, ie. |milleral.mtv|, 24 hostname = global_config.global_config.get_config_value( variable 25 'SERVER', 'hostname', default='localhost') 27 if hostname.lower() in ['localhost', '127.0.0.1']: 28 hostname = socket.gethostname() variable 29 hostname = hostname.replace('.', '_') variable 37 prefix=hostname)
|
/external/autotest/server/tests/netperf2/ |
netperf2.py | 49 [server_control_file, server.hostname], 52 [client_control_file, client.hostname], 58 utils.write_keyval('../' + server.hostname, 59 {"hostname": server.hostname}) 60 utils.write_keyval('../' + client.hostname, 61 {"hostname": client.hostname})
|
/external/autotest/server/tests/netpipe/ |
netpipe.py | 50 [server_control_file, server.hostname], 53 [client_control_file, client.hostname], 59 utils.write_keyval('../' + server.hostname, 60 {"hostname": server.hostname}) 61 utils.write_keyval('../' + client.hostname, 62 {"hostname": client.hostname})
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
BaseOpenSSLSocketAdapterFactory.java | 49 public Socket createSocket(String hostname, int port) 51 return wrap((OpenSSLSocketImpl) delegate.createSocket(hostname, port)); 55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 58 (OpenSSLSocketImpl) delegate.createSocket(hostname, port, localHost, localPort)); 76 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) 78 return wrap((OpenSSLSocketImpl) delegate.createSocket(s, hostname, port, autoClose));
|
/external/tlsdate/src/ |
tlsdate-helper-plan9.h | 103 uint32_t check_cn (SSL *ssl, const char *hostname); 104 uint32_t check_san (SSL *ssl, const char *hostname); 106 uint32_t check_name (SSL *ssl, const char *hostname); 107 uint32_t verify_signature (SSL *ssl, const char *hostname); 109 void inspect_key (SSL *ssl, const char *hostname); 111 void inspect_key (SSL *ssl, const char *hostname);
|
tlsdate-helper.h | 129 uint32_t check_cn (SSL *ssl, const char *hostname); 130 uint32_t check_san (SSL *ssl, const char *hostname); 132 uint32_t check_name (SSL *ssl, const char *hostname); 133 uint32_t verify_signature (SSL *ssl, const char *hostname); 135 void inspect_key (SSL *ssl, const char *hostname); 137 void inspect_key (SSL *ssl, const char *hostname);
|
/development/tools/axl/ |
udpEater.py | 33 hostname = socket.gethostname() 34 ip = socket.gethostbyname(hostname)
|
udpServer.py | 13 # hostname = socket.gethostname() 14 hostname = "localhost" 15 ip = socket.gethostbyname(hostname)
|
/external/curl/lib/ |
asyn-thread.c | 150 const char *hostname, int port, 159 char * hostname; /* hostname to resolve, Curl_async.hostname member in struct:thread_sync_data 193 free(tsd->hostname); 204 const char * hostname, 229 /* Copying hostname string because original can be destroyed by parent 232 tsd->hostname = strdup(hostname); 233 if(!tsd->hostname) [all...] |