Searched refs:GetComment (Results 1 – 10 of 10) sorted by relevance
/aosp12/system/extras/simpleperf/ |
H A D | cmd_stat_test.cpp | 563 const std::string* GetComment(size_t index) { in GetComment() function in StatCmdSummariesTest 584 ASSERT_EQ(*GetComment(0), "1.000000 cpus used"); in TEST_F() 585 ASSERT_EQ(*GetComment(1), "2.000000 cpus used"); in TEST_F() 595 ASSERT_EQ(*GetComment(0), "1.000000 GHz"); in TEST_F() 596 ASSERT_EQ(*GetComment(1), "2.000000 GHz"); in TEST_F() 597 ASSERT_EQ(*GetComment(2), "0.500000 GHz"); in TEST_F() 598 ASSERT_EQ(*GetComment(3), "3.000000 GHz"); in TEST_F() 606 ASSERT_EQ(*GetComment(0), "1.000 G/sec"); in TEST_F() 607 ASSERT_EQ(*GetComment(1), "1.000 M/sec"); in TEST_F() 608 ASSERT_EQ(*GetComment(2), "1.000 K/sec"); in TEST_F() [all …]
|
/aosp12/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc() 294 if (!styleable.GetComment().empty()) { in ProcessStyleable() 295 styleable_comment << styleable.GetComment() << "\n"; in ProcessStyleable() 316 const StringPiece attr_comment_line = entry.symbol.value().attribute->GetComment(); in ProcessStyleable() 332 StringPiece attr_comment_line = entry.symbol.value().attribute->GetComment(); in ProcessStyleable() 395 StringPiece comment = styleable_attr.attr_ref->GetComment(); in ProcessStyleable() 397 comment = styleable_attr.symbol.value().attribute->GetComment(); in ProcessStyleable() 476 processor->AppendComment(config_value->value->GetComment()); in ProcessResource()
|
H A D | JavaClassGenerator_test.cpp | 363 EXPECT_THAT(output, HasSubstr(attr.GetComment())); in TEST() 364 EXPECT_THAT(output, HasSubstr(styleable.GetComment())); in TEST() 401 EXPECT_THAT(output, HasSubstr(attr.GetComment())); in TEST() 402 EXPECT_THAT(output, HasSubstr(styleable.GetComment())); in TEST()
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | AutoVersioner.cpp | 133 new_style->SetComment(style->GetComment()); in Consume()
|
H A D | TableMerger.cpp | 307 ? dst_config_value->value->GetComment() : Maybe<std::string>(); in DoMerge() 331 new_file_ref->SetComment(file_ref.GetComment()); in CloneAndMangleFile()
|
H A D | TableMerger_test.cpp | 210 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()
|
/aosp12/frameworks/base/tools/aapt2/ |
H A D | ResourceParser_test.cpp | 828 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()
|
H A D | ResourceValues.h | 84 const std::string& GetComment() const { in GetComment() function
|
H A D | ResourceValues.cpp | 1076 new_value->SetComment(value->GetComment()); in CopyValueFields()
|
/aosp12/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 489 pb_item->set_comment(item.GetComment()); in SerializeItemMetaDataToPb() 706 out_value->set_comment(value.GetComment()); in SerializeValueToPb()
|