Home
last modified time | relevance | path

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

/system/tpm/trunks/generator/
Dgenerator.py298 def __init__(self, old_type, new_type): argument
306 self.new_type = new_type
333 if self.new_type in defined_types:
339 'new_type': self.new_type})
340 defined_types.add(self.new_type)
351 if self.new_type in serialized_types:
357 'new': self.new_type})
359 'new': self.new_type})
360 serialized_types.add(self.new_type)
1062 new_type = match.group(1)
[all …]
Dgenerator_test.py214 self.assertEqual(types[0].new_type, 'type2')
216 self.assertEqual(types[1].new_type, 'const_type')
/system/media/camera/docs/
Dmetadata_model.py852 return Kind._combine_children_by_name(self, new_type=type(self))
856 def _combine_children_by_name(self, new_type): argument
870 kind = new_type(self.name, self.parent)
952 return Kind._combine_children_by_name(self, new_type=type(self))