Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_java.cpp378 auto parcel_class = std::make_unique<Class>(); in generate_parcel_class() local
379 parcel_class->comment = GenerateComments(*parcel); in generate_parcel_class()
380 parcel_class->modifiers = PUBLIC; in generate_parcel_class()
381 parcel_class->what = Class::CLASS; in generate_parcel_class()
382 parcel_class->type = parcel->GetCanonicalName(); in generate_parcel_class()
383 parcel_class->interfaces.push_back("android.os.Parcelable"); in generate_parcel_class()
384 parcel_class->annotations = JavaAnnotationsFor(*parcel); in generate_parcel_class()
387 parcel_class->type += "<" + base::Join(parcel->GetTypeParameters(), ",") + ">"; in generate_parcel_class()
414 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
448 parcel_class->elements.push_back(builder_class); in generate_parcel_class()
[all …]
Dgenerate_cpp.cpp1254 unique_ptr<ClassDecl> parcel_class{ in BuildParcelHeader() local
1266 parcel_class->AddPublic(std::make_unique<LiteralDecl>(operator_code)); in BuildParcelHeader()
1268 BuildParcelFields(*parcel_class, parcel, typenames); in BuildParcelHeader()
1269 BuildConstantDeclarations(parcel, typenames, parcel_class, includes); in BuildParcelHeader()
1272 parcel_class->AddPublic(std::unique_ptr<LiteralDecl>( in BuildParcelHeader()
1280 parcel_class->AddPublic(std::move(read)); in BuildParcelHeader()
1284 parcel_class->AddPublic(std::move(write)); in BuildParcelHeader()
1286 parcel_class->AddPublic(std::unique_ptr<LiteralDecl>( in BuildParcelHeader()
1297 parcel_class->AddPublic(std::make_unique<LiteralDecl>(to_string)); in BuildParcelHeader()
1299 auto decls = NestInNamespaces(std::move(parcel_class), parcel.GetSplitPackage()); in BuildParcelHeader()