Searched refs:host (Results 126 - 150 of 1683) sorted by relevance

1234567891011>>

/external/autotest/server/cros/packet_generation/
H A DIP_utils.py20 def __init__(self, host):
23 @param host: Router host object.
26 self.host = host
27 self.install_path = self.host.run('mktemp -d').stdout.rstrip()
36 ap_sshhost = ssh_host.SSHHost(hostname=self.host.hostname)
43 self.host.run('tar -xvf %s -C %s' % (scapy, self.install_path))
44 self.host.run('cd %s; %s' % (self.install_path, SCAPY_INSTALL_COMMAND))
50 @param host
[all...]
/external/autotest/server/site_tests/logging_GenerateCrashFiles/
H A Dlogging_GenerateCrashFiles.py31 out = self.host.run('ls %s' % self.CRASH_DIR, ignore_status=True)
42 if '0' == self.host.run("du -h %s" % file_path).stdout[:1]:
53 self.host.run('rm %s' % self.CRASH_DIR + '/' + crash_file)
55 def run_once(self, host, crash_cmd, crash_files, prefix):
56 self.host = host
59 self.host.run('sync', ignore_status=True)
61 file_list = self.host.run('ls %s' % self.CRASH_DIR, ignore_status=True)
65 self.host.run(crash_cmd, ignore_status=True,
70 host
[all...]
/external/autotest/server/site_tests/platform_PowerStatusStress/
H A Dplatform_PowerStatusStress.py40 if not self.host.ping_wait_down(timeout=suspend_timeout):
53 if not self.host.wait_up(timeout=resume_timeout):
64 self.host.servo.lid_close()
68 self.host.suspend(suspend_time=_SUSPEND_TIME)
73 self.host.servo.lid_open()
75 self.host.servo.power_key(_WAKE_PRESS_IN_SEC)
81 self.host.power_on()
82 self.host.servo.lid_open()
96 self.host.power_on()
98 self.host
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookieOrigin.java50 private final String host; field in class:CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) { argument
57 if (host == null) {
61 if (host.trim().length() == 0) {
72 this.host = host.toLowerCase(Locale.ENGLISH);
83 return this.host;
105 buffer.append(this.host);
/external/autotest/client/common_lib/cros/graphite/
H A Dstatsd_mock.py12 def __init__(self, host, port):
17 def set_defaults(cls, host, port):
/external/autotest/client/common_lib/cros/tendo/
H A Dpeerd_config.py26 def confirm_peerd_up(service_name=SERVICE_NAME, timeout_seconds=10, host=None):
33 @param host: Host object if peerd is running on a remote host.
40 'Ping', host=host, tolerate_failures=True)
63 def restart_with_config(self, host=None, timeout_seconds=10):
66 @param host: Host object if peerd is running on a remote host.
71 run = utils.run if host is None else host
[all...]
/external/autotest/client/common_lib/hosts/
H A Dbase_classes_unittest.py21 host = base_classes.Host()
22 self.assertRaises(NotImplementedError, host.run_output, "fake command")
27 host = base_classes.Host()
28 host.hostname = 'unittest-host'
32 host.run.expect_call('df -PB 1000000 /foo | tail -1').and_return(
35 host.check_diskspace, '/foo', 0.2)
36 host.run.expect_call('df -PB 1000000 /foo | tail -1').and_return(
38 host.check_diskspace('/foo', 0.1)
/external/autotest/contrib/
H A Dprint_host_labels.py15 host = factory.create_host(sys.argv[1]) variable
16 labels = host.get_labels()
/external/autotest/server/cros/multimedia/
H A Dkiosk_facade_adapter.py9 The Autotest host object representing the remote DUT, passed to this
13 def __init__(self, host, remote_facade_proxy):
16 @param host: Host object representing a remote host.
19 self._client = host
/external/autotest/server/cros/
H A Dtime_util.py8 def get_datetime_float(host):
10 Returns host's system time in seconds since epoch.
12 @param host: an Autotest host object.
18 r = host.run('date +%s.%N')
/external/autotest/server/hosts/
H A Dcommon_label.py19 def generate_labels(self, host):
20 return [host.get_os_type()]
H A Dremote_unittest.py11 host = remote.RemoteHost("myhost")
12 self.assertEqual(host.hostname, "myhost")
/external/autotest/server/site_tests/android_CrashLogging/
H A Dandroid_CrashLogging.py12 # Number of seconds to wait for host.run commands to timeout.
24 def run_once(self, host=None):
27 @param host: host object representing the device under test.
29 if host is None:
31 'a host')
32 self.host = host
35 self.host.run('rm /data/tombstones/tombstone_*',
39 result = self.host
[all...]
/external/autotest/server/site_tests/brillo_Keymaster/
H A Dbrillo_Keymaster.py16 def run_once(self, host=None):
19 @param host: A host object representing the DUT.
24 host.run(self.TEST_EXECUTABLE)
/external/autotest/server/site_tests/brillo_Minijail/
H A Dbrillo_Minijail.py16 def run_once(self, host=None):
19 @param host: A host object representing the DUT.
24 host.run(self.TEST_EXECUTABLE)
/external/autotest/server/site_tests/firmware_FastbootReboot/
H A Dfirmware_FastbootReboot.py23 def initialize(self, host, cmdline_args, dev_mode=False):
24 super(firmware_FastbootReboot, self).initialize(host, cmdline_args)
29 result = self.faft_client.host.run_shell_command_get_output(
40 self.faft_client.host.run_shell_command('adb reboot bootloader')
50 self.faft_client.host.run_shell_command('fastboot reboot')
56 self.faft_client.host.run_shell_command('adb reboot bootloader')
64 self.faft_client.host.run_shell_command('fastboot reboot-bootloader')
71 self.faft_client.host.run_shell_command('fastboot continue')
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
H A Dfirmware_FlashServoKeyboardMap.py19 def run_once(self, host=None):
20 servo = host.servo
21 if host.run('hash dfu-programmer', ignore_status=True).exit_status:
35 result = host.run('lsusb -d 03eb:').stdout.strip()
47 host.send_file(local_path, '/tmp')
49 host.run('dfu-programmer atmega32u4 erase --force')
50 host.run('dfu-programmer atmega32u4 flash /tmp/keyboard.hex')
59 result = host.run('lsusb -d 03eb:').stdout.strip()
/external/autotest/server/site_tests/platform_BootDevice/
H A Dplatform_BootDevice.py11 def run_once(self, host=None):
12 self.client = host
/external/autotest/server/site_tests/provision_FactoryImage/
H A Dprovision_FactoryImage.py15 def run_once(self, host, image_url):
16 """Install image from URL `image_url` on `host`.
18 @param host Host object representing DUT to be re-imaged.
23 host.servo_install(
/external/autotest/server/site_tests/telemetry_ScrollingActionTests/
H A Dtelemetry_ScrollingActionTests.py16 def run_once(self, host=None):
19 @param host: host we are running telemetry on.
21 telemetry = telemetry_runner.TelemetryRunner(host)
/external/autotest/server/tests/cleanup_test/
H A Dcleanup_test.py7 def execute(self, host):
9 host.cleanup()
/external/autotest/server/tests/reinstall/
H A Dreinstall.py9 def execute(self, host):
11 afe_utils.machine_install_and_update_labels(host)
/external/autotest/server/tests/verify_test/
H A Dverify_test.py7 def execute(self, host):
9 host.verify()
/external/clang/
H A Dclang.mk3 CLANG_HOST_BUILD_MK := $(CLANG_ROOT_PATH)/clang-host-build.mk
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsServiceConnectionSEIgnoringConnectionClose.java8 public HttpsServiceConnectionSEIgnoringConnectionClose(String host, int port, String file, argument
11 super(host, port, file, timeout);

Completed in 1361 milliseconds

1234567891011>>