Searched refs:type_name (Results 1 – 5 of 5) sorted by relevance
134 string GetPackageName(const string& type_name) { in GetPackageName() argument135 string str = type_name.substr(0, type_name.find('V') - strlen("::")); in GetPackageName()143 string GetVersion(const string& type_name) { in GetVersion() argument144 string str = type_name.substr(type_name.find('V') + 1); in GetVersion()159 string GetComponentName(const string& type_name) { in GetComponentName() argument160 string str = type_name.substr(type_name.find('V')); in GetComponentName()
94 string GetPackageName(const string& type_name);98 string GetVersion(const string& type_name);114 string GetComponentName(const string& type_name);
498 string type_name = arg->predefined_type(); in PreprocessHidlHalFunctionCallArgs() local500 string version_str = GetVersion(type_name); in PreprocessHidlHalFunctionCallArgs()503 spec_msg.set_package(GetPackageName(type_name)); in PreprocessHidlHalFunctionCallArgs()506 spec_msg.set_component_name(GetComponentName(type_name)); in PreprocessHidlHalFunctionCallArgs()637 string type_name = return_val->predefined_type(); in SetHidlHalFunctionCallResults() local641 string version_str = GetVersion(type_name); in SetHidlHalFunctionCallResults()644 string package_name = GetPackageName(type_name); in SetHidlHalFunctionCallResults()645 string component_name = GetComponentName(type_name); in SetHidlHalFunctionCallResults()650 << type_name; in SetHidlHalFunctionCallResults()
130 def GetConstType(self, type_name): argument142 if attribute.is_const and attribute.name == type_name:145 and attribute.name.endswith(type_name)):149 if attribute.is_const and attribute.name == type_name:152 and attribute.name.endswith(type_name)):
908 string type_name = val.predefined_type(); in GenerateDriverImplForTypedVariable() local909 ReplaceSubString(type_name, "::", "_"); in GenerateDriverImplForTypedVariable()911 out << arg_name << " = VtsFuzzerCreateVts" << type_name in GenerateDriverImplForTypedVariable()913 out << "static_cast<" << "Vts" + type_name << "*>(" << arg_name in GenerateDriverImplForTypedVariable()1045 string type_name = val.predefined_type(); in GenerateDriverImplForTypedVariable() local1048 out << arg_name << " = reinterpret_cast<" << type_name << "*>(" in GenerateDriverImplForTypedVariable()1053 if (type_name.find("::android::hidl") == 0) { in GenerateDriverImplForTypedVariable()1056 ReplaceSubString(type_name, "::", "_"); in GenerateDriverImplForTypedVariable()1057 out << arg_name << " = VtsFuzzerCreateVts" << type_name in GenerateDriverImplForTypedVariable()