/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/ |
D | EventsTest.java | 179 {Events.EVENT_RINGER_TOGGLE, new Object[]{AudioManager.RINGER_MODE_NORMAL}, in data() 182 Events.VolumeDialogEvent.RINGER_MODE_NORMAL}, in data() 184 new Object[]{AudioManager.RINGER_MODE_NORMAL}, in data() 189 new Object[]{AudioManager.RINGER_MODE_NORMAL}, in data()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfigTest.kt | 115 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in <lambda>() 126 assertEquals(AudioManager.RINGER_MODE_NORMAL, ringerModeCapture.value) in <lambda>() 133 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/ |
D | RingerMode.kt | 34 AudioManager.RINGER_MODE_NORMAL,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 256 RINGER_MODE_NORMAL(334), enumConstant 299 case AudioManager.RINGER_MODE_NORMAL: in fromRingerMode() 300 return RINGER_MODE_NORMAL; in fromRingerMode() 535 case AudioManager.RINGER_MODE_NORMAL: return "normal"; in ringerModeToString()
|
D | Util.java | 39 case AudioManager.RINGER_MODE_NORMAL: in ringerModeToString()
|
D | VolumeDialogImpl.java | 20 import static android.media.AudioManager.RINGER_MODE_NORMAL; 898 if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) { in initRow() 908 AudioManager.RINGER_MODE_NORMAL, false); in initRow() 996 new RingerDrawerItemClickListener(RINGER_MODE_NORMAL)); in setupRingerDrawer() 1078 mState.ringerModeInternal == RINGER_MODE_NORMAL ? INVISIBLE : VISIBLE); in showRingerDrawer() 1253 if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) { in initRingerH() 1262 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in initRingerH() 1413 case RINGER_MODE_NORMAL: in provideTouchFeedbackH() 1439 case RINGER_MODE_NORMAL: in maybeShowToastH() 1785 case AudioManager.RINGER_MODE_NORMAL: [all …]
|
D | VolumeDialogControllerImpl.java | 19 import static android.media.AudioManager.RINGER_MODE_NORMAL; 702 if (mState.ringerModeInternal == RINGER_MODE_NORMAL) { in updateRingerModeInternalW()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioManagerTest.java | 43 private int[] ringtoneMode = {AudioManager.RINGER_MODE_NORMAL, 101 return (getRingtone == AudioManager.RINGER_MODE_NORMAL); in validateSetRingTone()
|
D | MediaPresetReverbTest.java | 196 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification() 269 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
|
D | MediaVisualizerTest.java | 231 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0PollingCapture() 310 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1ListenerCapture() 444 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_2PollingCaptureVolumeScaling()
|
D | MediaEnvReverbTest.java | 351 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification() 426 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 19 import static android.media.AudioManager.RINGER_MODE_NORMAL; 422 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_NORMAL; in testSelectVibrateFromDrawer() 438 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_NORMAL; in testSelectMuteFromDrawer() 462 AudioManager.RINGER_MODE_NORMAL, false); in testSelectNormalFromDrawer() 563 assertRingerContainerDescribesItsState(RINGER_MODE_NORMAL, RingerDrawerState.INIT); in ringerModeNormal_ringerContainerDescribesItsState() 578 assertRingerContainerDescribesItsState(RINGER_MODE_NORMAL, RingerDrawerState.OPEN); in ringerModeNormal_openDrawer_ringerContainerDescribesItsState() 593 assertRingerContainerDescribesItsState(RINGER_MODE_NORMAL, RingerDrawerState.CLOSE); in ringerModeNormal_closeDrawer_ringerContainerDescribesItsState()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepositoryTest.kt | 83 `when`(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in setup() 142 RingerMode(AudioManager.RINGER_MODE_NORMAL), in ringerModeChanges_repositoryEmits()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/ |
D | FakeAudioRepository.kt | 35 private val mutableRingerMode = MutableStateFlow(RingerMode(AudioManager.RINGER_MODE_NORMAL))
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/ |
D | AudioVolumeInteractor.kt | 70 if (isMuted) AudioManager.RINGER_MODE_VIBRATE else AudioManager.RINGER_MODE_NORMAL in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfig.kt | 162 private const val DEFAULT_LAST_NON_SILENT_VALUE = AudioManager.RINGER_MODE_NORMAL in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | VolumeHelperTest.java | 28 import static android.media.AudioManager.RINGER_MODE_NORMAL; 259 mAudioService.setRingerModeInternal(RINGER_MODE_NORMAL, mContext.getOpPackageName()); in prepareAudioServiceState() 260 mAudioService.setRingerModeExternal(RINGER_MODE_NORMAL, mContext.getOpPackageName()); in prepareAudioServiceState()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 207 case AudioManager.RINGER_MODE_NORMAL: return "normal"; in ringerModeToString()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 817 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 820 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 835 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 900 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 903 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 908 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 912 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 915 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 948 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() 951 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() [all …]
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 176 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in createSystemReadyVibrationSettings() 457 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldIgnoreVibration_withRingerModeNormal_allowsAllVibrations() 591 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldIgnoreVibration_updateTriggeredAfterInternalRingerModeChanged()
|
D | VibratorManagerServiceTest.java | 242 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in setUp() 724 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in vibrate_withRingtone_usesRingerModeSettings() 1137 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in vibrate_withOngoingLowerImportanceExternalVibration_cancelsOngoingVibration() 1883 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in onExternalVibration_withOngoingExternalVibration_mutesPreviousVibration() 2047 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in onExternalVibration_withRingtone_usesRingerModeSettings()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioVolumeInteractorTest.kt | 243 assertThat(ringerMode).isEqualTo(RingerMode(AudioManager.RINGER_MODE_NORMAL)) in unMuteRingerStream_ringerMode_normal()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioManagerShellCommand.java | 178 case "NORMAL" -> AudioManager.RINGER_MODE_NORMAL; in getRingerMode()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 598 mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL; 649 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 751 case AudioManager.RINGER_MODE_NORMAL -> "normal"; in ringerModeToString()
|