Home
last modified time | relevance | path

Searched refs:get (Results 1 - 25 of 1552) sorted by relevance

12345678910>>...63

/build/hb/util/loader/
H A Dload_bundle_file.py51 _component_info = self.bundle_info.get('component')
61 _bundle_build = _component_info.get('build')
69 _module_groups = _bundle_build.get('group_type')
76 _component_info = self.bundle_info.get('component')
77 _subsystem_name = _component_info.get('subsystem')
78 _part_name = _component_info.get('name')
79 _bundle_build = _component_info.get('build')
85 if _component_info.get('build').__contains__('sub_component'):
86 _part_info['module_list'] = _component_info.get('build').get(
[all...]
H A Dsubsystem_info.py34 for key, val in subsystem_configs.get('subsystem').items():
35 src_subsystem[key] = val.get('path')
43 subsystem_configs.get('no_src_subsystem'))
52 overlay_path = subsystem_config_overlay.get('subsystem').get(subsystem)['path']
57 subsystem_configs.get('subsystem').get(subsystem)['path'] += \
58 subsystem_config_overlay.get('subsystem').get(subsystem)['path']
59 subsystem_configs.get('subsyste
[all...]
H A Dload_ohos_build.py92 part_name = bundle_config.get('component').get('name')
93 part_syscap = bundle_config.get('component').get('syscap')
134 lib_type = kit_lib.get('type')
137 label = kit_lib.get('name')
143 header = kit_lib.get('header')
144 header_files = header.get('header_files')
150 header_base = header.get('header_base')
154 javadoc_val = kit_lib.get('javado
[all...]
H A Dplatforms_loader.py49 parts = _platform_config.get('parts')
53 stub_parts = _platform_config.get('stub_parts')
67 config_version = config_info.get('version')
68 platforms_info = config_info.get('platforms')
74 target_os = _info.get('target_os')
75 target_cpu = _info.get('target_cpu')
82 _infos = platforms_config.get(arch)
89 target_os = _info.get('target_os')
90 target_cpu = _info.get('target_cpu')
97 _infos = platforms_config.get(arc
[all...]
/build/hb/util/
H A Dproduct_util.py50 product_name = info.get('product_name')
51 if info.get('product_path'):
53 config.root_path, info.get('product_path'))
65 'version': info.get('version', '3.0'),
66 'os_level': info.get('type', "mini"),
67 'build_out_path': info.get('build_out_path'),
69 info.get('subsystem_config_json'),
73 'component_type': info.get('component_type', '')
81 'version': info.get('version', '3.0'),
82 'os_level': info.get('typ
[all...]
/build/templates/common/
H A Dgenerate_component_package.py56 label = _innerapi.get("label")
80 part_data = data.get(part)
105 data_list = json_data.get(json_key)
106 if isinstance(data_list, list) and len(json_data.get(json_key)) >= 1:
109 desc_list.append(json_data.get(json_key))
113 value_depth = len(json_data.get(json_key))
115 _include_dirs = json_data.get(json_key)[i].get('include_dirs')
121 json_path = os.path.join(args.get("out_path"),
122 args.get("subsystem_nam
[all...]
H A Dexternal_deps_handler.py28 toolchain = platform_toolchain.get(current_variant)
32 toolchain = platform_toolchain.get(current_variant)
43 external_module_array = components_info_dict.get("innerapis")
45 if external_module.get("name") == external_module_name:
53 _inner_kits_info_dict = parts_inner_kits_info.get(external_part_name)
58 external_module_desc_info = _inner_kits_info_dict.get(
61 _new_kits_info_dict = parts_inner_kits_info.get(adapted_part_name)
65 external_module_desc_info = _new_kits_info_dict.get(
72 _components_info_dict = components_info.get(external_part_name)
93 sdk_module_info = subsystem_sdk_info.get(external_module_nam
[all...]
/build/hb/util/preloader/
H A Dpreloader_process_data.py102 self._version = self._config.get('version', '3.0')
117 product_name = self._config.get('product_name')
120 os_level = self._config.get('type')
123 api_version = self._config.get('api_version')
126 manufacturer_id = self._config.get('manufacturer_id')
135 device_name = self._config.get('product_device')
141 device_name = self._config.get('board')
160 os_level = self._config.get("type", "standard")
162 os_level = self._config.get("type", "mini")
164 based_on_mininum_system = self._config.get(
[all...]
/build/hb/resolver/
H A Dset_args_resolver.py49 config.product = product_info.get('name')
50 config.product_path = product_info.get('product_path')
51 config.version = product_info.get('version')
52 config.os_level = product_info.get('os_level')
53 config.product_json = product_info.get('config')
54 config.component_type = product_info.get('component_type')
55 if product_info.get('product_config_path'):
56 config.product_config_path = product_info.get(
59 config.product_config_path = product_info.get('path')
62 config.board = device_info.get('boar
[all...]
H A Dargs_factory.py44 if arg['arg_attribute'].get('abbreviation'):
52 if arg['arg_attribute'].get('optional'):
53 if arg['arg_attribute'].get('abbreviation'):
57 elif arg['arg_attribute'].get('abbreviation'):
65 if arg['arg_attribute'].get('abbreviation'):
73 return parser.add_argument(arg['arg_attribute'].get('abbreviation'), arg['arg_name'], help=arg['arg_help'],
78 return parser.add_argument(arg['arg_attribute'].get('abbreviation'), arg['arg_name'], help=arg['arg_help'],
84 default=arg['argDefault'], choices=arg['arg_attribute'].get('optional'))
88 return parser.add_argument(arg['arg_attribute'].get('abbreviation'), arg['arg_name'], help=arg['arg_help'],
89 default=arg['argDefault'], choices=arg['arg_attribute'].get('optiona
[all...]
/build/tools/component_tools/
H A Dfull_components_generator.py62 ret["subsystem"] = data.get("subsystem")
63 for k, _ in data.get("parts").items():
64 ret.get("components").append(k)
72 ret["subsystem"] = data.get("component").get("subsystem")
73 ret.get("components").append(data.get("component").get("name"))
85 if data.get("subsystem") == subsys:
86 ret = ret.union(set(data.get("component
[all...]
H A Dparse_kconf.py40 for item in data.get(SUBSYS_LIST):
41 subsys_name = item.get(SUBSYS)
42 for component in item.get(COMPONENT_LIST):
43 component_name = component.get(COMPONENT)
62 deps = component_deps_dict.get(component_name)
68 subsys_name = component_subsys_dict.get(dep)
71 if subsys_conf.get(subsys_name) is None:
133 subsys = items.get(SUBSYS)
134 component = items.get(COMPONENT)
135 conf_type = items.get(TYP
[all...]
/build/
H A Dprebuilts_download.py77 parse_dict['unzip_dir'] = config.get('unzip_dir')
78 file_path = config.get('file_path')
82 parse_dict['unzip_filename'] = config.get('unzip_filename')
83 md5_huaweicloud_url_cmd = 'echo ' + parse_dict.get('huaweicloud_url') + "|md5sum|cut -d ' ' -f1"
85 parse_dict['bin_file'] = os.path.basename(parse_dict.get('huaweicloud_url'))
175 unzip_dir = parse_dict.get('unzip_dir')
176 huaweicloud_url = parse_dict.get('huaweicloud_url')
177 unzip_filename = parse_dict.get('unzip_filename')
178 md5_huaweicloud_url = parse_dict.get('md5_huaweicloud_url')
179 bin_file = parse_dict.get('bin_fil
[all...]
H A Dprebuilts_config.py126 name = npm_dict.get('name')
127 npm_download = npm_dict.get('download')
128 package_path = os.path.join(code_path, npm_download.get('package_path'))
129 package_lock_path = os.path.join(code_path, npm_download.get('package_lock_path'))
132 download_dir = os.path.join(home_path, npm_download.get('download_dir'), hash_value)
135 symlink = os.path.join(code_path, npm_download.get('symlink'))
150 for link in npm_download.get('symlink', []):
154 symlink = os.path.join(code_path, npm_download.get('symlink'))
162 for copy_entry in npm_download.get('copy', []):
165 for copy_ext_entry in npm_download.get('copy_ex
[all...]
/test/testfwk/arkxtest/jsunit/src/module/config/
H A DDataDriver.js24 static get(object, name, defaultValue) {
58 if (ObjectUtils.has(specItem, IT_KEY) && ObjectUtils.get(specItem, IT_KEY) === specDesc) {
59 return ObjectUtils.get(specItem, PARAMS_KEY, specParams);
69 let suites = ObjectUtils.get(this.data, SUITES_KEY, []);
71 let describeValue = ObjectUtils.get(suiteItem, DESCRIBE_KEY, '');
73 let specs = ObjectUtils.get(suiteItem, SPECS_KEY, []);
83 let suites = ObjectUtils.get(this.data, SUITES_KEY, []);
85 let describeValue = ObjectUtils.get(suiteItem, DESCRIBE_KEY, []);
87 suiteParams = Object.assign({}, suiteParams, ObjectUtils.get(suiteItem, PARAMS_KEY, suiteParams));
99 if (ObjectUtils.has(specItem, IT_KEY) && ObjectUtils.get(specIte
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddevice_lite.py91 tmp = int(kwargs.get("retry", RETRY_ATTEMPTS))
155 (item.get("ip"), item.get("port"))
158 self.device_sn = "local_%s" % item.get("com")
164 def get(self, key=None, default=None): member in DeviceLite
171 return self.extend_value.get(key, default)
190 not item.get("com")):
196 if item.get("com").upper() in com_list:
207 not item.get("com")):
211 not item.get("typ
[all...]
/test/testfwk/xdevice/src/xdevice/_core/testkit/
H A Djson_parser.py84 self.config.description = json_content.get("description", "")
85 self.config.kits = json_content.get("kits", [])
86 self.config.environment = json_content.get("environment", [])
87 self.config.driver = json_content.get("driver", {})
88 self.config.module_subsystem = json_content.get("subsystem", "")
89 self.config.module_part = json_content.get("part", "")
90 self.config.test_suite_name = json_content.get("testSuiteName", "")
91 self.config.test_case_list = json_content.get("testCaseList", [])
94 for kit in json_content.get("kits", []):
96 for device in json_content.get("environmen
[all...]
/test/xts/acts/ability/ability_runtime/capichildprocess/entry/src/main/cpp/
H A DIpcProxy.cpp44 if (!WriteInterfaceToken(data.get())) { in RequestExitChildProcess()
52 int ret = OH_IPCRemoteProxy_SendRequest(ipcProxy_, IPC_ID_REQUEST_EXIT_PROCESS, data.get(), reply.get(), &ipcOpt); in RequestExitChildProcess()
73 if (!WriteInterfaceToken(data.get()) || in Add()
74 OH_IPCParcel_WriteInt32(data.get(), a) != OH_IPC_SUCCESS || in Add()
75 OH_IPCParcel_WriteInt32(data.get(), b) != OH_IPC_SUCCESS) { in Add()
83 int ret = OH_IPCRemoteProxy_SendRequest(ipcProxy_, IPC_ID_ADD, data.get(), reply.get(), &ipcOpt); in Add()
88 OH_IPCParcel_ReadInt32(reply.get(), &result); in Add()
105 if (!WriteInterfaceToken(data.get())) { in StartNativeChildProcess()
[all...]
/build/ohos/sdk/
H A Dparse_sdk_description.py73 item.get('targets').get('linux').add_target('"%s",' % target)
75 item.get('targets').get('windows').add_target('"%s",' % target)
77 item.get('targets').get('darwin').add_target('"%s",' % target)
79 item.get('targets').get('ohos').add_target('"%s",' % target)
88 {% set sdk_type = item.get('type') %}
89 {% set targets = item.get('target
[all...]
/build/ohos/statistics/
H A Dbuild_overlap_statistics.py24 if contents.get('deps_info').get('combine_target'):
37 return contents.get('deps_info').get('java_sources_file')
59 path = data.get(key).get('path')
104 path = paths.get(subsystem)
134 item.get('subsystem'), item.get('files'),
135 item.get('files_percentag
[all...]
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Drepeater_helper.py36 module_name = suite.attrib.get(ReportConstant.module_name, "")
40 name_in_suite = suite.attrib.get(ReportConstant.name, "")
42 total = int(suite.attrib.get(ReportConstant.tests, 0))
68 value = int(test_suite.attrib.get(update_attribute, 0))
69 value = int(root_tree.attrib.get(update_attribute, 0)) + value
77 name = testcase.attrib.get(ReportConstant.name, "")
78 class_name = testcase.attrib.get(ReportConstant.class_name, "")
86 modules[uuid].attrib.get(ReportConstant.tests, 0)) + 1
90 value = int(modules[uuid].attrib.get(
94 if testcase.attrib.get(ReportConstan
[all...]
/build/ohos/packages/
H A Dfs_process.py91 self.fs_cfg.get('fs_dir_name', 'rootfs'))
92 exist_ok, with_rm = self.is_incr(self.fs_cfg.get('fs_incr', None))
98 for fs_dir in self.fs_cfg.get('fs_dirs', []):
99 source_dir = fs_dir.get('source_dir', '')
100 target_dir = fs_dir.get('target_dir', '')
110 target_mode_tuple = (target_path, fs_dir.get('dir_mode', 755))
123 ignore_files = fs_dir.get('ignore_files', [])
124 dir_mode = fs_dir.get('dir_mode', 755)
125 file_mode = fs_dir.get('file_mode', 555)
162 fs_symlink = self.fs_cfg.get('fs_symlin
[all...]
H A Dresources_collect.py36 if part_info.get('is_source') is True:
37 part_name = part_info.get('part_name')
44 origin_part_name = part_info.get('origin_part_name')
45 if part_info.get('variant_name') != 'phone':
46 _toolchain = part_info.get('toolchain_label')
70 origin_part_name = part_info.get('origin_part_name')
71 if part_info.get('variant_name') != 'phone':
72 _toolchain = part_info.get('toolchain_label')
96 origin_part_name = part_info.get('origin_part_name')
97 if part_info.get('variant_nam
[all...]
/build/scripts/
H A Dgen_sdk_build_file.py91 subsystem_name = module_desc.get('subsystem_name')
92 part_name = module_desc.get('part_name')
93 origin_name = module_desc.get('origin_name')
94 module_type = module_desc.get('type')
95 module_name = module_desc.get('name')
96 module_info_file = module_desc.get('source_info')
97 _current_toolchain_dir = module_desc.get('current_toolchain_dir')
99 # read module_info.json file, get module source path
107 source = source_data.get('source')
109 source = source_data.get('alternative_sourc
[all...]
/test/testfwk/developer_test/local_coverage/resident_service/
H A Dpublic_method.py39 ip_config = data_dic.get("ip", "")
40 sn = data_dic.get("sn", "")
41 port = data_dic.get("port", "")
99 if testsuite in services_component_dict.get("dinput"):
104 elif testsuite in services_component_dict.get("softbus_server"):
112 server_name: component_gcda_dict.get(server_name)
128 server_name: component_gcda_dict.get(server_name)
132 server_list = system_info_dict.get(system_name) if system_info_dict.get(system_name) else []
138 server_name: services_component_dict.get(server_nam
[all...]

Completed in 10 milliseconds

12345678910>>...63