Home
last modified time | relevance | path

Searched refs:desired_config (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp93 ResTable_config desired_config; in TEST_F() local
94 memset(&desired_config, 0, sizeof(desired_config)); in TEST_F()
95 desired_config.language[0] = 'd'; in TEST_F()
96 desired_config.language[1] = 'e'; in TEST_F()
99 assetmanager.SetConfiguration(desired_config); in TEST_F()
123 ResTable_config desired_config; in TEST_F() local
124 memset(&desired_config, 0, sizeof(desired_config)); in TEST_F()
125 desired_config.language[0] = 'd'; in TEST_F()
126 desired_config.language[1] = 'e'; in TEST_F()
129 assetmanager.SetConfiguration(desired_config); in TEST_F()
[all …]
/frameworks/base/libs/androidfw/
DAssetManager2.cpp381 const ResTable_config* desired_config = &configuration_; in FindEntry() local
385 desired_config = &density_override_config; in FindEntry()
420 const bool use_fast_path = !ignore_configuration && desired_config == &configuration_; in FindEntry()
460 } else if (this_config.isBetterThan(*best_config, desired_config)) { in FindEntry()
500 if (!this_config.match(*desired_config)) { in FindEntry()
506 } else if (this_config.isBetterThan(*best_config, desired_config)) { in FindEntry()