Searched refs:audioManager (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CallManager.java | 375 AudioManager audioManager = (AudioManager) in setAudioMode() 382 int curAudioMode = audioManager.getMode(); in setAudioMode() 385 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0) { in setAudioMode() 387 audioManager.requestAudioFocusForCall(AudioManager.STREAM_RING, in setAudioMode() 391 audioManager.setMode(AudioManager.MODE_RINGTONE); in setAudioMode() 396 audioManager.setMode(AudioManager.MODE_IN_CALL); in setAudioMode() 412 if (audioManager.getMode() != newAudioMode || mSpeedUpAudioForMtCall) { in setAudioMode() 415 audioManager.requestAudioFocusForCall(AudioManager.STREAM_VOICE_CALL, in setAudioMode() 417 audioManager.setMode(newAudioMode); in setAudioMode() 422 if (audioManager.getMode() != AudioManager.MODE_NORMAL) { in setAudioMode() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 83 AudioManager audioManager = in run() local 94 audioManager.requestAudioFocus(null, mCmd.stream, in run() 97 audioManager.requestAudioFocus(null, mCmd.stream, in run() 111 mAudioManager = audioManager; in run()
|
/frameworks/base/core/java/android/webkit/ |
D | HTML5Audio.java | 289 … AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in play() local 290 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in play()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneFallbackEventHandler.java | 199 AudioManager audioManager = (AudioManager)mContext.getSystemService( in onKeyUp() local 201 if (audioManager != null) { in onKeyUp()
|
D | GlobalActions.java | 752 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { in SilentModeTriStateAction() argument 753 mAudioManager = audioManager; in SilentModeTriStateAction()
|
D | PhoneWindow.java | 855 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local 857 if (audioManager != null) { in onKeyUpPanel() 858 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
|
D | PhoneWindowManager.java | 4411 AudioManager audioManager = (AudioManager) mContext.getSystemService( in performAuditoryFeedbackForAccessibilityIfNeed() local 4413 if (audioManager.isSilentMode()) { in performAuditoryFeedbackForAccessibilityIfNeed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 234 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolume() local 235 final int ringerMode = audioManager.getRingerMode(); in updateVolume()
|
/frameworks/base/services/java/com/android/server/ |
D | NotificationManagerService.java | 1088 final AudioManager audioManager = (AudioManager) mContext in enqueueNotificationInternal() local 1121 if ((audioManager.getStreamVolume(audioStreamType) != 0) in enqueueNotificationInternal() 1122 && !audioManager.isSpeechRecognitionActive()) { in enqueueNotificationInternal() 1145 && (audioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE); in enqueueNotificationInternal() 1152 && !(audioManager.getRingerMode() == AudioManager.RINGER_MODE_SILENT)) { in enqueueNotificationInternal()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 3988 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local 3992 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect() 3995 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect() 3998 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect() 4001 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect() 4004 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediaplayer.jd | 497 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); 498 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC,
|