Home
last modified time | relevance | path

Searched refs:public_xml (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/scripts/
Dgenerate_ota_public_xml.py52 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 …]
Dgenerate_test_ota.py58 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"))
Dadservices_ui_tests.py158 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()