/external/autotest/site_utils/ |
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/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/ |
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)
|
rdb_cache_unittests.py | 95 if (job2_host.hostname == job1_host.hostname or 96 cached_host.hostname not in 97 [job2_host.hostname, job1_host.hostname]): 100 cached_host.hostname) 332 job2_host.hostname == job1_host.hostname):
|
/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')
|
shard_client.py | 108 self.hostname = shard_hostname 195 self._shard = models.Shard.smart_get(self.hostname) 277 return {'shard_hostname': self.hostname, 348 """Read the hostname the local shard from the global configuration. 355 hostname = global_config.global_config.get_config_value( 357 if not hostname: 361 return hostname
|
/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 : "");
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
HelloExtensions.java | 286 * case host_name: HostName; 294 * opaque HostName<1..2^16-1>; 312 for (String hostname : hostnames) { 313 if (hostname != null && hostname.length() != 0) { 314 // we only support DNS hostname now. 316 new ServerName(NAME_HOST_NAME, hostname); 322 // As we only support DNS hostname now, the hostname list must 323 // not contain more than one hostname 375 final String hostname; field in class:ServerNameExtension.ServerName [all...] |
/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...] |
/external/autotest/client/cros/netprotos/ |
zeroconf.py | 59 def __init__(self, host, hostname, domain='local'): 63 hostname and a domain that defaults to 'local'. The ZeroconfDaemon will 68 @param hostname: A string representing the hostname 71 self._hostname = hostname 108 def hostname(self): member in class:ZeroconfDaemon 109 """The hostname part within a domain.""" 115 """The domain where the given hostname is running.""" 121 """The full hostname designation including host and domain name.""" 237 daemon is running, "hostname.domain" [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
HostSelector.java | 66 new ArrayDataSource<JSONObject>(new String[] {"hostname"}); 183 existingHosts.add(Utils.jsonToString(host.get("hostname"))); 187 for (String hostname : requestedHostnames) { 188 if (!existingHosts.contains(hostname)) { 189 oneTimeHostnames.add(hostname); 216 for (String hostname : oneTimeHostnames) { 218 oneTimeObject.put("hostname", new JSONString(hostname)); 247 metaObject.put("hostname", new JSONString(META_PREFIX + number)); 278 return row.get("hostname").isString().stringValue() 315 String hostname = getHostname(row); local [all...] |
/external/autotest/server/cros/network/ |
wifi_cell_test_base.py | 55 if utils.host_could_be_in_afe(host.hostname): 61 variant_name = site_utils.get_label_from_afe(host.hostname,
|
/external/autotest/server/site_tests/provision_AutoUpdate/ |
provision_AutoUpdate.py | 53 @param dut_hostname: Hostname of the dut. 121 ds = dev_server.ImageServer.resolve(image, host.hostname) 127 self.log_devserver_match_stats(host.hostname, ds.url())
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
post_bisect_results.py | 104 hostname = app_identity.get_default_version_hostname() 106 return 'https://%s/buildbucket_job_status/%s' % (hostname, job_id)
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSocketImplWrapper.java | 33 protected OpenSSLSocketImplWrapper(Socket socket, String hostname, int port, 35 super(socket, hostname, port, autoClose, sslParameters);
|