Home
last modified time | relevance | path

Searched refs:DefaultConfig (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tools/aapt2/link/
DProductFilter_test.cpp69 ConfigDescription::DefaultConfig(), "", in TEST()
74 ConfigDescription::DefaultConfig(), "tablet", in TEST()
83 ConfigDescription::DefaultConfig(), "")); in TEST()
86 ConfigDescription::DefaultConfig(), "tablet")); in TEST()
95 ConfigDescription::DefaultConfig(), "", in TEST()
100 ConfigDescription::DefaultConfig(), "tablet", in TEST()
105 ConfigDescription::DefaultConfig(), "no-sdcard", in TEST()
119 ConfigDescription::DefaultConfig(), "", in TEST()
124 ConfigDescription::DefaultConfig(), "default", in TEST()
DAutoVersioner_test.cpp33 …entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), … in TEST()
37 EXPECT_TRUE(ShouldGenerateVersionedResource(&entry, ConfigDescription::DefaultConfig(), 17)); in TEST()
46 …entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), … in TEST()
50 EXPECT_TRUE(ShouldGenerateVersionedResource(&entry, ConfigDescription::DefaultConfig(), 17)); in TEST()
51 EXPECT_FALSE(ShouldGenerateVersionedResource(&entry, ConfigDescription::DefaultConfig(), 22)); in TEST()
DResourceExcluder.h33 int diff_from_default = config.diff(ConfigDescription::DefaultConfig()); in ResourceExcluder()
DResourceExcluder.cpp38 if (config == ConfigDescription::DefaultConfig()) { in RemoveIfExcluded()
DNoDefaultResourceRemover.cpp43 const int config = ConfigDescription::DefaultConfig().diff(config_value->config); in KeepResource()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp92 test::ParseNameOrDie("com.app.a:layout/abc"), ConfigDescription::DefaultConfig(), {}, in TEST()
341 &new_table, "android:bool/boolean_true", ConfigDescription::DefaultConfig(), ""); in TEST()
347 ConfigDescription::DefaultConfig(), ""); in TEST()
353 ConfigDescription::DefaultConfig(), ""); in TEST()
359 ConfigDescription::DefaultConfig(), ""); in TEST()
365 ConfigDescription::DefaultConfig(), ""); in TEST()
371 ConfigDescription::DefaultConfig(), ""); in TEST()
377 ConfigDescription::DefaultConfig(), ""); in TEST()
383 &new_table, "android:integer/integer_neg_333", ConfigDescription::DefaultConfig(), ""); in TEST()
389 &new_table, "android:integer/hex_int_abcd", ConfigDescription::DefaultConfig(), ""); in TEST()
[all …]
/frameworks/base/tools/aapt2/filter/
DConfigFilter.cpp27 uint32_t diff_mask = ConfigDescription::DefaultConfig().diff(config); in AddConfig()
80 const uint32_t mask = ConfigDescription::DefaultConfig().diff(config); in Match()
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp372 EXPECT_NE(*test_constraints[0].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
375 EXPECT_NE(*test_constraints[0].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
383 EXPECT_NE(*adjusted_contraints[1].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
DUtil.cpp48 if (preferred_density_config.diff(ConfigDescription::DefaultConfig()) != in ParseTargetDensityParameter()
129 if (configToInsert != ConfigDescription::DefaultConfig()) { in AdjustSplitConstraintsForMinSdk()
DLink.cpp1360 final_table_.AddResourceMangled(res_name, ConfigDescription::DefaultConfig(), in MergeExportedSymbols()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp605 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
632 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
672 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
699 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h66 static const ConfigDescription& DefaultConfig();
/frameworks/base/tools/aapt2/
DResourceParser.cpp850 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParsePublic()
898 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParsePublicGroup()
1025 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseSymbol()
1040 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseOverlayable()
1209 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseAttrImpl()
1213 out_resource->config = ConfigDescription::DefaultConfig(); in ParseAttrImpl()
1658 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseDeclareStyleable()
1662 out_resource->config = ConfigDescription::DefaultConfig(); in ParseDeclareStyleable()
DResourceParser_test.cpp811 …ForConfigAndProduct<String>(&table_, "string/foo", ConfigDescription::DefaultConfig(), "phone"), N… in TEST_F()
812 …eForConfigAndProduct<String>(&table_, "string/foo",ConfigDescription::DefaultConfig(), "no-sdcard"… in TEST_F()
813 …ForConfigAndProduct<String>(&table_, "string/bar", ConfigDescription::DefaultConfig(), ""), NotNul… in TEST_F()
814 …ForConfigAndProduct<String>(&table_, "string/baz", ConfigDescription::DefaultConfig(), ""), NotNul… in TEST_F()
815 …ForConfigAndProduct<String>(&table_, "string/bit", ConfigDescription::DefaultConfig(), "phablet"),… in TEST_F()
816 …ForConfigAndProduct<String>(&table_, "string/bot", ConfigDescription::DefaultConfig(), "default"),… in TEST_F()
DDominatorTree_test.cpp160 configs.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); in TEST()
DResourceTable.cpp241 const ConfigDescription& default_config = ConfigDescription::DefaultConfig(); in HasDefaultValue()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp345 const int diff = config_value->config.diff(ConfigDescription::DefaultConfig()); in IsPseudolocalizable()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp30 const ConfigDescription& ConfigDescription::DefaultConfig() { in DefaultConfig() function in android::ConfigDescription
894 if (*this == DefaultConfig()) { in Dominates()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp312 CHECK(table->AddResourceWithId(name, resid, ConfigDescription::DefaultConfig(), "", in BuildTableWithSparseEntries()