Searched refs:audioManager (Results 1 – 11 of 11) sorted by relevance
1800 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnSpeaker() local1801 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()1837 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isSpeakerOn() local1838 return audioManager.isSpeakerphoneOn(); in isSpeakerOn()1844 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnNoiseSuppression() local1851 audioManager.setParameters("noise_suppression=auto"); in turnOnNoiseSuppression()1853 audioManager.setParameters("noise_suppression=off"); in turnOnNoiseSuppression()1884 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isNoiseSuppressionOn() local1885 String noiseSuppression = audioManager.getParameters("noise_suppression"); in isNoiseSuppressionOn()1930 AudioManager audioManager = in setMuteInternal() local[all …]
167 AudioManager audioManager = in ring() local170 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) == 0) { in ring()202 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in shouldVibrate() local203 int ringerMode = audioManager.getRingerMode(); in shouldVibrate()
636 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local637 audioManager.setParameter(CallFeaturesSetting.HAC_KEY, hac != 0 ? in onCreate()1737 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in handleQueryTTYModeResponse() local1738 audioManager.setParameters("tty_mode="+audioTtyMode); in handleQueryTTYModeResponse()
578 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in playTone() local579 int ringerMode = audioManager.getRingerMode(); in playTone()
622 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateSpeakerNotification() local624 … (mPhone.getState() == PhoneConstants.State.OFFHOOK) && audioManager.isSpeakerphoneOn(); in updateSpeakerNotification()
177 … final AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);180 || audioManager.isBluetoothA2dpOn();190 mIsHeadsetOn = audioManager.isBluetoothA2dpOn() || audioManager.isWiredHeadsetOn();197 mIsHeadsetOn = audioManager.isWiredHeadsetOn();474 … final AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onResume() local475 mIsHeadsetOn = (audioManager.isWiredHeadsetOn() || audioManager.isBluetoothA2dpOn()); in onResume()
86 AudioManager audioManager = in run() local98 audioManager.requestAudioFocus(null, mCmd.stream, in run()101 audioManager.requestAudioFocus(null, mCmd.stream, in run()115 mAudioManager = audioManager; in run()
838 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in onResume() local839 audioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in onResume()858 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in onPause() local859 audioManager.abandonAudioFocus(null); in onPause()
162 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local165 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()
238 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local241 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()
1196 AudioManager audioManager = in playTone() local1198 int ringerMode = audioManager.getRingerMode(); in playTone()