Home
last modified time | relevance | path

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

/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/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/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/media-compat/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.java240 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolumeZen() local
266 && audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
271 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/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java338 AudioManager audioManager = in setVolumeInternal() local
340 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in setVolumeInternal()
/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.java1004 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) {
1005 mAudioManager = audioManager;
DPhoneWindowManager.java7304 AudioManager audioManager = (AudioManager) mContext.getSystemService( in performAuditoryFeedbackForAccessibilityIfNeed() local
7306 if (audioManager.isSilentMode()) { in performAuditoryFeedbackForAccessibilityIfNeed()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java1509 AudioManager audioManager = (AudioManager) mContext.getSystemService( in onKeyUpPanel() local
1511 if (audioManager != null) { in onKeyUpPanel()
1512 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5717 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local
5721 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect()
5724 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect()
5727 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect()
5730 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect()
5733 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1090 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local
1092 if (audioManager != null) { in onKeyUpPanel()
1093 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.java7953 AudioManager audioManager = in isMasterVolumeMuted() local
7955 return audioManager.isMasterMute(); in isMasterVolumeMuted()