Home | History | Annotate | Download | only in audio

Lines Matching refs:getDeviceForStrategy

376                 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/));
379 getDeviceForStrategy(STRATEGY_SONIFICATION, true /*fromCache*/));
548 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
1162 device = getDeviceForStrategy(getStrategy(stream), true /*fromCache*/);
1217 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
2325 audio_devices_t oldDevice = getDeviceForStrategy(strategy, true /*fromCache*/);
2326 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
2460 device = getDeviceForStrategy(STRATEGY_ENFORCED_AUDIBLE, fromCache);
2463 device = getDeviceForStrategy(STRATEGY_PHONE, fromCache);
2465 device = getDeviceForStrategy(STRATEGY_SONIFICATION, fromCache);
2467 device = getDeviceForStrategy(STRATEGY_SONIFICATION_RESPECTFUL, fromCache);
2469 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache);
2471 device = getDeviceForStrategy(STRATEGY_DTMF, fromCache);
2491 devices = getDeviceForStrategy(strategy, true /*fromCache*/);
2534 audio_devices_t AudioPolicyManagerBase::getDeviceForStrategy(routing_strategy strategy,
2540 ALOGVV("getDeviceForStrategy() from cache strategy %d, device %x",
2549 device = getDeviceForStrategy(STRATEGY_SONIFICATION, false /*fromCache*/);
2556 device = getDeviceForStrategy(STRATEGY_SONIFICATION, false /*fromCache*/);
2559 device = getDeviceForStrategy(STRATEGY_MEDIA, false /*fromCache*/);
2562 device = getDeviceForStrategy(STRATEGY_SONIFICATION, false /*fromCache*/);
2570 device = getDeviceForStrategy(STRATEGY_MEDIA, false /*fromCache*/);
2622 ALOGE("getDeviceForStrategy() no device found for STRATEGY_PHONE");
2651 ALOGE("getDeviceForStrategy() no device found for STRATEGY_PHONE, FORCE_SPEAKER");
2662 getDeviceForStrategy(STRATEGY_PHONE, false /*fromCache*/);
2677 ALOGE("getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION");
2733 ALOGE("getDeviceForStrategy() no device found for STRATEGY_MEDIA");
2738 ALOGW("getDeviceForStrategy() unknown strategy: %d", strategy);
2742 ALOGVV("getDeviceForStrategy() strategy %d, device %x", strategy, device);
2749 mDeviceForStrategy[i] = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/);
2773 audio_devices_t curDevice = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/);
3278 audio_devices_t musicDevice = getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/);
3451 getDeviceForStrategy(STRATEGY_PHONE, true /*fromCache*/)) {