/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 | HdmiCecLocalDeviceAudioSystem.java | 720 AudioManager audioManager = mService.getContext().getSystemService(AudioManager.class); in getSystemAudioDeviceInfo() local 721 if (audioManager == null) { in getSystemAudioDeviceInfo() 726 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getSystemAudioDeviceInfo()
|
D | HdmiControlService.java | 1164 AudioManager audioManager = getAudioManager(); in setAudioStatus() local 1165 boolean muted = audioManager.isStreamMute(AudioManager.STREAM_MUSIC); in setAudioStatus() 1168 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, true); in setAudioStatus() 1172 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, false); in setAudioStatus() 1180 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, flag); in setAudioStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 91 AudioManager audioManager = in run() local 109 if (!audioManager.isMusicActiveRemotely()) { in run() 117 mNotificationRampTimeMs = audioManager.getFocusRampTimeMs( in run() 119 audioManager.requestAudioFocus(null, mCmd.attributes, in run() 121 mAudioManagerWithAudioFocus = audioManager; in run()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 46 public SafetyWarningDialog(Context context, AudioManager audioManager) { in SafetyWarningDialog() argument 49 mAudioManager = audioManager; in SafetyWarningDialog()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 411 AudioManager audioManager = getContext().getSystemService(AudioManager.class); in updateActivityCount() local 412 if (audioManager != null) { in updateActivityCount() 417 audioManager.setParameters(facingParameter); in updateActivityCount()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 152 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in isVoiceCallOnEarpiece() local 154 return (audioManager.getDevicesForStream(AudioManager.STREAM_VOICE_CALL) in isVoiceCallOnEarpiece()
|
/frameworks/base/media/java/android/media/ |
D | Ringtone.java | 265 AudioManager audioManager = in getTitle() 267 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 378 final AudioManager audioManager = context.getSystemService(AudioManager.class); in isAudioModeOngoingCall() local 379 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 311 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolumeZen() local 337 if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen() 341 } else if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 671 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { 672 mAudioManager = audioManager;
|
/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/ |
D | VibratorService.java | 874 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in shouldVibrateForRingtone() local 875 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1335 SilentModeTriStateAction(AudioManager audioManager, Handler handler) { 1336 mAudioManager = audioManager;
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 1130 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local 1132 if (audioManager != null) { in onKeyUpPanel() 1133 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 6975 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local 6979 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect() 6982 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect() 6985 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect() 6988 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect() 6991 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1660 final AudioManagerInternal audioManager = in updateServicesLocked() local 1662 if (audioManager != null) { in updateServicesLocked() 1663 audioManager.setAccessibilityServiceUids(mTempIntArray); in updateServicesLocked()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 10973 AudioManager audioManager = in isMasterVolumeMuted() local 10975 return audioManager.isMasterMute(); in isMasterVolumeMuted()
|