Lines Matching refs:cmd
205 cmd = ["debugfs_static", '-R', 'rdump ./ %s' % dir_name, img_file_path]
206 run_host_command(cmd)
219 cmd = ["deapexer", "extract", apex_file_path, dir_name]
220 run_host_command(cmd)
240 cmd = ["apexer", "--force", "--include_build_info", "--do_not_check_keyname"]
241 cmd.extend(["--manifest", container_files["apex_manifest.pb"]])
243 cmd.extend(["--manifest_json", container_files["apex_manifest.json"]])
244 cmd.extend(["--build_info", container_files["apex_build_info.pb"]])
246 cmd.extend(["--assets_dir", "assets"])
248 cmd.extend(["--key", os.path.join(get_current_dir(), TEST_PRIVATE_KEY)])
249 cmd.extend(["--pubkey", os.path.join(get_current_dir(), TEST_AVB_PUBLIC_KEY)])
250 cmd.extend(args)
259 cmd.extend([payload_dir, fn])
261 run_host_command(cmd)
268 cmd = [
276 run_and_check_output(cmd)
286 cmd = ['avbtool']
287 cmd.append('add_hashtree_footer')
288 cmd.append('--do_not_generate_fec')
289 cmd.extend(['--algorithm', 'SHA256_RSA4096'])
290 cmd.extend(['--key', os.path.join(get_current_dir(), TEST_PRIVATE_KEY)])
292 cmd.extend(['--prop', 'apex.key:' + manifest_apex.name])
296 cmd.extend(['--salt', salt])
297 cmd.extend(['--image', signed_payload])
298 cmd.append('--no_hashtree')
299 run_and_check_output(cmd)
305 cmd = ["avbtool", "verify_image", "--image", payload, "--accept_zeroed_hashtree"]
306 run_and_check_output(cmd)