/external/autotest/scheduler/ |
agent_task.py | 154 # A map between host id and hostname. 163 self.hostnames = dict((entry.host.id, entry.host.hostname) 168 self.hostnames = {host.id: host.hostname} 375 for hostname in self.hostnames.values(): 376 subnet = utils.get_restricted_subnet(hostname, 399 'be chosen from %s', hostname, 566 host.hostname) 612 'hostname':self.task.host.hostname} 628 return autoserv_utils._autoserv_command_line(self.host.hostname, [all...] |
thread_lib_unittest.py | 26 def create_remote_drone(self, hostname): 29 @param hostname: The name of the host for the remote drone. 33 drones.drone_utility.create_host.expect_call(hostname).and_return( 36 return drones._RemoteDrone(hostname, timestamp_remote_calls=False) 209 self.assertTrue(drone.hostname in thread.getName())
|
/external/autotest/server/cros/clique_lib/ |
clique_dut_updater.py | 56 'Cannot determine board for host %s' % dut_host.hostname) 57 logging.debug('Detected board %s for host %s', board, dut_host.hostname)
|
/external/autotest/server/site_tests/logging_KernelCrashServer/ |
logging_KernelCrashServer.py | 90 logging.info('KernelCrashServer: crashing %s', self._host.hostname) 112 client_attributes = site_host_attributes.HostAttributes(host.hostname)
|
/external/autotest/site_utils/ |
brillo_common.py | 47 @params moblab_hostname: The Moblab hostname, None if using a local virtual 112 help='MobLab hostname or IP to launch tests. If this ' 117 help='Hostname or IP of the adb_host connected to the ' 177 if not moblab.hostname.startswith('localhost'): 178 cmd += ['-m', quote(moblab.hostname)]
|
/external/autotest/tko/ |
db.py | 499 hostname = job.machine 505 group = self.machine_group.get(hostname, hostname) 506 if group == hostname and owner: 507 group = owner + '/' + hostname 509 return {'hostname': hostname, 'machine_group': group, 'owner': owner} 521 where={'hostname': machine_info['hostname']}, 525 def lookup_machine(self, hostname) [all...] |
/external/iputils/ |
traceroute6.c | 312 char *hostname; variable 451 hostname = *argv; 461 hostname = (char *)hp->h_name; 585 Fprintf(stderr, "traceroute to %s (%s)", hostname, 750 Printf("traceroute: wrote %s %d chars, ret=%d\n", hostname, 908 const char *hostname; local 912 hostname = inet_ntop(AF_INET6, &from->sin6_addr, pa, sizeof(pa)); 922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa);
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/ |
WebSocketResponseHandlerTest.java | 73 public MockedWSD(String hostname, int port) { 74 super(hostname, port);
|
/system/core/fastboot/ |
tcp.cpp | 181 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error),
|
/external/autotest/server/ |
site_host_attributes.py | 76 """Create an instance of HostAttribute for the given hostname. 90 host_obj = models.Host.valid_objects.get(hostname=host)
|
/external/autotest/server/site_tests/hardware_TPMFirmwareServer/ |
hardware_TPMFirmwareServer.py | 39 (self.client.hostname, self.n_client_reboots))
|
/external/autotest/server/site_tests/platform_CryptohomeTPMReOwnServer/ |
platform_CryptohomeTPMReOwnServer.py | 37 (self.client.hostname, self.n_client_reboots))
|
/external/autotest/server/site_tests/platform_HWwatchdog/ |
platform_HWwatchdog.py | 40 self.client.hostname, self._hw_interval)
|
/external/boringssl/src/crypto/bio/ |
bio_test.cc | 103 char hostname[80]; local 104 BIO_snprintf(hostname, sizeof(hostname), "%s:%d", "127.0.0.1", 106 ScopedBIO bio(BIO_new_connect(hostname));
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
cros_interface.py | 96 def __init__(self, hostname=None, ssh_port=None, ssh_identity=None): 97 self._hostname = hostname 118 # the control socket filename can be telemetry@hostname. 119 self._ssh_control_file = '/tmp/' + 'telemetry' + '@' + hostname 138 def hostname(self): member in class:CrOSInterface 245 if 'Could not resolve hostname' in stderr: 246 raise DNSFailureException('Unable to resolve the hostname for: %s' %
|
/external/dnsmasq/src/ |
dbus.c | 44 " <arg name=\"hostname\" type=\"s\"/>\n" 49 " <arg name=\"hostname\" type=\"s\"/>\n" 54 " <arg name=\"hostname\" type=\"s\"/>\n" 393 void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname) 405 if (!hostname) 406 hostname = ""; 430 dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &hostname))
|
/external/ppp/pppd/plugins/radius/ |
config.c | 404 * Purpose: see if ip_addr is one of the ip addresses of hostname 410 static int find_match (UINT4 *ip_addr, char *hostname) 416 if (rc_good_ipaddr (hostname) == 0) 418 if (*ip_addr == ntohl(inet_addr (hostname))) 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL) 480 if ((h = strtok (buffer, " \t\n")) == NULL) /* first hostname */
|
/external/webrtc/webrtc/base/ |
openssladapter.h | 37 int StartSSL(const char* hostname, bool restartable) override;
|
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppengineimpl.cc | 327 std::string hostname = tls_server_hostname_; local 328 if (hostname.empty()) 329 hostname = to; 339 *output_ << "<stream:stream to=\"" << hostname << "\" "
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
HttpsURLConnectionTest.java | 111 public boolean verify(String hostname, SSLSession session) {
|
/system/connectivity/shill/ |
mock_device_info.h | 83 MOCK_CONST_METHOD1(SetHostname, bool(const std::string& hostname));
|
/external/autotest/client/cros/netprotos/ |
cros_p2p.py | 34 zeroconf.register_SRV(zeroconf.hostname, CROS_P2P_PROTO, 0, 0, port) 36 zeroconf.register_PTR(self._p2p_domain, zeroconf.hostname) 83 self._zeroconf.hostname + '.' + self._p2p_domain, txts, announce) 119 # The SRV points to a hostname, port, etc. 151 @return: A list of tuples of the form (peer_name, hostname, list_of_IPs, 159 # The SRV points to a hostname, port, etc. 164 # Each service points to a hostname (srvname).
|
/external/autotest/frontend/afe/ |
frontend_test_utils.py | 19 self.hosts = [models.Host.objects.create(hostname=hostname) 20 for hostname in
|
resources.py | 232 query_processor.add_field_selector('hostname') 256 def from_uri_args(cls, request, hostname, **kwargs): 257 return cls(request, models.Host.objects.get(hostname=hostname)) 261 return {'hostname': self.instance.hostname} 270 rep.update({'hostname': self.instance.hostname, 287 queue_entries.set_query_parameters(host=self.instance.hostname) 289 health_tasks.set_query_parameters(host=self.instance.hostname) [all...] |
rpc_interface_unittest.py | 50 hostname='host1') 69 self.assertEquals(set(host['hostname'] for host in hosts), 75 self._check_hostnames(hosts, [host.hostname for host in self.hosts]) 77 hosts = rpc_interface.get_hosts(hostname='host1') 231 host = models.Host.objects.get(hostname='testhost') 308 self.assertEquals(entry_dict['host']['hostname'], 'host1') 345 self.assertEquals(1, rpc_interface.get_num_hosts(hostname='host1', 347 data = rpc_interface.get_hosts(hostname='host1', valid_only=False) 447 shard = models.Shard.objects.create(hostname=shard_hostname) 509 shard1 = models.Shard.objects.create(hostname='shard1' [all...] |