Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
DNotificationAttentionHelperTest.java207 when(mVibrator.hasFrequencyControl()).thenReturn(false); in setUp()
/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java172 if (mVibrator.hasFrequencyControl()) { in createFallbackVibration()
187 if (mVibrator.hasFrequencyControl()) { in createDefaultVibration()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DStepSegmentTest.java283 private static VibratorInfo createVibInfoForFrequency(boolean hasFrequencyControl) { in createVibInfoForFrequency() argument
285 if (hasFrequencyControl) { in createVibInfoForFrequency()
DRampSegmentTest.java300 boolean hasAmplitudeControl, boolean hasFrequencyControl) { in createVibInfo() argument
306 if (hasFrequencyControl) { in createVibInfo()
/frameworks/base/core/java/android/os/
DVibrator.java228 public boolean hasFrequencyControl() { in hasFrequencyControl() method in Vibrator
229 return getInfo().hasFrequencyControl(); in hasFrequencyControl()
DVibratorInfo.java259 public boolean hasFrequencyControl() { in hasFrequencyControl() method in VibratorInfo
/frameworks/base/core/java/android/os/vibrator/
DStepSegment.java88 areFeaturesSupported &= vibratorInfo.hasFrequencyControl(); in areVibrationFeaturesSupported()
DRampSegment.java107 areFeaturesSupported &= vibratorInfo.hasFrequencyControl(); in areVibrationFeaturesSupported()
/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java62 assertFalse(noCapabilities.hasFrequencyControl()); in testHasFrequencyControl()
67 assertTrue(composeAndFrequencyControl.hasFrequencyControl()); in testHasFrequencyControl()
/frameworks/base/core/api/
Dtest-current.txt2572 method public boolean hasFrequencyControl();