Searched refs:strategy (Results 1 - 11 of 11) sorted by relevance

/hardware/msm7k/libaudio-qdsp5v2/
H A DAudioPolicyManager.cpp52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument
57 device = mDeviceForStrategy[strategy];
58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
62 switch (strategy) {
65 // when off call, DTMF strategy follows the same rules as MEDIA strategy
73 // for phone strategy, we first consider the forced use and then the available devices by order
77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) {
104 // - phone strategy shoul
[all...]
H A DAudioPolicyManager.h49 // return appropriate device for streams handled by the specified strategy according to current
51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
/hardware/msm7k/libaudio-qsd8k/
H A DAudioPolicyManager.cpp52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument
57 device = mDeviceForStrategy[strategy];
58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
62 switch (strategy) {
65 // when off call, DTMF strategy follows the same rules as MEDIA strategy
73 // for phone strategy, we first consider the forced use and then the available devices by order
77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) {
104 // - phone strategy shoul
[all...]
H A DAudioPolicyManager.h49 // return appropriate device for streams handled by the specified strategy according to current
51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioPolicyManagerBase.h120 // return the strategy corresponding to a given stream type
129 uint32_t strategy,
226 // default volume curve for media strategy
228 // volume curve for media strategy on speakers
230 // volume curve for sonification strategy on speakers
258 bool isStrategyActive(routing_strategy strategy,
324 routing_strategy mStrategy; // routing strategy the effect is associated to
332 // return the strategy corresponding to a given stream type
335 // return appropriate device for streams handled by the specified strategy according to current
346 virtual audio_devices_t getDeviceForStrategy(routing_strategy strategy,
[all...]
H A DAudioPolicyInterface.h143 // return the strategy corresponding to a given stream type
153 uint32_t strategy,
/hardware/libhardware_legacy/audio/
H A DAudioPolicyManagerBase.cpp293 // pertaining to sonification strategy see handleIncallSonification()
301 // store previous phone state for management of sonification strategy below
344 // latency of any output where either strategy is active.
368 // pertaining to sonification strategy see handleIncallSonification()
515 routing_strategy strategy = getStrategy((AudioSystem::stream_type)stream); local
516 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
702 routing_strategy strategy = getStrategy(stream); local
703 bool shouldWait = (strategy == STRATEGY_SONIFICATION) ||
704 (strategy == STRATEGY_SONIFICATION_RESPECTFUL);
1060 // the strategy th
1076 routing_strategy strategy = getStrategy(AudioSystem::MUSIC); local
1089 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
1889 checkOutputForStrategy(routing_strategy strategy) argument
2064 AudioPolicyManagerBase::routing_strategy strategy = getStrategy(stream); local
2108 getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument
2898 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
3113 isStrategyActive(routing_strategy strategy, uint32_t inPastMs, nsecs_t sysTime) const argument
[all...]
H A Daudio_policy_hal.cpp278 uint32_t strategy,
283 return lap->apm->registerEffect(desc, io, strategy, session, id);
275 ap_register_effect(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/hardware/qcom/audio/legacy/alsa_sound/
H A Daudio_policy_hal.cpp278 uint32_t strategy,
283 return qap->apm->registerEffect(desc, io, strategy, session, id);
275 ap_register_effect(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/hardware/libhardware/include/hardware/
H A Daudio_policy.h208 /* return the strategy corresponding to a given stream type */
223 uint32_t strategy,
/hardware/libhardware/modules/audio/
H A Daudio_policy.c204 uint32_t strategy,
201 ap_register_effect(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument

Completed in 330 milliseconds