Searched refs:parcel_class (Results 1 – 2 of 2) sorted by relevance
378 auto parcel_class = std::make_unique<Class>(); in generate_parcel_class() local379 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 …]
1254 unique_ptr<ClassDecl> parcel_class{ in BuildParcelHeader() local1266 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()