Searched refs:__run_cmd (Results 1 – 5 of 5) sorted by relevance
17 def __run_cmd(self, cmd): member in platform_CryptohomeTPMReOwn29 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 …]
17 def __run_cmd(self, cmd): member in platform_CryptohomeChangePassword29 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 …]
20 def __run_cmd(cmd, ignore_status=False): function28 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'
21 def __run_cmd(cmd): function65 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 …]
23 def __run_cmd(self, cmd): member in hardware_TPMLoadKey32 output = self.__run_cmd(create_input_file_cmd)38 output = self.__run_cmd(seal_data_cmd)