/external/autotest/scheduler/ |
host_scheduler.py | 131 parent_id, queue_entry.host.hostname) 137 parent_id, queue_entry.host.hostname, 156 parent_job_id, host.hostname, count) 211 release_hostnames = [host.hostname for host in release_hosts] 237 (host.hostname, queue_entry.job_id, 238 queue_entry.host.hostname)) 317 queue_entry.job_id, host.hostname, 352 task.host.hostname for task in 474 server_manager_utils.confirm_server_has_role(hostname='localhost',
|
drone_task_queue_unittest.py | 25 def create_remote_drone(self, hostname): 28 @param hostname: The name of the host for the remote drone. 32 drones.drone_utility.create_host.expect_call(hostname).and_return( 35 return drones._RemoteDrone(hostname, timestamp_remote_calls=False)
|
/external/autotest/site_utils/ |
test_push.py | 97 URL_HOST = CONFIG.get_config_value('SERVER', 'hostname', type=str) 119 def powerwash_dut(hostname): 120 """Powerwash the dut with the given hostname. 122 @param hostname: hostname of the dut. 124 host = factory.create_host(hostname) 240 powerwash_dut(host.hostname) 244 'Error: %s' % (host.hostname, e)) 245 AFE.reverify_hosts(hostnames=[host.hostname]) 309 hostnames = set([hqe.host.hostname for hqe in hqes] [all...] |
dut_status.py | 8 usage: dut_status [ <options> ] [hostname ...] 81 hostname S last checked URL 168 print fmt % ('hostname', 'S', 'last checked', 'URL') 180 print fmt % (history.hostname, 213 print history.hostname 275 for hostname in arguments.hostnames: 278 afe, hostname, arguments.since, arguments.until) 282 hostname) 313 print >>sys.stderr, ('FATAL: Hostname arguments provided ' 429 help='Master autotest frontend hostname. If no value [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 69 static char hostname[MAX_ESCAPED_DOMAIN_NAME], hardware[256], software[256]; variable 115 ConvertDomainNameToCString(&answer->rdata->u.name, hostname); 304 hostname[0] = hardware[0] = software[0] = 0; 339 if (strlen(arg) >= sizeof(hostname)) { 340 fprintf(stderr, "hostname must be < %d characters\n", (int)sizeof(hostname)); 343 strcpy(hostname, arg); 347 if (hostname[0]) DoQuery(&q, hostname, kDNSQType_ANY, &target, InfoCallback); 355 else if (NumAnswers) printf("%s has no HINFO record\n", hostname); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
DefaultHostnameVerifierTest.java | 143 String hostname = "www.example.com"; local 147 verifier.verify(hostname, session); 150 verifier.verify(hostname, null); 409 * Verifies the provided hostname against the provided domain name pattern from server 412 private boolean verifyWithDomainNamePattern(String hostname, String pattern) { 419 boolean resultWhenPatternInCn = verifier.verify(hostname, session); 426 boolean resultWhenPatternInSubjectAltName = verifier.verify(hostname, session); 431 + " hostname : " + hostname + ", pattern: " + pattern 439 * Verifies the provided hostname against the provided server certificate [all...] |
/external/autotest/cli/ |
site_host.py | 81 self.execute_rpc('add_host', hostname=host, 101 hostname=host) 129 # reach due to hostname/address issues or if the host is down. 170 def __init__(self, hostname, platform, labels): 171 self.hostname = hostname
|
/external/autotest/client/tools/ |
crash_handler.py | 158 if hostname is not None: 159 report += "Hostname: %s\n" % hostname 187 global crashed_pid, crash_time, uid, signal, hostname, exe 191 crashed_pid, crash_time, uid, signal, hostname, exe = sys.argv[1:] 199 crashed_pid, crash_time, uid, signal, hostname, exe = (None, None,
|
/external/autotest/contrib/ |
compare_dut_perf.py | 76 hostname: Name of the dut. 79 'hostname': '1.2.3.4'}, 81 'hostname': '1.2.3.4'}] 86 hostname = input['hostname'] 100 'hostname': hostname}) 112 'hostname': hostname}) 147 for hostname,jobs_for_dut in groupby(jobs_for_test [all...] |
/external/autotest/server/cros/clique_lib/ |
clique_dut_locker.py | 93 self.dut.host.hostname, 153 @return: hostname of the device locked in AFE. 155 hostname = None 159 hostname = host_name 169 hostname = site_utils.lock_host_with_labels( 175 return hostname 194 @return a hostname iff dut_locker is locked, else returns None.
|
/external/curl/lib/ |
conncache.c | 134 const char *hostname; local 137 hostname = conn->proxy.name; 139 hostname = conn->conn_to_host.name; 141 hostname = conn->host.name; 143 return aprintf("%s:%d", hostname, conn->port);
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
dynamic-dnsmasq.pl | 30 # port 9020, and include the hostname, user and pass, and it should 53 die "Usage: $0 ADD USER PASS HOSTNAME\n" unless @ARGV == 4; 75 print "user $key, hostname $domain, ip $ip\n"; 118 unless ( defined $cgi{'hostname'} ) { 126 if ( authorize($user, $pass, $cgi{'hostname'}, $cgi{'myip'}) == 0 ) { 142 my ($user, $pass, $hostname) = @_; 144 $X->put($user, join("\t", ($pass, $hostname))); 150 my ($user, $pass, $hostname) = @_; 161 my $hostname = shift; 165 if ( defined $h{$user} and ($spass eq $pass) and ($shost eq $hostname) ) { [all...] |
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.c | 106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled) 112 if (hostname) hostname->c[0] = 0; 119 if (hostname && GetConfigOption(buf, "hostname", f) && !MakeDomainNameFromDNSNameString(hostname, buf)) goto badf; 135 // for now we assume keyname = service reg domain and we use same key for service and hostname registration
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLSocketFactoryWrapper.java | 176 * Attempt to set the hostname of the socket. 178 * @param hostname the hostname 179 * @return true if able to set the hostname, false if not. 181 public static boolean potentiallyEnableSni(SSLSocket sslSocket, String hostname) { 187 sslSocket.getClass().getMethod("setHostname", String.class).invoke(sslSocket, hostname); 214 * Verify the hostname of the certificate used by the other end of a 215 * connected socket. You MUST call this if you did not supply a hostname 217 * redundantly if the hostname has already been verified. 220 * @param hostname The expected hostname of the remote serve [all...] |
/external/autotest/client/bin/ |
local_host_unittest.py | 30 self.assertEqual(host.hostname, 'foo') 33 host = local_host.LocalHost(hostname='bar') 34 self.assertEqual(host.hostname, 'bar')
|
/external/autotest/frontend/server/ |
models.py | 19 DETAIL_FMT = ('Hostname : %(hostname)s\n' 30 hostname = dbmodels.CharField(unique=True, max_length=128) variable in class:Server 52 return self.DETAIL_FMT % {'hostname': self.hostname, 74 'hostname': 'server1', 83 details['hostname'] = self.hostname 148 2. hostname. The code will try to resolve given hostname. If the hostnam [all...] |
/external/autotest/scheduler/shard/ |
shard_client_integration_tests.py | 42 job = self.create_job(deps=set(['a']), shard_hostname=client.hostname) 64 job = self.create_job(deps=set(['a']), shard_hostname=client.hostname) 108 models.Host.objects.get(hostname='test_host')
|
/external/autotest/server/cros/bluetooth/ |
bluetooth_tester.py | 227 The IP address or the hostname can be specified in the 'tester' member of 228 the argument dictionary. When not present it is derived from the hostname 232 is specified as an IP address and thus the hostname cannot be derived. 241 hostname = dnsname_mangler.get_tester_addr( 242 device_host.hostname, 244 return hosts.create_host(hostname)
|
/external/autotest/server/cros/dynamic_suite/ |
job_status.py | 83 hosts.append(e['host']['hostname']) 257 hostnames = [h.hostname for h in running_hosts] 356 job.id, job.owner, s.hostname, job.name, 365 job.owner, s.hostname, job.name, 455 @return a dict mapping {hostname: Status}, one per host used in a Job. 461 name_prefix+s.hostname, 465 if (s.hostname not in to_return or 466 candidate.is_worse_than(to_return[s.hostname])): 467 to_return[s.hostname] = candidate 473 host = e['host']['hostname'] if e['host'] else 'hostless' + job.nam 734 def hostname(self): member in class:Status [all...] |
/external/autotest/server/ |
sequence.py | 139 hostname = utils.get_hostname_from_machine(machine) 142 child_job_name = self.child_job_name(hostname, i) 149 hosts=[hostname], meta_hosts=(), one_time_hosts=(),
|
/external/autotest/server/site_tests/cellular_StaleModemReboot/ |
cellular_StaleModemReboot.py | 216 logging.info('Host %s does not have a servo.', host.hostname) 231 host.hostname, 250 tries+1, host.hostname,
|
/external/autotest/tko/ |
machine_aggr.cgi | 49 machine = frontend.machine.select(db, {'hostname' : machine_idx})[0] 54 if words[0] == machine.hostname: 55 title = '%s (%s)' % (words[-1], machine.hostname) 57 title = '%s' % machine.hostname
|
/external/avahi/avahi-sharp/ |
AddressResolver.cs | 31 IntPtr hostname, LookupResultFlags flags, IntPtr userdata); 111 public string HostName 174 IntPtr hostname, LookupResultFlags flags, IntPtr userdata) 179 currentHost = Utility.PtrToString (hostname);
|
/external/toybox/toys/other/ |
login.c | 31 char *hostname; 111 ttyname(tty), hh ? "from " : "", hh ? TT.hostname : ""); 160 ttyname(tty), hh ? "from" : "", hh ? TT.hostname : "");
|
/bionic/libc/dns/net/ |
getaddrinfo.c | 51 * when globbing NULL hostname (to loopback, or wildcard). Is it the right 55 * (1) what should we do against numeric hostname (2) what should we do 56 * against NULL hostname (3) what is AI_ADDRCONFIG itself. AF not ready? 256 "Address family for hostname not supported", /* EAI_ADDRFAMILY */ 262 "No address associated with hostname", /* EAI_NODATA */ 263 "hostname nor servname provided, or not known", /* EAI_NONAME */ 405 const char *hostname, const char *servname, 416 if ((hostname != NULL && 417 strcspn(hostname, " \n\r\t^'\"") != strlen(hostname)) || [all...] |