Home
last modified time | relevance | path

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

/base/update/packaging_tools/test/
Dtest_update_package.py22 from utils import OPTIONS_MANAGER
50 OPTIONS_MANAGER.head_info_list = \
53 OPTIONS_MANAGER.component_info_dict = \
61 OPTIONS_MANAGER.full_image_file_obj_list = [om_first_f]
62 OPTIONS_MANAGER.full_img_list = ['vendor']
63 OPTIONS_MANAGER.incremental_img_list = []
64 OPTIONS_MANAGER.hash_algorithm = 'test_algo'
65 OPTIONS_MANAGER.target_package_config_dir = ""
66 OPTIONS_MANAGER.version_mbn_file_path = VERSION_MBN_PATH
67 OPTIONS_MANAGER.board_list_file_path = BOARD_LIST_PATH
[all …]
Dtest_script_generator.py25 from utils import OPTIONS_MANAGER
114 OPTIONS_MANAGER.two_step = True
115 OPTIONS_MANAGER.full_img_list = []
116 OPTIONS_MANAGER.incremental_img_list = ['vendor', 'updater']
117 OPTIONS_MANAGER.incremental_image_file_obj_list = [file_obj]
Dtest_utils.py24 from utils import OPTIONS_MANAGER
87 OPTIONS_MANAGER.target_package_dir = "./"
104 OPTIONS_MANAGER.update_package_file_path = 'test.file'
115 OPTIONS_MANAGER.target_package_config_dir = ""
122 OPTIONS_MANAGER.target_package_config_dir = ""
138 OPTIONS_MANAGER.target_package_config_dir = ""
Dtest_build_update.py32 from utils import OPTIONS_MANAGER
272 OPTIONS_MANAGER.source_package_dir = "./"
276 OPTIONS_MANAGER.target_package_version = \
/base/update/packaging_tools/
Dutils.py205 OPTIONS_MANAGER = OptionsManager() variable
295 get_update_config_softversion(OPTIONS_MANAGER.target_package_dir, package_dict.get('head', {}))
307 if not OPTIONS_MANAGER.not_l2:
328 OPTIONS_MANAGER.full_img_name_list.\
330 tem_path = os.path.join(OPTIONS_MANAGER.target_package_dir,
335 OPTIONS_MANAGER.incremental_img_name_list.\
394 os.path.join(OPTIONS_MANAGER.target_package_dir,
404 dir=OPTIONS_MANAGER.target_package_dir, prefix="partition_file-", mode='wb')
416 if OPTIONS_MANAGER.partition_file is not None:
431 OPTIONS_MANAGER.product = None
[all …]
Dbuild_update.py68 from utils import OPTIONS_MANAGER
143 OPTIONS_MANAGER.make_dir_path = make_dir_path
144 OPTIONS_MANAGER.update_package = arg
155 unpack_package = os.path.join(OPTIONS_MANAGER.update_package, arg)
159 OPTIONS_MANAGER.unpack_package_path = None
161 OPTIONS_MANAGER.unpack_package_path = unpack_package
176 parser = OPTIONS_MANAGER.parser
217 args = OPTIONS_MANAGER.parser.parse_args()
218 OPTIONS_MANAGER.source_package = args.source_package
219 OPTIONS_MANAGER.target_package = args.target_package
[all …]
Dupdate_package.py31 from utils import OPTIONS_MANAGER
98 dir=OPTIONS_MANAGER.update_package, prefix="update_bin-")
100 head_value_list = OPTIONS_MANAGER.head_info_list
101 component_dict = OPTIONS_MANAGER.component_info_dict
102 full_image_file_obj_list = OPTIONS_MANAGER.full_image_file_obj_list
103 full_img_list = OPTIONS_MANAGER.full_img_list
104 incremental_img_list = OPTIONS_MANAGER.incremental_img_list
106 OPTIONS_MANAGER.incremental_image_file_obj_list
110 if not OPTIONS_MANAGER.not_l2:
111 if OPTIONS_MANAGER.partition_file_obj is not None:
[all …]
Dscript_generator.py28 from utils import OPTIONS_MANAGER
258 OPTIONS_MANAGER.opera_script_file_name_dict[opera_name].\
269 OPTIONS_MANAGER.opera_script_file_name_dict.items():
277 OPTIONS_MANAGER.total_script_file_obj = script_total
288 full_img_list = OPTIONS_MANAGER.full_img_list
289 incremental_img_list = OPTIONS_MANAGER.incremental_img_list
298 if OPTIONS_MANAGER.two_step and incremental_img_list[idx] == TWO_STEP:
302 file_obj = OPTIONS_MANAGER.incremental_image_file_obj_list[idx]
308 if OPTIONS_MANAGER.two_step and full_img_list[idx] == TWO_STEP:
311 file_obj = OPTIONS_MANAGER.full_image_file_obj_list[idx]
[all …]
Dunpack_updater_package.py30 from utils import OPTIONS_MANAGER
63 if OPTIONS_MANAGER.not_l2:
76 if not os.access(OPTIONS_MANAGER.unpack_package_path, os.R_OK) and \
80 OPTIONS_MANAGER.unpack_package_path, UPDATE_LOGGER.ERROR_LOG)
163 "Start unpack updater package: %s" % OPTIONS_MANAGER.unpack_package_path)
165 self.save_path = os.path.join(OPTIONS_MANAGER.target_package, filename)
173 with open(OPTIONS_MANAGER.unpack_package_path, "rb") as package_file:
Dvendor_script.py24 from utils import OPTIONS_MANAGER
99 OPTIONS_MANAGER.register_script_file_obj = register_script
Dpatch_package_process.py27 from utils import OPTIONS_MANAGER
253 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
255 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
480 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
512 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % NEW_DAT, mode='wb')
514 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % PATCH_DAT, mode='wb')
516 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % TRANSFER_LIST, mode='wb')
518 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
520 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
522 OPTIONS_MANAGER.incremental_temp_file_obj_list.append(
[all …]
Dcreate_update_package.py24 from utils import OPTIONS_MANAGER
81 if OPTIONS_MANAGER.not_l2:
138 if OPTIONS_MANAGER.not_l2:
Dimage_class.py25 from utils import OPTIONS_MANAGER