/external/autotest/site_utils/ |
brillo_test_launcher.py | 86 (moblab.hostname, moblab_host.AUTOTEST_INSTALL_DIR)) 95 @param adb_hostname: Hostname of the ADB Host. 102 if all([host.hostname != adb_hostname for host in moblab.afe.get_hosts()]): 111 @param host: Hostname of the DUT. 147 @param host: Hostname of the DUT. 162 @param host: Hostname of the DUT.
|
diagnosis_utils.py | 175 host.hostname, host.status, host.locked, host.labels, 222 unusable_hosts.append(host.hostname)
|
balance_pools.py | 379 _log_message('Updating host: %s.', host.hostname) 384 host.hostname, ' '.join(removals)) 386 host.hostname, ' '.join(additions))
|
/external/chromium-libpac/src/ |
proxy_resolver_v8.cc | 208 // Extracts an hostname argument from |args|. On success returns true 209 // and fills |*hostname| with the result. 210 bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args, std::string* hostname) { 217 // If the hostname is already in ASCII, simply return it as is. 219 *hostname = UTF16ToASCII(hostname_utf16); 626 std::string hostname; local 627 if (!GetHostnameArgument(args, &hostname)) { 636 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 653 std::string hostname; local 654 if (!GetHostnameArgument(args, &hostname)) { [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
route53 | 45 def create(conn, hostname, caller_reference=None, comment=''): 47 response = conn.create_hosted_zone(hostname, caller_reference, comment)
|
/external/conscrypt/src/openjdk/java/org/conscrypt/ |
Platform.java | 206 * Returns true if the supplied hostname is an literal IP address. 208 public static boolean isLiteralIpAddress(String hostname) { 210 return AddressUtils.isLiteralIpAddress(hostname);
|
/external/skia/experimental/Networking/ |
SkSockets.cpp | 312 SkTCPClient::SkTCPClient(const char* hostname, int port) { 316 hostent* server = gethostbyname(hostname);
|
/external/tcpdump/ |
print-pptp.c | 101 u_char hostname[64]; member in struct:pptp_msg_sccrq 113 u_char hostname[64]; member in struct:pptp_msg_sccrp 245 2 u_char hostname[64]; 383 const u_char *hostname) 385 ND_PRINT((ndo, " HOSTNAME(%.64s)", hostname)); 534 ND_TCHECK(ptr->hostname); 535 pptp_hostname_print(ndo, &ptr->hostname[0]); 565 ND_TCHECK(ptr->hostname); 566 pptp_hostname_print(ndo, &ptr->hostname[0]) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 96 assertNotNull("Default hostname verifyer is null", verifyer); 107 assertNotNull("Hostname verifyer is null", verifyer); 108 assertEquals("Incorrect value of hostname verirfyer", 314 public boolean verify(String hostname, SSLSession session) { 315 if (hostname == session.getPeerHost()) {
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
MailTransport.java | 142 // After the socket connects to an SSL server, confirm that the hostname is as 211 * Verify the hostname of the certificate used by the other end of a 212 * connected socket. It is harmless to call this method redundantly if the hostname has already 215 * <p>Wildcard certificates are allowed to verify any matching hostname, 220 * @param hostname The expected hostname of the remote server 224 private void verifyHostname(Socket socket, String hostname) throws IOException { 239 if (!HOSTNAME_VERIFIER.verify(hostname, session)) { 241 throw new SSLPeerUnverifiedException("Certificate hostname not useable for server: "
|
/system/core/adb/ |
adb_client.cpp | 67 void adb_set_tcp_name(const char* hostname) 69 __adb_server_name = hostname;
|
/external/autotest/scheduler/ |
drone_manager_unittest.py | 23 self.hostname = name 420 self.manager._drones[mock_drone.hostname] = mock_drone 450 self.manager._drones[mock_drone.hostname] = mock_drone 487 pidfile_contents.process.hostname == 488 mock_drone.hostname and
|
rdb_integration_tests.py | 157 h1 = models.Host.objects.get(hostname='h1') 160 h2 = models.Host.objects.get(hostname='h2') 182 host = models.Host.objects.get(hostname='h1') 209 host = models.Host.objects.get(hostname='h1') 268 assignment[job.id] = host.hostname
|
/external/iputils/ |
clockdiff.c | 555 char hostname[MAX_HOSTNAMELEN]; local 601 (void)gethostname(hostname,sizeof(hostname)); 602 hp = gethostbyname(hostname); 604 fprintf(stderr, "clockdiff: %s: my host not found\n", hostname);
|
/external/netperf/src/ |
netserver.c | 420 create_listens(char hostname[], char port[], int af) { 434 hostname, 448 error = getaddrinfo((char *)hostname, 471 hostname, 482 dump_addrinfo(stderr, local_res, hostname, port, af); [all...] |
/external/mdnsresponder/mDNSPosix/ |
NetMonitor.c | 177 domainname hostname; member in struct:__anon19277 231 entry->hostname.c[0] = 0; 266 if (!entry->hostname.c[0]) 272 AssignDomainName(&entry->hostname, pktrr->name); 279 AssignDomainName(&entry->hostname, &pktrr->rdata->u.name); 290 AssignDomainName(&entry->hostname, pktrr->name); 335 if (!entry->hostname.c[0]) 346 SendUnicastQuery(m, entry, &entry->hostname, kDNSType_HINFO, InterfaceID); 347 //mprintf("%##s HINFO %d\n", entry->hostname.c, entry->NumQueries); 375 if (e->hostname.c[0] || e->HIHardware.c[0] || e->HISoftware.c[0] [all...] |
/external/blktrace/ |
blktrace.c | 205 char *hostname; member in struct:cl_host 320 static char hostname[MAXHOSTNAMELEN]; variable 949 if (inet_aton(hostname, &addr->sin_addr) != 1) { 952 hent = gethostbyname(hostname); 960 hostname); 966 hostname); 972 strcpy(hostname, hent->h_name); 994 hostname); 1479 len += sprintf(dst + len, "%s-", nc->ch->hostname); [all...] |
/external/autotest/server/cros/network/ |
wifi_client.py | 117 def _is_conductive(hostname): 118 if utils.host_could_be_in_afe(hostname): 119 conductive = site_utils.get_label_from_afe(hostname.split('.')[0], 339 self._client_hostname = client_host.hostname 348 self.host.hostname) 352 '%s: %r', self.host.hostname, devs) 364 self.host.hostname) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/ |
websocket.py | 136 (hostname, port, resource path and the flag of secure mode) 146 if parsed.hostname: 147 hostname = parsed.hostname 149 raise ValueError("hostname is invalid") 173 return (hostname, port, resource, is_secure) 442 hostname, port, resource, is_secure = _parse_url(url) 444 self.sock.connect((hostname, port)) 455 self._handshake(hostname, port, resource, **options)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
server.py | 235 # EC2 (e.g. hostname, security groups, etc.) 245 hostname = CalculatedProperty(verbose_name="Public DNS Name", calculated_type=str, use_method=True) variable in class:Server 433 hostname = '' 435 hostname = self._instance.public_dns_name 436 return hostname 439 hostname = '' 441 hostname = self._instance.private_dns_name 442 return hostname
|
/external/conscrypt/src/main/java/org/conscrypt/ |
SSLParametersImpl.java | 424 OpenSSLSessionImpl getSessionToReuse(long sslNativePointer, String hostname, int port) 430 SSLSession cachedSession = getCachedClientSession(clientSessionContext, hostname, port); 660 final OpenSSLSessionImpl sessionToReuse, String hostname, int port, 678 peerCertificates, hostname, port, getSessionContext()); 777 SSLSession getCachedClientSession(ClientSessionContext sessionContext, String hostName, 779 if (hostName == null) { 783 SSLSession session = sessionContext.getSession(hostName, port); [all...] |
/system/connectivity/shill/dhcp/ |
dhcpv4_config_unittest.cc | 66 const char kHostName[] = "hostname"; 104 DHCPv4ConfigRefPtr CreateMockMinijailConfig(const string& hostname, 108 DHCPv4ConfigRefPtr CreateRunningConfig(const string& hostname, 133 const string& hostname, 139 if (!hostname.empty()) { 140 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) 144 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) 170 const string& hostname, const string& vendorclass, 174 if (!hostname.empty()) { 175 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _) [all...] |
/external/autotest/frontend/afe/ |
admin.py | 164 list_display = ('hostname', 'platform', 'locked', 'status') 166 search_fields = ('hostname',) 184 self.fields = ('hostname', 'locked', 'lock_reason', 'leased', 190 self.fields = ('hostname', 'locked', 'lock_reason', 220 hostname = form.cleaned_data['hostname'] 221 hosts = [str(hostname)] 309 self.fields['drones'].widget.choices = [(drone.id, drone.hostname)
|
/external/autotest/site_utils/rpm_control_system/ |
rpm_controller_unittest.py | 108 hostname = 'chromeos-rack8a-rpm1' 109 self.web_rpm = rpm_controller.WebPoweredRPMController(hostname, 118 powerunit_hostname=hostname, 149 """Should return False if DUT hostname is not on the RPM device."""
|
/external/autotest/tko/ |
parse.py | 34 parser.add_option("-s", help="Database server hostname", 435 job_id, hostname = tko_utils.get_afe_job_id_and_hostname(job_name) 436 if not job_id or not hostname: 443 job_id, hostname, job_overhead.STATUS.PARSING,
|