Lines Matching refs:def
25 def allow_multiple_section_input(image_operator):
31 def wrapper(self, section):
49 def __init__(self, handler_class, *args, **kargs):
54 def _load(self):
59 def __getattr__(self, name):
64 def reload(self):
91 def __init__(self):
145 def _dispatch(self, method, params):
174 def _system_is_available(self):
181 def _system_has_host(self):
185 def _system_wait_for_client(self, timeout):
194 def _system_wait_for_client_offline(self, timeout):
202 def _system_dump_log(self, remove_log=False):
213 def _system_run_shell_command(self, command):
220 def _system_run_shell_command_get_output(self, command):
228 def _host_run_shell_command(self, command):
235 def _host_run_shell_command_get_output(self, command):
243 def _host_run_nonblock_shell_command(self, command):
251 def _system_software_reboot(self):
255 def _system_get_platform_name(self):
267 def _system_get_crossystem_value(self, key):
276 def _system_get_root_dev(self):
283 def _system_get_root_part(self):
290 def _system_set_try_fw_b(self, count=1):
297 def _system_set_fw_try_next(self, next, count=0):
307 def _system_get_fw_vboot2(self):
314 def _system_request_recovery_boot(self):
318 def _system_get_dev_boot_usb(self):
325 def _system_set_dev_boot_usb(self, value):
332 def _system_is_removable_device_boot(self):
341 def _system_create_temp_dir(self, prefix='backup_'):
345 def _bios_reload(self):
349 def _bios_get_gbb_flags(self):
356 def _bios_set_gbb_flags(self, flags):
363 def _bios_get_preamble_flags(self, section):
371 def _bios_set_preamble_flags(self, section, flags):
381 def _bios_get_body_sha(self, section):
389 def _bios_get_sig_sha(self, section):
394 def _bios_corrupt_sig(self, section):
402 def _bios_restore_sig(self, section):
410 def _bios_corrupt_body(self, section):
418 def _bios_restore_body(self, section):
425 def __bios_modify_version(self, section, delta):
441 def _bios_move_version_backward(self, section):
446 def _bios_move_version_forward(self, section):
450 def _bios_get_version(self, section):
454 def _bios_get_datakey_version(self, section):
458 def _bios_get_kernel_subkey_version(self, section):
462 def _bios_dump_whole(self, bios_path):
469 def _bios_write_whole(self, bios_path):
477 def _ec_get_version(self):
485 def _ec_get_firmware_sha(self):
490 def _ec_corrupt_sig(self, section):
498 def _ec_restore_sig(self, section):
506 def _ec_corrupt_body(self, section):
514 def _ec_restore_body(self, section):
521 def _ec_dump_firmware(self, ec_path):
528 def _ec_set_write_protect(self, enable):
539 def _kernel_corrupt_sig(self, section):
547 def _kernel_restore_sig(self, section):
554 def __kernel_modify_version(self, section, delta):
568 def _kernel_move_version_backward(self, section):
573 def _kernel_move_version_forward(self, section):
577 def _kernel_get_version(self, section):
581 def _kernel_get_datakey_version(self, section):
585 def _kernel_diff_a_b(self):
603 def _kernel_resign_with_keys(self, section, key_path=None):
607 def _kernel_dump(self, section, kernel_path):
615 def _kernel_write(self, section, kernel_path):
623 def _kernel_get_sha(self, section):
627 def _tpm_get_firmware_version(self):
631 def _tpm_get_firmware_datakey_version(self):
635 def _tpm_get_kernel_version(self):
639 def _tpm_get_kernel_datakey_version(self):
643 def _tpm_stop_daemon(self):
647 def _tpm_restart_daemon(self):
651 def _cgpt_get_attributes(self):
658 def _cgpt_set_attributes(self, attributes):
672 def _updater_cleanup(self):
675 def _updater_get_fwid(self):
682 def _updater_resign_firmware(self, version):
689 def _updater_extract_shellball(self, append=None):
696 def _updater_repack_shellball(self, append=None):
703 def _updater_run_autoupdate(self, append):
710 def _updater_run_factory_install(self):
716 def _updater_run_bootok(self, append):
721 def _updater_run_recovery(self):
727 def _updater_get_temp_path(self):
731 def _updater_get_keys_path(self):
735 def _updater_get_work_path(self):
739 def _rootfs_verify_rootfs(self, section):
746 def _system_check_keys(self, expected_sequence):
753 def cleanup(self):