Lines Matching refs:legacyStrategy
45 static const std::vector<legacy_strategy_map> legacyStrategy = { in getLegacyStrategy() local
59 return legacyStrategy; in getLegacyStrategy()
69 auto legacyStrategy = getLegacyStrategy(); in Engine() local
70 for (const auto &strategy : legacyStrategy) { in Engine()
218 auto legacyStrategy = mLegacyStrategyMap.find(strategy) != end(mLegacyStrategyMap) ? in remapStrategyFromContext() local
222 switch (legacyStrategy) { in remapStrategyFromContext()
228 legacyStrategy = STRATEGY_PHONE; in remapStrategyFromContext()
235 switch (legacyStrategy) { in remapStrategyFromContext()
239 legacyStrategy = STRATEGY_PHONE; in remapStrategyFromContext()
246 legacyStrategy = STRATEGY_SONIFICATION; in remapStrategyFromContext()
254 return getProductStrategyFromLegacy(legacyStrategy); in remapStrategyFromContext()
618 product_strategy_t Engine::getProductStrategyFromLegacy(legacy_strategy legacyStrategy) const { in getProductStrategyFromLegacy()
620 if (strategyMap.second == legacyStrategy) { in getProductStrategyFromLegacy()
628 const DeviceVector& availableOutputDevices, legacy_strategy legacyStrategy) const { in getPreferredDeviceTypeForLegacyStrategy()
629 product_strategy_t strategy = getProductStrategyFromLegacy(legacyStrategy); in getPreferredDeviceTypeForLegacyStrategy()
665 auto legacyStrategy = mLegacyStrategyMap.find(strategy) != end(mLegacyStrategyMap) ? in getDevicesForProductStrategy() local
670 filterOutputDevicesForStrategy(legacyStrategy, availableOutputDevices, outputs); in getDevicesForProductStrategy()
680 return getDevicesForStrategyInt(legacyStrategy, in getDevicesForProductStrategy()