Lines Matching defs:getDeviceForStrategy
434 uint32_t device = getDeviceForStrategy(strategy);
1453 uint32_t prevDevice = getDeviceForStrategy(strategy);
1454 uint32_t curDevice = getDeviceForStrategy(strategy, false);
1574 device = getDeviceForStrategy(STRATEGY_ENFORCED_AUDIBLE, fromCache);
1577 device = getDeviceForStrategy(STRATEGY_PHONE, fromCache);
1579 device = getDeviceForStrategy(STRATEGY_SONIFICATION, fromCache);
1581 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache);
1583 device = getDeviceForStrategy(STRATEGY_DTMF, fromCache);
1603 devices = getDeviceForStrategy(strategy, true);
1634 uint32_t AudioPolicyManagerBase::getDeviceForStrategy(routing_strategy strategy, bool fromCache)
1639 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, mDeviceForStrategy[strategy]);
1647 device = getDeviceForStrategy(STRATEGY_MEDIA, false);
1691 LOGE("getDeviceForStrategy() earpiece device not found");
1712 LOGE("getDeviceForStrategy() speaker device not found");
1723 device = getDeviceForStrategy(STRATEGY_PHONE, false);
1734 LOGE("getDeviceForStrategy() speaker device not found");
1775 LOGE("getDeviceForStrategy() speaker device not found");
1780 LOGW("getDeviceForStrategy() unknown strategy: %d", strategy);
1784 LOGV("getDeviceForStrategy() strategy %d, device %x", strategy, device);
1791 mDeviceForStrategy[i] = getDeviceForStrategy((routing_strategy)i, false);
2228 if (outputDesc->device() & getDeviceForStrategy(STRATEGY_PHONE)) {