Home
last modified time | relevance | path

Searched refs:_host (Results 1 – 25 of 74) sorted by relevance

123

/external/autotest/server/site_tests/logging_KernelCrashServer/
Dlogging_KernelCrashServer.py25 self._host.run('rm -f "%s"; cp "%s" "%s" 2>/dev/null; true' %
29 return self._host.run('ls "%s"' % f,
43 self._host.run('mv "%s" "%s.autotest_backup"' % (dst, dst))
46 self._host.send_file(full_src, dst)
48 self._host.run('touch "%s"' % dst)
49 self._host.run('chown "%s" "%s"' % (owner, dst))
54 self._host.run('rm -f "%s"' % f)
56 self._host.run('mv "%s.autotest_backup" "%s"' % (f, f))
75 always_regen = self._host.run('[ -r /etc/send_metrics ]',
77 is_devimg = self._host.run('[ -r /root/.leave_core ]',
[all …]
/external/autotest/server/site_tests/network_WiFi_SuspendStress/
Dnetwork_WiFi_SuspendStress.py41 out = self._host.run('cryptohome --action=status').stdout
60 if self._host.servo.get('lid_open') == 'not_applicable':
63 self._host.servo.lid_close()
64 self._host.wait_down(timeout=_DELAY)
65 self._host.servo.lid_open()
66 self._host.wait_up(timeout=_DELAY)
75 self._host.run('touch %s' % _CLIENT_TERMINATION_FILE_PATH)
79 self._host = self.context.client.host
81 if not self._host.servo:
88 if self._host.servo.get('cold_reset') == 'on':
[all …]
/external/autotest/server/site_tests/power_USBHotplugInSuspend/
Dpower_USBHotplugInSuspend.py23 self._host.servo.set('prtctl4_pwren', 'on')
25 self._host.servo.set('prtctl4_pwren', 'off')
26 time.sleep(self._host.servo.USB_POWEROFF_DELAY)
35 lines = self._host.run('lsusb').stdout.strip().split('\n')
47 client_at = autotest.Autotest(self._host)
68 if not self._host.ping_wait_down(_SUSPEND_TIMEOUT):
76 if not self._host.wait_up(self._host.RESUME_TIMEOUT):
98 self._host.servo.switch_usbkey(self._init_usbkey_direction)
106 self._host = host
107 self._init_usbkey_power = self._host.servo.get('prtctl4_pwren')
[all …]
/external/autotest/server/cros/
Ddebugd_dev_tools.py192 self._host = host
246 state = query_dev_tools_state(self._host)
288 self._host.run('mkdir -p "%s"' % os.path.dirname(temp_path))
289 self._host.run('cp -r "%s" "%s"' % (path, temp_path),
307 self._host.run('rm -rf "%s"' % path)
308 self._host.run('cp -r "%s" "%s"' % (self._get_temp_path(path),
349 _send_debugd_command(self._host, 'RemoveRootfsVerification')
350 self._host.reboot()
378 platform = self._host.get_platform().lower()
382 _send_debugd_command(self._host, 'EnableBootFromUsb')
[all …]
Ddark_resume_utils.py43 self._host = host
55 _wake_dut(self._host)
74 self._host = host
118 self._host.run('umount %s' % POWER_DIR)
121 self._host.run('restart powerd')
127 return DarkResumeSuspend(self._client_proxy, self._host)
140 _wake_dut(self._host)
159 client_at = autotest.Autotest(self._host)
162 proxy = self._host.rpc_server_tracker.xmlrpc_connect(
Dmoblab_test.py34 self._host = host
35 self._host.install_boto_file(boto_path)
37 self._host.wait_afe_up()
38 self._host.find_and_add_duts()
59 self._host.run('sed -i /image_storage_server/d %s' %
61 self._host.run("sed -i '/\[CROS\]/ a\image_storage_server: "
Dremote_command.py16 self._host = host
25 self._result = self._host.run(self._cmd, ignore_status=True)
60 self._host = host
61 self._thread = _HelperThread(self._host, cmd)
83 self._host.run("pkill %s %s" % (signal_arg, self._command_name),
Dgoofy_client.py131 self._host = host
147 self._host.ping_wait_up(timeout_min)
149 self._client = self._host.rpc_server_tracker.jsonrpc_connect(
168 self._host.run('factory clear')
272 self._host.job.record('INFO', None, None,
409 factory_bug_log = self._host.run('factory_bug').stderr
426 self._host.get_file(factory_bug_tar, local_factory_bug_tar)
/external/autotest/server/hosts/
Dbootloader.py28 self._host = weakref.ref(host)
33 if self._host().job:
34 self._host().job.last_boot_tag = None
39 if self._host().job:
40 self._host().job.last_boot_tag = title
46 if self._host() is None:
49 tmpdir = self._host().get_tmp_dir()
50 self._host().send_file(os.path.abspath(os.path.join(
67 return self._host().run(cmd).stdout
Drpc_server_tracker.py40 self._host = host
81 tunnel_proc = self._host.rpc_port_forward(port, local_port)
138 remote_pid = self._host.run_background(remote_cmd)
140 self._host.hostname, remote_pid)
232 self._host.run("pkill -f '%s'" % remote_name, ignore_status=True)
239 running_processes = self._host.run(
250 self._host.rpc_port_disconnect(tunnel_proc, port)
/external/autotest/server/cros/network/
Dpacket_capturer.py162 self._host = host
183 self._host.run("%s dev %s del" % (self._cmd_iw, device))
186 self._host.run("%s link set %s down" % (self._cmd_ip, device))
187 self._host.run("%s dev %s del" % (self._cmd_iw, device))
208 self._host.run('%s dev %s del' % (self._cmd_iw, monitor_device),
210 result = self._host.run('%s phy %s interface add %s type monitor' %
241 self._host.run("%s link set %s up" % (self._cmd_ip, monitor_device))
242 self._host.run("%s dev %s set freq %s" % (self._cmd_iw,
260 self._host.run('%s dev %s del' % (self._cmd_iw, monitor_device),
262 result = self._host.run('%s dev %s interface add %s type monitor' %
[all …]
Dattenuator_controller.py207 self._host = host
253 self._host.run('echo 7 > %s' % gpio_pin.pinmux_file)
259 result = self._host.run('cat %s' % gpio_pin.pinmux_file)
287 self._host.run('echo %s > %s' % (gpio_pin.offset, sysfile),
291 self._host.run('echo out > %s' % gpio_pin.direction_file)
297 self._host.close()
350 self._host.run('echo %d > %s' %
/external/autotest/server/site_tests/network_WiFi_RoamSuspendEndToEnd/
Dnetwork_WiFi_RoamSuspendEndToEnd.py46 if self._host.servo.get('lid_open') == 'not_applicable':
50 self._host.servo.lid_close()
51 self._host.wait_down(timeout=timeout_seconds)
53 self._host.servo.lid_open()
54 self._host.wait_up(timeout=timeout_seconds)
64 self._host = host
66 if not self._host.servo:
73 client_at = autotest.Autotest(self._host)
/external/autotest/server/site_tests/platform_Powerwash/
Dplatform_Powerwash.py25 self._host = host
31 self._host.run('echo car > %s' % STATEFUL_MARKER_FILE)
35 self._host.reboot()
39 marker = self._host.run('[ -e %s ]' % STATEFUL_MARKER_FILE,
63 self._host.run("echo '%s' > %s" % (command, POWERWASH_MARKER_FILE))
68 count = self._host.run('cat %s' % POWERWASH_COUNT,
/external/autotest/scheduler/
Ddrones.py45 self._host = None
86 if not self._host:
93 result = self._host.run('python %s' % drone_utility_cmd,
153 if not self._host:
162 self._host.run('which lxc-start')
170 self._host.run('sudo -n ls "%s"' % base_container)
193 self._host = local_host.LocalHost()
212 self._host = drone_utility.create_host(hostname)
213 if not self._host.is_up():
224 self._host.close()
/external/autotest/client/common_lib/cros/network/
Diw_event_logger.py20 self._host = host
22 self._iw_event_log_path = os.path.join(self._host.get_tmp_dir(),
69 out_lines = self._host.run(command).stdout.splitlines()
84 self._host.run('kill %d' % self._pid, ignore_status=True)
87 self._host.get_file(self._iw_event_log_path, self._local_file)
103 iw_log = self._host.run('cat %s' % self._iw_event_log_path).stdout
/external/autotest/client/cros/netprotos/
Dzeroconf_unittest.py22 self._host = fake_host.FakeHost(FAKE_IPADDR)
23 self._zero = zeroconf.ZeroconfDaemon(self._host, FAKE_HOSTNAME)
68 self.assertEqual(self._zero.host, self._host)
78 self.assertEqual(len(self._host._sockets), 1)
79 sock = self._host._sockets[0]
99 self.assertEqual(record.ip, socket.inet_aton(self._host.ip_addr))
139 sock = self._host._sockets[0]
/external/autotest/server/site_tests/autoupdate_CatchBadSignatures/
Dautoupdate_CatchBadSignatures.py123 client_host = autotest.Autotest(self._host)
134 cmdresult = self._host.run('cat /var/log/update_engine.log')
195 if self._host:
196 self._host.reboot()
202 self._host = host
/external/autotest/client/site_tests/peerd_HandlesNameConflicts/
Dpeerd_HandlesNameConflicts.py52 self._host = None
58 self._host = interface_host.InterfaceHost(
60 self._zc_listener = zeroconf.ZeroconfDaemon(self._host,
75 self._host,
128 success, duration = self._host.run_until(
154 success, duration = self._host.run_until(run_until_predicate,
/external/autotest/server/
Dsite_gtest_runner.py25 self._host = None
46 self._host = hosts.create_host(machine)
49 client_autotest = autotest.Autotest(self._host)
54 logging.info('%s %s Running %s', self._host,
118 self._host.record('START', failed_test, failed_test)
119 self._host.record('INFO', failed_test, 'FAILED: ' + failed_test)
120 self._host.record('END FAIL', failed_test, failed_test, message)
148 self._host.record('START', None, passed_test)
149 self._host.record('INFO', None, 'PASSED: ' + passed_test)
150 self._host.record('END GOOD', None, passed_test)
/external/autotest/server/cros/chaos_lib/
Dchaos_runner.py40 self._host = host
46 logging.info('DUT time: %s', self._host.run('date').stdout.strip())
122 utils.sanitize_client(self._host)
126 hosts.create_host(self._host.hostname),
187 kernel_ver = self._host.get_kernel_ver()
188 firmware_ver = utils.get_firmware_ver(self._host)
208 host=self._host,
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpURI.java68 int _host; field in HttpURI
144 _host=offset; in parseConnect()
216 _host=offset; in parse2()
268 _host=i; in parse2()
280 _host=m; in parse2()
324 _host = m; in parse2()
378 _host = i; in parse2()
538 if (_host==_port) in getHost()
540 return toUtf8String(_host,_port-_host); in getHost()
752 _scheme=_authority=_host=_port=_path=_param=_query=_fragment=_end=0; in clear()
/external/chromium-trace/catapult/third_party/typ/typ/
Darg_parser.py47 self._host = host or Host()
127 default=self._host.cpu_count(),
139 default=self._host.getenv('NINJA_STATUS',
153 default=self._host.terminal_width(),
207 rargs.overwrite = self._host.stdout.isatty() and not rargs.verbose
214 self._host.print_(msg=msg, stream=file, end='\n')
226 self._print_message(message, file=self._host.stderr)
252 default_parser = ArgumentParser(host=self._host)
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dautoupdate_EndToEndTest.py822 self._host = host
919 updater = autoupdater.ChromiumOSUpdater(url, host=self._host)
958 self._host.reboot()
963 self._host.reboot()
1032 job_repo_url = self._host.lookup_job_repo_url()
1071 client_at = autotest.Autotest(self._host)
1091 self._host.send_file(path, '/tmp')
1093 return int(self._host.run(cmd).stdout)
1109 perf_json_txt = self._host.run(cmd).stdout
1125 self._host.reboot()
[all …]
/external/autotest/server/site_tests/power_RPMTest/
Dpower_RPMTest.py22 self._host = host
29 self._host.power_on()
31 self._host.power_off()

123