Home
last modified time | relevance | path

Searched refs:isRingVibrationEnabled (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationRampingRingerTogglePreferenceController.java114 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
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemSettingsUtil.java43 public boolean isRingVibrationEnabled(Context context) { in isRingVibrationEnabled() method in SystemSettingsUtil
DRinger.java441 mSystemSettingsUtil.isRingVibrationEnabled(mContext), in startRinging()
545 mVibrator.hasVibrator(), mSystemSettingsUtil.isRingVibrationEnabled(mContext), in vibrateIfNeeded()
696 && mSystemSettingsUtil.isRingVibrationEnabled(context) in isVibratorEnabled()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java814 when(mockSystemSettingsUtil.isRingVibrationEnabled(any(Context.class))).thenReturn(true); in enableVibrationWhenRinging()
819 when(mockSystemSettingsUtil.isRingVibrationEnabled(any(Context.class))).thenReturn(false); in enableVibrationOnlyWhenNotRinging()