Home
last modified time | relevance | path

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

/aosp12/system/extras/simpleperf/
H A Dcmd_stat_test.cpp563 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 DJavaClassGenerator.cpp181 << "<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 DJavaClassGenerator_test.cpp363 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 DAutoVersioner.cpp133 new_style->SetComment(style->GetComment()); in Consume()
H A DTableMerger.cpp307 ? dst_config_value->value->GetComment() : Maybe<std::string>(); in DoMerge()
331 new_file_ref->SetComment(file_ref.GetComment()); in CloneAndMangleFile()
H A 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()
/aosp12/frameworks/base/tools/aapt2/
H A 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()
H A DResourceValues.h84 const std::string& GetComment() const { in GetComment() function
H A DResourceValues.cpp1076 new_value->SetComment(value->GetComment()); in CopyValueFields()
/aosp12/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize.cpp489 pb_item->set_comment(item.GetComment()); in SerializeItemMetaDataToPb()
706 out_value->set_comment(value.GetComment()); in SerializeValueToPb()