Searched refs:os_if (Results 1 – 9 of 9) sorted by relevance
/external/autotest/client/cros/faft/utils/ |
D | rootfs_handler.py | 25 self.os_if = None 34 kernel_path = self.os_if.join_part(self.root_dev, 36 rootfs_path = self.os_if.join_part(self.root_dev, 39 self.os_if.run_shell_command( 41 vbutil_kernel = self.os_if.run_shell_command_get_output( 58 assert not self.os_if.path_exists(_DM_DEV_PATH) 59 self.os_if.run_shell_command( 61 assert self.os_if.path_exists(_DM_DEV_PATH) 63 count = self.os_if.get_file_size(_DM_DEV_PATH) 72 if self.os_if.path_exists(_DM_DEV_PATH): [all …]
|
D | firmware_updater.py | 23 def __init__(self, os_if): argument 24 self.os_if = os_if 29 if not self.os_if.is_dir(self._temp_path): 41 self.os_if.create_dir(self._temp_path) 42 self.os_if.create_dir(self._work_path) 43 self.os_if.copy_dir('/usr/share/vboot/devkeys', self._keys_path) 48 self.os_if.copy_file(original_shellball, working_shellball) 54 if self.os_if.is_dir(self._temp_path): 55 self.os_if.remove_dir(self._temp_path) 66 self.os_if.run_shell_command('dump_fmap -x %s %s' % [all …]
|
D | saft_flashrom_util.py | 61 def __init__(self, os_if): argument 63 self.os_if = os_if 76 return self.os_if.run_shell_command_get_output(mosys_cmd) 158 self.check_layout(layout_data, self.os_if.get_file_size(file_name)) 209 def __init__(self, os_if, keep_temp_files=False, argument 212 self.os_if = os_if 222 if not self.os_if.target_hosted(): 227 if not self.os_if.target_hosted(): 233 return self.os_if.create_temp_file(prefix) 239 if self.os_if.path_exists(filename): [all …]
|
D | kernel_handler.py | 39 self.os_if = None 47 data = self.os_if.read_partition(device, 0x4000) 48 return self.os_if.retrieve_body_version(data) 53 data = self.os_if.read_partition(device, 0x4000) 54 return self.os_if.retrieve_datakey_version(data) 63 target_device = self.os_if.get_internal_disk( 64 self.os_if.get_root_part()) 69 disk_map = self.os_if.run_shell_command_get_output( 78 device = self.os_if.join_part(target_device, line.split()[2]) 93 self.os_if.run_shell_command(cmd) [all …]
|
D | tpm_handler.py | 33 self.os_if = None 38 def init(self, os_if): argument 39 self.os_if = os_if 41 nvram_data = self.os_if.run_shell_command_get_output(cmd)[0].split() 71 self.os_if = None 80 def init(self, os_if): argument 81 self.os_if = os_if 84 nvram.init(self.os_if) 105 status = self.os_if.run_shell_command_get_output(cmd) or [''] 109 self.os_if.run_shell_command('stop trunksd') [all …]
|
D | flashrom_handler.py | 98 self.os_if = None 103 os_if, argument 117 os_if, target_is_ec=False) 127 os_if, target_is_ec=True) 133 self.os_if = os_if 164 f = open(self.os_if.state_dir_file(subsection_name), 183 section.set_version(self.os_if.retrieve_body_version(vb_section)) 184 section.set_flags(self.os_if.retrieve_preamble_flags(vb_section)) 186 self.os_if.retrieve_datakey_version(vb_section)) 188 self.os_if.retrieve_kernel_subkey_version(vb_section)) [all …]
|
D | cgpt_handler.py | 46 def __init__(self, os_if): argument 47 self.os_if = os_if 57 device_dump = self.os_if.run_shell_command_get_output( 137 self.os_if.run_shell_command(command)
|
D | shell_wrapper.py | 19 def init(self, os_if): argument 20 self._os_if = os_if 97 def init(self, os_if): argument 98 self._os_if = os_if 100 self._host_shell.init(os_if)
|
D | os_interface.py | 25 def init(self, os_if): argument 27 self.os_if = os_if 36 return self.os_if.run_shell_command_get_output( 43 self.os_if.run_shell_command('crossystem "%s=%s"' % (name, value))
|