Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_cpp.cpp313 } else if (definedType->AsParcelable() != nullptr) { in AddHeaders()
314 const std::string cpp_header = definedType->AsParcelable()->GetCppHeader(); in AddHeaders()
315 AIDL_FATAL_IF(cpp_header.empty(), definedType->AsParcelable()) in AddHeaders()
316 << "Parcelable " << definedType->AsParcelable()->GetCanonicalName() in AddHeaders()
Daidl_to_java.cpp273 if (t->AsParcelable() != nullptr) { in WriteToParcelFor()
387 } else if (t->AsParcelable() != nullptr) { in WriteToParcelFor()
501 if (t->AsParcelable() != nullptr) { in CreateFromParcelFor()
620 } else if (t->AsParcelable() != nullptr || t->AsStructuredParcelable() != nullptr) { in CreateFromParcelFor()
691 if (t->AsParcelable() != nullptr) { in ReadFromParcelFor()
762 if (t->AsParcelable() != nullptr) { in ReadFromParcelFor()
815 if (t->AsInterface() != nullptr || t->AsParcelable() != nullptr) { in ToStringFor()
Daidl_language.h672 virtual const AidlParcelable* AsParcelable() const { return nullptr; } in AsParcelable() function
683 AidlParcelable* AsParcelable() { in AsParcelable() function
684 return const_cast<AidlParcelable*>(const_cast<const AidlDefinedType*>(this)->AsParcelable()); in AsParcelable()
701 return this->AsParcelable(); in AsUnstructuredParcelable()
737 const AidlParcelable* AsParcelable() const override { return this; } in AsParcelable() function
Daidl_typenames.cpp255 return t->AsParcelable() != nullptr && !t->IsImmutable(); in CanBeOutParameter()
Dgenerate_ndk.cpp133 if (const AidlParcelable* parcelable_decl = defined_type.AsParcelable(); in GenerateNdk()
195 } else if (type->AsParcelable() != nullptr) { in GenerateHeaderIncludes()
196 return type->AsParcelable()->GetCppHeader(); in GenerateHeaderIncludes()
Daidl_to_ndk.cpp355 } else if (const AidlParcelable* parcelable = type->AsParcelable(); parcelable != nullptr) { in GetTypeAspect()
Daidl_language.cpp863 if (defined_type != nullptr && defined_type->AsParcelable() != nullptr) { in LanguageSpecificCheckValid()
Dgenerate_cpp.cpp1423 const AidlParcelable* parcelable_decl = defined_type.AsParcelable(); in GenerateCpp()