/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 | 162 AudioManager audioManager = tv().getService().getAudioManager(); in shouldUpdateAudioVolume() local 163 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() 165 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
|
D | HdmiCecLocalDeviceAudioSystem.java | 599 AudioManager audioManager = mService.getContext().getSystemService(AudioManager.class); in getSystemAudioDeviceInfo() local 600 if (audioManager == null) { in getSystemAudioDeviceInfo() 605 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getSystemAudioDeviceInfo()
|
D | HdmiControlService.java | 1331 AudioManager audioManager = getAudioManager(); in setAudioStatus() local 1332 boolean muted = audioManager.isStreamMute(AudioManager.STREAM_MUSIC); in setAudioStatus() 1335 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, true); in setAudioStatus() 1339 audioManager.setStreamMute(AudioManager.STREAM_MUSIC, false); in setAudioStatus() 1347 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()
|
D | VolumeDialogControllerImpl.java | 174 AudioManager audioManager, in VolumeDialogControllerImpl() argument 191 mAudio = audioManager; in VolumeDialogControllerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/ |
D | HomeSoundEffectController.java | 64 AudioManager audioManager, in HomeSoundEffectController() argument 69 mAudioManager = audioManager; in HomeSoundEffectController()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SoundEffectsHelper.java | 395 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in loadSoundAssets() local 396 if (audioManager != null && navigationRepeatFxParsed) { in loadSoundAssets() 397 audioManager.setNavigationRepeatSoundEffectsEnabled(true); in loadSoundAssets() 399 if (audioManager != null && homeSoundParsed) { in loadSoundAssets() 400 audioManager.setHomeSoundEffectEnabled(true); in loadSoundAssets()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImplTest.java | 182 AudioManager audioManager, in TestableVolumeDialogControllerImpl() argument 190 super(context, broadcastDispatcher, ringerModeTracker, theadFactory, audioManager, in TestableVolumeDialogControllerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 116 AudioManager audioManager, in AppOpsControllerImpl() argument 128 mAudioManager = audioManager; in AppOpsControllerImpl() 130 mMicMuted = audioManager.isMicrophoneMute() in AppOpsControllerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostViewController.java | 167 AudioManager audioManager, in KeyguardHostViewController() argument 174 mAudioManager = audioManager; in KeyguardHostViewController()
|
/frameworks/base/media/java/android/media/ |
D | Ringtone.java | 304 AudioManager audioManager = in getTitle() 306 mRemotePlayer = audioManager.getRingtonePlayer(); in getTitle()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordDetectionConnection.java | 914 final AudioManagerInternal audioManager = in updateServiceUidForAudioPolicy() local 916 if (audioManager != null) { in updateServiceUidForAudioPolicy() 917 audioManager.setHotwordDetectionServiceUid(uid); in updateServiceUidForAudioPolicy()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 875 AudioManager audioManager = getContext().getSystemService(AudioManager.class); in updateActivityCount() local 876 if (audioManager != null) { in updateActivityCount() 881 audioManager.setParameters(facingParameter); in updateActivityCount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 147 AudioManager audioManager, in GlobalActionsDialog() argument 179 audioManager, in GlobalActionsDialog()
|
D | GlobalActionsDialogLite.java | 313 AudioManager audioManager, in GlobalActionsDialogLite() argument 344 mAudioManager = audioManager; in GlobalActionsDialogLite() 1915 SilentModeTriStateAction(AudioManager audioManager, Handler handler) { 1916 mAudioManager = audioManager;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 468 final AudioManager audioManager = context.getSystemService(AudioManager.class); in isAudioModeOngoingCall() local 469 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 670 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { 671 mAudioManager = audioManager;
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 285 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in getOpUsageData() local 288 if (hasPhoneCall && usedPermGroups.contains(MICROPHONE) && audioManager.getMode() in getOpUsageData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 1078 AudioManager audioManager = mContextSpy.getSystemService(AudioManager.class); 1079 audioManager.setRingerModeInternal(ringerMode); 1080 assertEquals(ringerMode, audioManager.getRingerModeInternal());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 361 … AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setEchoSuppressionEnabled() local 362 String echoSuppression = audioManager.getParameters("ec_supported"); in setEchoSuppressionEnabled()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 844 AudioManager audioManager = mContext.getSystemService(AudioManager.class); in ViewRootImpl() 845 mFastScrollSoundEffectsEnabled = audioManager.areNavigationRepeatSoundEffectsEnabled(); in ViewRootImpl() 7895 final AudioManager audioManager = getAudioManager(); in playSoundEffect() local 7899 audioManager.playSoundEffect( in playSoundEffect() 7906 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect() 7910 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect() 7914 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect() 7918 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect() 7922 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 1153 AudioManager audioManager = (AudioManager) getContext().getSystemService( in onKeyUpPanel() local 1155 if (audioManager != null) { in onKeyUpPanel() 1156 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1948 final AudioManagerInternal audioManager = in updateServicesLocked() local 1950 if (audioManager != null) { in updateServicesLocked() 1951 audioManager.setAccessibilityServiceUids(mTempIntArray); in updateServicesLocked()
|