Searched refs:audioManager (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DVolumeControlAction.java163 AudioManager audioManager = tv().getService().getAudioManager();
164 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC);
H A DHdmiControlService.java956 AudioManager audioManager = getAudioManager();
957 boolean muted = audioManager.isStreamMute(AudioManager.STREAM_MUSIC);
960 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, true);
964 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, false);
968 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume,
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java80 AudioManager audioManager =
90 if (!audioManager.isMusicActiveRemotely()) {
95 audioManager.requestAudioFocus(null,
99 audioManager.requestAudioFocus(null,
103 mAudioManagerWithAudioFocus = audioManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSafetyWarningDialog.java44 public SafetyWarningDialog(Context context, AudioManager audioManager) { argument
47 mAudioManager = audioManager;
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorJellybeanMR2.java85 public TransportMediatorJellybeanMR2(Context context, AudioManager audioManager, argument
88 mAudioManager = audioManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java227 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
253 && audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) {
258 audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) {
/frameworks/base/media/java/android/media/
H A DRingtone.java240 AudioManager audioManager =
242 mRemotePlayer = audioManager.getRingtonePlayer();
/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java963 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { argument
964 mAudioManager = audioManager;
H A DPhoneWindowManager.java6495 AudioManager audioManager = (AudioManager) mContext.getSystemService(
6497 if (audioManager.isSilentMode()) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java339 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
340 String echoSuppression = audioManager.getParameters("ec_supported");
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV7.java1403 AudioManager audioManager = (AudioManager) mContext.getSystemService(
1405 if (audioManager != null) {
1406 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java5445 final AudioManager audioManager = getAudioManager();
5449 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK);
5452 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN);
5455 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT);
5458 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT);
5461 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP);
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java1026 AudioManager audioManager = (AudioManager) getContext().getSystemService(
1028 if (audioManager != null) {
1029 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java6088 AudioManager audioManager =
6090 return audioManager.isMasterMute();

Completed in 542 milliseconds