Home
last modified time | relevance | path

Searched refs:RINGER_MODE_SILENT (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java459 verify(mAudioManager, never()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
463 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
557 Integer.toString(AudioManager.RINGER_MODE_SILENT)); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
560 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
566 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
570 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
573 verify(mAudioManager, atLeastOnce()).setRingerModeInternal(AudioManager.RINGER_MODE_SILENT, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
599 AudioManager.RINGER_MODE_SILENT, "test", AudioManager.RINGER_MODE_NORMAL, in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
601 assertEquals(AudioManager.RINGER_MODE_SILENT, Global.getInt(mContext.getContentResolver(), in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
605 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java34 case AudioManager.RINGER_MODE_SILENT: in ringerModeToString()
DVolumeDialogImpl.java21 import static android.media.AudioManager.RINGER_MODE_SILENT;
497 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()
500 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()
631 case RINGER_MODE_SILENT: in provideTouchFeedbackH()
659 case RINGER_MODE_SILENT: in maybeShowToastH()
839 case AudioManager.RINGER_MODE_SILENT: in updateRingerH()
842 addAccessibilityDescription(mRingerIcon, RINGER_MODE_SILENT, in updateRingerH()
872 case RINGER_MODE_SILENT: in addAccessibilityDescription()
989 && mState.ringerModeInternal == AudioManager.RINGER_MODE_SILENT; in updateVolumeRowH()
1276 mController.setRingerMode(AudioManager.RINGER_MODE_SILENT, false);
DEvents.java237 case AudioManager.RINGER_MODE_SILENT: return "silent"; in ringerModeToString()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1078 if (ringerModeInternal != AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode()
1080 newRingerModeInternal = AudioManager.RINGER_MODE_SILENT; in applyZenToRingerMode()
1087 if (ringerModeInternal == AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode()
1170 case AudioManager.RINGER_MODE_SILENT: in onSetRingerModeInternal()
1180 if (isChange && ringerModeOld == AudioManager.RINGER_MODE_SILENT in onSetRingerModeInternal()
1188 ringerModeExternalOut = AudioManager.RINGER_MODE_SILENT; in onSetRingerModeInternal()
1213 case AudioManager.RINGER_MODE_SILENT: in onSetRingerModeExternal()
1219 : AudioManager.RINGER_MODE_SILENT; in onSetRingerModeExternal()
DZenLog.java189 case AudioManager.RINGER_MODE_SILENT: return "silent"; in ringerModeToString()
DNotificationManagerService.java5971 == AudioManager.RINGER_MODE_SILENT;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java44 AudioManager.RINGER_MODE_SILENT, AudioManager.RINGER_MODE_VIBRATE};
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java21 import static android.media.AudioManager.RINGER_MODE_SILENT;
1544 ringerMode = AudioManager.RINGER_MODE_SILENT; in readPersistedSettings()
2080 : mVolumePolicy.volumeDownToEnterSilent ? AudioManager.RINGER_MODE_SILENT in getNewRingerMode()
2105 if (getRingerModeExternal() == AudioManager.RINGER_MODE_SILENT in wouldToggleZenMode()
2106 && newMode != AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2108 } else if (getRingerModeExternal() != AudioManager.RINGER_MODE_SILENT in wouldToggleZenMode()
2109 && newMode == AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
3010 int ringerMode = AudioManager.RINGER_MODE_SILENT; in silenceRingerModeInternal()
3024 ringerMode = AudioManager.RINGER_MODE_SILENT; in silenceRingerModeInternal()
3065 ringerMode = AudioManager.RINGER_MODE_SILENT; in setRingerMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java232 } else if (mRingerMode == AudioManager.RINGER_MODE_SILENT) { in updateRingerStatus()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java642 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java940 return ringerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingtone()
945 return ringerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingtone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java341 } else if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
/frameworks/base/media/java/android/media/
DAudioManager.java609 public static final int RINGER_MODE_SILENT = 0; field in AudioManager
3930 (ringerMode == RINGER_MODE_SILENT) || in isSilentMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java370 if (mAudioManager.getRingerMode() == AudioManager.RINGER_MODE_SILENT) { in thump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1304 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14145 field public static final int RINGER_MODE_SILENT = 0; // 0x0
/frameworks/base/non-updatable-api/
Dcurrent.txt23667 field public static final int RINGER_MODE_SILENT = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt23667 field public static final int RINGER_MODE_SILENT = 0; // 0x0