Lines Matching refs:section
32 def wrapper(self, section, *args, **dargs): argument
37 if type(section) in (tuple, list):
38 for sec in section:
41 image_operator(self, section, *args, **dargs)
366 def _bios_get_preamble_flags(self, section): argument
372 return self._bios_handler.get_section_flags(section)
374 def _bios_set_preamble_flags(self, section, flags): argument
380 version = self._bios_get_version(section)
381 self._bios_handler.set_section_version(section, version, flags,
384 def _bios_get_body_sha(self, section): argument
390 return self._bios_handler.get_section_sha(section)
392 def _bios_get_sig_sha(self, section): argument
394 return self._bios_handler.get_section_sig_sha(section)
397 def _bios_corrupt_sig(self, section): argument
402 self._bios_handler.corrupt_firmware(section)
405 def _bios_restore_sig(self, section): argument
410 self._bios_handler.restore_firmware(section)
413 def _bios_corrupt_body(self, section, corrupt_all=False): argument
418 self._bios_handler.corrupt_firmware_body(section, corrupt_all)
421 def _bios_restore_body(self, section): argument
426 self._bios_handler.restore_firmware_body(section)
428 def __bios_modify_version(self, section, delta): argument
434 original_version = self._bios_get_version(section)
436 flags = self._bios_handler.get_section_flags(section)
439 section, original_version, new_version))
440 self._bios_handler.set_section_version(section, new_version, flags,
444 def _bios_move_version_backward(self, section): argument
446 self.__bios_modify_version(section, -1)
449 def _bios_move_version_forward(self, section): argument
451 self.__bios_modify_version(section, 1)
453 def _bios_get_version(self, section): argument
455 return self._bios_handler.get_section_version(section)
457 def _bios_get_datakey_version(self, section): argument
459 return self._bios_handler.get_section_datakey_version(section)
461 def _bios_get_kernel_subkey_version(self, section): argument
463 return self._bios_handler.get_section_kernel_subkey_version(section)
513 def _ec_corrupt_sig(self, section): argument
518 self._ec_handler.corrupt_firmware(section, corrupt_all=True)
521 def _ec_restore_sig(self, section): argument
526 self._ec_handler.restore_firmware(section, restore_all=True)
529 def _ec_corrupt_body(self, section): argument
534 self._ec_handler.corrupt_firmware_body(section, corrupt_all=True)
537 def _ec_restore_body(self, section): argument
542 self._ec_handler.restore_firmware_body(section, restore_all=True)
575 def _kernel_corrupt_sig(self, section): argument
580 self._kernel_handler.corrupt_kernel(section)
583 def _kernel_restore_sig(self, section): argument
588 self._kernel_handler.restore_kernel(section)
590 def __kernel_modify_version(self, section, delta): argument
596 original_version = self._kernel_handler.get_version(section)
600 section, original_version, new_version))
601 self._kernel_handler.set_version(section, new_version)
604 def _kernel_move_version_backward(self, section): argument
606 self.__kernel_modify_version(section, -1)
609 def _kernel_move_version_forward(self, section): argument
611 self.__kernel_modify_version(section, 1)
613 def _kernel_get_version(self, section): argument
615 return self._kernel_handler.get_version(section)
617 def _kernel_get_datakey_version(self, section): argument
619 return self._kernel_handler.get_datakey_version(section)
639 def _kernel_resign_with_keys(self, section, key_path=None): argument
641 self._kernel_handler.resign_kernel(section, key_path)
643 def _kernel_dump(self, section, kernel_path): argument
649 self._kernel_handler.dump_kernel(section, kernel_path)
651 def _kernel_write(self, section, kernel_path): argument
657 self._kernel_handler.write_kernel(section, kernel_path)
659 def _kernel_get_sha(self, section): argument
661 return self._kernel_handler.get_sha(section)
848 def _rootfs_verify_rootfs(self, section): argument
853 return self._rootfs_handler.verify_rootfs(section)