Home
last modified time | relevance | path

Searched refs:ignore_status (Results 1 – 25 of 271) sorted by relevance

1234567891011

/external/autotest/client/common_lib/cros/manual/
Daudio_helper.py29 soundcard = dut.run(cmd, ignore_status=True).stdout.strip().split()[0]
90 stream_state = dut.run(cmd, ignore_status=True).stdout.split()
144 number_of_streams = int(dut.run(cmd, ignore_status=True).stdout.strip())
164 lines = dut.run(cmd, ignore_status=True).stdout.splitlines()
189 line = dut.run(cmd, ignore_status=True).stdout.stripe()
211 lines = dut.run(cmd, ignore_status=True).stdout.splitlines()
232 line = dut.run(cmd, ignore_status=True).stdout
257 volume = int(dut.run(cmd, ignore_status=True).stdout.strip())
308 output = dut.run(cmd, ignore_status=True).stdout.strip()
333 mic_node = dut.run(cmd, ignore_status=True).stdout.strip()
[all …]
/external/autotest/client/bin/net/
Dnet_utils.py14 def reset(self, ignore_status=False): argument
15 bin_utils.system('service network restart', ignore_status=ignore_status)
18 def start(self, ignore_status=False): argument
19 bin_utils.system('service network start', ignore_status=ignore_status)
22 def stop(self, ignore_status=False): argument
23 bin_utils.system('service network stop', ignore_status=ignore_status)
46 def disable_ip_local_loopback(self, ignore_status=False): argument
49 ignore_status=ignore_status)
51 ignore_status=ignore_status)
54 def enable_ip_local_loopback(self, ignore_status=False): argument
[all …]
/external/autotest/client/site_tests/platform_Pkcs11ChangeAuthData/
Dplatform_Pkcs11ChangeAuthData.py20 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
27 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
34 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
42 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
49 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
55 result = utils.system('p11_replay --replay_wifi', ignore_status=True)
/external/autotest/server/hosts/
Dcros_label.py75 result = host.run(command=test_label_cmd, ignore_status=True)
80 result = host.run(command=mosys_cmd, ignore_status=True)
112 ignore_status=True)
124 ignore_status=True)
150 ecinfo = host.run(command=cmd, ignore_status=True)
169 rv = host.run('which ectool', ignore_status=True)
175 rv = host.run('ectool motionsense', ignore_status=True)
241 ignore_status=True).stdout
268 ignore_status=True)
309 rootdev = host.run(command=rootdev_cmd, ignore_status=True)
[all …]
Dcros_repair.py137 rv = host.run(command=command, ignore_status=True)
157 output = host.run(command=command, ignore_status=True).stdout
164 output = host.run(command=command, ignore_status=True).stdout
191 ignore_status=True)
271 ignore_status=True)
275 search = host.run('which python', ignore_status=True)
296 result = host.run('crossystem devsw_boot', ignore_status=True).stdout
312 hwid = host.run('crossystem hwid', ignore_status=True).stdout
317 ignore_status=True).stdout
441 ignore_status=True)
[all …]
Dssh_host.py115 def _run(self, command, timeout, ignore_status, argument
186 stderr_is_expected=ignore_status,
260 if not ignore_status and result.exit_status > 0:
268 def run_very_slowly(self, command, timeout=3600, ignore_status=False, argument
309 return self._run(command, timeout, ignore_status,
369 def run_grep(self, command, timeout=30, ignore_status=False, argument
410 result = self.run(command, timeout, ignore_status=True,
431 if not ignore_status and result.exit_status > 0:
/external/autotest/client/common_lib/
Dprocess_utils.py12 ignore_status=False): argument
29 result = run(kill_cmd, ignore_status=True)
34 result = run(kill_cmd, ignore_status=True)
36 if result.exit_status == 0 and not ignore_status:
38 ignore_status=True)
Dutils.py671 def run(command, timeout=None, ignore_status=False, stdout_tee=None, argument
729 stderr_is_expected = ignore_status
746 if not ignore_status and bg_job.result.exit_status:
753 def run_parallel(commands, timeout=None, ignore_status=False, argument
768 stderr_level=get_stderr_level(ignore_status),
775 if not ignore_status and bg_job.result.exit_status:
1006 def system(command, timeout=None, ignore_status=False): argument
1018 return run(command, timeout=timeout, ignore_status=ignore_status,
1022 def system_parallel(commands, timeout=None, ignore_status=False): argument
1026 run_parallel(commands, timeout=timeout, ignore_status=ignore_status,
[all …]
Drevision_control.py113 def _run(self, command, timeout=None, ignore_status=False): argument
123 timeout, ignore_status)
126 def gitcmd(self, cmd, ignore_status=False, error_class=None, argument
144 ignore_status = ignore_status or error_class is not None
146 rv = self._run(cmd, ignore_status=ignore_status)
/external/autotest/client/site_tests/firmware_VbootCrypto/
Dfirmware_VbootCrypto.py41 return_code = utils.system(gen_test_case_cmd, ignore_status = True)
51 return_code = utils.system(sha_test_cmd, ignore_status=True)
63 return_code = utils.system(rsa_test_cmd, ignore_status=True)
75 ignore_status=True)
118 ignore_status=True)
125 ignore_status=True)
139 ignore_status=True)
146 ignore_status=True)
/external/autotest/server/site_tests/logging_GenerateCrashFiles/
Dlogging_GenerateCrashFiles.py31 out = self.host.run('ls %s' % self.CRASH_DIR, ignore_status=True)
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,
73 self.host.run('sync', ignore_status=True)
/external/autotest/client/site_tests/platform_CUPSDaemon/
Dplatform_CUPSDaemon.py93 sys_utils.stop_service('cups', ignore_status=False)
94 sys_utils.start_service('cups.socket', ignore_status=False)
102 sys_utils.stop_service('cups', ignore_status=False)
103 sys_utils.stop_service('cups.socket', ignore_status=False)
108 sys_utils.start_service('cups.socket', ignore_status=False)
/external/autotest/client/cros/
Dpkcs11.py20 def __run_cmd(cmd, ignore_status=False): argument
23 ignore_status=ignore_status).strip()
198 ignore_status=True)
205 ignore_status=True)
229 ignore_status=True) == 0,
250 ignore_status=True)
/external/autotest/server/site_tests/platform_CryptohomeTPMReOwnServer/
Dplatform_CryptohomeTPMReOwnServer.py19 def tpm_run(self, subtest, ignore_status=False): argument
22 check_client_result=(not ignore_status))
40 self.tpm_run("take_tpm_ownership", ignore_status=True)
49 self.tpm_run("take_tpm_ownership", ignore_status=True)
/external/autotest/client/site_tests/firmware_LockedME/
Dfirmware_LockedME.py20 def flashrom(self, ignore_status=False, args=()): argument
23 return utils.run('flashrom', ignore_status=ignore_status, args=extra)
57 ignore_status=True)
63 ignore_status=True)
/external/autotest/server/site_tests/hardware_TPMFirmwareServer/
Dhardware_TPMFirmwareServer.py25 def tpm_run(self, subtest, ignore_status=False): argument
30 if not ignore_status and cstatus != 0:
53 self.tpm_run("tpmtest_clear", ignore_status=True)
56 self.tpm_run("tpmtest_enable", ignore_status=True)
/external/autotest/client/site_tests/autoupdate_DisconnectReconnectNetwork/
Dautoupdate_DisconnectReconnectNetwork.py27 utils.run('ifconfig eth0 up', ignore_status=True)
28 utils.run('ifconfig eth1 up', ignore_status=True)
29 utils.start_service('recover_duts', ignore_status=True)
46 utils.stop_service('recover_duts', ignore_status=True)
/external/autotest/client/common_lib/cros/
Dvirtual_ethernet_pair.py112 ignore_status=True)
127 ignore_status=True)
225 ignore_status=self._ignore_shutdown_errors)
227 ignore_status=self._ignore_shutdown_errors)
229 ignore_status=self._ignore_shutdown_errors)
236 self._peer_interface_name, ignore_status=True)
Dtpm_utils.py106 ignore_status=True).exit_status == 0:
117 ignore_status=True).stdout.strip()
127 client.run('sudo rm -rf ' + _RM_DIRS, ignore_status=True)
128 client.run('sync', ignore_status=True)
/external/autotest/client/common_lib/hosts/
Dbase_classes.py95 def run(self, command, timeout=3600, ignore_status=False, argument
404 def erase_dir_contents(self, path, ignore_status=True, timeout=3600): argument
412 self.run(rm_cmd % path, ignore_status=ignore_status, timeout=timeout)
526 ignore_status=True)
660 ignore_status=True, timeout=120)
667 ignore_status=True, timeout=120)
670 ignore_status=True, timeout=120)
675 ignore_status=True, timeout=120)
680 self.run('rm -fr', args=(moddir,), ignore_status=True)
/external/autotest/client/site_tests/p2p_ConsumeFiles/
Dp2p_ConsumeFiles.py74 def _run_p2p_client(self, args, timeout=10., ignore_status=False): argument
84 ignore_timeout=True, ignore_status=True,
89 if not ignore_status and ret is None:
93 if not ignore_status and ret.exit_status != 0:
186 timeout=10., ignore_status=True)
214 args=('--get-url=only-b',), timeout=5., ignore_status=True)
/external/autotest/server/
Dsite_linux_router.py221 self.host.run('start avahi', ignore_status=True)
223 self.host.run('stop avahi', ignore_status=True)
233 self._log_start_timestamp, ignore_status=True)
284 self.router.run('rm %s' % log_file, ignore_status=True)
285 self.router.run('stop wpasupplicant', ignore_status=True)
304 ignore_status=True).exit_status == 0
312 ignore_status=True).exit_status == 0
319 ignore_status=True).exit_status
361 self.host.run('pkill %s' % search_arg, ignore_status=True)
368 ignore_status=True).exit_status != 0
[all …]
/external/autotest/client/common_lib/cros/network/
Dping_runner.py241 ignore_status=False, ignore_result=False): argument
250 self.ignore_status = ignore_status
320 ignore_status=True, ignore_result=True)
341 ignore_status=True,
344 if ping_config.ignore_status:
357 if command_result.exit_status and not ping_config.ignore_status:
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/
Dkernel_ExternalUsbPeripheralsDetectionStress.py52 manu_cmd_output = (self.host.run(manu_cmd, ignore_status=True).
54 prod_cmd_output = (self.host.run(prod_cmd, ignore_status=True).
82 ignore_status=True).stdout.split('\n')
97 % driver_path, ignore_status=True)
218 ignore_status=True).exit_status == 0
228 lsusb_output = (self.host.run('lsusb', ignore_status=True).
260 lsusb_original_out = (self.host.run('lsusb', ignore_status=True).
/external/autotest/client/site_tests/platform_BootLockbox/
Dplatform_BootLockbox.py48 ignore_status=True) == 0
53 ignore_status=True) == 0
61 ignore_status=True) == 0
70 ignore_status=True) == 0

1234567891011