Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_java.cpp416 auto write_method = std::make_shared<Method>(); in GenerateParcelableClass() local
417 write_method->modifiers = PUBLIC | OVERRIDE | FINAL; in GenerateParcelableClass()
418 write_method->returnType = "void"; in GenerateParcelableClass()
419 write_method->name = "writeToParcel"; in GenerateParcelableClass()
420 write_method->parameters.push_back(parcel_variable); in GenerateParcelableClass()
421 write_method->parameters.push_back(flag_variable); in GenerateParcelableClass()
422 write_method->statements = std::make_shared<StatementBlock>(); in GenerateParcelableClass()
427 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
443 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in GenerateParcelableClass()
452 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
[all …]