Home
last modified time | relevance | path

Searched refs:json_data (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/build/scripts/
H A Dkernel_permission_handler.py22 def check_json_value(json_data): argument
23 for key, value in json_data.items():
32 def check_json_content(json_data): argument
33 if len(json_data) == 1 and "kernelpermission" in json_data:
34 json_data = json_data["kernelpermission"]
35 return check_json_value(json_data)
43 json_data = json.load(file)
44 if check_json_content(json_data):
/ohos5.0/build/templates/common/
H A Dgenerate_component_package.py105 data_list = json_data.get(json_key)
133 def _handle_deps_data(json_data): argument
135 if json_data.get('public_deps'):
140 def _handle_includes_data(json_data): argument
142 if json_data.get('public_configs'):
149 def _get_static_lib_path(args, json_data): argument
150 label = json_data.get('label')
249 def _copy_lib(args, json_data, module): argument
472 so_name = json_data.get('out_name')
641 def _get_parts_path(json_data, part_name): argument
[all …]
/ohos5.0/build/hb/resolver/
H A Denv_args_resolver.py61 json_data = IoUtil.read_json_file(config_json)
62 root_path = json_data.get('root_path', 'not set')
63 board = json_data.get('board', 'not set')
64 kernel = json_data.get('kernel', 'not set')
65 product = json_data.get('product', 'not set')
66 product_path = json_data.get('product_path', 'not set')
67 device_path = json_data.get('device_path', 'not set')
68 device_company = json_data.get('device_company', 'not set')
/ohos5.0/build/ohos/packages/
H A Dkernel_permission.py133 json_data = json.load(file)
134 if KernelPermission.check_json_content(json_data):
151 def check_json_content(json_data): argument
152 if len(json_data) == 1 and "encaps" in json_data:
153 return KernelPermission.check_json_value(json_data)
159 def check_json_value(json_data): argument
160 encaps_data = json_data["encaps"]
/ohos5.0/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py118json_data = self.read_data_from_json(self.test_case_dir + '/' + self.test_case[self.test_case_inde…
119 json_data['main_id'] = self.S_C_MAIN_ID_SEND_TEST_INFO
120 print(json_data)
121 self.send_message(conn, json_data)
149 json_data = json.load(json_file)
151 return json_data
/ohos5.0/build/ohos/testfwk/
H A Dtest_js_stage_file_copy.py50 json_data = json.load(out_file)
51 if "kits" in json_data.keys():
52 kits_list = json_data.get("kits")
71 json_str = json.dumps(json_data, indent=2)
/ohos5.0/build/hb/util/
H A Dio_util.py41 def dump_json_file(dump_file: str, json_data: dict or list):
43 json.dump(json_data, json_file, ensure_ascii=False, indent=2)
/ohos5.0/build/common/asan/
H A Dbuild_mixed_asan.sh131 json_data="$(ninja -w dupbuild=warn -C ../../ -t compdb | jq '.[]|select(.output|startswith("packag…
132 make_system_img_cmd="$(echo "$json_data" | jq -r 'select(.output=="packages/phone/images/system.img…
133 make_vendor_img_cmd="$(echo "$json_data" | jq -r 'select(.output=="packages/phone/images/vendor.img…
134 make_userdata_img_cmd="$(echo "$json_data" | jq -r 'select(.output=="packages/phone/images/userdata…
/ohos5.0/build/tools/
H A Dproduct_config_version_convert.py91 json_data = json.dumps(dict_you_want, indent=2)
93 f.write(json_data)