Home
last modified time | relevance | path

Searched refs:isRampingRingerEnabled (Results 1 – 7 of 7) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DSystemSettingsUtil.java66 public boolean isRampingRingerEnabled(Context context) { in isRampingRingerEnabled() method in SystemSettingsUtil
67 return context.getSystemService(AudioManager.class).isRampingRingerEnabled(); in isRampingRingerEnabled()
DRinger.java348 isVibratorEnabled && mSystemSettingsUtil.isRampingRingerEnabled(mContext); in startRinging()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationRampingRingerTogglePreferenceControllerTest.java114 when(mAudioManager.isRampingRingerEnabled()).thenReturn(true); in updateState_withRingDisabled_shouldReturnFalseForCheckedAndEnabled()
124 when(mAudioManager.isRampingRingerEnabled()).thenReturn(true, false); in updateState_withRingEnabled_shouldReturnTheSettingStateAndAlwaysEnabled()
DRingVibrationTogglePreferenceControllerTest.java121 when(mAudioManager.isRampingRingerEnabled()).thenReturn(false); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity()
DRingVibrationIntensityPreferenceControllerTest.java127 when(mAudioManager.isRampingRingerEnabled()).thenReturn(false); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationRampingRingerTogglePreferenceController.java119 return isRingVibrationEnabled() && mAudioManager.isRampingRingerEnabled(); in isChecked()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java823 when(mockSystemSettingsUtil.isRampingRingerEnabled(any(Context.class))).thenReturn(true); in enableRampingRinger()