/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/ |
D | RingerMode.kt | 33 AudioManager.RINGER_MODE_VIBRATE,
|
/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>() 110 if (isNotificationOrRing && ringerMode.value == AudioManager.RINGER_MODE_VIBRATE) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 21 import static android.media.AudioManager.RINGER_MODE_VIBRATE; 384 vibrateState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testVibrateOnRingerChangedToVibrate() 408 vibrateState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testNoVibrateOnRingerInitialization() 430 AudioManager.RINGER_MODE_VIBRATE, false); in testSelectVibrateFromDrawer() 454 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testSelectNormalFromDrawer() 573 assertRingerContainerDescribesItsState(RINGER_MODE_VIBRATE, RingerDrawerState.INIT); in ringerModeVibrate_ringerContainerDescribesItsState() 588 assertRingerContainerDescribesItsState(RINGER_MODE_VIBRATE, RingerDrawerState.OPEN); in ringerModeVibrate_openDrawer_ringerContainerDescribesItsState() 603 assertRingerContainerDescribesItsState(RINGER_MODE_VIBRATE, RingerDrawerState.CLOSE); in ringerModeVibrate_closeDrawer_ringerContainerDescribesItsState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 254 RINGER_MODE_VIBRATE(155), enumConstant 297 case AudioManager.RINGER_MODE_VIBRATE: in fromRingerMode() 298 return RINGER_MODE_VIBRATE; in fromRingerMode() 534 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
|
D | Util.java | 37 case AudioManager.RINGER_MODE_VIBRATE: in ringerModeToString()
|
D | VolumeDialogImpl.java | 22 import static android.media.AudioManager.RINGER_MODE_VIBRATE; 900 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow() 992 new RingerDrawerItemClickListener(RINGER_MODE_VIBRATE)); in setupRingerDrawer() 1031 if (mode == RINGER_MODE_VIBRATE) { in getDrawerIconViewForMode() 1045 return mode == RINGER_MODE_VIBRATE in getTranslationInDrawerForRingerMode() 1074 mState.ringerModeInternal == RINGER_MODE_VIBRATE ? INVISIBLE : VISIBLE); in showRingerDrawer() 1103 final int ringerDrawerAnimationDuration = mState.ringerModeInternal == RINGER_MODE_VIBRATE in showRingerDrawer() 1113 .setStartDelay(mState.ringerModeInternal == RINGER_MODE_VIBRATE in showRingerDrawer() 1255 newRingerMode = AudioManager.RINGER_MODE_VIBRATE; in initRingerH() 1259 } else if (mState.ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in initRingerH() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioVolumeInteractorTest.kt | 175 audioRepository.setRingerMode(RingerMode(AudioManager.RINGER_MODE_VIBRATE)) in ringerModeVibrateAndMuted_getNotificationStream_volumeIsMin() 193 audioRepository.setRingerMode(RingerMode(AudioManager.RINGER_MODE_VIBRATE)) in ringerModeVibrate_getRingerStream_volumeIsMin() 231 assertThat(ringerMode).isEqualTo(RingerMode(AudioManager.RINGER_MODE_VIBRATE)) in muteRingerStream_ringerMode_vibrate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | VolumeHelperTest.java | 29 import static android.media.AudioManager.RINGER_MODE_VIBRATE; 304 assertEquals(RINGER_MODE_VIBRATE, mAudioService.getRingerModeExternal()); in setStreamRingVolume0_setsRingerModeVibrate() 468 mAudioService.setRingerModeInternal(RINGER_MODE_VIBRATE, mContext.getOpPackageName()); in flagAllowRingerModes_onSystemStreams_changesMode() 474 assertNotEquals(mAudioService.getRingerModeInternal(), RINGER_MODE_VIBRATE); in flagAllowRingerModes_onSystemStreams_changesMode() local 482 mAudioService.setRingerModeInternal(RINGER_MODE_VIBRATE, mContext.getOpPackageName()); in flagAllowRingerModesAbsent_onNonSystemStreams_noModeChange() 488 assertEquals(mAudioService.getRingerModeInternal(), RINGER_MODE_VIBRATE); in flagAllowRingerModesAbsent_onNonSystemStreams_noModeChange() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/ |
D | AudioStreamSliderViewModel.kt | 175 if (ringerMode.value == AudioManager.RINGER_MODE_VIBRATE) { in <lambda>() 196 if (ringerMode.value == AudioManager.RINGER_MODE_VIBRATE) { in <lambda>()
|
/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/notification/ |
D | ZenLog.java | 206 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
|
D | ZenModeHelper.java | 2466 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeInternal() 2503 final boolean isVibrate = ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE; in onSetRingerModeExternal() 2512 ringerModeInternalOut = isVibrate ? AudioManager.RINGER_MODE_VIBRATE in onSetRingerModeExternal() 2518 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeExternal()
|
D | NotificationAttentionHelper.java | 415 == AudioManager.RINGER_MODE_VIBRATE) in buzzBeepBlinkLocked()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioManagerShellCommand.java | 179 case "VIBRATE" -> AudioManager.RINGER_MODE_VIBRATE; in getRingerMode()
|
D | AudioService.java | 48 import static android.media.AudioManager.RINGER_MODE_VIBRATE; 2877 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings() 3698 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in adjustStreamVolume() 3999 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode() 5665 ringerMode = AudioManager.RINGER_MODE_VIBRATE; in silenceRingerModeInternal() 5694 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in setRingerMode() 5749 final boolean ringerModeMute = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams() 5751 final boolean shouldRingSco = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams() 5861 return getRingerModeExternal() == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrate() 6942 ringerMode = RINGER_MODE_VIBRATE; in checkForRingerModeChange() [all …]
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 448 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingerModeVibrate_allowsAllVibrations() 572 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingSettingsOff_ignoresRingtoneVibrations()
|
D | VibratorManagerServiceTest.java | 729 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in vibrate_withRingtone_usesRingerModeSettings() 2052 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in onExternalVibration_withRingtone_usesRingerModeSettings()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAttentionHelperTest.java | 1021 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfVibrateGiven() 1040 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfNonNotificationStream() 1060 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteSoundToVibrate() 1083 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteInsistentSoundToVibrate() 1356 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testQuietUpdateCancelsDemotedVibrate()
|
D | ZenModeHelperTest.java | 1027 AudioManager.RINGER_MODE_VIBRATE, "test", AudioManager.RINGER_MODE_NORMAL, in testVibrateRingerSavedOnZenOff_startsZenOn() 1029 assertEquals(AudioManager.RINGER_MODE_VIBRATE, Global.getInt(mContext.getContentResolver(), in testVibrateRingerSavedOnZenOff_startsZenOn() 1033 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testVibrateRingerSavedOnZenOff_startsZenOn()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 295 } else if (mNotificationOrRing && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateSeekBar()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 750 case AudioManager.RINGER_MODE_VIBRATE -> "vibrate"; in ringerModeToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 437 if (ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
|
/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 819 public static final int RINGER_MODE_VIBRATE = 1; field in AudioManager 5986 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 14146 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1
|
/frameworks/base/core/api/ |
D | current.txt | 21533 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1
|