Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp494 auto musicStrategy = streamToStrategy(AUDIO_STREAM_MUSIC); in handleDeviceConfigChange() local
499 setStrategyMute(musicStrategy, true, desc); in handleDeviceConfigChange()
500 setStrategyMute(musicStrategy, false, desc, MUTE_TIME_MS, in handleDeviceConfigChange()
764 auto musicStrategy = streamToStrategy(AUDIO_STREAM_MUSIC); in setPhoneState() local
771 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState()
777 setStrategyMute(musicStrategy, true, desc); in setPhoneState()
778 setStrategyMute(musicStrategy, false, desc, MUTE_TIME_MS, in setPhoneState()