/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 80 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/ |
D | VolumeControlAction.java | 163 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()
|
D | HdmiControlService.java | 976 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/ |
D | SafetyWarningDialog.java | 44 public SafetyWarningDialog(Context context, AudioManager audioManager) { in SafetyWarningDialog() argument 47 mAudioManager = audioManager; in SafetyWarningDialog()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
D | TransportMediatorJellybeanMR2.java | 96 public TransportMediatorJellybeanMR2(Context context, AudioManager audioManager, in TransportMediatorJellybeanMR2() argument 99 mAudioManager = audioManager; in TransportMediatorJellybeanMR2()
|
/frameworks/base/docs/html/training/wearables/ |
D | wearable-sounds.jd | 36 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); 45 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
|
/frameworks/base/media/java/android/media/ |
D | Ringtone.java | 240 AudioManager audioManager = in getTitle() 242 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 238 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/ |
D | VibratorService.java | 489 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/ |
D | SipPhone.java | 349 … 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/ |
D | GlobalActions.java | 969 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { 970 mAudioManager = audioManager;
|
D | PhoneWindowManager.java | 7147 AudioManager audioManager = (AudioManager) mContext.getSystemService( in performAuditoryFeedbackForAccessibilityIfNeed() local 7149 if (audioManager.isSilentMode()) { in performAuditoryFeedbackForAccessibilityIfNeed()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV7.java | 1504 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/ |
D | ViewRootImpl.java | 5718 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/ |
D | PhoneWindow.java | 1092 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/ |
D | mediaplayer.jd | 496 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/ |
D | DevicePolicyManagerService.java | 7942 AudioManager audioManager = in isMasterVolumeMuted() local 7944 return audioManager.isMasterMute(); in isMasterVolumeMuted()
|