Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorManagerTest.java114 private int getVibrationCount(long totalVibrations, long timeoutMills) { in getVibrationCount() argument
119 while (vibrationCount < totalVibrations in getVibrationCount()
124 if (results.size() < totalVibrations) { in getVibrationCount()
156 final long totalVibrations = testData.durations.size(); in testInputVibratorManagerEvents() local
197 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
DInputDeviceVibratorTest.java138 final long totalVibrations = test.durations.size(); in testInputVibratorEvents() local
166 while (vibrationCount < totalVibrations in testInputVibratorEvents()
171 if (results.size() < totalVibrations) { in testInputVibratorEvents()
186 assertEquals(vibrationCount, totalVibrations); in testInputVibratorEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java255 final long totalVibrations = test.durations.size(); in testInputVibratorEvents() local
289 while (vibrationCount < totalVibrations in testInputVibratorEvents()
294 if (results.size() < totalVibrations) { in testInputVibratorEvents()
314 assertEquals(vibrationCount, totalVibrations); in testInputVibratorEvents()
332 final long totalVibrations = test.durations.size(); in testInputVibratorManagerEvents() local
357 while (vibrationCount < totalVibrations in testInputVibratorManagerEvents()
362 if (results.size() < totalVibrations) { in testInputVibratorManagerEvents()
382 assertEquals(vibrationCount, totalVibrations); in testInputVibratorManagerEvents()