Searched refs:sAudioManager (Results 1 – 1 of 1) sorted by relevance
153 private static AudioManager sAudioManager; field in HeadsetClientStateMachine671 if (sAudioManager == null) { in HeadsetClientStateMachine()672 sAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in HeadsetClientStateMachine()686 mMaxAmVcVol = sAudioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL); in HeadsetClientStateMachine()687 mMinAmVcVol = sAudioManager.getStreamMinVolume(AudioManager.STREAM_VOICE_CALL); in HeadsetClientStateMachine()725 sAudioManager.setParameters("hfp_enable=true"); in routeHfpAudio()727 sAudioManager.setParameters("hfp_enable=false"); in routeHfpAudio()734 if (sAudioManager != null) { in doQuit()1006 int amVol = sAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in processConnectionEvent()1012 sAudioManager.isMicrophoneMute() ? 0 : 15, 0)); in processConnectionEvent()[all …]