Searched refs:RINGER_MODE_VIBRATE (Results 1 – 18 of 18) sorted by relevance
36 case AudioManager.RINGER_MODE_VIBRATE: in ringerModeToString()
22 import static android.media.AudioManager.RINGER_MODE_VIBRATE;438 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow()495 newRingerMode = AudioManager.RINGER_MODE_VIBRATE; in initRingerH()499 } else if (mState.ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in initRingerH()634 case RINGER_MODE_VIBRATE: in provideTouchFeedbackH()663 case RINGER_MODE_VIBRATE: in maybeShowToastH()833 case AudioManager.RINGER_MODE_VIBRATE: in updateRingerH()835 addAccessibilityDescription(mRingerIcon, RINGER_MODE_VIBRATE, in updateRingerH()875 case RINGER_MODE_VIBRATE: in addAccessibilityDescription()933 && state.ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in onStateChangedH()[all …]
238 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
44 AudioManager.RINGER_MODE_SILENT, AudioManager.RINGER_MODE_VIBRATE};
699 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfVibrateGiven()720 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfNonNotificationStream()738 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteSoundToVibrate()759 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteInsistentSoundToVibrate()1018 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testQuietUpdateCancelsDemotedVibrate()
670 AudioManager.RINGER_MODE_VIBRATE, "test", AudioManager.RINGER_MODE_NORMAL, in testVibrateRingerSavedOnZenOff_startsZenOn()672 assertEquals(AudioManager.RINGER_MODE_VIBRATE, Global.getInt(mContext.getContentResolver(), in testVibrateRingerSavedOnZenOff_startsZenOn()676 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testVibrateRingerSavedOnZenOff_startsZenOn()
190 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
1178 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeInternal()1209 final boolean isVibrate = ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE; in onSetRingerModeExternal()1218 ringerModeInternalOut = isVibrate ? AudioManager.RINGER_MODE_VIBRATE in onSetRingerModeExternal()1224 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeExternal()
5943 == AudioManager.RINGER_MODE_VIBRATE)
22 import static android.media.AudioManager.RINGER_MODE_VIBRATE;1543 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings()1842 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in adjustStreamVolume()2079 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode()3029 ringerMode = AudioManager.RINGER_MODE_VIBRATE; in silenceRingerModeInternal()3064 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in setRingerMode()3119 final boolean ringerModeMute = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams()3121 final boolean shouldRingSco = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams()3226 return getRingerModeExternal() == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrate()3870 ringerMode = RINGER_MODE_VIBRATE; in checkForRingerModeChange()[all …]
262 } else if (mNotificationOrRing && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateSeekBar()
228 if (mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateRingerStatus()
337 if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
619 public static final int RINGER_MODE_VIBRATE = 1; field in AudioManager3931 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode()
947 return ringerMode == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrateForRingtone()
14146 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1
23668 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1