Searched refs:hasFrequencyControl (Results 1 – 11 of 11) sorted by relevance
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()
207 when(mVibrator.hasFrequencyControl()).thenReturn(false); in setUp()
172 if (mVibrator.hasFrequencyControl()) { in createFallbackVibration()187 if (mVibrator.hasFrequencyControl()) { in createDefaultVibration()
283 private static VibratorInfo createVibInfoForFrequency(boolean hasFrequencyControl) { in createVibInfoForFrequency() argument285 if (hasFrequencyControl) { in createVibInfoForFrequency()
300 boolean hasAmplitudeControl, boolean hasFrequencyControl) { in createVibInfo() argument306 if (hasFrequencyControl) { in createVibInfo()
228 public boolean hasFrequencyControl() { in hasFrequencyControl() method in Vibrator229 return getInfo().hasFrequencyControl(); in hasFrequencyControl()
259 public boolean hasFrequencyControl() { in hasFrequencyControl() method in VibratorInfo
88 areFeaturesSupported &= vibratorInfo.hasFrequencyControl(); in areVibrationFeaturesSupported()
107 areFeaturesSupported &= vibratorInfo.hasFrequencyControl(); in areVibrationFeaturesSupported()
62 assertFalse(noCapabilities.hasFrequencyControl()); in testHasFrequencyControl()67 assertTrue(composeAndFrequencyControl.hasFrequencyControl()); in testHasFrequencyControl()
2572 method public boolean hasFrequencyControl();