Searched refs:public_xml (Results 1 – 3 of 3) sorted by relevance
/packages/modules/AdServices/adservices/scripts/ |
D | generate_ota_public_xml.py | 52 def _add_value_res(self, adservices_dict, public_xml, ota_res_values_dir): argument 61 cur_element = ET.SubElement(public_xml, 'public') 69 def _add_file_res(self, adservices_dict, public_xml, res_dir, res_type): argument 74 cur_element = ET.SubElement(public_xml, 'public') 83 def _add_id_res(self, adservices_dict, public_xml, res_dir): argument 94 cur_element = ET.SubElement(public_xml, 'public') 113 public_xml = ET.Element('resources') 115 self._add_value_res(adservices_dict, public_xml, ota_res_values_dir) 116 self._add_file_res(adservices_dict, public_xml, ota_drawable_dir, 'drawable') 117 self._add_file_res(adservices_dict, public_xml, ota_color_dir, 'color') [all …]
|
D | generate_test_ota.py | 58 public_xml = ET.Element('resources') variable 74 cur_element = ET.SubElement(public_xml, 'public') 92 ET.indent(public_xml, space=' ') 97 f.write(ET.tostring(public_xml, encoding="unicode"))
|
D | adservices_ui_tests.py | 158 def _test_util_update_public_xml(self, new_res_count, public_xml, public_xml_dir): argument 159 old_root = ET.ElementTree(ET.fromstring(public_xml)).getroot()
|