Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_cpp.cpp69 raw_type.IsArray() || (raw_type.IsGeneric() && raw_type.GetName() == "List"); in RawParcelMethod()
71 const auto& type = raw_type.IsGeneric() ? *raw_type.GetTypeParameters().at(0) : raw_type; in RawParcelMethod()
139 const auto& type = raw_type.IsGeneric() ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in WrapIfNullable()
165 CHECK(!raw_type.IsGeneric() || in GetCppName()
167 const auto& type = raw_type.IsGeneric() ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in GetCppName()
212 if (type.IsArray() || type.IsGeneric()) { in CppNameOf()
223 if (type.IsArray() || type.IsGeneric()) { in IsNonCopyableType()
272 bool isVector = raw_type.IsArray() || raw_type.IsGeneric(); in AddHeaders()
276 CHECK(!raw_type.IsGeneric() || in AddHeaders()
278 const auto& type = raw_type.IsGeneric() ? *raw_type.GetTypeParameters().at(0) : raw_type; in AddHeaders()
Daidl_to_java.cpp127 if (aidl.IsGeneric()) { in JavaSignatureOfInternal()
262 if (c.type.IsGeneric()) { in WriteToParcelFor()
283 if (c.type.IsGeneric()) { in WriteToParcelFor()
490 if (c.type.IsGeneric()) { in CreateFromParcelFor()
514 if (c.type.IsGeneric()) { in CreateFromParcelFor()
680 if (c.type.IsGeneric()) { in ReadFromParcelFor()
704 if (c.type.IsGeneric()) { in ReadFromParcelFor()
Daidl_language.cpp372 AIDL_FATAL_IF(IsGeneric(), this); in ArrayBase()
385 if (IsGeneric()) { in ToString()
429 if (IsGeneric()) { in CheckValid()
446 parameterizable != nullptr && parameterizable->IsGeneric(); in CheckValid()
481 const bool is_generic_string_list = GetName() == "List" && IsGeneric() && in CheckValid()
761 CHECK(!other.IsGeneric()); in AidlParameterizable()
771 if (!IsGeneric()) { in CheckValid()
869 if (this->GetName() == "List" && !this->IsGeneric()) { in LanguageSpecificCheckValid()
878 if (this->IsGeneric()) { in LanguageSpecificCheckValid()
Daidl_to_ndk.cpp326 AIDL_FATAL_IF(!aidl.IsGeneric(), aidl) << "List must be generic type."; in GetTypeAspect()
331 AIDL_FATAL_IF(type_param->IsGeneric(), aidl) << "AIDL doesn't support nested type parameter"; in GetTypeAspect()
343 AIDL_FATAL_IF(aidl.IsGeneric(), aidl); in GetTypeAspect()
Daidl_typenames.cpp224 if (type.IsGeneric()) { in CanBeImmutable()
Daidl_const_expressions.cpp373 if (type.IsGeneric()) { in ValueString()
Daidl.cpp712 if (!type.IsGeneric() && (type.GetName() == "List" || type.GetName() == "Map")) { in load_and_validate_aidl()
Daidl_language.h132 bool IsGeneric() const { return type_params_ != nullptr; } in IsGeneric() function