HomeSort by relevance Sort by last modified time
    Searched refs:os_if (Results 1 - 9 of 9) sorted by null

  /external/autotest/client/cros/faft/utils/
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(
57 assert not self.os_if.path_exists(_DM_DEV_PATH)
58 self.os_if.run_shell_command(
60 assert self.os_if.path_exists(_DM_DEV_PATH)
62 count = self.os_if.get_file_size(_DM_DEV_PATH)
71 if self.os_if.path_exists(_DM_DEV_PATH)
    [all...]
tpm_handler.py 19 os_if: an instance of the OS interface (os_interface or a mock object).
33 self.os_if = None
38 def init(self, os_if):
39 self.os_if = os_if
41 nvram_data = self.os_if.run_shell_command_get_output(cmd)[0].split()
64 os_if: an instance of the OS interface (os_interface or a mock object).
71 self.os_if = None
78 def init(self, os_if):
79 self.os_if = os_i
    [all...]
firmware_updater.py 23 def __init__(self, os_if):
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)
49 self.os_if.run_shell_command(
55 if self.os_if.is_dir(self._temp_path)
    [all...]
saft_flashrom_util.py 58 def __init__(self, os_if):
60 self.os_if = os_if
73 return self.os_if.run_shell_command_get_output(mosys_cmd)
155 self.check_layout(layout_data, self.os_if.get_file_size(file_name))
206 def __init__(self, os_if, keep_temp_files=False,
209 self.os_if = os_if
219 if not self.os_if.target_hosted():
224 if not self.os_if.target_hosted()
    [all...]
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...]
cgpt_handler.py 21 os_if: an instance of OSInterface, initialized by the caller.
46 def __init__(self, os_if):
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)
flashrom_handler.py 98 self.os_if = None
103 os_if,
111 os_if - a module providing interface to OS services
117 os_if, target_is_ec=False)
126 os_if, target_is_ec=True)
132 self.os_if = os_if
147 as defined in the os_if object.
162 f = open(self.os_if.state_dir_file(subsection_name),
181 section.set_version(self.os_if.retrieve_body_version(vb_section)
    [all...]
shell_wrapper.py 19 def init(self, os_if):
20 self._os_if = os_if
97 def init(self, os_if):
98 self._os_if = os_if
100 self._host_shell.init(os_if)
os_interface.py 25 def init(self, os_if):
27 self.os_if = os_if
36 return self.os_if.run_shell_command_get_output(
40 if name in ('os_if',):
43 self.os_if.run_shell_command('crossystem "%s=%s"' % (name, value))

Completed in 684 milliseconds