Home
last modified time | relevance | path

Searched refs:musicStrategy (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp569 auto musicStrategy = streamToStrategy(AUDIO_STREAM_MUSIC); in handleDeviceConfigChange() local
575 if (desc->isStrategyActive(musicStrategy)) { in handleDeviceConfigChange()
583 setStrategyMute(musicStrategy, true, desc); in handleDeviceConfigChange()
584 setStrategyMute(musicStrategy, false, desc, MUTE_TIME_MS, in handleDeviceConfigChange()
895 auto musicStrategy = streamToStrategy(AUDIO_STREAM_MUSIC); in setPhoneState() local
902 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState()
908 setStrategyMute(musicStrategy, true, desc); in setPhoneState()
909 setStrategyMute(musicStrategy, false, desc, MUTE_TIME_MS, in setPhoneState()