/packages/apps/Mms/src/com/android/mms/transaction/ |
D | NotificationPlayer.java | 87 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()
|
D | MessagingNotification.java | 888 AudioManager audioManager = in updateNotification() local 891 audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE; in updateNotification()
|
/packages/apps/Phone/src/com/android/phone/ |
D | Ringer.java | 164 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()
|
D | PhoneUtils.java | 1882 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 …]
|
D | NotificationMgr.java | 621 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()
|
D | EmergencyDialer.java | 530 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in playTone() local 531 int ringerMode = audioManager.getRingerMode(); in playTone()
|
D | PhoneApp.java | 659 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/ |
D | ActivityMusic.java | 175 … 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/ |
D | AccessibilityUtils.java | 77 final AudioManager audioManager = (AudioManager) context in initInternal() local 79 mAudioManager = new AudioManagerCompatWrapper(audioManager); in initInternal()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmKlaxon.java | 232 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/ |
D | VideoEditorBaseActivity.java | 838 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/ |
D | AlertService.java | 826 AudioManager audioManager = in getDefaultVibrate() local 828 if (audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE) { in getDefaultVibrate()
|
/packages/apps/Contacts/src/com/android/contacts/dialpad/ |
D | DialpadFragment.java | 1164 AudioManager audioManager = in playTone() local 1166 int ringerMode = audioManager.getRingerMode(); in playTone()
|