| /test/py/ |
| A D | console_base.py | 65 self.console.disable_check_count[self.check_type] += 1 69 self.console.disable_check_count[self.check_type] -= 1 105 self.orig_timeout = self.p.timeout 112 self.p.timeout = self.orig_timeout 234 self.u_boot_version_string = self.p.after 334 m = self.p.expect([self.prompt_compiled] + self.bad_patterns) 345 handle_exception(self.config, self, self.log, exc, 349 handle_exception(self.config, self, self.log, exc, 415 m = self.p.expect([text] + self.bad_patterns) 494 self.p = self.get_spawn() [all …]
|
| A D | multiplexed_log.py | 67 self.logfile.write(self, data, implicit) 138 self.logfile.write(self, msg) 174 self.logfile.write(self, output) 209 self.anchor = self.log.start_section(self.marker, self.anchor) 212 self.log.end_section(self.marker) 233 self.timestamp_start = self._get_time() 234 self.timestamp_prev = self.timestamp_start 388 self.f.write(self._escape(msg)) 408 self.timestamp_blocks.append(self._get_time()) 434 if (not self.blocks) or (marker != self.blocks[-1]): [all …]
|
| A D | spawn.py | 99 self.buf = '' 108 (self.pid, self.fd) = pty.fork() 174 return False, self.exit_code, self.exit_info 183 self.exit_info = 'status %d' % self.exit_code 189 return False, self.exit_code, self.exit_info 280 self.before = self.buf[:pos] 281 self.after = self.buf[pos:posafter] 282 self.output += self.buf[:posafter] 283 self.buf = self.buf[posafter:] 303 self.buf = self.re_vt100.sub('', self.buf, count=1000000) [all …]
|
| A D | console_sandbox.py | 17 def __init__(self, log, config): argument 29 self.sandbox_flags = [] 30 self.use_dtb = True 32 def get_spawn(self): argument 58 if self.use_dtb: 83 self.use_dtb = True 85 def kill(self, sig): argument 96 self.p.kill(sig) 98 def validate_exited(self): argument 111 p = self.p [all …]
|
| A D | console_board.py | 22 def __init__(self, log, config): argument 39 with self.log.section('flash'): 40 self.log.action('Flashing U-Boot') 45 self.log.status_pass('OK') 47 def get_spawn(self): argument 59 args = [self.config.board_type, self.config.board_identity] 62 if self.config.use_running_system: 66 self.log.action('Resetting board') 77 def close(self): argument 80 self.log.action('Releasing board') [all …]
|
| A D | utils.py | 58 def __init__(self, ubman, fn, size): argument 77 self.fn = fn 81 if os.path.exists(self.abs_fn): 84 self.content_hash = md5sum_file(self.abs_fn) 273 self.log = log 274 self.filename = filename 276 def __enter__(self): argument 280 self.module_timestamp = os.path.getmtime(self.module_filename) 286 self.filename) 302 self.log.action( [all …]
|
| /test/py/tests/ |
| A D | test_fit_auto_signed.py | 29 def __init__(self, ubman, file_name): argument 30 self.fit = file_name 31 self.ubman = ubman 32 self.images_nodes = set() 33 self.confgs_nodes = set() 35 def __fdt_list(self, path): argument 53 def build_nodes_sets(self): argument 63 return len(self.images_nodes) + len(self.confgs_nodes) 65 def check_fit_crc32_images(self): argument 71 for node in self.images_nodes: [all …]
|
| A D | test_fit_ecdsa.py | 22 def __init__(self, ubman, file_name): argument 23 self.fit = file_name 24 self.ubman = ubman 25 self.signable_nodes = set() 27 def __fdt_list(self, path): argument 32 utils.run_and_log(self.ubman, 45 def find_signable_image_nodes(self): argument 51 return self.signable_nodes 57 def sign(self, mkimage, key_file): argument 58 utils.run_and_log(self.ubman, [mkimage, '-F', self.fit, f'-G{key_file}']) [all …]
|
| A D | test_fit_hashes.py | 29 def __init__(self, ubman, file_name): argument 30 self.fit = file_name 31 self.ubman = ubman 32 self.hashable_nodes = set() 34 def __fdt_list(self, path): argument 37 def __fdt_get(self, node, prop): argument 42 numbers = utils.run_and_log(self.ubman, 50 def find_hashable_image_nodes(self): argument 57 return self.hashable_nodes 59 def verify_hashes(self): argument [all …]
|
| A D | vboot_forge.py | 42 def __init__(self): argument 60 def pack(self): argument 64 return self.__struct__.pack(*[getattr(self, n) for n in self.__names__]) 66 def __str__(self): argument 149 def clone(self): argument 150 return Prop(self.name, self.value) 152 def __repr__(self): argument 153 return "<Prop(name='%s', value=%s>" % (self.name, repr(self.value)) 161 self.props = [] 164 def clone(self): argument [all …]
|
| A D | test_env.py | 26 def __init__(self, ubman): argument 36 self.ubman = ubman 37 self.get_env() 38 self.set_var = self.get_non_existent_var() 40 def get_env(self): argument 56 self.env = {} 61 self.env[var] = value 63 def get_existent_var(self): argument 73 for var in self.env: 76 def get_non_existent_var(self): argument [all …]
|
| /test/py/tests/test_fs/ |
| A D | test_unlink.py | 18 def test_unlink1(self, ubman, fs_obj_unlink): argument 36 def test_unlink2(self, ubman, fs_obj_unlink): argument 55 def test_unlink3(self, ubman, fs_obj_unlink): argument 67 def test_unlink4(self, ubman, fs_obj_unlink): argument 83 def test_unlink5(self, ubman, fs_obj_unlink): argument 96 def test_unlink6(self, ubman, fs_obj_unlink): argument 108 def test_unlink7(self, ubman, fs_obj_unlink): argument
|
| A D | test_basic.py | 19 def test_fs1(self, ubman, fs_obj_basic): argument 51 def test_fs2(self, ubman, fs_obj_basic): argument 74 def test_fs3(self, ubman, fs_obj_basic): argument 89 def test_fs4(self, ubman, fs_obj_basic): argument 108 def test_fs5(self, ubman, fs_obj_basic): argument 127 def test_fs6(self, ubman, fs_obj_basic): argument 148 def test_fs7(self, ubman, fs_obj_basic): argument 169 def test_fs8(self, ubman, fs_obj_basic): argument 190 def test_fs9(self, ubman, fs_obj_basic): argument 211 def test_fs10(self, ubman, fs_obj_basic): argument [all …]
|
| A D | test_mkdir.py | 17 def test_mkdir1(self, ubman, fs_obj_mkdir): argument 36 def test_mkdir2(self, ubman, fs_obj_mkdir): argument 54 def test_mkdir3(self, ubman, fs_obj_mkdir): argument 67 def test_mkdir4(self, ubman, fs_obj_mkdir): argument 79 def test_mkdir5(self, ubman, fs_obj_mkdir): argument 91 def test_mkdir6(self, ubman, fs_obj_mkdir): argument
|
| A D | test_ext.py | 32 def test_fs_ext1(self, ubman, fs_obj_ext): argument 55 def test_fs_ext2(self, ubman, fs_obj_ext): argument 78 def test_fs_ext3(self, ubman, fs_obj_ext): argument 93 def test_fs_ext4(self, ubman, fs_obj_ext): argument 126 def test_fs_ext5(self, ubman, fs_obj_ext): argument 159 def test_fs_ext6(self, ubman, fs_obj_ext): argument 184 def test_fs_ext7(self, ubman, fs_obj_ext): argument 217 def test_fs_ext8(self, ubman, fs_obj_ext): argument 235 def test_fs_ext9(self, ubman, fs_obj_ext): argument 250 def test_fs_ext10(self, ubman, fs_obj_ext): argument [all …]
|
| A D | test_rename.py | 15 def test_rename1(self, ubman, fs_obj_rename): argument 47 def test_rename2(self, ubman, fs_obj_rename): argument 79 def test_rename3(self, ubman, fs_obj_rename): argument 111 def test_rename4(self, ubman, fs_obj_rename): argument 144 def test_rename5(self, ubman, fs_obj_rename): argument 177 def test_rename6(self, ubman, fs_obj_rename): argument 210 def test_rename7(self, ubman, fs_obj_rename): argument 243 def test_rename8(self, ubman, fs_obj_rename): argument 281 def test_rename9(self, ubman, fs_obj_rename): argument 310 def test_rename10(self, ubman, fs_obj_rename): argument [all …]
|
| A D | test_symlink.py | 21 def test_symlink1(self, ubman, fs_obj_symlink): argument 46 def test_symlink2(self, ubman, fs_obj_symlink): argument 75 def test_symlink3(self, ubman, fs_obj_symlink): argument 111 def test_symlink4(self, ubman, fs_obj_symlink): argument
|
| /test/py/tests/test_efi_secboot/ |
| A D | test_signed.py | 21 def test_efi_signed_image_auth1(self, ubman, efi_boot_env): argument 44 def test_efi_signed_image_auth2(self, ubman, efi_boot_env): argument 89 def test_efi_signed_image_auth3(self, ubman, efi_boot_env): argument 125 def test_efi_signed_image_auth4(self, ubman, efi_boot_env): argument 151 def test_efi_signed_image_auth5(self, ubman, efi_boot_env): argument 238 def test_efi_signed_image_auth6(self, ubman, efi_boot_env): argument 287 def test_efi_signed_image_auth7(self, ubman, efi_boot_env): argument 338 def test_efi_signed_image_auth8(self, ubman, efi_boot_env): argument
|
| A D | test_signed_intca.py | 23 def test_efi_signed_image_intca1(self, ubman, efi_boot_env_intca): argument 56 def test_efi_signed_image_intca2(self, ubman, efi_boot_env_intca): argument 98 def test_efi_signed_image_intca3(self, ubman, efi_boot_env_intca): argument
|
| A D | test_unsigned.py | 21 def test_efi_unsigned_image_auth1(self, ubman, efi_boot_env): argument 48 def test_efi_unsigned_image_auth2(self, ubman, efi_boot_env): argument 72 def test_efi_unsigned_image_auth3(self, ubman, efi_boot_env): argument
|
| A D | test_authvar.py | 20 def test_efi_var_auth1(self, ubman, efi_boot_env): argument 124 def test_efi_var_auth2(self, ubman, efi_boot_env): argument 165 def test_efi_var_auth3(self, ubman, efi_boot_env): argument 206 def test_efi_var_auth4(self, ubman, efi_boot_env): argument 240 def test_efi_var_auth5(self, ubman, efi_boot_env): argument
|
| /test/py/tests/test_efi_capsule/ |
| A D | test_capsule_firmware_signed_fit.py | 39 self, u_boot_config, ubman, efi_capsule_data): argument 67 self, u_boot_config, ubman, efi_capsule_data): argument 99 self, u_boot_config, ubman, efi_capsule_data): argument 130 self, u_boot_config, ubman, efi_capsule_data): argument 168 self, u_boot_config, ubman, efi_capsule_data): argument
|
| A D | test_capsule_firmware_signed_raw.py | 37 self, u_boot_config, ubman, efi_capsule_data): argument 64 self, u_boot_config, ubman, efi_capsule_data): argument 94 self, u_boot_config, ubman, efi_capsule_data): argument 124 self, u_boot_config, ubman, efi_capsule_data): argument 167 self, u_boot_config, ubman, efi_capsule_data): argument
|
| A D | test_capsule_firmware_fit.py | 36 self, u_boot_config, ubman, efi_capsule_data): argument 74 self, u_boot_config, ubman, efi_capsule_data): argument 110 self, u_boot_config, ubman, efi_capsule_data): argument 158 self, u_boot_config, ubman, efi_capsule_data): argument
|
| A D | test_capsule_firmware_raw.py | 37 self, u_boot_config, ubman, efi_capsule_data): argument 76 self, u_boot_config, ubman, efi_capsule_data): argument 117 self, u_boot_config, ubman, efi_capsule_data): argument 162 self, u_boot_config, ubman, efi_capsule_data): argument 215 self, u_boot_config, ubman, efi_capsule_data): argument
|