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.java120 private int getVibrationCount(long totalVibrations, long timeoutMills) { in getVibrationCount() argument
125 while (vibrationCount < totalVibrations in getVibrationCount()
130 if (results.size() < totalVibrations) { in getVibrationCount()
162 final long totalVibrations = testData.durations.size(); in testInputVibratorManagerEvents() local
203 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
DInputDeviceVibratorTest.java139 final long totalVibrations = test.durations.size(); in testInputVibratorEvents() local
167 while (vibrationCount < totalVibrations in testInputVibratorEvents()
172 if (results.size() < totalVibrations) { in testInputVibratorEvents()
187 assertEquals(vibrationCount, totalVibrations); in testInputVibratorEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java251 final long totalVibrations = test.durations.size(); in testInputVibratorEvents() local
285 while (vibrationCount < totalVibrations in testInputVibratorEvents()
290 if (results.size() < totalVibrations) { in testInputVibratorEvents()
310 assertEquals(vibrationCount, totalVibrations); in testInputVibratorEvents()
328 final long totalVibrations = test.durations.size(); in testInputVibratorManagerEvents() local
353 while (vibrationCount < totalVibrations in testInputVibratorManagerEvents()
358 if (results.size() < totalVibrations) { in testInputVibratorManagerEvents()
378 assertEquals(vibrationCount, totalVibrations); in testInputVibratorManagerEvents()