Searched refs:ParseConfigOrDie (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tools/aapt2/filter/
H A DConfigFilter_test.cpp26 EXPECT_TRUE(filter.Match(test::ParseConfigOrDie("320dpi")));
27 EXPECT_TRUE(filter.Match(test::ParseConfigOrDie("fr")));
32 filter.AddConfig(test::ParseConfigOrDie("fr"));
34 EXPECT_TRUE(filter.Match(test::ParseConfigOrDie("320dpi")));
39 filter.AddConfig(test::ParseConfigOrDie("fr"));
41 EXPECT_TRUE(filter.Match(test::ParseConfigOrDie("fr")));
46 filter.AddConfig(test::ParseConfigOrDie("fr"));
48 EXPECT_TRUE(filter.Match(test::ParseConfigOrDie("fr-320dpi")));
53 filter.AddConfig(test::ParseConfigOrDie("fr-rFR"));
54 filter.AddConfig(test::ParseConfigOrDie("sw360d
[all...]
/frameworks/base/tools/aapt2/split/
H A DTableSplitter_test.cpp28 test::ParseConfigOrDie("mdpi"))
31 test::ParseConfigOrDie("hdpi"))
34 test::ParseConfigOrDie("xhdpi"))
37 test::ParseConfigOrDie("xxhdpi"))
48 test::ParseConfigOrDie("mdpi")));
51 test::ParseConfigOrDie("hdpi")));
54 test::ParseConfigOrDie("xhdpi")));
57 test::ParseConfigOrDie("xxhdpi")));
66 test::ParseConfigOrDie("mdpi"))
69 test::ParseConfigOrDie("hdp
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser_test.cpp29 builder.AddSimple(name, test::ParseConfigOrDie(item));
50 test::ParseConfigOrDie("land-v4")));
53 test::ParseConfigOrDie("land-v5")));
58 test::ParseConfigOrDie("land-v6")));
63 test::ParseConfigOrDie("sw600dp")));
68 test::ParseConfigOrDie("land")));
71 test::ParseConfigOrDie("land-v14")));
74 test::ParseConfigOrDie("land-v21")));
92 test::ParseConfigOrDie("land-v4")));
95 test::ParseConfigOrDie("lan
[all...]
H A DResourceDeduper_test.cpp30 const ConfigDescription ldrtl_config = test::ParseConfigOrDie("ldrtl");
31 const ConfigDescription ldrtl_v21_config = test::ParseConfigOrDie("ldrtl-v21");
32 const ConfigDescription en_config = test::ParseConfigOrDie("en");
33 const ConfigDescription en_v21_config = test::ParseConfigOrDie("en-v21");
35 const ConfigDescription land_config = test::ParseConfigOrDie("land");
68 const ConfigDescription ldrtl_config = test::ParseConfigOrDie("ldrtl");
69 const ConfigDescription ldrtl_v21_config = test::ParseConfigOrDie("ldrtl-v21");
71 const ConfigDescription land_config = test::ParseConfigOrDie("land");
90 const ConfigDescription fr_config = test::ParseConfigOrDie("fr");
91 const ConfigDescription fr_rCA_config = test::ParseConfigOrDie("f
[all...]
/frameworks/base/tools/aapt2/
H A DDominatorTree_test.cpp71 const ConfigDescription land_config = test::ParseConfigOrDie("land");
72 const ConfigDescription sw600dp_land_config = test::ParseConfigOrDie("sw600dp-land-v13");
91 const ConfigDescription land_config = test::ParseConfigOrDie("land");
92 const ConfigDescription sw600dp_land_config = test::ParseConfigOrDie("sw600dp-land-v13");
113 const ConfigDescription en_config = test::ParseConfigOrDie("en");
114 const ConfigDescription en_v21_config = test::ParseConfigOrDie("en-v21");
115 const ConfigDescription ldrtl_config = test::ParseConfigOrDie("ldrtl-v4");
116 const ConfigDescription ldrtl_xhdpi_config = test::ParseConfigOrDie("ldrtl-xhdpi-v4");
117 const ConfigDescription sw300dp_config = test::ParseConfigOrDie("sw300dp-v13");
118 const ConfigDescription sw540dp_config = test::ParseConfigOrDie("sw540d
[all...]
H A DConfigDescription_test.cpp144 using test::ParseConfigOrDie;
146 EXPECT_FALSE(ParseConfigOrDie("large").ConflictsWith(ParseConfigOrDie("normal-land")));
147 EXPECT_FALSE(ParseConfigOrDie("long-hdpi").ConflictsWith(ParseConfigOrDie("xhdpi")));
148 EXPECT_FALSE(ParseConfigOrDie("sw600dp").ConflictsWith(ParseConfigOrDie("sw700dp")));
149 EXPECT_FALSE(ParseConfigOrDie("v11").ConflictsWith(ParseConfigOrDie("v21")));
150 EXPECT_FALSE(ParseConfigOrDie("h600d
[all...]
H A DResourceTable_test.cpp123 test::ParseConfigOrDie("land"), "tablet",
127 test::ParseConfigOrDie("land"), "phone",
131 EXPECT_THAT(test::GetValueForConfigAndProduct<Id>(&table, "android:string/foo",test::ParseConfigOrDie("land"), "tablet"), NotNull());
132 EXPECT_THAT(test::GetValueForConfigAndProduct<Id>(&table, "android:string/foo",test::ParseConfigOrDie("land"), "phone"), NotNull());
138 sr.value().entry->FindAllValues(test::ParseConfigOrDie("land"));
H A DResourceValues_test.cpp159 String str_a(pool_a.MakeRef("hello", StringPool::Context(test::ParseConfigOrDie("en"))));
162 EXPECT_THAT(pool_a.strings()[0]->context.config, Eq(test::ParseConfigOrDie("en")));
167 EXPECT_THAT(pool_b.strings()[0]->context.config, Eq(test::ParseConfigOrDie("en")));
H A DResourceParser_test.cpp254 const ConfigDescription watch_config = test::ParseConfigOrDie("watch");
/frameworks/base/tools/aapt2/cmd/
H A DUtil_test.cpp27 SplitConstraints split_constraints{{test::ParseConfigOrDie("en-rUS-land")}};
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner_test.cpp27 const ConfigDescription land_config = test::ParseConfigOrDie("land");
28 const ConfigDescription sw600dp_land_config = test::ParseConfigOrDie("sw600dp-land");
40 const ConfigDescription sw600dp_v13_config = test::ParseConfigOrDie("sw600dp-v13");
41 const ConfigDescription v21_config = test::ParseConfigOrDie("v21");
57 "app:style/Foo", test::ParseConfigOrDie("v4"),
70 "app:style/Foo", test::ParseConfigOrDie("v21"),
86 Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v4"));
91 style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v13"));
97 style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v17"));
104 style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v2
[all...]
H A DProductFilter_test.cpp26 const ConfigDescription land = test::ParseConfigOrDie("land");
27 const ConfigDescription port = test::ParseConfigOrDie("port");
H A DTableMerger_test.cpp96 file_desc.config = test::ParseConfigOrDie("hdpi-v4");
104 &final_table, "com.app.a:layout/main", test::ParseConfigOrDie("hdpi-v4"));
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator_test.cpp185 test::ParseConfigOrDie("en"), "two")
188 test::ParseConfigOrDie("en-rXA"), "three")
203 test::ParseConfigOrDie("en-rXA")));
206 test::ParseConfigOrDie("ar-rXB")));
211 test::ParseConfigOrDie("en-rXA")));
214 test::ParseConfigOrDie("ar-rXB")));
218 test::ParseConfigOrDie("en-rXA"));
224 test::ParseConfigOrDie("ar-rXB")));
229 test::ParseConfigOrDie("en-rXA")));
232 test::ParseConfigOrDie("a
[all...]
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer_test.cpp69 test::ParseConfigOrDie("land"), {},
74 test::ParseConfigOrDie("land"), "tablet",
114 new_table.get(), "com.app.a:integer/one", test::ParseConfigOrDie("land"), "");
119 new_table.get(), "com.app.a:integer/one", test::ParseConfigOrDie("land"), "tablet");
143 f.config = test::ParseConfigOrDie("hdpi-v9");
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp160 .AddValue("com.app.test:integer/one", test::ParseConfigOrDie("v1"),
187 ResourceId(0x7f030000), test::ParseConfigOrDie("v1"),
285 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB");
325 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB-v26");
347 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB");
/frameworks/base/tools/aapt2/test/
H A DCommon.h48 inline ConfigDescription ParseConfigOrDie(const android::StringPiece& str) { function in namespace:aapt::test

Completed in 300 milliseconds