Home
last modified time | relevance | path

Searched refs:parseConfigOrDie (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/aapt2/filter/
DConfigFilter_test.cpp27 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi"))); in TEST()
28 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr"))); in TEST()
33 filter.addConfig(test::parseConfigOrDie("fr")); in TEST()
35 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi"))); in TEST()
40 filter.addConfig(test::parseConfigOrDie("fr")); in TEST()
42 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr"))); in TEST()
47 filter.addConfig(test::parseConfigOrDie("fr")); in TEST()
49 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr-320dpi"))); in TEST()
54 filter.addConfig(test::parseConfigOrDie("fr-rFR")); in TEST()
55 filter.addConfig(test::parseConfigOrDie("sw360dp")); in TEST()
[all …]
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp28 test::parseConfigOrDie("mdpi")) in TEST()
30 test::parseConfigOrDie("hdpi")) in TEST()
32 test::parseConfigOrDie("xhdpi")) in TEST()
34 test::parseConfigOrDie("xxhdpi")) in TEST()
45 test::parseConfigOrDie("mdpi"))); in TEST()
48 test::parseConfigOrDie("hdpi"))); in TEST()
51 test::parseConfigOrDie("xhdpi"))); in TEST()
54 test::parseConfigOrDie("xxhdpi"))); in TEST()
62 ASSERT_TRUE(table.addResource(foo, test::parseConfigOrDie("land-hdpi"), {}, in TEST()
65 ASSERT_TRUE(table.addResource(foo, test::parseConfigOrDie("land-xhdpi"), {}, in TEST()
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp78 .addString(u"@android:string/two", ResourceId{}, test::parseConfigOrDie("en"), u"two") in TEST()
80 .addString(u"@android:string/three", ResourceId{}, test::parseConfigOrDie("en-rXA"), in TEST()
94 test::parseConfigOrDie("en-rXA"))); in TEST()
96 test::parseConfigOrDie("ar-rXB"))); in TEST()
100 test::parseConfigOrDie("en-rXA"))); in TEST()
102 test::parseConfigOrDie("ar-rXB"))); in TEST()
107 test::parseConfigOrDie("en-rXA")); in TEST()
112 test::parseConfigOrDie("ar-rXB"))); in TEST()
116 test::parseConfigOrDie("en-rXA"))); in TEST()
118 test::parseConfigOrDie("ar-rXB"))); in TEST()
/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp28 const ConfigDescription landConfig = test::parseConfigOrDie("land"); in TEST()
29 const ConfigDescription sw600dpLandConfig = test::parseConfigOrDie("sw600dp-land"); in TEST()
42 const ConfigDescription sw600dpV13Config = test::parseConfigOrDie("sw600dp-v13"); in TEST()
43 const ConfigDescription v21Config = test::parseConfigOrDie("v21"); in TEST()
57 .addValue(u"@app:style/Foo", ResourceId(0x7f020000), test::parseConfigOrDie("v4"), in TEST()
68 .addValue(u"@app:style/Foo", ResourceId(0x7f020000), test::parseConfigOrDie("v21"), in TEST()
84 test::parseConfigOrDie("v4")); in TEST()
92 test::parseConfigOrDie("v13")); in TEST()
103 test::parseConfigOrDie("v17")); in TEST()
117 test::parseConfigOrDie("v21")); in TEST()
DProductFilter_test.cpp28 const ConfigDescription land = test::parseConfigOrDie("land"); in TEST()
29 const ConfigDescription port = test::parseConfigOrDie("port"); in TEST()
DTableMerger_test.cpp88 fileDesc.config = test::parseConfigOrDie("hdpi-v4"); in TEST_F()
97 test::parseConfigOrDie("hdpi-v4")); in TEST_F()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp126 test::parseConfigOrDie("land"), in TEST()
131 test::parseConfigOrDie("land"), in TEST()
137 test::parseConfigOrDie("land"), in TEST()
140 test::parseConfigOrDie("land"), in TEST()
147 test::parseConfigOrDie("land")); in TEST()
DResourceParser_test.cpp146 const ConfigDescription watchConfig = test::parseConfigOrDie("watch"); in TEST_F()
/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer_test.cpp57 test::parseConfigOrDie("land"), std::string(), in TEST()
61 test::parseConfigOrDie("land"), std::string("tablet"), in TEST()
96 newTable.get(), u"@com.app.a:integer/one", test::parseConfigOrDie("land"), ""); in TEST()
101 newTable.get(), u"@com.app.a:integer/one", test::parseConfigOrDie("land"), "tablet"); in TEST()
117 f.config = test::parseConfigOrDie("hdpi-v9"); in TEST()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp154 test::parseConfigOrDie("v1"), in TEST_F()
177 test::parseConfigOrDie("v1"), Res_value::TYPE_INT_DEC, 2u, in TEST_F()
/frameworks/base/tools/aapt2/test/
DCommon.h72 inline ConfigDescription parseConfigOrDie(const StringPiece& str) { in parseConfigOrDie() function