Home
last modified time | relevance | path

Searched refs:parcel_class (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/
Dgenerate_java.cpp98 auto parcel_class = std::make_unique<Class>(); in generate_parcel_class() local
99 parcel_class->comment = parcel->GetComments(); in generate_parcel_class()
100 parcel_class->modifiers = PUBLIC; in generate_parcel_class()
101 parcel_class->what = Class::CLASS; in generate_parcel_class()
102 parcel_class->type = parcel->GetCanonicalName(); in generate_parcel_class()
103 parcel_class->interfaces.push_back("android.os.Parcelable"); in generate_parcel_class()
104 parcel_class->annotations = generate_java_annotations(*parcel); in generate_parcel_class()
132 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
140 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
162 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
[all …]
Dgenerate_cpp.cpp1072 unique_ptr<ClassDecl> parcel_class{new ClassDecl{parcel.GetName(), "::android::Parcelable"}}; in BuildParcelHeader() local
1098 parcel_class->AddPublic(std::unique_ptr<LiteralDecl>(new LiteralDecl(operator_code.str()))); in BuildParcelHeader()
1111 parcel_class->AddPublic(std::unique_ptr<LiteralDecl>(new LiteralDecl(out.str()))); in BuildParcelHeader()
1115 parcel_class->AddPublic(std::unique_ptr<LiteralDecl>( in BuildParcelHeader()
1123 parcel_class->AddPublic(std::move(read)); in BuildParcelHeader()
1127 parcel_class->AddPublic(std::move(write)); in BuildParcelHeader()
1131 NestInNamespaces(std::move(parcel_class), parcel.GetSplitPackage())}}; in BuildParcelHeader()