Home
last modified time | relevance | path

Searched refs:RINGER_MODE_NORMAL (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/
DEventsTest.java179 {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/
DMuteQuickAffordanceConfigTest.kt115 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/
DRingerMode.kt34 AudioManager.RINGER_MODE_NORMAL,
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java256 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()
DUtil.java39 case AudioManager.RINGER_MODE_NORMAL: in ringerModeToString()
DVolumeDialogImpl.java20 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 …]
DVolumeDialogControllerImpl.java19 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/
DMediaAudioManagerTest.java43 private int[] ringtoneMode = {AudioManager.RINGER_MODE_NORMAL,
101 return (getRingtone == AudioManager.RINGER_MODE_NORMAL); in validateSetRingTone()
DMediaPresetReverbTest.java196 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
269 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
DMediaVisualizerTest.java231 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()
DMediaEnvReverbTest.java351 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/
DVolumeDialogImplTest.java19 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/
DAudioRepositoryTest.kt83 `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/
DFakeAudioRepository.kt35 private val mutableRingerMode = MutableStateFlow(RingerMode(AudioManager.RINGER_MODE_NORMAL))
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt70 if (isMuted) AudioManager.RINGER_MODE_VIBRATE else AudioManager.RINGER_MODE_NORMAL in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceConfig.kt162 private const val DEFAULT_LAST_NON_SILENT_VALUE = AudioManager.RINGER_MODE_NORMAL in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java28 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/
DZenLog.java207 case AudioManager.RINGER_MODE_NORMAL: return "normal"; in ringerModeToString()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java817 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/
DVibrationSettingsTest.java176 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()
DVibratorManagerServiceTest.java242 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/
DAudioVolumeInteractorTest.kt243 assertThat(ringerMode).isEqualTo(RingerMode(AudioManager.RINGER_MODE_NORMAL)) in unMuteRingerStream_ringerMode_normal()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java178 case "NORMAL" -> AudioManager.RINGER_MODE_NORMAL; in getRingerMode()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java598 mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL;
649 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java751 case AudioManager.RINGER_MODE_NORMAL -> "normal"; in ringerModeToString()

12