Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java445 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
448 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
466 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
532 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
535 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
541 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
545 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
548 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
582 Integer.toString(AudioManager.RINGER_MODE_NORMAL)); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
585 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
[all …]
DBuzzBeepBlinkTest.java136 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in setUp()
DNotificationManagerServiceTest.java356 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in setUp()
/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()
DMediaVisualizerTest.java235 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0PollingCapture()
314 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1ListenerCapture()
448 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_2PollingCaptureVolumeScaling()
DMediaPresetReverbTest.java202 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
275 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
DMediaEnvReverbTest.java357 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
432 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java20 import static android.media.AudioManager.RINGER_MODE_NORMAL;
436 if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) { in initRow()
445 mController.setRingerMode(AudioManager.RINGER_MODE_NORMAL, false); in initRow()
493 if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) { in initRingerH()
502 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in initRingerH()
628 case RINGER_MODE_NORMAL: in provideTouchFeedbackH()
651 case RINGER_MODE_NORMAL: in maybeShowToastH()
845 case AudioManager.RINGER_MODE_NORMAL: in updateRingerH()
850 addAccessibilityDescription(mRingerIcon, RINGER_MODE_NORMAL, in updateRingerH()
856 addAccessibilityDescription(mRingerIcon, RINGER_MODE_NORMAL, in updateRingerH()
[all …]
DUtil.java38 case AudioManager.RINGER_MODE_NORMAL: in ringerModeToString()
DEvents.java239 case AudioManager.RINGER_MODE_NORMAL: return "normal"; in ringerModeToString()
DVolumeDialogControllerImpl.java19 import static android.media.AudioManager.RINGER_MODE_NORMAL;
647 if (mState.ringerModeInternal == RINGER_MODE_NORMAL) { in updateRingerModeInternalW()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java191 case AudioManager.RINGER_MODE_NORMAL: return "normal"; in ringerModeToString()
DZenModeHelper.java884 Global.ZEN_MODE_RINGER_LEVEL, AudioManager.RINGER_MODE_NORMAL); in getPreviousRingerModeSetting()
1179 case AudioManager.RINGER_MODE_NORMAL: in onSetRingerModeInternal()
1225 case AudioManager.RINGER_MODE_NORMAL: in onSetRingerModeExternal()
DNotificationManagerService.java6202 if (mAudioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_NORMAL
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java593 mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL;
644 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java20 import static android.media.AudioManager.RINGER_MODE_NORMAL;
1536 cr, Settings.Global.MODE_RINGER, AudioManager.RINGER_MODE_NORMAL); in readPersistedSettings()
1541 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings()
1550 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings()
2081 : AudioManager.RINGER_MODE_NORMAL; in getNewRingerMode()
2083 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in getNewRingerMode()
3861 case RINGER_MODE_NORMAL: in checkForRingerModeChange()
3898 ringerMode = RINGER_MODE_NORMAL; in checkForRingerModeChange()
3914 ringerMode = RINGER_MODE_NORMAL; in checkForRingerModeChange()
3921 ringerMode = RINGER_MODE_NORMAL; in checkForRingerModeChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java117 private int mRingerMode = AudioManager.RINGER_MODE_NORMAL;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java907 mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL;
1306 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1762 loadSetting(stmt, Settings.Global.MODE_RINGER, AudioManager.RINGER_MODE_NORMAL); in onUpgrade()
2477 AudioManager.RINGER_MODE_NORMAL); in loadGlobalSettings()
DSettingsProvider.java3374 Integer.toString(AudioManager.RINGER_MODE_NORMAL), null,
/frameworks/base/media/java/android/media/
DAudioManager.java629 public static final int RINGER_MODE_NORMAL = 2; field in AudioManager
635 public static final int RINGER_MODE_MAX = RINGER_MODE_NORMAL;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14144 field public static final int RINGER_MODE_NORMAL = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt23666 field public static final int RINGER_MODE_NORMAL = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt23666 field public static final int RINGER_MODE_NORMAL = 2; // 0x2