Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java80 AudioManager audioManager = in run() local
90 if (!audioManager.isMusicActiveRemotely()) { in run()
95 audioManager.requestAudioFocus(null, in run()
99 audioManager.requestAudioFocus(null, in run()
103 mAudioManagerWithAudioFocus = audioManager; in run()
/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java163 AudioManager audioManager = tv().getService().getAudioManager(); in shouldUpdateAudioVolume() local
164 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
DHdmiControlService.java976 AudioManager audioManager = getAudioManager(); in setAudioStatus() local
977 boolean muted = audioManager.isStreamMute(AudioManager.STREAM_MUSIC); in setAudioStatus()
980 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, true); in setAudioStatus()
984 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, false); in setAudioStatus()
988 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, in setAudioStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java44 public SafetyWarningDialog(Context context, AudioManager audioManager) { in SafetyWarningDialog() argument
47 mAudioManager = audioManager; in SafetyWarningDialog()
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java96 public TransportMediatorJellybeanMR2(Context context, AudioManager audioManager, in TransportMediatorJellybeanMR2() argument
99 mAudioManager = audioManager; in TransportMediatorJellybeanMR2()
/frameworks/base/docs/html/training/wearables/
Dwearable-sounds.jd36 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
45 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
/frameworks/base/media/java/android/media/
DRingtone.java240 AudioManager audioManager = in getTitle()
242 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java238 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolumeZen() local
264 && audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
269 audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java489 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in shouldVibrateForRingtone() local
490 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java349 … AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setEchoSuppressionEnabled() local
350 String echoSuppression = audioManager.getParameters("ec_supported"); in setEchoSuppressionEnabled()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java969 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) {
970 mAudioManager = audioManager;
DPhoneWindowManager.java7147 AudioManager audioManager = (AudioManager) mContext.getSystemService( in performAuditoryFeedbackForAccessibilityIfNeed() local
7149 if (audioManager.isSilentMode()) { in performAuditoryFeedbackForAccessibilityIfNeed()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV7.java1504 AudioManager audioManager = (AudioManager) mContext.getSystemService( in onKeyUpPanel() local
1506 if (audioManager != null) { in onKeyUpPanel()
1507 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5718 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local
5722 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect()
5725 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect()
5728 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect()
5731 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect()
5734 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1092 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local
1094 if (audioManager != null) { in onKeyUpPanel()
1095 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd496 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
497 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC,
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7942 AudioManager audioManager = in isMasterVolumeMuted() local
7944 return audioManager.isMasterMute(); in isMasterVolumeMuted()