Home
last modified time | relevance | path

Searched refs:getAmplitudes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java206 assertEquals(expectedAmplitudes(100), mVibratorProviders.get(VIBRATOR_ID).getAmplitudes()); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude()
223 assertTrue(mVibratorProviders.get(VIBRATOR_ID).getAmplitudes().isEmpty()); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude()
244 mVibratorProviders.get(VIBRATOR_ID).getAmplitudes()); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes()
264 List<Float> amplitudes = mVibratorProviders.get(VIBRATOR_ID).getAmplitudes(); in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly()
285 mVibratorProviders.get(VIBRATOR_ID).getAmplitudes());
299 waitUntil(() -> fakeVibrator.getAmplitudes().size() > 2 * amplitudes.length,
320 List<Float> playedAmplitudes = fakeVibrator.getAmplitudes();
340 assertTrue(waitUntil(() -> !fakeVibrator.getAmplitudes().isEmpty(), TEST_TIMEOUT_MILLIS)); in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger()
496 assertTrue(waitUntil(() -> !fakeVibrator.getAmplitudes().isEmpty(), TEST_TIMEOUT_MILLIS)); in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle()
538 mVibratorProviders.get(VIBRATOR_ID).getAmplitudes().subList(0, 4)); in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn()
[all …]
DVibratorManagerServiceTest.java915 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withOngoingRepeatingVibration_ignoresEffect()
947 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withOngoingRepeatingVibrationBeingCancelled_playsAfterPreviousIsCancelled()
977 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withNewSameImportanceVibrationAndBothRepeating_cancelsOngoingEffect()
986 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 4, service, in vibrate_withNewSameImportanceVibrationAndBothRepeating_cancelsOngoingEffect()
1007 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withNewSameImportanceVibrationButOngoingIsRepeating_ignoreNewVibration()
1034 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withNewUnknownUsageVibrationAndRepeating_cancelsOngoingEffect()
1043 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 4, service, in vibrate_withNewUnknownUsageVibrationAndRepeating_cancelsOngoingEffect()
1064 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withNewUnknownUsageVibrationAndNotRepeating_ignoreNewVibration()
1090 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, in vibrate_withOngoingHigherImportanceVibration_ignoresEffect()
1118 assertTrue(waitUntil(s -> fakeVibrator.getAmplitudes().size() == 2, service, in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect()
[all …]
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java335 public List<Float> getAmplitudes() { in getAmplitudes() method in FakeVibratorControllerProvider
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1333 public int[] getAmplitudes() { in getAmplitudes() method in InputManagerService.VibrationInfo
1420 mNative.vibrate(deviceId, info.getPattern(), info.getAmplitudes(), in vibrate()
1452 mNative.vibrate(deviceId, info.getPattern(), info.getAmplitudes(), in vibrateCombined()
1469 amplitudes.put(effects.keyAt(i), info.getAmplitudes()); in vibrateCombined()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39501 Landroid/os/VibrationEffect$Waveform;->getAmplitudes()[I