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(
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...]
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
80 def init(self, os_if):
81 self.os_if = os_i
    [all...]
saft_flashrom_util.py 66 def __init__(self, os_if):
68 self.os_if = os_if
81 return self.os_if.run_shell_command_get_output(mosys_cmd)
127 self.os_if.log('overlapped section at 0x%x..0x%x' % (
165 self.check_layout(layout_data, self.os_if.get_file_size(file_name))
216 def __init__(self, os_if, keep_temp_files=False,
219 self.os_if = os_if
229 if not self.os_if.target_hosted()
    [all...]
firmware_updater.py 37 def __init__(self, os_if):
38 self.os_if = os_if
49 os_if,
56 os_if,
67 if not self.os_if.is_dir(self._temp_path):
80 self.os_if.create_dir(self._temp_path)
81 self.os_if.create_dir(self._cbfs_work_path)
82 self.os_if.create_dir(self._work_path)
83 self.os_if.copy_dir('/usr/share/vboot/devkeys', self._keys_path
    [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 106 self.os_if = None
111 os_if,
119 os_if - a module providing interface to OS services
125 os_if, target_is_ec=False)
136 os_if, target_is_ec=True)
143 self.os_if = os_if
159 as defined in the os_if object.
174 f = open(self.os_if.state_dir_file(subsection_name),
193 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 216 milliseconds