Home
last modified time | relevance | path

Searched refs:ValueBuilder (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/process/
DProductFilter_test.cpp34 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("land/default.xml")).Build(), in TEST()
41 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("land/tablet.xml")).Build(), in TEST()
48 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("port/default.xml")).Build(), in TEST()
55 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("port/tablet.xml")).Build(), in TEST()
77 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("default.xml")).Build()) in TEST()
83 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("tablet.xml")).Build(), {}, in TEST()
106 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("default.xml")).Build()) in TEST()
112 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("tablet.xml")).Build(), {}, in TEST()
119 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("no-sdcard.xml")).Build(), in TEST()
134 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source(".xml")).Build()) in TEST()
[all …]
/frameworks/base/tools/aapt2/test/
DBuilders.h87 class ValueBuilder {
90 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder() function
94 ValueBuilder& SetSource(Args&&... args) { in SetSource()
99 ValueBuilder& SetComment(android::StringPiece str) { in SetComment()
109 DISALLOW_COPY_AND_ASSIGN(ValueBuilder);
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp65 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 23u).Build()) in TEST()
80 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 10u).Build()) in TEST()
86 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 12u).Build()) in TEST()
92 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 14u).Build()) in TEST()
98 .SetValue(test::ValueBuilder<BinaryPrimitive>(android::Res_value{}) in TEST()