Searched refs:res_dir (Results 1 – 2 of 2) sorted by relevance
/packages/modules/AdServices/adservices/scripts/ |
D | generate_ota_public_xml.py | 69 def _add_file_res(self, adservices_dict, public_xml, res_dir, res_type): argument 70 if (not os.path.isdir(res_dir)): 72 res_files = [f for f in listdir(res_dir) if isfile(join(res_dir, f))] 83 def _add_id_res(self, adservices_dict, public_xml, res_dir): argument 84 if (not os.path.isdir(res_dir)): 87 for file in os.scandir(res_dir):
|
D | adservices_ui_tests.py | 148 def _update_res_xml(self, res_dir, res_type, n): argument 149 root = ET.parse(res_dir).getroot() 155 with open(res_dir, "w+") as file:
|