Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_java.cpp118 const string& contained_type = aidl.GetTypeParameters().at(0)->GetName(); in IsMarshallingUnsupportedFor() local
119 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in IsMarshallingUnsupportedFor()
120 if (contained_type != "String" && contained_type != "IBinder" && in IsMarshallingUnsupportedFor()
121 contained_type != "ParcelFileDescriptor") { in IsMarshallingUnsupportedFor()
125 const AidlDefinedType* t = typenames.TryGetDefinedType(contained_type); in IsMarshallingUnsupportedFor()
236 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in WriteToParcelFor() local
237 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in WriteToParcelFor()
238 if (contained_type == "String") { in WriteToParcelFor()
240 } else if (contained_type == "IBinder") { in WriteToParcelFor()
244 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in WriteToParcelFor()
[all …]
Dtype_java.cpp232 GenericListType::GenericListType(const JavaTypeNamespace* types, const Type* contained_type) in GenericListType() argument
233 : Type(types, "java.util", "List<" + contained_type->CanonicalName() + ">", in GenericListType()
235 m_contained_type(contained_type) {} in GenericListType()
347 const Type* contained_type = FindTypeByCanonicalName(contained_type_name); in AddListType() local
348 if (!contained_type) { in AddListType()
351 Add(std::make_unique<GenericListType>(this, contained_type)); in AddListType()
Dtype_cpp.cpp488 const Type* contained_type = FindTypeByCanonicalName(type_name); in AddListType() local
489 if (!contained_type) { in AddListType()
494 if (contained_type->IsCppPrimitive()) { in AddListType()
501 if (contained_type->CanonicalName() == kStringCanonicalName || in AddListType()
502 contained_type->CanonicalName() == kUtf8InCppStringCanonicalName || in AddListType()
503 contained_type == IBinderType()) { in AddListType()