Home
last modified time | relevance | path

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

/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp134 string GetPackageName(const string& type_name) { in GetPackageName() argument
135 string str = type_name.substr(0, type_name.find('V') - strlen("::")); in GetPackageName()
143 string GetVersion(const string& type_name) { in GetVersion() argument
144 string str = type_name.substr(type_name.find('V') + 1); in GetVersion()
159 string GetComponentName(const string& type_name) { in GetComponentName() argument
160 string str = type_name.substr(type_name.find('V')); in GetComponentName()
/test/vts/drivers/hal/common/include/utils/
DInterfaceSpecUtil.h94 string GetPackageName(const string& type_name);
98 string GetVersion(const string& type_name);
114 string GetComponentName(const string& type_name);
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp498 string type_name = arg->predefined_type(); in PreprocessHidlHalFunctionCallArgs() local
500 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() local
641 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()
/test/vts/utils/python/mirror/
Dnative_entity_mirror.py130 def GetConstType(self, type_name): argument
142 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)):
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp908 string type_name = val.predefined_type(); in GenerateDriverImplForTypedVariable() local
909 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() local
1048 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()