Searched refs:host (Results 276 - 300 of 1683) sorted by relevance

<<11121314151617181920>>

/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/
H A DStubSocketFactory.java25 * requested host address and port number.
48 public Socket createSocket(InetAddress host, int port) throws IOException { argument
49 this.requestedHost = host;
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/socket/
H A DStubSocketFactory.java27 * requested host address and port number.
50 public Socket createSocket(InetAddress host, int port) throws IOException { argument
51 this.requestedHost = host;
/external/nist-sip/java/javax/sip/
H A DIOExceptionEvent.java10 public IOExceptionEvent(Object source, String host, int port, argument
13 mHost = host;
/external/vogar/bin/
H A Dvogar-android17 ANDROID_HOST_OUT=${OUT_DIR:-$ANDROID_BUILD_TOP/out}/host/linux-x86
/external/autotest/client/common_lib/cros/tendo/
H A Dn_faced_peerd_helper.py33 def __init__(self, num_instances, localhost_addr='127.0.0.1', host=None):
34 """Construct an NFacedPeerd instance (possibly on a remote host).
41 @param host: host object if we should start NFacedPeerd on a remote
42 host.
49 host=host)
51 self._host = host
69 host=self._host).response
73 """Start an instance of NFacedPeerd on the host
[all...]
/external/autotest/server/
H A Dsite_host_attributes.py41 We also consult the AFE database for its labels which are all treated as host
75 def __init__(self, host):
78 We look up the host in both the hardcoded configuration and the AFE
82 host: Host name to find attributes for.
85 if host in private_host_attributes:
86 logging.info('Including private_host_attributes file for %s', host)
87 self._add_attributes(private_host_attributes[host])
89 logging.info("Including labels for %s from database", host)
90 host_obj = models.Host.valid_objects.get(hostname=host)
122 """Return a list of non-False attributes for this host
[all...]
H A Dsite_autotest.py34 """Get repo to use for packages from host attribute, if possible.
37 from which to source packages when running a test on that host.
38 If self.host is set, attempt to look this attribute up by calling out
41 @returns value of the 'job_repo_url' host attribute, if present.
45 if self.host:
47 hosts = afe.get_hosts(hostname=self.host.hostname)
49 logging.info('Get job repo url from host attributes: %s',
52 logging.warning("No %s for %s", JOB_REPO_URL, self.host)
65 from which to source packages when running a test on that host.
79 # set this as the repo_url for the host
[all...]
/external/autotest/server/site_tests/brillo_Invariants/
H A Dbrillo_Invariants.py24 self.host.run('test %s -%s %s' % ('!' if negative else '', test, path))
37 tokens = self.host.run_output('ls -LZ %s' % path).split()
47 hardware = self.host.run_output('getprop ro.hardware')
66 def run_once(self, host=None):
69 @param dut: host object representing the device under test.
71 self.host = host
/external/autotest/server/site_tests/firmware_ECKeyboardReboot/
H A Dfirmware_ECKeyboardReboot.py27 def initialize(self, host, cmdline_args):
28 super(firmware_ECKeyboardReboot, self).initialize(host, cmdline_args)
31 self.host = host
34 if not self.host.ping_wait_down(timeout=10):
39 if not self.host.wait_up(timeout=60):
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dsslproxy.py38 host = connection.get_servername()
39 if host:
41 handler.server.get_certificate(host))
59 host = handler.connection.get_servername()
60 if not host:
63 raise certutils.Error('SSL handshake error %s: %s' % (host, str(v)))
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
H A DFakeSSLSession.java25 final String host; field in class:FakeSSLSession
27 public FakeSSLSession(String host) { argument
28 this.host = host;
44 return host.getBytes();
72 return host;
/external/curl/tests/server/
H A Dresolve.c65 const char *host = NULL; local
91 host = argv[arg++];
94 if(!host) {
95 puts("Usage: resolve [option] <host>\n"
114 he = gethostbyname(host);
140 rc = (getaddrinfo)(host, "80", &hints, &ai);
151 printf("Resolving %s '%s' didn't work\n", ipv_inuse, host);
/external/c-ares/
H A Dares_gethostbyname.c74 struct hostent *host);
77 static int file_lookup(const char *name, int family, struct hostent **host);
78 static void sort_addresses(struct hostent *host,
80 static void sort6_addresses(struct hostent *host,
107 /* Allocate and fill in the host query structure. */
135 struct hostent *host; local
161 status = file_lookup(hquery->name, hquery->want_family, &host);
168 end_hquery(hquery, status, host);
183 struct hostent *host = NULL; local
190 status = ares_parse_a_reply(abuf, alen, &host, NUL
227 end_hquery(struct host_query *hquery, int status, struct hostent *host) argument
312 ares_gethostbyname_file(ares_channel channel, const char *name, int family, struct hostent **host) argument
338 file_lookup(const char *name, int family, struct hostent **host) argument
421 sort_addresses(struct hostent *host, const struct apattern *sortlist, int nsort) argument
477 sort6_addresses(struct hostent *host, const struct apattern *sortlist, int nsort) argument
[all...]
H A Dares_gethostbyaddr.c67 struct hostent *host);
68 static int file_lookup(struct ares_addr *addr, struct hostent **host);
114 struct hostent *host; local
127 status = file_lookup(&aquery->addr, &host);
134 end_aquery(aquery, status, host);
147 struct hostent *host; local
157 (int)addrlen, AF_INET, &host);
163 (int)addrlen, AF_INET6, &host);
165 end_aquery(aquery, status, host);
174 struct hostent *host)
173 end_aquery(struct addr_query *aquery, int status, struct hostent *host) argument
182 file_lookup(struct ares_addr *addr, struct hostent **host) argument
[all...]
/external/autotest/server/site_tests/firmware_StandbyPowerConsumption/
H A Dfirmware_StandbyPowerConsumption.py28 def initialize(self, host, cmdline_args):
30 .initialize(host, cmdline_args))
53 """Setting USB hub to make powerplay visible to servo host.
55 @param on: To make powerplay visible to servo host or not.
58 self.host.servo.switch_usbkey('host')
59 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
60 self.host.servo.set('dut_hub1_rst1', 'off')
62 self.host.servo.switch_usbkey('dut')
63 self.host
[all...]
/external/autotest/server/site_tests/platform_ExternalUsbPeripherals/
H A Dplatform_ExternalUsbPeripherals.py29 lsusb_output = self.host.run('lsusb').stdout.strip()
56 self.host.servo.set('dut_hub1_rst1', reset)
84 while(self.host.run(command, ignore_status=True).exit_status != 0):
95 """Calls the host method suspend with suspend_time argument.
101 self.host.suspend(suspend_time=suspend_time)
111 boot_id = self.host.get_boot_id()
114 self.host.test_wait_for_sleep(_LONG_TIMEOUT)
126 self.host.test_wait_for_resume(boot_id, _LONG_TIMEOUT)
132 boot_id = self.host.get_boot_id()
134 self.host
[all...]
/external/autotest/scheduler/
H A Dprejob_task.py8 repair will run anytime the host needs a repair, which could be pre or post
12 All prejob tasks must have a host, though they may not have an HQE. If a
15 host=C1, unlocked, is_active=0, is_complete=0, type=Verify
17 of type=Verify, against the C1 host. While the special task is running
28 repair the host
42 the host, is we haven't already tried repairing it more than the
43 max_repair_limit. When this happens, the host will remain in whatever status
47 If we have already tried repairing the host too many times, the PreJobTask
48 will flip the host to 'RepairFailed' in its epilog, and it will remain in this
52 in the Queued state and setting its host_id to None, so it gets a new host
[all...]
/external/autotest/server/site_tests/display_Resolution/
H A Ddisplay_Resolution.py44 def run_once(self, host, test_mirrored=False, test_suspend_resume=False,
49 if test_lid_close_open and host.servo is None:
50 raise error.TestError('Invalid servo object found on the host.')
51 if test_lid_close_open and not host.get_board_type() == 'CHROMEBOOK':
53 if test_mirrored and not host.get_board_type() == 'CHROMEBOOK':
57 board_name = host.get_board().split(':')[1]
62 factory = remote_facade_factory.RemoteFacadeFactory(host)
64 chameleon_board = host.chameleon
90 if not edid.is_edid_supported(host, width, height):
96 host
[all...]
/external/autotest/server/site_tests/brillo_ProcLibMemoryInventory/
H A Dbrillo_ProcLibMemoryInventory.py64 def report_procs(self, host):
71 @param host: a host object representing the DUT.
76 procrank_output = host.run_output(PROCRANK_CMD).splitlines()
112 def report_libs(self, host):
119 @param host: a host object representing the DUT.
124 librank_output = host.run_output(LIBRANK_CMD).splitlines()
155 def run_once(self, host):
158 @param host
[all...]
/external/autotest/server/site_tests/platform_TotalMemory/
H A Dplatform_TotalMemory.py28 return self.host.run('ls %s' % _CHROME_PATH,
40 mem_total = self.host.read_from_meminfo(key)
46 def run_once(self, host, reboot_counts):
47 self.host = host
50 self.autotest_client = autotest.Autotest(self.host)
54 self.host.reboot()
/external/autotest/server/site_tests/provision_AutoUpdate/
H A Dprovision_AutoUpdate.py25 def initialize(self, host, value, force=False, is_test_na=False):
28 @param host: The host object to update to |value|.
29 @param value: The build type and version to install on the host.
47 def run_once(self, host, value, force=False):
50 @param host: The host object to update to |value|.
51 @param value: The host object to provision with a build corresponding
59 logging.debug('Start provisioning %s to %s', host, value)
62 # If the host i
[all...]
/external/autotest/site_utils/
H A Des_reindex.py11 usage: es_reindex.py [-h] [--host HOST] [--port PORT] [--old OLD]
16 --host HOST name of ES server.
36 parser.add_argument('--host', type=str, dest='host',
51 result = autotest_es.execute_query(index=options.old, host=options.host,
57 (options.old, options.new, options.host, options.port))
59 client = Elasticsearch(hosts=[{'host': options.host, 'port': options.port}])
64 result = es.execute_query(index=options.new, host
[all...]
/external/libmicrohttpd/doc/chapters/
H A Dtlsauthentication.inc386 struct Hosts *host;
397 for (host = hosts; NULL != host; host = host->next)
398 if (0 == strncmp (name, host->hostname, name_len))
400 if (NULL == host)
412 *pkey = host->key;
414 *pcert = &host->pcrt;
434 struct Hosts *host;
[all...]
/external/autotest/server/site_tests/brillo_Gtests/
H A Dbrillo_Gtests.py35 def initialize(self, host=None, gtest_suites=None, use_whitelist=False,
37 if not afe_utils.host_in_lab(host):
41 if host.get_board_name() in NATIVE_ONLY_BOARDS:
43 host, BRILLO_NATIVE_TESTS_FILE_FMT, 'nativetests')
45 self._install_nativetests(host,
50 def _install_nativetests(self, host, test_file_format, artifact):
58 @param host: host object to install the nativetests onto.
62 info = host.host_info_store.get()
63 ds = dev_server.AndroidBuildServer.resolve(info.build, host
[all...]
/external/autotest/server/site_tests/audio_AudioARCPlayback/
H A Daudio_AudioARCPlayback.py33 def run_once(self, host, source_id, sink_id, recorder_id,
37 @param host: device under test, a CrosHost.
47 self.host = host
50 not audio_test_utils.has_internal_speaker(host)):
61 host, no_chrome=True, install_autotest=False,
65 host.chameleon.setup_and_reset(self.outputdir)
68 factory, host)
97 host, audio_facade, self.resultsdir, 'after_binding')
121 host, audio_facad
[all...]

Completed in 6996 milliseconds

<<11121314151617181920>>