Home
last modified time | relevance | path

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

/external/autotest/client/cros/faft/utils/
Dsaft_flashrom_util.py251 def get_section(self, base_image, section_name): argument
259 if pos[0] >= pos[1] or pos[1] >= len(base_image):
262 blob = base_image[pos[0] : pos[1] + 1]
273 def put_section(self, base_image, section_name, data): argument
280 if pos[0] >= pos[1] or pos[1] >= len(base_image):
286 pad = base_image[pos[1]]
290 return base_image[0 : pos[0]] + data + base_image[pos[1] + 1 :]
332 def write_partial(self, base_image, write_list, write_layout_map=None): argument
344 self.os_if.write_file(tmpfn, base_image)
362 def write_whole(self, base_image): argument
[all …]