/frameworks/base/tools/aapt2/filter/ |
H A D | ConfigFilter_test.cpp | 26 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 D | TableSplitter_test.cpp | 28 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 D | VersionCollapser_test.cpp | 29 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 D | ResourceDeduper_test.cpp | 30 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 D | DominatorTree_test.cpp | 71 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 D | ConfigDescription_test.cpp | 144 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 D | ResourceTable_test.cpp | 123 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 D | ResourceValues_test.cpp | 159 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 D | ResourceParser_test.cpp | 254 const ConfigDescription watch_config = test::ParseConfigOrDie("watch");
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Util_test.cpp | 27 SplitConstraints split_constraints{{test::ParseConfigOrDie("en-rUS-land")}};
|
/frameworks/base/tools/aapt2/link/ |
H A D | AutoVersioner_test.cpp | 27 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 D | ProductFilter_test.cpp | 26 const ConfigDescription land = test::ParseConfigOrDie("land"); 27 const ConfigDescription port = test::ParseConfigOrDie("port");
|
H A D | TableMerger_test.cpp | 96 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 D | PseudolocaleGenerator_test.cpp | 185 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 D | TableProtoSerializer_test.cpp | 69 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 D | TableFlattener_test.cpp | 160 .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 D | Common.h | 48 inline ConfigDescription ParseConfigOrDie(const android::StringPiece& str) { function in namespace:aapt::test
|