Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_cpp.cpp97 auto definedType = typenames.TryGetDefinedType(element_name); in RawParcelMethod() local
98 if (definedType != nullptr && definedType->AsInterface() != nullptr) { in RawParcelMethod()
121 auto definedType = typenames.TryGetDefinedType(type.GetName()); in RawParcelMethod() local
124 AIDL_FATAL_IF(definedType == nullptr, type) << type.GetName() << " is not found."; in RawParcelMethod()
126 if (definedType->AsInterface() != nullptr) { in RawParcelMethod()
185 auto definedType = typenames.TryGetDefinedType(type.GetName()); in GetCppName() local
186 if (definedType != nullptr && definedType->AsInterface() != nullptr) { in GetCppName()
340 auto definedType = typenames.TryGetDefinedType(type.GetName()); in AddHeaders() local
341 AIDL_FATAL_IF(definedType == nullptr, type) << "Unexpected type: " << type.GetName(); in AddHeaders()
343 if (definedType->AsInterface() != nullptr || definedType->AsStructuredParcelable() != nullptr || in AddHeaders()
[all …]
Daidl_to_rust.cpp208 const auto definedType = typenames.TryGetDefinedType(typeName); in ArgumentStorageMode() local
210 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in ArgumentStorageMode()
270 const auto definedType = typenames.TryGetDefinedType(type.GetName()); in TypeIsInterface() local
271 return definedType != nullptr && definedType->AsInterface() != nullptr; in TypeIsInterface()
Daidl_to_ndk.cpp454 const auto& definedType = types.TryGetDefinedType(aidl.GetName()); in NdkAlignmentOf() local
455 AIDL_FATAL_IF(definedType == nullptr, aidl) << "Failed to resolve type."; in NdkAlignmentOf()
456 if (const auto& enumType = definedType->AsEnumDeclaration(); enumType != nullptr) { in NdkAlignmentOf()
Dgenerate_cpp.cpp120 const auto definedType = typenames.TryGetDefinedType(a->GetType().GetName()); in BuildArgList() local
122 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList()