Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc()
296 if (!styleable.GetComment().empty()) { in ProcessStyleable()
297 styleable_comment << styleable.GetComment() << "\n"; in ProcessStyleable()
318 const StringPiece attr_comment_line = entry.symbol.value().attribute->GetComment(); in ProcessStyleable()
335 StringPiece attr_comment_line = entry.symbol.value().attribute->GetComment(); in ProcessStyleable()
398 StringPiece comment = styleable_attr.attr_ref->GetComment(); in ProcessStyleable()
400 comment = styleable_attr.symbol.value().attribute->GetComment(); in ProcessStyleable()
479 processor->AppendComment(config_value->value->GetComment()); in ProcessResource()
DJavaClassGenerator_test.cpp414 EXPECT_THAT(output, HasSubstr(attr.GetComment())); in TEST()
415 EXPECT_THAT(output, HasSubstr(styleable.GetComment())); in TEST()
452 EXPECT_THAT(output, HasSubstr(attr.GetComment())); in TEST()
453 EXPECT_THAT(output, HasSubstr(styleable.GetComment())); in TEST()
/frameworks/base/tools/aapt2/link/
DAutoVersioner.cpp133 new_style->SetComment(style->GetComment()); in Consume()
DTableMerger.cpp309 ? dst_config_value->value->GetComment() : std::optional<std::string>(); in DoMerge()
333 new_file_ref->SetComment(file_ref.GetComment()); in CloneAndMangleFile()
DTableMerger_test.cpp210 EXPECT_THAT(foo, Pointee(Property(&BinaryPrimitive::GetComment, StrEq("Original foo comment")))); in TEST_F()
212 EXPECT_THAT(bar, Pointee(Property(&BinaryPrimitive::GetComment, StrEq("")))); in TEST_F()
214 EXPECT_THAT(baz, Pointee(Property(&BinaryPrimitive::GetComment, StrEq("Overlay baz comment")))); in TEST_F()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp828 EXPECT_THAT(value->GetComment(), Eq("This is a comment")); in TEST_F()
841 EXPECT_THAT(value->GetComment(), Eq("Two")); in TEST_F()
855 EXPECT_THAT(value->GetComment(), Eq("One")); in TEST_F()
876 EXPECT_THAT(styleable->entries[0].GetComment(), Eq("The name of the bar")); in TEST_F()
881 EXPECT_THAT(attr->symbols[0].symbol.GetComment(), Eq("The very first")); in TEST_F()
DResourceValues.h82 const std::string& GetComment() const { in GetComment() function
DResourceValues.cpp1094 new_value->SetComment(value->GetComment()); in CopyValueFields()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp500 pb_item->set_comment(item.GetComment()); in SerializeItemMetaDataToPb()
717 out_value->set_comment(value.GetComment()); in SerializeValueToPb()