Searched refs:hasFrequencyControl (Results 1 – 9 of 9) sorted by relevance
161 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()
232 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()
90 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()
162 when(mVibrator.hasFrequencyControl()).thenReturn(false); in setUp()
161 if (mVibrator.hasFrequencyControl()) { in createFallbackVibration()176 if (mVibrator.hasFrequencyControl()) { in createDefaultVibration()
88 areFeaturesSupported &= vibrator.hasFrequencyControl(); in areVibrationFeaturesSupported()
107 areFeaturesSupported &= vibrator.hasFrequencyControl(); in areVibrationFeaturesSupported()
218 public boolean hasFrequencyControl() { in hasFrequencyControl() method in Vibrator
2450 method public boolean hasFrequencyControl();