Searched refs:getEffectSegments (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibrationThreadTest.java | 176 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() 195 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() 217 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() 249 assertFalse(fakeVibrator.getEffectSegments().isEmpty()); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() 276 assertEquals(Arrays.asList(expectedOneShot(1000)), fakeVibrator.getEffectSegments()); in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond() 298 assertEquals(Arrays.asList(expectedOneShot(5550)), fakeVibrator.getEffectSegments()); in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() 321 assertEquals(2, fakeVibrator.getEffectSegments().size()); in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() 323 assertEquals(1000L, fakeVibrator.getEffectSegments().get(0).getDuration()); in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() 326 assertEquals(1850, fakeVibrator.getEffectSegments().get(1).getDuration(), /* delta= */ 20); in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() 402 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_singleVibratorPrebaked_runsVibration() [all …]
|
D | VibratorManagerServiceTest.java | 493 assertFalse(waitUntil(s -> !fakeVibrator.getEffectSegments().isEmpty(), 500 assertTrue(waitUntil(s -> fakeVibrator.getEffectSegments().size() == 1, 507 assertTrue(waitUntil(s -> fakeVibrator.getEffectSegments().size() == 2, 513 mVibratorProviders.get(1).getEffectSegments()); 526 assertTrue(waitUntil(s -> fakeVibrator.getEffectSegments().size() == 1, 532 assertTrue(waitUntil(s -> fakeVibrator.getEffectSegments().size() == 2, 537 assertTrue(waitUntil(s -> fakeVibrator.getEffectSegments().size() == 3, 544 mVibratorProviders.get(1).getEffectSegments()); 606 assertTrue(waitUntil(s -> !mVibratorProviders.get(1).getEffectSegments().isEmpty(), 614 assertFalse(waitUntil(s -> mVibratorProviders.get(1).getEffectSegments().size() > 1, [all …]
|
D | FakeVibratorControllerProvider.java | 302 public List<VibrationEffectSegment> getEffectSegments() { in getEffectSegments() method in FakeVibratorControllerProvider
|