Searched refs:host (Results 101 - 125 of 1683) sorted by relevance

1234567891011>>

/external/autotest/server/site_tests/platform_CompromisedStatefulPartition/
H A Dplatform_CompromisedStatefulPartition.py25 def run_once(self, host, client_autotest):
31 if host.get_board_type() == 'OTHER':
33 autotest_client = autotest.Autotest(host)
34 host.reboot()
37 if not host.run(self.CMD_CORRUPT,
40 host.run('sync', ignore_status=True)
42 host.reboot()
43 host.run('sync', ignore_status=True)
45 if host.path_exists(self.OOBE_FILE):
53 if not host
[all...]
/external/ltp/testcases/network/multicast/mc_gethost/
H A Dmc_gethost.c0 /* host - print information about a host
5 /* DECWRL Header: host.c,v 1.1 89/04/05 15:41:12 vixie Locked $ */
29 struct hostent *host; local
73 if (!(host = gethostbyaddr((char *)b_addr, size, af))) {
80 host = gethostbyname2(arg, af);
82 host = gethostbyname(arg);
83 if (!host) {
88 printf("name: %s\n", host->h_name);
89 if (host
[all...]
/external/autotest/server/
H A Dprofilers.py32 # maps hostname to (host object, autotest.Autotest object, Autotest
33 # install dir), where the host object is the one created specifically
67 for host in self.job.hosts:
68 if host.hostname not in self.job.machines:
69 # job.hosts include all host instances created on the fly.
73 autodir = host.get_autodir()
75 in_use_hosts.add(host.hostname)
78 # determine what valid host objects we already have installed
80 for host, at, profiler_dir in self.installed_hosts.values():
81 if host
[all...]
H A Dsite_host_route.py10 Host Route: A utility for retrieving information about our route to a host
14 def __init__(self, host):
15 self.host = host # Remote host
19 output = self.run_command(["ip", "route", "get", self.host])
29 raise error.TestFail('Cannot find route to host %s' % self.host)
33 Self Host Route: Retrieve host route for the test-host machin
[all...]
/external/autotest/server/self-test/
H A Dautotest_test.py43 host = MockInstallHost()
45 autotest.Autotest.get_installed_autodir(host))
46 host.result = "autodir=/stuff/autotest\n"
48 autotest.Autotest.get_installed_autodir(host))
49 host.result = 'autodir="/stuff/auto test"\n'
51 autotest.Autotest.get_installed_autodir(host))
71 host = MockInstallHost()
74 self.autotest.install(host)
75 self.assertEqual(host.commands[0],
77 self.assertTrue(host
[all...]
/external/autotest/server/cros/
H A Dprovision_actionables.py17 def execute(self, job, host, *args, **kwargs):
21 @param host: A host to run this action against.
45 def execute(self, job, host, *args, **kwargs):
49 @param host: A host to run this action against.
56 return job.run_test(self.test, host=host, *args, **kwargs)
62 def execute(self, job, host, *args, **kwargs):
66 @param host
[all...]
H A Ddark_resume_utils.py33 def __init__(self, proxy, host):
39 @param servo: a servo host connected to the DUT
43 self._host = host
67 def __init__(self, host, duration=0):
71 @param host: the DUT to set up dark resume for
74 self._host = host
81 host.run('mkdir -p %s' % TMP_POWER_DIR)
84 host.run('echo 0 > %s/disable_dark_resume' % TMP_POWER_DIR)
88 dev_contents = host.run('cat %s/dark_resume_devices' % POWER_DEFAULTS,
93 host
[all...]
/external/autotest/server/site_tests/android_Invariants/
H A Dandroid_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')
51 def run_once(self, host=None):
54 @param host: host object representing the device under test.
56 self.host = host
/external/autotest/server/site_tests/moblab_RunSuite/
H A Dmoblab_RunSuite.py25 def run_once(self, host, suite_name):
28 @param host: Moblab Host that will run the suite.
36 board = host.afe.get_hosts()[0].platform
42 stable_version_map = host.afe.get_stable_version_map(
43 host.afe.CROS_IMAGE_TYPE)
48 result = host.run_as_moblab(
58 host.get_file(folder, moblab_logs_dir)
/external/apache-http/src/org/apache/http/impl/cookie/
H A DRFC2109DomainHandler.java75 String host = origin.getHost();
80 if (!domain.equals(host)) {
85 + "\" does not match the host \""
86 + host + "\"");
101 host = host.toLowerCase(Locale.ENGLISH);
102 if (!host.endsWith(domain)) {
105 + "\". Domain of origin: \"" + host + "\"");
107 // host minus domain may not contain any dots
108 String hostWithoutDomain = host
[all...]
H A DBasicDomainHandler.java76 // request-host and domain must be identical for the cookie to sent
78 String host = origin.getHost();
83 if (host.contains(".")) {
87 // domain must match host
88 if (!host.endsWith(domain)) {
92 if (!host.equals(domain)) {
95 + "\". Domain of origin: \"" + host + "\"");
99 if (!host.equals(domain)) {
102 + "\". Domain of origin: \"" + host + "\"");
114 String host
[all...]
/external/autotest/client/common_lib/brillo/
H A Dhal_utils.py8 def has_hal(hal_library_name, host=None, accept_64bit=True, accept_32bit=True):
9 """Detect if the host has the given HAL.
18 @param host: optional host object representing a remote DUT. If None,
26 run = utils.run if host is None else host.run
/external/autotest/contrib/
H A Dhaveservo4 # DUT, if there's a corresponding servo host name, print the DUT's
17 for host in [l.strip() for l in sys.stdin.readlines()]:
18 servo_name = servo_host.make_servo_hostname(host.strip())
20 print host
/external/autotest/server/site_tests/brillo_ADBLogcatTest/
H A Dbrillo_ADBLogcatTest.py17 def run_once(self, host=None):
21 host.adb_run('logcat -d', stdout=logcat_log)
22 result = host.run('dmesg')
/external/autotest/server/site_tests/brillo_KernelHeadsetTest/
H A Dbrillo_KernelHeadsetTest.py20 def run_once(self, host=None):
23 @param host: A host object representing the DUT.
29 result = host.run_output(
39 result = host.run_output('cat /sys/class/switch/h2w/name',
/external/autotest/server/site_tests/stress_ClientTestReboot/
H A Dstress_ClientTestReboot.py17 host = hosts.create_host(client_ip)
18 autotest_client = autotest.Autotest(host)
22 host.reboot()
/external/autotest/server/hosts/
H A Dbase_classes_unittest.py29 host = base_classes.Host.__new__(base_classes.Host)
33 host.__init__()
38 host = base_classes.Host()
41 def install(self, host):
45 installableObj.install.expect_call(host)
47 host.install(installableObj)
55 host = base_classes.Host()
56 self.assertEquals(host.get_wait_up_processes(), set())
64 host = base_classes.Host()
65 self.assertEquals(host
[all...]
/external/autotest/server/site_tests/platform_InstallRecoveryImage/
H A Dplatform_InstallRecoveryImage.py17 def run_once(self, host, image):
18 host.servo.install_recovery_image(image,
24 # Wait for the host to come up.
25 if host.ping_wait_up(timeout=self._RECOVERY_INSTALL_DELAY):
32 host.servo.switch_usbkey('host')
/external/autotest/server/site_tests/platform_SuspendResumeTiming/
H A Dplatform_SuspendResumeTiming.py32 self.host.servo.set('dut_hub1_rst1', 'on')
33 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
45 out_log = self.host.run('tac %s | grep -E %s'
65 out_log = self.host.run(cmd, ignore_status=True).stdout.strip()
99 output =self.host.run('lsusb', ignore_status=True).stdout
103 def run_once(self, host, plug_usb=False):
106 @param host: device under test host.
112 self.host = host
[all...]
/external/curl/lib/vauth/
H A Doauth2.c49 * host[in] - The host name(for OAUTHBEARER).
60 const char *host,
69 if(host == NULL && (port == 0 || port == 80))
72 oauth = aprintf("user=%s\1host=%s\1auth=Bearer %s\1\1", user, host,
75 oauth = aprintf("user=%s\1host=%s\1port=%ld\1auth=Bearer %s\1\1", user,
76 host, port, bearer);
58 Curl_auth_create_oauth_bearer_message(struct Curl_easy *data, const char *user, const char *host, const long port, const char *bearer, char **outptr, size_t *outlen) argument
/external/libmicrohttpd/src/microspdy/
H A Dalstructures.h63 * called host as in HTTP
65 char *host; member in struct:SPDY_Request
/external/autotest/server/site_tests/brillo_CrashLogging/
H A Dbrillo_CrashLogging.py12 # Number of seconds to wait for host.run commands to timeout.
22 def run_once(self, host=None):
25 @param host: host object representing the device under test.
27 if host is None:
29 'a host')
30 self.host = host
33 self.host.run('rm /data/misc/crash_reporter/crash/*',
37 result = self.host
[all...]
/external/autotest/server/site_tests/buffet_PrivetInfo/
H A Dbuffet_PrivetInfo.py41 def warmup(self, host):
43 config.restart_with_config(host=host)
46 def cleanup(self, host):
47 buffet_config.naive_restart(host=host)
50 def run_once(self, host):
51 helper = privet_helper.PrivetHelper(host=host)
/external/openssh/
H A Dauth-sia.c57 const char *host; local
59 host = get_canonical_hostname(options.use_dns);
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user,
70 authctxt->user, host);
86 const char *host; local
88 host = get_canonical_hostname(options.use_dns);
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name,
102 pw->pw_name, host);
106 pw->pw_name, host);
/external/autotest/frontend/client/src/autotest/afe/
H A DHostDataSource.java33 Host host = Host.fromJsonObject(row);
34 processHost(host);
35 hosts.add(host);
40 protected void processHost(JSONObject host) { argument
41 host.put(LOCKED_TEXT, AfeUtils.getLockedText(host));
43 JSONString jsonPlatform = host.get("platform").isString();
48 JSONArray labels = host.get("labels").isArray();
60 host.put(OTHER_LABELS, new JSONString(labelString.toString()));
63 new JSONArrayList<JSONString>(host
[all...]

Completed in 2057 milliseconds

1234567891011>>