Home
last modified time | relevance | path

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

/packages/apps/Phone/src/com/android/phone/
DPhoneUtils.java1800 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnSpeaker() local
1801 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()
1837 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isSpeakerOn() local
1838 return audioManager.isSpeakerphoneOn(); in isSpeakerOn()
1844 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnNoiseSuppression() local
1851 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() local
1885 String noiseSuppression = audioManager.getParameters("noise_suppression"); in isNoiseSuppressionOn()
1930 AudioManager audioManager = in setMuteInternal() local
[all …]
DRinger.java167 AudioManager audioManager = in ring() local
170 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) == 0) { in ring()
202 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in shouldVibrate() local
203 int ringerMode = audioManager.getRingerMode(); in shouldVibrate()
DPhoneGlobals.java636 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local
637 audioManager.setParameter(CallFeaturesSetting.HAC_KEY, hac != 0 ? in onCreate()
1737 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in handleQueryTTYModeResponse() local
1738 audioManager.setParameters("tty_mode="+audioTtyMode); in handleQueryTTYModeResponse()
DEmergencyDialer.java578 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in playTone() local
579 int ringerMode = audioManager.getRingerMode(); in playTone()
DNotificationMgr.java622 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateSpeakerNotification() local
624 … (mPhone.getState() == PhoneConstants.State.OFFHOOK) && audioManager.isSpeakerphoneOn(); in updateSpeakerNotification()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java177 … 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() local
475 mIsHeadsetOn = (audioManager.isWiredHeadsetOn() || audioManager.isBluetoothA2dpOn()); in onResume()
/packages/apps/Mms/src/com/android/mms/transaction/
DNotificationPlayer.java86 AudioManager audioManager = in run() local
98 audioManager.requestAudioFocus(null, mCmd.stream, in run()
101 audioManager.requestAudioFocus(null, mCmd.stream, in run()
115 mAudioManager = audioManager; in run()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java838 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in onResume() local
839 audioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in onResume()
858 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in onPause() local
859 audioManager.abandonAudioFocus(null); in onPause()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java162 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local
165 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()
DAlarmKlaxon.java238 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local
241 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java1196 AudioManager audioManager = in playTone() local
1198 int ringerMode = audioManager.getRingerMode(); in playTone()