Home
last modified time | relevance | path

Searched refs:__run_cmd (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/site_tests/platform_CryptohomeTPMReOwn/
Dplatform_CryptohomeTPMReOwn.py17 def __run_cmd(self, cmd): member in platform_CryptohomeTPMReOwn
29 output = self.__run_cmd("/usr/sbin/tpm_clear --force")
32 output = self.__run_cmd("/usr/bin/tpm_init_temp_fix")
35 output = self.__run_cmd("/usr/sbin/cryptohome --action=remove " +
39 output = self.__run_cmd("/usr/sbin/cryptohome " +
49 output = self.__run_cmd("/usr/sbin/cryptohome --action=mount" +
56 output = self.__run_cmd("echo TEST_CONTENT > " +
58 output = self.__run_cmd("/usr/sbin/cryptohome --action=unmount")
59 output = self.__run_cmd("/usr/sbin/cryptohome " +
69 output = self.__run_cmd("/usr/sbin/cryptohome " +
[all …]
/external/autotest/client/site_tests/platform_CryptohomeChangePassword/
Dplatform_CryptohomeChangePassword.py17 def __run_cmd(self, cmd): member in platform_CryptohomeChangePassword
29 user_hash = self.__run_cmd(cmd).strip()
34 self.__run_cmd(cmd)
42 self.__run_cmd(cmd)
48 if (self.__run_cmd(cmd).strip() == 'false'):
53 self.__run_cmd(cmd)
56 if (self.__run_cmd(cmd).strip() != 'false'):
64 self.__run_cmd(cmd)
69 self.__run_cmd(cmd)
72 if (self.__run_cmd(cmd).strip() == 'false'):
[all …]
/external/autotest/client/cros/
Dpkcs11.py20 def __run_cmd(cmd, ignore_status=False): function
28 for line in __run_cmd('chaps_client --list').split('\n'):
39 file_list_output = __run_cmd('find %s ' % token_path + find_args)
43 token_list = __run_cmd('p11_replay --list_tokens')
64 token_list = __run_cmd('p11_replay --list_tokens')
122 __run_cmd(verify_cmd)
197 output = __run_cmd('p11_replay --generate --replay_wifi',
204 output = __run_cmd('p11_replay --replay_wifi --cleanup',
247 return __run_cmd('p11_replay --slot=%s %s'
Dcryptohome.py21 def __run_cmd(cmd): function
65 out = __run_cmd(CRYPTOHOME_CMD + ' --action=tpm_status')
101 out = __run_cmd(CRYPTOHOME_CMD + ' --action=tpm_more_status | grep :')
135 out = __run_cmd(CRYPTOHOME_CMD + ' --action=get_login_status')
148 out = __run_cmd(CRYPTOHOME_CMD + ' --action=tpm_attestation_status')
163 __run_cmd(CRYPTOHOME_CMD + ' --action=tpm_take_ownership')
164 __run_cmd(CRYPTOHOME_CMD + ' --action=tpm_wait_ownership')
182 __run_cmd(cmd)
206 logging.info(__run_cmd(' '.join(args)))
222 logging.info(__run_cmd(' '.join(args)))
[all …]
/external/autotest/client/site_tests/hardware_TPMLoadKey/
Dhardware_TPMLoadKey.py23 def __run_cmd(self, cmd): member in hardware_TPMLoadKey
32 output = self.__run_cmd(create_input_file_cmd)
38 output = self.__run_cmd(seal_data_cmd)