Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/scripts/
Dgenerate_adservices_public_xml.py101 def update_public_xml(self, res_xml_dir, res_type, res_category, map_start, argument
107 root, mapping = self._get_existing_tree(public_xml_dir, res_type)
125 added_element.set('type', res_type)
139 res_type='string', res_category=ResourceCategory.Value,
143 res_type='dimen', res_category=ResourceCategory.Value,
146 res_type='color', res_category=ResourceCategory.Value,
149 res_type='integer', res_category=ResourceCategory.Value,
152 res_type='style', res_category=ResourceCategory.Value,
155 res_type='drawable', res_category=ResourceCategory.File,
158 res_type='layout', res_category=ResourceCategory.File,
[all …]
Dgenerate_ota_public_xml.py69 def _add_file_res(self, adservices_dict, public_xml, res_dir, res_type): argument
75 cur_element.set('type', res_type)
78 if (res_type, res_name) not in adservices_dict:
81 cur_element.set('id', adservices_dict[(res_type, res_name)])
Dadservices_ui_tests.py148 def _update_res_xml(self, res_dir, res_type, n): argument
151 added_element = ET.SubElement(root, res_type)