Home
last modified time | relevance | path

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

/system/chre/chpp/api_parser/
Dchre_api_to_chpp.py111 def _get_chpp_type_from_chre(self, chre_type): argument
113 prefix = self._get_struct_or_union_prefix(chre_type)
116 for annotation in self.api.annotations[chre_type]["."]:
121 if chre_type.startswith('chre'):
122 return prefix + 'Chpp' + chre_type[4:]
124 raise RuntimeError("Couldn't figure out new type name for {}".format(chre_type))
126 def _get_chre_type_with_prefix(self, chre_type): argument
128 return self._get_struct_or_union_prefix(chre_type) + chre_type
130 def _get_chpp_header_type_from_chre(self, chre_type): argument
132 return self._get_chpp_type_from_chre(chre_type) + 'WithHeader'
[all …]