Searched refs:audioManager (Results 1 – 11 of 11) sorted by relevance
60 AudioManager audioManager = (AudioManager) in stop() local62 audioManager.abandonAudioFocus(null); in stop()134 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in startAlarm() local136 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()140 audioManager.requestAudioFocus(null, in startAlarm()
158 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local161 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()165 audioManager.requestAudioFocus( in startAlarm()192 final AudioManager audioManager = in stop() local194 audioManager.abandonAudioFocus(this); in stop()
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()
182 AudioManager audioManager = in startRingingOrCallWaiting() local184 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0) { in startRingingOrCallWaiting()254 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in shouldVibrate() local255 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrate()
63 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in WiredHeadsetManager() local64 mIsPluggedIn = audioManager.isWiredHeadsetOn(); in WiredHeadsetManager()
108 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateAudioTtyMode() local109 audioManager.setParameters("tty_mode=" + audioTtyMode); in updateAudioTtyMode()
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()
1790 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnSpeaker() local1791 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()1821 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isSpeakerOn() local1822 return audioManager.isSpeakerphoneOn(); in isSpeakerOn()1828 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnNoiseSuppression() local1835 audioManager.setParameters("noise_suppression=auto"); in turnOnNoiseSuppression()1837 audioManager.setParameters("noise_suppression=off"); in turnOnNoiseSuppression()1868 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isNoiseSuppressionOn() local1869 String noiseSuppression = audioManager.getParameters("noise_suppression"); in isNoiseSuppressionOn()
548 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in playTone() local549 int ringerMode = audioManager.getRingerMode(); in playTone()
458 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local459 audioManager.setParameter(CallFeaturesSetting.HAC_KEY, hac != 0 ? in onCreate()
1165 AudioManager audioManager = in playTone() local1167 int ringerMode = audioManager.getRingerMode(); in playTone()