Searched refs:LiteralStatement (Results 1 – 4 of 4) sorted by relevance
428 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()
130 struct LiteralStatement : public Statement { struct132 LiteralStatement(const std::string& value);133 virtual ~LiteralStatement() = default;
135 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() function in android::aidl::java::LiteralStatement137 void LiteralStatement::Write(CodeWriter* to) const { in Write()
450 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()