Lines Matching refs:product_json
156 def get_device_info(product_json: str):
157 info = IoUtil.read_json_file(product_json)
193 raise OHOSException(f'wrong version number in {product_json}')
197 def get_all_components(product_json: str):
198 if not os.path.isfile(product_json):
199 raise OHOSException(f'features {product_json} not found')
204 product_json).get('inherit', [])]
206 files.append(product_json)
225 def get_features(product_json: str):
226 if not os.path.isfile(product_json):
227 raise OHOSException(f'features {product_json} not found')
232 product_json).get('inherit', [])]
234 files.append(product_json)
270 def get_features_dict(product_json: str):
271 all_parts = ProductUtil.get_all_components(product_json)
286 def get_components(product_json: str, subsystems: str):
287 if not os.path.isfile(product_json):
288 raise OHOSException(f'{product_json} not found')
291 product_data = IoUtil.read_json_file(product_json)