/external/autotest/client/common_lib/cros/manual/ |
D | audio_helper.py | 29 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/server/hosts/ |
D | cros_label.py | 81 result = host.run(command=test_label_cmd, ignore_status=True) 86 result = host.run(command=mosys_cmd, ignore_status=True) 118 ignore_status=True) 130 ignore_status=True) 156 ecinfo = host.run(command=cmd, ignore_status=True) 179 self.ver = host.run('gsctool -a -f', ignore_status=True) 198 rv = host.run('which ectool', ignore_status=True) 204 rv = host.run('ectool motionsense', ignore_status=True) 270 ignore_status=True).stdout 297 ignore_status=True) [all …]
|
D | cros_repair.py | 137 rv = host.run(command=command, ignore_status=True) 159 output = host.run(command=command, ignore_status=True).stdout 166 output = host.run(command=command, ignore_status=True).stdout 195 ignore_status=True) 254 ignore_status=True) 258 search = host.run('which python', ignore_status=True) 281 result = host.run('crossystem devsw_boot', ignore_status=True).stdout 299 hwid = host.run('crossystem hwid', ignore_status=True).stdout 304 ignore_status=True).stdout 412 ignore_status=True) [all …]
|
D | ssh_host.py | 118 def _run(self, command, timeout, ignore_status, argument 192 stderr_is_expected=ignore_status, 266 if not ignore_status and result.exit_status > 0: 274 def run_very_slowly(self, command, timeout=None, ignore_status=False, argument 321 return self._run(command, timeout - elapsed, ignore_status, 381 def run_grep(self, command, timeout=30, ignore_status=False, argument 422 result = self.run(command, timeout, ignore_status=True, 443 if not ignore_status and result.exit_status > 0:
|
/external/autotest/client/bin/net/ |
D | net_utils.py | 14 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/ |
D | platform_Pkcs11ChangeAuthData.py | 20 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/ |
D | process_utils.py | 12 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)
|
D | utils.py | 683 def run(command, timeout=None, ignore_status=False, stdout_tee=None, argument 741 stderr_is_expected = ignore_status 758 if not ignore_status and bg_job.result.exit_status: 765 def run_parallel(commands, timeout=None, ignore_status=False, argument 782 stderr_level=get_stderr_level(ignore_status), 789 if not ignore_status and bg_job.result.exit_status: 1020 def system(command, timeout=None, ignore_status=False): argument 1032 return run(command, timeout=timeout, ignore_status=ignore_status, 1036 def system_parallel(commands, timeout=None, ignore_status=False): argument 1040 run_parallel(commands, timeout=timeout, ignore_status=ignore_status, [all …]
|
/external/autotest/client/common_lib/cros/ |
D | g2f_utils.py | 12 client.run('stop u2fd', ignore_status=True) 14 ignore_status=True).stdout.strip().split('\n') 24 ignore_status=True).stdout.strip().split('\n') 38 ignore_status=True) 50 ignore_status=True)
|
D | cr50_utils.py | 213 result = client.run('vpd -g rlz_brand_code', ignore_status=True) 251 def GSCTool(client, args, ignore_status=False): argument 268 ignore_status = not options.info_cmd or ignore_status 274 ignore_status=ignore_status, 280 not ignore_status): 425 result = client.run('ls %s' % CR50_STATE, ignore_status=True) 578 def RMAOpen(client, cmd='', ignore_status=False): argument 580 return GSCTool(client, ['-a', '-r', cmd], ignore_status)
|
D | virtual_ethernet_pair.py | 112 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)
|
/external/autotest/client/site_tests/firmware_VbootCrypto/ |
D | firmware_VbootCrypto.py | 41 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/client/cros/ |
D | liststorage.py | 52 def system_output(command, host=None, ignore_status=False): argument 60 return host.run(command, ignore_status=ignore_status).stdout.strip() 62 return utils.system_output(command, ignore_status=ignore_status) 79 ignore_status = False 88 ignore_status = True 91 output = system_output(cmd, host, ignore_status=ignore_status)
|
D | pkcs11.py | 20 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/client/cros/update_engine/ |
D | update_engine_util.py | 167 def _get_update_engine_status(self, timeout=3600, ignore_status=True): argument 170 ignore_timeout=True, ignore_status=ignore_status) 202 ignore_status=True) 205 self._UPDATE_ENGINE_LOG, entry), ignore_status=True) 246 interactive=True, ignore_status=False, argument 265 self._run(cmd, ignore_status=ignore_status) 311 ignore_status=True) 326 self._run('rm %s' % self._CUSTOM_LSB_RELEASE, ignore_status=True)
|
D | update_engine_test.py | 46 utils.run('ifconfig %s up' % eth, ignore_status=True) 47 utils.start_service('recover_duts', ignore_status=True) 72 utils.stop_service('recover_duts', ignore_status=True) 74 result = utils.run('ifconfig %s down' % eth, ignore_status=True) 89 logging.debug(utils.run('ifconfig', ignore_status=True))
|
/external/autotest/server/site_tests/logging_GenerateCrashFiles/ |
D | logging_GenerateCrashFiles.py | 31 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/server/ |
D | site_linux_router.py | 191 self.host.run('rm -f /var/lib/metrics/uma-events', ignore_status=True) 196 ignore_status=True).stdout 228 ignore_status=True) 244 self.host.run('start avahi', ignore_status=True) 246 self.host.run('stop avahi', ignore_status=True) 259 self._log_start_timestamp, ignore_status=True) 307 self.router.run('rm %s' % log_file, ignore_status=True) 308 self.router.run('stop wpasupplicant', ignore_status=True) 345 ignore_status=True).exit_status == 0 353 ignore_status=True).exit_status == 0 [all …]
|
/external/autotest/client/site_tests/audio_AlsaAPI/ |
D | audio_AlsaAPI.py | 59 utils.stop_service('cras', ignore_status=True) 67 utils.start_service('cras', ignore_status=True) 124 ignore_status=True) 143 ignore_status=True) 161 ignore_status=True)
|
/external/autotest/server/site_tests/platform_CryptohomeTPMReOwnServer/ |
D | platform_CryptohomeTPMReOwnServer.py | 19 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/server/site_tests/hardware_TPMFirmwareServer/ |
D | hardware_TPMFirmwareServer.py | 25 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/firmware_LockedME/ |
D | firmware_LockedME.py | 24 def flashrom(self, ignore_status=False, args=()): argument 27 return utils.run('flashrom', ignore_status=ignore_status, args=extra) 61 ignore_status=True) 68 ignore_status=True)
|
/external/autotest/client/common_lib/hosts/ |
D | base_classes.py | 95 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) 520 ignore_status=True) 654 ignore_status=True, timeout=120) 661 ignore_status=True, timeout=120) 664 ignore_status=True, timeout=120) 669 ignore_status=True, timeout=120) 674 self.run('rm -fr', args=(moddir,), ignore_status=True)
|
/external/autotest/client/site_tests/p2p_ConsumeFiles/ |
D | p2p_ConsumeFiles.py | 74 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/cros/network/ |
D | ping_runner.py | 242 ignore_status=False, ignore_result=False): argument 251 self.ignore_status = ignore_status 321 ignore_status=True, ignore_result=True) 342 ignore_status=True, 345 if ping_config.ignore_status: 358 if command_result.exit_status and not ping_config.ignore_status:
|