Searched refs:isRingVibrationEnabled (Results 1 – 4 of 4) sorted by relevance
114 mPreference.setEnabled(isRingVibrationEnabled()); in displayPreference()119 return isRingVibrationEnabled() && mAudioManager.isRampingRingerEnabled(); in isChecked()124 if (isRingVibrationEnabled()) { in setChecked()146 preference.setEnabled(isRingVibrationEnabled()); in updateState()150 private boolean isRingVibrationEnabled() { in isRingVibrationEnabled() method in VibrationRampingRingerTogglePreferenceController
43 public boolean isRingVibrationEnabled(Context context) { in isRingVibrationEnabled() method in SystemSettingsUtil
441 mSystemSettingsUtil.isRingVibrationEnabled(mContext), in startRinging()545 mVibrator.hasVibrator(), mSystemSettingsUtil.isRingVibrationEnabled(mContext), in vibrateIfNeeded()696 && mSystemSettingsUtil.isRingVibrationEnabled(context) in isVibratorEnabled()
814 when(mockSystemSettingsUtil.isRingVibrationEnabled(any(Context.class))).thenReturn(true); in enableVibrationWhenRinging()819 when(mockSystemSettingsUtil.isRingVibrationEnabled(any(Context.class))).thenReturn(false); in enableVibrationOnlyWhenNotRinging()