Home
last modified time | relevance | path

Searched refs:hasFrequencyControl (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DRampSegmentTest.java161 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_amplitudeAndFrequencyControls_supported()
178 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_noAmplitudeControl_unsupportedForChangingAmplitude()
188 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_noAmplitudeControl_fractionalAmplitudeUnsupported()
199 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingZeroAmplitude_supported()
215 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingOneAmplitude_supported()
233 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingDefaultAmplitude_supported()
248 when(mVibrator.hasFrequencyControl()).thenReturn(false); in testVibrationFeaturesSupport_noFrequencyControl_unsupportedForChangingFrequency()
258 when(mVibrator.hasFrequencyControl()).thenReturn(false); in testVibrationFeaturesSupport_noFrequencyControl_fractionalFrequencyUnsupported()
270 when(mVibrator.hasFrequencyControl()).thenReturn(false); in testVibrationFeaturesSupport_unchangingZeroFrequency_supported()
275 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingZeroFrequency_supported()
H A DStepSegmentTest.java232 when(mVibrator.hasFrequencyControl()).thenReturn(false); in testVibrationFeaturesSupport_zeroFrequency_supported()
236 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_zeroFrequency_supported()
245 when(mVibrator.hasFrequencyControl()).thenReturn(true); in testVibrationFeaturesSupport_nonZeroFrequency_hasFrequencyCtrl_supported()
254 when(mVibrator.hasFrequencyControl()).thenReturn(false); in testVibrationFeaturesSupport_nonZeroFrequency_hasNoFrequencyCtrl_notSupported()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DVibratorHelperTest.java90 when(mVibrator.hasFrequencyControl()).thenReturn(false); in createVibration_insistent_createsRepeatingVibration()
94 when(mVibrator.hasFrequencyControl()).thenReturn(true); in createVibration_insistent_createsRepeatingVibration()
101 when(mVibrator.hasFrequencyControl()).thenReturn(false); in createVibration_nonInsistent_createsSingleShotVibration()
105 when(mVibrator.hasFrequencyControl()).thenReturn(true); in createVibration_nonInsistent_createsSingleShotVibration()
H A DBuzzBeepBlinkTest.java162 when(mVibrator.hasFrequencyControl()).thenReturn(false); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DVibratorHelper.java161 if (mVibrator.hasFrequencyControl()) { in createFallbackVibration()
176 if (mVibrator.hasFrequencyControl()) { in createDefaultVibration()
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DStepSegment.java88 areFeaturesSupported &= vibrator.hasFrequencyControl(); in areVibrationFeaturesSupported()
H A DRampSegment.java107 areFeaturesSupported &= vibrator.hasFrequencyControl(); in areVibrationFeaturesSupported()
/aosp14/frameworks/base/core/java/android/os/
H A DVibrator.java218 public boolean hasFrequencyControl() { in hasFrequencyControl() method in Vibrator
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt2450 method public boolean hasFrequencyControl();