Searched refs:RINGER_MODE_VIBRATE (Results 1 – 25 of 26) sorted by relevance
12
33 AudioManager.RINGER_MODE_VIBRATE,
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>()
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()
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()
254 RINGER_MODE_VIBRATE(155), enumConstant297 case AudioManager.RINGER_MODE_VIBRATE: in fromRingerMode()298 return RINGER_MODE_VIBRATE; in fromRingerMode()534 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
37 case AudioManager.RINGER_MODE_VIBRATE: in ringerModeToString()
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 …]
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() local482 mAudioService.setRingerModeInternal(RINGER_MODE_VIBRATE, mContext.getOpPackageName()); in flagAllowRingerModesAbsent_onNonSystemStreams_noModeChange()488 assertEquals(mAudioService.getRingerModeInternal(), RINGER_MODE_VIBRATE); in flagAllowRingerModesAbsent_onNonSystemStreams_noModeChange() local
175 if (ringerMode.value == AudioManager.RINGER_MODE_VIBRATE) { in <lambda>()196 if (ringerMode.value == AudioManager.RINGER_MODE_VIBRATE) { in <lambda>()
44 AudioManager.RINGER_MODE_SILENT, AudioManager.RINGER_MODE_VIBRATE};
206 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
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()
415 == AudioManager.RINGER_MODE_VIBRATE) in buzzBeepBlinkLocked()
179 case "VIBRATE" -> AudioManager.RINGER_MODE_VIBRATE; in getRingerMode()
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 …]
448 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingerModeVibrate_allowsAllVibrations()572 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingSettingsOff_ignoresRingtoneVibrations()
729 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in vibrate_withRingtone_usesRingerModeSettings()2052 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in onExternalVibration_withRingtone_usesRingerModeSettings()
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()
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()
295 } else if (mNotificationOrRing && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateSeekBar()
750 case AudioManager.RINGER_MODE_VIBRATE -> "vibrate"; in ringerModeToString()
437 if (ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
819 public static final int RINGER_MODE_VIBRATE = 1; field in AudioManager5986 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
14146 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1