Home
last modified time | relevance | path

Searched refs:frequencyProfile (Results 1 – 3 of 3) sorted by relevance

/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java346 VibratorFrequencyProfile frequencyProfile = mVibrator.getFrequencyProfile(); in testVibrateWaveformWithFrequencyStartsAndFinishesVibration() local
347 assumeNotNull(frequencyProfile); in testVibrateWaveformWithFrequencyStartsAndFinishesVibration()
349 float minFrequency = frequencyProfile.getMinFrequency(); in testVibrateWaveformWithFrequencyStartsAndFinishesVibration()
350 float maxFrequency = frequencyProfile.getMaxFrequency(); in testVibrateWaveformWithFrequencyStartsAndFinishesVibration()
526 VibratorFrequencyProfile frequencyProfile = mVibrator.getFrequencyProfile(); in testVibratorFrequencyProfileMeasurementInterval() local
527 assumeNotNull(frequencyProfile); in testVibratorFrequencyProfileMeasurementInterval()
529 float measurementIntervalHz = frequencyProfile.getMaxAmplitudeMeasurementInterval(); in testVibratorFrequencyProfileMeasurementInterval()
536 VibratorFrequencyProfile frequencyProfile = mVibrator.getFrequencyProfile(); in testVibratorFrequencyProfileSupportedFrequencyRange() local
537 assumeNotNull(frequencyProfile); in testVibratorFrequencyProfileSupportedFrequencyRange()
540 float minFrequencyHz = frequencyProfile.getMinFrequency(); in testVibratorFrequencyProfileSupportedFrequencyRange()
[all …]
DVibratorManagerTest.java226 VibratorFrequencyProfile frequencyProfile = defaultVibrator.getFrequencyProfile(); in testCombinedVibrationWaveformWithFrequencyStartsAndFinishesVibration() local
227 float minFrequency = frequencyProfile.getMinFrequency(); in testCombinedVibrationWaveformWithFrequencyStartsAndFinishesVibration()
228 float maxFrequency = frequencyProfile.getMaxFrequency(); in testCombinedVibrationWaveformWithFrequencyStartsAndFinishesVibration()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DHapticsDeviceInfo.java100 VibratorFrequencyProfile frequencyProfile = vibrator.getFrequencyProfile(); in collectVibratorInfo() local
101 if (frequencyProfile != null) { in collectVibratorInfo()
103 store.addResult("min_frequency", frequencyProfile.getMinFrequency()); in collectVibratorInfo()
104 store.addResult("max_frequency", frequencyProfile.getMaxFrequency()); in collectVibratorInfo()
106 frequencyProfile.getMaxAmplitudeMeasurementInterval()); in collectVibratorInfo()
108 frequencyProfile.getMaxAmplitudeMeasurements()); in collectVibratorInfo()