Home
last modified time | relevance | path

Searched refs:audioManager (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRingerModeTrackerImpl.kt35 audioManager: AudioManager,
44 audioManager::getRingerMode
51 audioManager::getRingerModeInternal
/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.java793 AudioManager audioManager = mService.getContext().getSystemService(AudioManager.class); in getSystemAudioDeviceInfo() local
794 if (audioManager == null) { in getSystemAudioDeviceInfo()
799 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getSystemAudioDeviceInfo()
DHdmiControlService.java1298 AudioManager audioManager = getAudioManager(); in setAudioStatus() local
1299 boolean muted = audioManager.isStreamMute(AudioManager.STREAM_MUSIC); in setAudioStatus()
1302 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, true); in setAudioStatus()
1306 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, false); in setAudioStatus()
1314 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.java469 AudioManager audioManager = getContext().getSystemService(AudioManager.class); in updateActivityCount() local
470 if (audioManager != null) { in updateActivityCount()
475 audioManager.setParameters(facingParameter); in updateActivityCount()
/frameworks/base/media/java/android/media/
DRingtone.java265 AudioManager audioManager = in getTitle()
267 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java668 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) {
669 mAudioManager = audioManager;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java357 … AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setEchoSuppressionEnabled() local
358 String echoSuppression = audioManager.getParameters("ec_supported"); in setEchoSuppressionEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java298 AudioManager audioManager, IDreamManager iDreamManager, in GlobalActionsDialog() argument
318 mAudioManager = audioManager; in GlobalActionsDialog()
1930 SilentModeTriStateAction(AudioManager audioManager, Handler handler) {
1931 mAudioManager = audioManager;
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java1051 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in shouldVibrateForRingtone() local
1052 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1147 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local
1149 if (audioManager != null) { in onKeyUpPanel()
1150 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1653 final AudioManagerInternal audioManager = in updateServicesLocked() local
1655 if (audioManager != null) { in updateServicesLocked()
1656 audioManager.setAccessibilityServiceUids(mTempIntArray); in updateServicesLocked()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1937 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in notifySwitch() local
1938 audioManager.setMicrophoneMuteFromSwitch(micMute); in notifySwitch()
/frameworks/base/core/java/android/view/
DViewRootImpl.java7496 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local
7500 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect()
7503 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect()
7506 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect()
7509 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect()
7512 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()