Home
last modified time | relevance | path

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

1234567891011

/external/autotest/server/cros/crosperf/
Ddevice_setup_utils.py23 def run_command_on_dut(dut, command, ignore_status=False): argument
34 result = dut.run(command, ignore_status=ignore_status)
43 if ignore_status:
67 def set_cpu_governor(dut, governor, ignore_status=False): argument
89 dut, set_gov_cmd % governor, ignore_status=ignore_status)
311 ignore_status=True)
378 ignore_status=True)
443 ret_code, _, _ = run_command_on_dut(dut, cmd, ignore_status=True)
450 dut, kern_cmdline_cmd, ignore_status=True)
481 dut, remove_verif_cmd % 2, ignore_status=True)
[all …]
/external/toolchain-utils/cros_utils/
Ddevice_setup_utils.py42 def RunCommandOnDut(self, command, ignore_status=False): argument
52 if ignore_status:
70 def SetCpuGovernor(self, governor, ignore_status=False): argument
84 set_gov_cmd % governor, ignore_status=ignore_status)
253 ignore_status=True)
308 'cat /sys/class/thermal/thermal_zone*/temp', ignore_status=True)
335 self.RunCommandOnDut('stop ui', ignore_status=True)
340 self.RunCommandOnDut('start ui', ignore_status=True)
356 ret_code, _, _ = self.RunCommandOnDut(cmd, ignore_status=True)
362 ret_code, _, _ = self.RunCommandOnDut(kern_cmdline_cmd, ignore_status=True)
[all …]
/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/cros/update_engine/
Ddlc_util.py87 def uninstall(self, dlc_id, ignore_status=False): argument
99 self._run(cmd, ignore_status=ignore_status)
102 def purge(self, dlc_id, ignore_status=False): argument
112 self._run(cmd, ignore_status=ignore_status)
Dupdate_engine_test.py52 utils.run(['ifconfig', eth, 'up'], ignore_status=True)
53 utils.start_service('recover_duts', ignore_status=True)
78 utils.stop_service('recover_duts', ignore_status=True)
81 ignore_status=True)
96 logging.debug(utils.run(['ifconfig'], ignore_status=True))
/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/client/common_lib/cros/
Dcros_config_unittest.py130 ignore_status=False): argument
137 if ignore_status:
139 cc_args, _mock_cmd_runner, ignore_status=True)
151 for ignore_status in (True, False):
153 ignore_status)
163 for ignore_status in (True, False):
164 output = self.run_cc_w_fallback(FAILS, SUCCEEDS, ignore_status)
217 ignore_status=False): argument
224 if ignore_status:
226 cc_args, _mock_cmd_runner, ignore_status=True)
Darc.py99 output = utils.system_output('adb get-state', ignore_status=True)
106 return _android_shell('getprop ro.data_mounted', ignore_status=True) == '1'
111 return _android_shell('getprop ro.zygote', ignore_status=True)
121 return _android_shell('getprop ro.build.product', ignore_status=True)
208 ignore_status=True)
210 'logcat -d -b events *:S arc_system_event', ignore_status=True)
211 adbd_pid = _android_shell('pidof -s adbd', ignore_status=True)
213 adb_state = utils.system_output('adb get-state', ignore_status=True)
264 def adb_install(apk, auto_grant_permissions=True, ignore_status=False): argument
277 ignore_status=ignore_status)
[all …]
Dvirtual_ethernet_pair.py115 ignore_status=True)
130 ignore_status=True)
228 ignore_status=self._ignore_shutdown_errors)
230 ignore_status=self._ignore_shutdown_errors)
232 ignore_status=self._ignore_shutdown_errors)
239 self._peer_interface_name, ignore_status=True)
Dtpm_utils.py78 ignore_status=True).exit_status == 0:
89 ignore_status=True).stdout.strip()
116 client.run(full_rm, ignore_status=True)
117 client.run('sync', ignore_status=True)
/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.py720 def run(command, timeout=None, ignore_status=False, stdout_tee=None, argument
779 stderr_is_expected = ignore_status
796 if not ignore_status and bg_job.result.exit_status:
803 def run_parallel(commands, timeout=None, ignore_status=False, argument
820 stderr_level=get_stderr_level(ignore_status),
827 if not ignore_status and bg_job.result.exit_status:
1058 def system(command, timeout=None, ignore_status=False): argument
1070 return run(command, timeout=timeout, ignore_status=ignore_status,
1074 def system_parallel(commands, timeout=None, ignore_status=False): argument
1078 run_parallel(commands, timeout=timeout, ignore_status=ignore_status,
[all …]
/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/hosts/
Dcros_repair.py180 host.run('ectool chargecontrol normal', ignore_status=True)
305 output = host.run(command=command, ignore_status=True).stdout
312 output = host.run(command=command, ignore_status=True).stdout
343 ignore_status=True)
404 ignore_status=True)
408 search = host.run('which python', ignore_status=True)
432 result = host.run('crossystem devsw_boot', ignore_status=True).stdout
448 result = host.run('crossystem dev_default_boot', ignore_status=True)
483 host_hwid = host.run('crossystem hwid', ignore_status=True).stdout
519 req = host.run('vpd -g serial_number', ignore_status=True)
[all …]
Dbase_servohost.py94 output = self.run('cat /etc/lsb-release', ignore_status=True).stdout
180 ignore_status=True)
224 ignore_status=True, timeout=10)
353 self.run('rm -rf %s' % dest, ignore_status=True)
354 self.run('mv %s %s' % (item, safe_location), ignore_status=True)
356 self.run('crossystem clear_tpm_owner_request=1', ignore_status=True)
371 self.run('mv %s %s' % (src, dest), ignore_status=True)
493 def run(self, command, timeout=3600, ignore_status=False, argument
533 'ignore_status' : ignore_status,
572 ignore_status=True)
[all …]
/external/autotest/client/cros/
Dliststorage.py61 def system_output(command, host=None, ignore_status=False): argument
69 return host.run(command, ignore_status=ignore_status).stdout.strip()
71 return utils.system_output(command, ignore_status=ignore_status)
88 ignore_status = False
97 ignore_status = True
100 output = system_output(cmd, host, ignore_status=ignore_status)
Dpkcs11.py25 def __run_cmd(cmd, ignore_status=False): argument
28 ignore_status=ignore_status).strip()
203 ignore_status=True)
210 ignore_status=True)
234 ignore_status=True) == 0,
255 ignore_status=True)
/external/autotest/client/site_tests/firmware_LockedME/
Dfirmware_LockedME.py24 def flashrom(self, ignore_status=False, args=()): argument
27 return utils.run('flashrom', ignore_status=ignore_status, args=extra)
46 r = utils.run('md5sum', ignore_status=False, args=[filename])
69 ignore_status=True)
79 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/audio_AlsaAPI/
Daudio_AlsaAPI.py61 utils.stop_service('cras', ignore_status=True)
69 utils.start_service('cras', ignore_status=True)
126 ignore_status=True)
145 ignore_status=True)
163 ignore_status=True)
/external/autotest/server/site_tests/firmware_Cr50SetBoardId/
Dfirmware_Cr50SetBoardId.py62 result = self.host.run(self.GET_BRAND, ignore_status=True)
74 self.host.run('rm %s' % cr50_utils.CR50_PREPVT, ignore_status=True)
75 self.host.run('rm %s' % cr50_utils.CR50_PROD, ignore_status=True)
93 ignore_status = not not exit_status
97 result = self.host.run(cmd, ignore_status=ignore_status)
/external/autotest/server/cros/
Dwatchdog_tester.py21 ignore_status=True).exit_status == 0 and \
23 ignore_status=True).exit_status == 0
27 self._client.run('stop daisydog', ignore_status=True)
30 self._client.run('start daisydog', ignore_status=True)
/external/autotest/site_utils/lxc/
Dutils.py52 result = utils.run('ls /sys/class/net', ignore_status=True)
85 force=True, snapshots=False, ignore_status=False, timeout=-1): argument
103 return utils.run(cmd, ignore_status=ignore_status, timeout=timeout)
105 return utils.run(cmd, ignore_status=ignore_status)
/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/client/common_lib/hosts/
Dbase_classes.py102 def run(self, command, timeout=3600, ignore_status=False, argument
411 def erase_dir_contents(self, path, ignore_status=True, timeout=3600): argument
419 self.run(rm_cmd % path, ignore_status=ignore_status, timeout=timeout)
527 ignore_status=True)
661 ignore_status=True, timeout=120)
668 ignore_status=True, timeout=120)
671 ignore_status=True, timeout=120)
676 ignore_status=True, timeout=120)
681 self.run('rm -fr', args=(moddir,), ignore_status=True)

1234567891011