/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfig.kt | 79 if (mode != null && mode != AudioManager.RINGER_MODE_SILENT) { in <lambda>() 88 mode == AudioManager.RINGER_MODE_SILENT -> in <lambda>() 109 if (currentRingerMode == AudioManager.RINGER_MODE_SILENT) { in <lambda>() 113 newRingerMode = AudioManager.RINGER_MODE_SILENT in <lambda>()
|
D | MuteQuickAffordanceCoreStartable.kt | 75 if (AudioManager.RINGER_MODE_SILENT != lastRingerMode) { in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/ |
D | RingerMode.kt | 32 AudioManager.RINGER_MODE_SILENT,
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfigTest.kt | 117 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_SILENT) in <lambda>() 142 assertEquals(AudioManager.RINGER_MODE_SILENT, ringerModeCapture.value) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 252 RINGER_MODE_SILENT(154), enumConstant 295 case AudioManager.RINGER_MODE_SILENT: in fromRingerMode() 296 return RINGER_MODE_SILENT; in fromRingerMode() 533 case AudioManager.RINGER_MODE_SILENT: return "silent"; in ringerModeToString()
|
D | Util.java | 35 case AudioManager.RINGER_MODE_SILENT: in ringerModeToString()
|
D | VolumeDialogImpl.java | 21 import static android.media.AudioManager.RINGER_MODE_SILENT; 994 new RingerDrawerItemClickListener(RINGER_MODE_SILENT)); in setupRingerDrawer() 1033 } else if (mode == RINGER_MODE_SILENT) { in getDrawerIconViewForMode() 1047 : mode == RINGER_MODE_SILENT in getTranslationInDrawerForRingerMode() 1076 mState.ringerModeInternal == RINGER_MODE_SILENT ? INVISIBLE : VISIBLE); in showRingerDrawer() 1257 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH() 1260 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH() 1416 case RINGER_MODE_SILENT: in provideTouchFeedbackH() 1447 case RINGER_MODE_SILENT: in maybeShowToastH() 1778 case AudioManager.RINGER_MODE_SILENT: [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 20 import static android.media.AudioManager.RINGER_MODE_SILENT; 381 initialSilentState.ringerModeInternal = AudioManager.RINGER_MODE_SILENT; in testVibrateOnRingerChangedToVibrate() 446 AudioManager.RINGER_MODE_SILENT, false); in testSelectMuteFromDrawer() 568 assertRingerContainerDescribesItsState(RINGER_MODE_SILENT, RingerDrawerState.INIT); in ringerModeSilent_ringerContainerDescribesItsState() 583 assertRingerContainerDescribesItsState(RINGER_MODE_SILENT, RingerDrawerState.OPEN); in ringerModeSilent_openDrawer_ringerContainerDescribesItsState() 598 assertRingerContainerDescribesItsState(RINGER_MODE_SILENT, RingerDrawerState.CLOSE); in ringerModeSilent_closeDrawer_ringerContainerDescribesItsState()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepositoryTest.kt | 136 `when`(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_SILENT) in ringerModeChanges_repositoryEmits() 143 RingerMode(AudioManager.RINGER_MODE_SILENT), in ringerModeChanges_repositoryEmits()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioManagerTest.java | 44 AudioManager.RINGER_MODE_SILENT, AudioManager.RINGER_MODE_VIBRATE};
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 520 return mRingerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingerModeLocked() 622 ? AudioManager.RINGER_MODE_SILENT in updateRingerMode() 749 case AudioManager.RINGER_MODE_SILENT -> "silent"; in ringerModeToString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceCoreStartableTest.kt | 122 observerCaptor.value.onChanged(AudioManager.RINGER_MODE_SILENT) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 205 case AudioManager.RINGER_MODE_SILENT: return "silent"; in ringerModeToString()
|
D | ZenModeHelper.java | 2269 if (ringerModeInternal != AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode() 2271 newRingerModeInternal = AudioManager.RINGER_MODE_SILENT; in applyZenToRingerMode() 2278 if (ringerModeInternal == AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode() 2458 case AudioManager.RINGER_MODE_SILENT: in onSetRingerModeInternal() 2468 if (isChange && ringerModeOld == AudioManager.RINGER_MODE_SILENT in onSetRingerModeInternal() 2475 ringerModeExternalOut = AudioManager.RINGER_MODE_SILENT; in onSetRingerModeInternal() 2507 case AudioManager.RINGER_MODE_SILENT: in onSetRingerModeExternal() 2513 : AudioManager.RINGER_MODE_SILENT; in onSetRingerModeExternal()
|
D | NotificationAttentionHelper.java | 452 == AudioManager.RINGER_MODE_SILENT; in buzzBeepBlinkLocked()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 425 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldIgnoreVibration_withRingerModeSilent_ignoresRingtoneAndNotification() 438 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldIgnoreVibration_withRingerModeSilentAndBypassFlag_allowsAllVibrations() 596 when(mAudioManagerMock.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in shouldIgnoreVibration_updateTriggeredAfterInternalRingerModeChanged()
|
D | VibratorManagerServiceTest.java | 719 setRingerMode(AudioManager.RINGER_MODE_SILENT); in vibrate_withRingtone_usesRingerModeSettings() 2041 setRingerMode(AudioManager.RINGER_MODE_SILENT); in onExternalVibration_withRingtone_usesRingerModeSettings()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioManagerShellCommand.java | 180 case "SILENT" -> AudioManager.RINGER_MODE_SILENT; in getRingerMode()
|
D | AudioService.java | 47 import static android.media.AudioManager.RINGER_MODE_SILENT; 2878 ringerMode = AudioManager.RINGER_MODE_SILENT; in readPersistedSettings() 4000 : mVolumePolicy.volumeDownToEnterSilent ? AudioManager.RINGER_MODE_SILENT in getNewRingerMode() 4025 if (getRingerModeExternal() == AudioManager.RINGER_MODE_SILENT in wouldToggleZenMode() 4026 && newMode != AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode() 4028 } else if (getRingerModeExternal() != AudioManager.RINGER_MODE_SILENT in wouldToggleZenMode() 4029 && newMode == AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode() 5646 int ringerMode = AudioManager.RINGER_MODE_SILENT; in silenceRingerModeInternal() 5660 ringerMode = AudioManager.RINGER_MODE_SILENT; in silenceRingerModeInternal() 5695 ringerMode = AudioManager.RINGER_MODE_SILENT; in setRingerMode() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 828 verify(mAudioManager, never()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 832 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 924 Integer.toString(AudioManager.RINGER_MODE_SILENT)); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 927 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 932 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 936 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 939 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 964 AudioManager.RINGER_MODE_SILENT, "test", AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() 966 assertEquals(AudioManager.RINGER_MODE_SILENT, Global.getInt(mContext.getContentResolver(), in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() 970 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() [all …]
|
D | NotificationAttentionHelperTest.java | 2127 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testStartFlashNotificationEvent_receiveBuzzyBeepyNotification_ringerModeSilent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 647 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 439 } else if (ringerModeInternal == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 2050 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
|
/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 809 public static final int RINGER_MODE_SILENT = 0; field in AudioManager 5985 (ringerMode == RINGER_MODE_SILENT) || in isSilentMode()
|