Searched refs:bestConfig (Results 1 – 3 of 3) sorted by relevance
30 ResTable_config bestConfig; in selectBest() local31 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()
257 std::optional<SupportedStreamConfiguration> bestConfig; in pickInputConfigurationForStreams() local267 if (!bestConfig.has_value() || in pickInputConfigurationForStreams()268 isBetterInputConfig(inputConfig, bestConfig.value())) { in pickInputConfigurationForStreams()269 bestConfig = inputConfig; in pickInputConfigurationForStreams()273 return bestConfig; in pickInputConfigurationForStreams()
6650 ResTable_config bestConfig; in getEntry() local6651 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()