/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | RingerModeTrackerImpl.kt | 35 audioManager: AudioManager, 44 audioManager::getRingerMode 51 audioManager::getRingerModeInternal
|
/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 | 793 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()
|
D | HdmiControlService.java | 1298 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/ |
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 | 469 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/ |
D | Ringtone.java | 265 AudioManager audioManager = in getTitle() 267 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 668 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { 669 mAudioManager = audioManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 357 … 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/ |
D | GlobalActionsDialog.java | 298 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/ |
D | VibratorService.java | 1051 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in shouldVibrateForRingtone() local 1052 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 1147 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/ |
D | AccessibilityManagerService.java | 1653 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/ |
D | InputManagerService.java | 1937 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in notifySwitch() local 1938 audioManager.setMicrophoneMuteFromSwitch(micMute); in notifySwitch()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 7496 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()
|