Home
last modified time | relevance | path

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

/packages/apps/Car/libs/
Dresource_generator.py79 def CreateOrOpenResourceFiles(self, resource_dir, resource_type, modifiers): argument
97 filename = directory + os.path.sep + resource_type + file_extension
176 def ModifyXml(self, resources, resource_type, resource_dir, tag): argument
188 filenames, xmltrees = self.CreateOrOpenResourceFiles(resource_dir, resource_type, modifiers)
260 def ValidateArgs(self, csv, resource_dir, resource_type): argument
265 if not resource_type in self.resource_handlers:
266 raise ValueError("%s is not a supported resource type" % resource_type)
272 def Main(self, csv_file, resource_dir, resource_type): argument
273 self.ValidateArgs(csv_file, resource_dir, resource_type) # Will raise if it fails.
276 self.resource_handlers[resource_type](reader, resource_dir)