Home
last modified time | relevance | path

Searched refs:default_config (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DResourceFilter_test.cpp30 const ConfigDescription default_config = {}; in TEST() local
34 .AddString("android:string/notblacklisted", ResourceId{}, default_config, "value") in TEST()
35 .AddString("android:string/blacklisted", ResourceId{}, default_config, "value") in TEST()
36 .AddString("android:string/notblacklisted2", ResourceId{}, default_config, "value") in TEST()
37 .AddString("android:string/blacklisted2", ResourceId{}, default_config, "value") in TEST()
46 EXPECT_THAT(table, HasValue("android:string/notblacklisted", default_config)); in TEST()
47 EXPECT_THAT(table, HasValue("android:string/notblacklisted2", default_config)); in TEST()
48 EXPECT_THAT(table, Not(HasValue("android:string/blacklisted", default_config))); in TEST()
49 EXPECT_THAT(table, Not(HasValue("android:string/blacklisted2", default_config))); in TEST()
54 const ConfigDescription default_config = {}; in TEST() local
[all …]
DResourceDeduper_test.cpp30 const ConfigDescription default_config = {}; in TEST() local
40 .AddString("android:string/dedupe", ResourceId{}, default_config, "dedupe") in TEST()
44 .AddString("android:string/dedupe2", ResourceId{}, default_config, "dedupe") in TEST()
49 .AddString("android:string/dedupe3", ResourceId{}, default_config, "dedupe") in TEST()
61 EXPECT_THAT(table, HasValue("android:string/dedupe3", default_config)); in TEST()
68 const ConfigDescription default_config = {}; in TEST() local
76 .AddString("android:string/keep", ResourceId{}, default_config, "keep") in TEST()
90 const ConfigDescription default_config = {}; in TEST() local
96 .AddString("android:string/keep", ResourceId{}, default_config, "keep") in TEST()
102 EXPECT_THAT(table, HasValue("android:string/keep", default_config)); in TEST()
/frameworks/base/tools/aapt2/link/
DResourceExcluder_test.cpp46 ConfigDescription default_config; in TEST() local
51 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
58 EXPECT_THAT(table, HasValue("android:string/test", default_config)); in TEST()
64 ConfigDescription default_config; in TEST() local
69 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
76 EXPECT_THAT(table, HasValue("android:string/test", default_config)); in TEST()
82 ConfigDescription default_config; in TEST() local
87 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
94 EXPECT_THAT(table, HasValue("android:string/test", default_config)); in TEST()
100 ConfigDescription default_config; in TEST() local
[all …]
/frameworks/base/tools/aapt2/
DDominatorTree_test.cpp72 const ConfigDescription default_config = {}; in TEST() local
77 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST()
92 const ConfigDescription default_config = {}; in TEST() local
97 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST()
99 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "phablet")); in TEST()
114 const ConfigDescription default_config = {}; in TEST() local
126 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST()
DResourceTable.cpp241 const ConfigDescription& default_config = ConfigDescription::DefaultConfig(); in HasDefaultValue() local
245 if (config_value->config == default_config) { in HasDefaultValue()