Home
last modified time | relevance | path

Searched refs:timeoutMills (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
120 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in getVibrationCount()
157 long timeoutMills = 0; in testInputVibratorManagerEvents() local
171 timeoutMills = duration * 2; in testInputVibratorManagerEvents()
180 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()
197 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
DInputDeviceVibratorTest.java137 final long timeoutMills; in testInputVibratorEvents() local
145 timeoutMills = duration * 2; in testInputVibratorEvents()
152 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()
167 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java259 final long timeoutMills; in testInputVibratorEvents() local
267 timeoutMills = duration * 2; in testInputVibratorEvents()
274 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()
295 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
336 final long timeoutMills; in testInputVibratorManagerEvents() local
344 timeoutMills = duration * 2; in testInputVibratorManagerEvents()
351 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()
363 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()