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()
DHdmiCecLocalDeviceAudioSystem.java720 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()
DHdmiControlService.java1164 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/
DNotificationPlayer.java91 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/
DSafetyWarningDialog.java46 public SafetyWarningDialog(Context context, AudioManager audioManager) { in SafetyWarningDialog() argument
49 mAudioManager = audioManager; in SafetyWarningDialog()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java411 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/
DSarManager.java152 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/
DRingtone.java265 AudioManager audioManager = in getTitle()
267 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java378 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/
DPhoneStatusBarPolicy.java311 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/
DLegacyGlobalActions.java671 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) {
672 mAudioManager = audioManager;
/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/
DVibratorService.java874 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/
DGlobalActionsDialog.java1335 SilentModeTriStateAction(AudioManager audioManager, Handler handler) {
1336 mAudioManager = audioManager;
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1130 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/
DViewRootImpl.java6975 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/
DAccessibilityManagerService.java1660 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/
DDevicePolicyManagerService.java10973 AudioManager audioManager = in isMasterVolumeMuted() local
10975 return audioManager.isMasterMute(); in isMasterVolumeMuted()