Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_java.cpp428 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
452 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in GenerateParcelableClass()
461 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
485 constructor->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
522 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
531 std::shared_ptr<LiteralStatement> sizeCheck = std::make_shared<LiteralStatement>(out.str()); in GenerateParcelableClass()
569 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(code)); in GenerateParcelableClass()
584 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
Dast_java.h130 struct LiteralStatement : public Statement { struct
132 LiteralStatement(const std::string& value);
133 virtual ~LiteralStatement() = default;
Dast_java.cpp135 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() function in android::aidl::java::LiteralStatement
137 void LiteralStatement::Write(CodeWriter* to) const { in Write()
Dgenerate_java_binder.cpp450 addTo->Add(std::make_shared<LiteralStatement>(code)); in GenerateWriteToParcel()
630 statements->Add(std::make_shared<LiteralStatement>(code)); in GenerateStubCode()
966 ifStatement->statements->Add(std::make_shared<LiteralStatement>(code.str())); in GenerateMethods()
976 ifStatement->statements->Add(std::make_shared<LiteralStatement>(code.str())); in GenerateMethods()
1164 std::make_shared<LiteralStatement>(StringPrintf("return %s;\n", defaultValue.c_str()))); in GenerateDefaultImplMethod()
1236 std::make_shared<LiteralStatement>(return_str + "mImpl." + method.GetName() + "(" + in GenerateDelegatorMethod()