/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/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/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/media-compat/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 | 240 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/ |
D | VibratorService.java | 489 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/ |
D | SampleMediaRouteProvider.java | 338 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/ |
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 | 1004 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { 1005 mAudioManager = audioManager;
|
D | PhoneWindowManager.java | 7304 AudioManager audioManager = (AudioManager) mContext.getSystemService( in performAuditoryFeedbackForAccessibilityIfNeed() local 7306 if (audioManager.isSilentMode()) { in performAuditoryFeedbackForAccessibilityIfNeed()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV9.java | 1509 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/ |
D | ViewRootImpl.java | 5717 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/ |
D | PhoneWindow.java | 1090 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/ |
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 | 7953 AudioManager audioManager = in isMasterVolumeMuted() local 7955 return audioManager.isMasterMute(); in isMasterVolumeMuted()
|