Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
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()
DProductFilter_test.cpp93 ConfigDescription::DefaultConfig(), "")); in TEST()
96 ConfigDescription::DefaultConfig(), "tablet")); in TEST()
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/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/format/proto/
DProtoSerialize_test.cpp416 &new_table, "android:bool/boolean_true", ConfigDescription::DefaultConfig(), ""); in TEST()
422 ConfigDescription::DefaultConfig(), ""); in TEST()
428 ConfigDescription::DefaultConfig(), ""); in TEST()
434 ConfigDescription::DefaultConfig(), ""); in TEST()
440 ConfigDescription::DefaultConfig(), ""); in TEST()
446 ConfigDescription::DefaultConfig(), ""); in TEST()
452 ConfigDescription::DefaultConfig(), ""); in TEST()
458 &new_table, "android:integer/integer_neg_333", ConfigDescription::DefaultConfig(), ""); in TEST()
464 &new_table, "android:integer/hex_int_abcd", ConfigDescription::DefaultConfig(), ""); in TEST()
470 ConfigDescription::DefaultConfig(), ""); in TEST()
[all …]
/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.cpp47 if (preferred_density_config.diff(ConfigDescription::DefaultConfig()) != in ParseTargetDensityParameter()
128 if (configToInsert != ConfigDescription::DefaultConfig()) { in AdjustSplitConstraintsForMinSdk()
/frameworks/base/tools/aapt2/
DDominatorTree_test.cpp160 configs.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); in TEST()
183 configs.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); in TEST()
DResourceParser.cpp897 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseMacro()
927 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParsePublic()
971 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseGroupImpl()
1127 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseSymbol()
1142 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseOverlayable()
1306 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseAttrImpl()
1310 out_resource->config = ConfigDescription::DefaultConfig(); in ParseAttrImpl()
1758 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseDeclareStyleable()
1762 out_resource->config = ConfigDescription::DefaultConfig(); in ParseDeclareStyleable()
DResourceParser_test.cpp900 …ForConfigAndProduct<String>(&table_, "string/foo", ConfigDescription::DefaultConfig(), "phone"), N… in TEST_F()
901 …eForConfigAndProduct<String>(&table_, "string/foo",ConfigDescription::DefaultConfig(), "no-sdcard"… in TEST_F()
902 …ForConfigAndProduct<String>(&table_, "string/bar", ConfigDescription::DefaultConfig(), ""), NotNul… in TEST_F()
903 …ForConfigAndProduct<String>(&table_, "string/baz", ConfigDescription::DefaultConfig(), ""), NotNul… in TEST_F()
904 …ForConfigAndProduct<String>(&table_, "string/bit", ConfigDescription::DefaultConfig(), "phablet"),… in TEST_F()
905 …ForConfigAndProduct<String>(&table_, "string/bot", ConfigDescription::DefaultConfig(), "default"),… in TEST_F()
DResourceTable.cpp216 const ConfigDescription& default_config = ConfigDescription::DefaultConfig(); in HasDefaultValue()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp607 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
634 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
674 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
701 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h66 static const ConfigDescription& DefaultConfig();
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp199 const ConfigDescription& config = DefaultConfig()) { in FindValueById()
217 Value* ResolveReference(Reference* ref, const ConfigDescription& config = DefaultConfig()) { in ResolveReference()
238 const ConfigDescription& config = DefaultConfig()) { in GetAttributeInteger()
264 const ConfigDescription& config = DefaultConfig()) { in GetAttributeIntegerDefault()
277 const ConfigDescription& config = DefaultConfig()) { in GetAttributeString()
312 const ConfigDescription& config = DefaultConfig()) { in GetAttributeStringDefault()
329 static ConfigDescription DefaultConfig() { in DefaultConfig() function in aapt::ManifestExtractor
2024 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Dump()
2033 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Dump()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp42 static void DefaultConfig(Benchmark* b) { b->Unit(kMicrosecond); } in DefaultConfig() function in VibratorBench
89 ->Apply(fixt::DefaultConfig) \
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp346 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
896 if (*this == DefaultConfig()) { in Dominates()