Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp29 ResTable_config bestConfig; in selectBest() local
30 memset(&bestConfig, 0, sizeof(bestConfig)); in selectBest()
38 if (thisConfig.isBetterThan(bestConfig, &target)) { in selectBest()
39 bestConfig = thisConfig; in selectBest()
42 return bestConfig; in selectBest()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5486 ResTable_config bestConfig; in getEntry() local
5487 memset(&bestConfig, 0, sizeof(bestConfig)); in getEntry()
5558 if (!thisConfig.isBetterThan(bestConfig, config)) { in getEntry()
5559 if (!currentTypeIsOverlay || thisConfig.compare(bestConfig) != 0) { in getEntry()
5567 bestConfig = thisConfig; in getEntry()
5603 outEntry->config = bestConfig; in getEntry()