HomeSort by relevance Sort by last modified time
    Searched refs:ParseConfigOrDie (Results 1 - 20 of 20) sorted by null

  /frameworks/base/tools/aapt2/filter/
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("sw360dp"))
    [all...]
  /frameworks/base/tools/aapt2/link/
NoDefaultResourceRemover_test.cpp 29 .AddSimple("android:string/foo", test::ParseConfigOrDie("en-rGB"))
30 .AddSimple("android:string/foo", test::ParseConfigOrDie("fr-rFR"))
31 .AddSimple("android:string/bar", test::ParseConfigOrDie("en-rGB"))
32 .AddSimple("android:string/bar", test::ParseConfigOrDie("fr-rFR"))
33 .AddSimple("android:string/bat", test::ParseConfigOrDie("en-rGB-xhdpi"))
34 .AddSimple("android:string/bat", test::ParseConfigOrDie("fr-rFR-hdpi"))
35 .AddSimple("android:string/baz", test::ParseConfigOrDie("en-rGB"))
36 .AddSimple("android:string/baz", test::ParseConfigOrDie("fr-rFR"))
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("v21"))
    [all...]
ProductFilter_test.cpp 26 const ConfigDescription land = test::ParseConfigOrDie("land");
27 const ConfigDescription port = test::ParseConfigOrDie("port");
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/split/
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("hdpi")
    [all...]
  /frameworks/base/tools/aapt2/optimize/
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("land-v5")))
    [all...]
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("fr-rCA")
    [all...]
MultiApkGenerator_test.cpp 42 using ::aapt::test::ParseConfigOrDie;
94 ConfigDescription default_ = ParseConfigOrDie("").CopyWithoutSdkVersion();
95 ConfigDescription mdpi_ = ParseConfigOrDie("mdpi").CopyWithoutSdkVersion();
96 ConfigDescription hdpi_ = ParseConfigOrDie("hdpi").CopyWithoutSdkVersion();
97 ConfigDescription xhdpi_ = ParseConfigOrDie("xhdpi").CopyWithoutSdkVersion();
98 ConfigDescription xxhdpi_ = ParseConfigOrDie("xxhdpi").CopyWithoutSdkVersion();
99 ConfigDescription xxxhdpi_ = ParseConfigOrDie("xxxhdpi").CopyWithoutSdkVersion();
100 ConfigDescription v19_ = ParseConfigOrDie("v19");
101 ConfigDescription v21_ = ParseConfigOrDie("v21");
  /frameworks/base/tools/aapt2/cmd/
Util_test.cpp 28 {test::ParseConfigOrDie("en-rUS-land"), test::ParseConfigOrDie("b+sr+Latn")}};
  /frameworks/base/tools/aapt2/
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("sw540dp-v14")
    [all...]
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("h600dp").ConflictsWith(ParseConfigOrDie("h300dp")))
    [all...]
ResourceTable_test.cpp 140 test::ParseConfigOrDie("land"), "tablet",
144 test::ParseConfigOrDie("land"), "phone",
148 EXPECT_THAT(test::GetValueForConfigAndProduct<Id>(&table, "android:string/foo",test::ParseConfigOrDie("land"), "tablet"), NotNull());
149 EXPECT_THAT(test::GetValueForConfigAndProduct<Id>(&table, "android:string/foo",test::ParseConfigOrDie("land"), "phone"), NotNull());
155 sr.value().entry->FindAllValues(test::ParseConfigOrDie("land"));
ResourceValues_test.cpp 171 String str_a(pool_a.MakeRef("hello", StringPool::Context(test::ParseConfigOrDie("en"))));
174 EXPECT_THAT(pool_a.strings()[0]->context.config, Eq(test::ParseConfigOrDie("en")));
179 EXPECT_THAT(pool_b.strings()[0]->context.config, Eq(test::ParseConfigOrDie("en")));
ResourceParser_test.cpp 316 const ConfigDescription watch_config = test::ParseConfigOrDie("watch");
    [all...]
  /frameworks/base/tools/aapt2/compile/
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("ar-rXB")))
    [all...]
  /frameworks/base/tools/aapt2/format/binary/
TableFlattener_test.cpp 161 .AddValue("com.app.test:integer/one", test::ParseConfigOrDie("v1"),
184 test::ParseConfigOrDie("v1"), Res_value::TYPE_INT_DEC, 2u,
275 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB");
318 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB-v26");
340 const ConfigDescription sparse_config = test::ParseConfigOrDie("en-rGB");
473 .AddValue("com.app.test:integer/one", test::ParseConfigOrDie("v1"),
501 ResourceId(0x7f030000), test::ParseConfigOrDie("v1"), Res_value::TYPE_INT_DEC,
527 .AddValue("com.app.test:integer/one", test::ParseConfigOrDie("v1"),
556 ResourceId(0x7f030000), test::ParseConfigOrDie("v1"), Res_value::TYPE_INT_DEC,
  /frameworks/base/tools/aapt2/format/proto/
ProtoSerialize_test.cpp 77 test::ParseNameOrDie("com.app.a:integer/one"), test::ParseConfigOrDie("land"), {},
80 test::ParseNameOrDie("com.app.a:integer/one"), test::ParseConfigOrDie("land"), "tablet",
128 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), "");
133 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), "tablet");
371 const ConfigDescription expected_config = test::ParseConfigOrDie(config_str);
  /frameworks/base/tools/aapt2/test/
Builders.cpp 274 configs.push_back(test::ParseConfigOrDie(density));
283 configs.push_back(test::ParseConfigOrDie(locale));
Common.h 48 inline ConfigDescription ParseConfigOrDie(const android::StringPiece& str) {

Completed in 7255 milliseconds