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.cpp89 ResTable_config desired_config; in TEST_F() local
90 memset(&desired_config, 0, sizeof(desired_config)); in TEST_F()
91 desired_config.language[0] = 'd'; in TEST_F()
92 desired_config.language[1] = 'e'; in TEST_F()
95 assetmanager.SetConfiguration(desired_config); in TEST_F()
119 ResTable_config desired_config; in TEST_F() local
120 memset(&desired_config, 0, sizeof(desired_config)); in TEST_F()
121 desired_config.language[0] = 'd'; in TEST_F()
122 desired_config.language[1] = 'e'; in TEST_F()
125 assetmanager.SetConfiguration(desired_config); in TEST_F()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp316 const ResTable_config* desired_config = &configuration_; in FindEntry() local
320 desired_config = &density_override_config; in FindEntry()
351 const bool use_fast_path = desired_config == &configuration_; in FindEntry()
389 if ((best_config == nullptr || this_config.isBetterThan(*best_config, desired_config)) || in FindEntry()
417 if (this_config.match(*desired_config)) { in FindEntry()
418 if ((best_config == nullptr || this_config.isBetterThan(*best_config, desired_config)) || in FindEntry()