Searched refs:host (Results 51 - 75 of 1683) sorted by relevance

1234567891011>>

/external/autotest/server/hosts/
H A Dservo_repair.py16 Verifier to trigger a servo host update, if necessary.
23 def verify(self, host):
24 # First, only run this verifier if the host is in the physical lab.
27 if host.is_in_lab() and host.job and host.job.in_lab:
28 host.update_image(wait_for_update=False)
32 return 'servo host software is up-to-date'
44 def _get_config_val(host, config_file, attr):
46 Get the `attr` for `host` fro
[all...]
H A Dcros_repair.py33 def verify(self, host):
43 info = host.get_power_supply_info()
91 def verify(self, host):
97 rv = host.run(command=command, ignore_status=True)
111 def verify(self, host):
117 output = host.run(command=command, ignore_status=True).stdout
124 output = host.run(command=command, ignore_status=True).stdout
141 creates a marker file named `host.PROVISION_FAILED`. The file is
149 def verify(self, host):
150 result = host
[all...]
/external/autotest/server/
H A Dcrashcollect.py29 """Context manager for temporary directory on remote host."""
31 def __init__(self, host):
32 self.host = host
36 return '<{cls} host={this.host!r}, tmpdir={this.tmpdir!r}>'.format(
40 self.tmpdir = (self.host
46 self.host.run('rm -rf %s' % (pipes.quote(self.tmpdir),))
49 def collect_log_file(host, log_path, dest_path, use_tmp=False, clean=False):
62 @param host
[all...]
H A Dadb_utils.py8 The functions here calls methods in afe_utils to get host attributes and other
23 def install_apk_from_build(host, apk, build_artifact, package_name=None,
27 @param host: An ADBHost object to install apk.
43 if host.is_apk_installed(package_name):
47 # Pull devserver_url given ARC++ enabled host
49 host.hostname).url()
54 host, host.job_repo_url_attribute)
57 'The host %s has no attribute %s. `install_apk_from_build` '
59 (host
[all...]
/external/autotest/server/site_tests/brillo_WebservdSanity/
H A Dbrillo_WebservdSanity.py19 def run_once(self, host=None):
23 host.run('stop %s' % _WEBSERVD_TEST_CLIENT)
24 process_utils.pkill_process(_WEBSERVD_TEST_CLIENT, host=host)
26 host.run('start %s' % _WEBSERVD_TEST_CLIENT)
27 pid = int(host.run('pgrep %s' % _WEBSERVD_TEST_CLIENT).stdout.strip())
32 '.*Webserver is online.*', process_id=pid, host=host)
35 host.adb_run('forward tcp:8998 tcp:80')
/external/autotest/server/site_tests/platform_InstallFW/
H A Dplatform_InstallFW.py12 def run_once(self, host=None, fw_type=None, fw_path=None, fw_name=None):
15 @param host: host to run on
31 host.send_file(fw_src, fw_dst)
36 host.run("sudo /bin/sh %s --mode recovery --update_main "
39 host.run("sudo /usr/sbin/flashrom -p host -w %s"
43 host.run("sudo /bin/sh %s --mode recovery --update_ec "
46 host.run("sudo /usr/sbin/flashrom -p ec -w %s"
49 host
[all...]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dmockhttprequest.py22 def __init__(self, command, host, path, request_body, headers):
27 host: a host name (e.g. 'www.google.com').
33 self.host = host
40 return '%s %s%s %s' % (self.command, self.host, self.path,
44 return repr((self.command, self.host, self.path, self.request_body,
55 def matches(self, command=None, host=None, path=None):
58 (host is None or host
[all...]
/external/autotest/server/brillo/
H A Dhost_utils.py27 def run_in_background(host, cmd):
30 @param host: A host object representing the DUT.
36 return int(host.run_output(background_cmd).strip())
39 def wait_for_process(host, pid, timeout=-1):
42 @param host: A host object representing the DUT.
49 return host.run(wait_cmd, ignore_status=True).exit_status == 0
53 def connect_to_ssid(host, ssid, passphrase):
56 @param host
[all...]
/external/autotest/server/site_tests/audio_AudioRoutingUSB/
H A Daudio_AudioRoutingUSB.py17 def get_opened_device(self, host):
19 output = host.run('lsof -Fn +D /dev/snd', ignore_status=True).stdout
22 def run_once(self, host):
24 host.run('aplay /dev/zero </dev/null >/dev/null 2>&1 &')
25 self.run_test_while_audio_is_playing(host)
27 host.run('killall aplay')
29 def run_test_while_audio_is_playing(self, host):
30 host.servo.set('dut_usb2_prtctl', 'on')
33 host.servo.set('usb_mux_oe2', 'off')
35 dev1 = self.get_opened_device(host)
[all...]
/external/autotest/server/site_tests/provision_FirmwareUpdate/
H A Dprovision_FirmwareUpdate.py21 def stage_image_to_usb(self, host):
25 @param host: a CrosHost object of the machine to update.
27 info = host.host_info_store.get()
32 host.servo.image_to_servo_usb(
33 host.stage_image_for_servo(info.build))
37 def get_ro_firmware_ver(self, host):
38 """Get the RO firmware version from the host."""
39 result = host.run('crossystem ro_fwid', ignore_status=True)
47 def get_rw_firmware_ver(self, host):
48 """Get the RW firmware version from the host
[all...]
/external/syslinux/utils/
H A Dgethostip.c55 struct hostent *host; local
90 host = gethostbyname(argv[i]);
91 if (!host) {
97 if (host->h_addrtype != AF_INET || host->h_length != 4) {
105 printf("%s%s", sep, host->h_name);
111 ((unsigned char *)host->h_addr)[0],
112 ((unsigned char *)host->h_addr)[1],
113 ((unsigned char *)host->h_addr)[2],
114 ((unsigned char *)host
[all...]
/external/autotest/server/site_tests/platform_Vpd/
H A Dplatform_Vpd.py39 def get_stat(self, host, path):
40 """Return user, group and permissions of file on host.
42 @param host: the host machine to test
48 if not self.file_exists(host, path):
51 user = host.run('stat -c %U ' + path).stdout.strip()
52 group = host.run('stat -c %G ' + path).stdout.strip()
53 mode = host.run('stat -c %a ' + path).stdout.strip()
57 def file_exists(self, host, path):
60 @param host
[all...]
/external/autotest/server/site_tests/cheets_CTS/
H A Dcontrol.arm.android.core.tests.libcore.package.com20 host = hosts.create_host(machine)
23 host=host,
H A Dcontrol.x86.android.core.tests.libcore.package.com20 host = hosts.create_host(machine)
23 host=host,
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DKeepAliveHttpsTransportSE.java27 private final String host; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { argument
34 super(host, port, file, timeout);
35 this.host = host;
51 serviceConnection = new HttpsServiceConnectionSEIgnoringConnectionClose(host, port,
/external/autotest/contrib/
H A Dmove_cq_hosts.sh15 ./cli/atest host list --web=$FROM_HOST --parse $1 | awk -F '|' '{ print $5 }' | sed 's/Labels=//' | sed 's/, /,/g'
19 ./cli/atest host list --web=$FROM_HOST $1 | sed 1d | awk '{ print $4; }'
23 ./cli/atest host mod --web=$FROM_HOST -l $1
35 ./cli/atest host create --web=$TO_HOST -b $2 $1
39 ./cli/atest host delete --web=$FROM_HOST $1
42 HOSTS_TO_MOVE=$(./cli/atest host list --web=$FROM_HOST -b $POOL | sed 1d | awk '{ print $1 }')
44 for host in $HOSTS_TO_MOVE
46 # if ! silent lock_host $host; then echo $host already handled; continue; fi
47 LABELS=$(host_labels $host)
[all...]
/external/autotest/server/site_tests/power_BrightnessResetAfterReboot/
H A Dpower_BrightnessResetAfterReboot.py17 def run_once(self, host, client_autotest):
21 if host.has_internal_display() is None:
24 autotest_client = autotest.Autotest(host)
25 host.reboot()
30 host)
37 self.backlight_control('%s=0' % (self.SET_BRIGHTNESS_FLAG), host)
38 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 0:
41 self.backlight_control('%s=100' % (self.SET_BRIGHTNESS_FLAG), host)
42 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 100:
46 host
[all...]
/external/nist-sip/java/gov/nist/core/
H A DHostPort.java47 // host / ipv4/ ipv6/
48 /** host field
50 protected Host host; field in class:HostPort
61 host = null;
76 host.encode(buffer);
92 return port == that.port && host.equals(that.host);
96 * @return host field
99 return host;
124 * Set the host membe
[all...]
/external/apache-http/android/src/android/net/http/
H A DRequestFeeder.java28 Request getRequest(HttpHost host); argument
31 * @return true if a request for this host is available
33 boolean haveRequest(HttpHost host); argument
/external/autotest/server/site_tests/generic_RebootTest/
H A Dgeneric_RebootTest.py13 def run_once(self, host):
14 host.reboot()
/external/autotest/server/site_tests/platform_CryptohomeMigrateChapsToken/
H A Dplatform_CryptohomeMigrateChapsToken.py17 def run_once(self, host, baseline_version=None):
20 info = host.host_info_store.get()
25 board_name = host.get_board().split(':')[1]
29 self.job.run_test('provision_AutoUpdate', host=host,
31 client_at = autotest.Autotest(host)
35 self.job.run_test('provision_AutoUpdate', host=host,
/external/autotest/server/site_tests/platform_InstallTestImage/
H A Dplatform_InstallTestImage.py11 def run_once(self, host, image_url):
12 """Install image from URL `image_url` on `host`.
14 @param host Host object representing DUT to be re-imaged.
18 host.servo_install(image_url=image_url)
/external/jcommander/src/test/resources/
H A DMessageBundle_en_US.properties19 host = Host
/external/autotest/server/cros/
H A Dusb_mux_controller.py45 def __init__(self, host):
48 @param host: Host where the test will be run.
51 self.host = host
82 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S0)
83 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S1)
84 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S2)
85 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_EN)
97 if 'gpio' + pin not in self.host.servo.system_output(LS_GPIO_DIRECTORY):
98 self.host
[all...]
/external/autotest/server/site_tests/brillo_FastbootTest/
H A Dbrillo_FastbootTest.py14 def run_once(self, host=None):
17 @param host: A host object representing the DUT.
23 if not host.is_up():
28 host.ensure_bootloader_mode()
35 host.ensure_adb_mode()

Completed in 560 milliseconds

1234567891011>>