Home
last modified time | relevance | path

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

/packages/apps/Mms/src/com/android/mms/transaction/
DNotificationPlayer.java87 AudioManager audioManager = in run() local
99 audioManager.requestAudioFocus(null, mCmd.stream, in run()
102 audioManager.requestAudioFocus(null, mCmd.stream, in run()
116 mAudioManager = audioManager; in run()
DMessagingNotification.java888 AudioManager audioManager = in updateNotification() local
891 audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE; in updateNotification()
/packages/apps/Phone/src/com/android/phone/
DRinger.java164 AudioManager audioManager = in ring() local
167 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) == 0) { in ring()
199 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in shouldVibrate() local
200 int ringerMode = audioManager.getRingerMode(); in shouldVibrate()
DPhoneUtils.java1882 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnSpeaker() local
1883 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()
1919 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isSpeakerOn() local
1920 return audioManager.isSpeakerphoneOn(); in isSpeakerOn()
1926 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnNoiseSuppression() local
1933 audioManager.setParameters("noise_suppression=auto"); in turnOnNoiseSuppression()
1935 audioManager.setParameters("noise_suppression=off"); in turnOnNoiseSuppression()
1966 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isNoiseSuppressionOn() local
1967 String noiseSuppression = audioManager.getParameters("noise_suppression"); in isNoiseSuppressionOn()
2012 AudioManager audioManager = in setMuteInternal() local
[all …]
DNotificationMgr.java621 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateSpeakerNotification() local
623 (mPhone.getState() == Phone.State.OFFHOOK) && audioManager.isSpeakerphoneOn(); in updateSpeakerNotification()
1273 AudioManager audioManager = in updateMwi() local
1275 boolean nowSilent = audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE; in updateMwi()
DEmergencyDialer.java530 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in playTone() local
531 int ringerMode = audioManager.getRingerMode(); in playTone()
DPhoneApp.java659 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local
660 audioManager.setParameter(CallFeaturesSetting.HAC_KEY, hac != 0 ? in onCreate()
1897 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in handleQueryTTYModeResponse() local
1898 audioManager.setParameters("tty_mode="+audioTtyMode); in handleQueryTTYModeResponse()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java175 … final AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
178 || audioManager.isBluetoothA2dpOn();
188 mIsHeadsetOn = audioManager.isBluetoothA2dpOn() || audioManager.isWiredHeadsetOn();
195 mIsHeadsetOn = audioManager.isWiredHeadsetOn();
459 … final AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onResume() local
460 mIsHeadsetOn = (audioManager.isWiredHeadsetOn() || audioManager.isBluetoothA2dpOn()); in onResume()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityUtils.java77 final AudioManager audioManager = (AudioManager) context in initInternal() local
79 mAudioManager = new AudioManagerCompatWrapper(audioManager); in initInternal()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmKlaxon.java232 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm() local
235 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) { in startAlarm()
/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/Calendar/src/com/android/calendar/alerts/
DAlertService.java826 AudioManager audioManager = in getDefaultVibrate() local
828 if (audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE) { in getDefaultVibrate()
/packages/apps/Contacts/src/com/android/contacts/dialpad/
DDialpadFragment.java1164 AudioManager audioManager = in playTone() local
1166 int ringerMode = audioManager.getRingerMode(); in playTone()