Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp30 ResTable_config bestConfig; in selectBest() local
31 memset(&bestConfig, 0, sizeof(bestConfig)); in selectBest()
39 if (thisConfig.isBetterThan(bestConfig, &target)) { in selectBest()
40 bestConfig = thisConfig; in selectBest()
43 return bestConfig; in selectBest()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraSession.cc257 std::optional<SupportedStreamConfiguration> bestConfig; in pickInputConfigurationForStreams() local
267 if (!bestConfig.has_value() || in pickInputConfigurationForStreams()
268 isBetterInputConfig(inputConfig, bestConfig.value())) { in pickInputConfigurationForStreams()
269 bestConfig = inputConfig; in pickInputConfigurationForStreams()
273 return bestConfig; in pickInputConfigurationForStreams()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp6650 ResTable_config bestConfig; in getEntry() local
6651 memset(&bestConfig, 0, sizeof(bestConfig)); in getEntry()
6776 if (!thisConfig.isBetterThan(bestConfig, config)) { in getEntry()
6777 if (!currentTypeIsOverlay || thisConfig.compare(bestConfig) != 0) { in getEntry()
6785 bestConfig = thisConfig; in getEntry()
6821 outEntry->config = bestConfig; in getEntry()