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()
DResourceExcluder.cpp38 if (config == ConfigDescription::DefaultConfig()) { in RemoveIfExcluded()
DNoDefaultResourceRemover.cpp43 const int config = ConfigDescription::DefaultConfig().diff(config_value->config); in KeepResource()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp129 static void DefaultConfig(Benchmark* b) { b->Unit(kMicrosecond); } in DefaultConfig() function in VibratorBench
187 static void DefaultConfig(Benchmark* b) { in DefaultConfig() function in SlowVibratorBench
188 VibratorBench::DefaultConfig(b); in DefaultConfig()
197 ->Apply(fixt::DefaultConfig) \
415 static void DefaultConfig(Benchmark* b) { in DefaultConfig() function in SlowVibratorEffectsBench
416 VibratorBench::DefaultConfig(b); in DefaultConfig()
516 static void DefaultConfig(Benchmark* b) { in DefaultConfig() function in SlowVibratorPrimitivesBench
517 VibratorBench::DefaultConfig(b); in DefaultConfig()
/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.cpp417 &new_table, "android:bool/boolean_true", ConfigDescription::DefaultConfig(), ""); in TEST()
423 ConfigDescription::DefaultConfig(), ""); in TEST()
429 ConfigDescription::DefaultConfig(), ""); in TEST()
435 ConfigDescription::DefaultConfig(), ""); in TEST()
441 ConfigDescription::DefaultConfig(), ""); in TEST()
447 ConfigDescription::DefaultConfig(), ""); in TEST()
453 ConfigDescription::DefaultConfig(), ""); in TEST()
459 &new_table, "android:integer/integer_neg_333", ConfigDescription::DefaultConfig(), ""); in TEST()
465 &new_table, "android:integer/hex_int_abcd", ConfigDescription::DefaultConfig(), ""); in TEST()
471 ConfigDescription::DefaultConfig(), ""); in TEST()
[all …]
/frameworks/base/tools/aapt2/process/
DProductFilter_test.cpp94 ConfigDescription::DefaultConfig(), "")); in TEST()
97 ConfigDescription::DefaultConfig(), "tablet")); in TEST()
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp419 EXPECT_NE(*test_constraints[0].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
422 EXPECT_NE(*test_constraints[0].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
430 EXPECT_NE(*adjusted_contraints[1].configs.begin(), ConfigDescription::DefaultConfig()); in TEST()
DUtil.cpp48 if (preferred_density_config.diff(ConfigDescription::DefaultConfig()) != in ParseTargetDensityParameter()
180 if (configToInsert != ConfigDescription::DefaultConfig()) { in AdjustSplitConstraintsForMinSdk()
/frameworks/base/tools/aapt2/
DDominatorTree_test.cpp159 configs.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); in TEST()
182 configs.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); in TEST()
DResourceParser.cpp893 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseMacro()
923 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParsePublic()
966 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseGroupImpl()
1125 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseSymbol()
1140 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseOverlayable()
1305 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseAttrImpl()
1309 out_resource->config = ConfigDescription::DefaultConfig(); in ParseAttrImpl()
1753 if (out_resource->config != ConfigDescription::DefaultConfig()) { in ParseDeclareStyleable()
1757 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.cpp223 const ConfigDescription& default_config = ConfigDescription::DefaultConfig(); in HasDefaultValue()
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h72 static const ConfigDescription& DefaultConfig();
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp602 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
628 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in ScreenDensityGroupTagHandler()
668 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
694 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) == in LocaleGroupTagHandler()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp308 const ConfigDescription& config = DefaultConfig()) { in FindValueById()
326 Value* ResolveReference(Reference* ref, const ConfigDescription& config = DefaultConfig()) { in ResolveReference()
347 const ConfigDescription& config = DefaultConfig()) { in GetAttributeInteger()
373 const ConfigDescription& config = DefaultConfig()) { in GetAttributeIntegerDefault()
386 const ConfigDescription& config = DefaultConfig()) { in GetAttributeString()
423 const ConfigDescription& config = DefaultConfig()) { in GetAttributeStringDefault()
441 static ConfigDescription DefaultConfig() { in DefaultConfig() function in aapt::ManifestExtractor
2523 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Extract()
2532 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Extract()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp31 const ConfigDescription& ConfigDescription::DefaultConfig() { in DefaultConfig() function in android::ConfigDescription
923 if (*this == DefaultConfig()) { in Dominates()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp486 const int diff = config_value->config.diff(ConfigDescription::DefaultConfig()); in IsPseudolocalizable()