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.java120 private int getVibrationCount(long totalVibrations, long timeoutMills) { in getVibrationCount() argument
126 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in getVibrationCount()
163 long timeoutMills = 0; in testInputVibratorManagerEvents() local
177 timeoutMills = duration * 2; in testInputVibratorManagerEvents()
186 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()
203 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
DInputDeviceVibratorTest.java138 final long timeoutMills; in testInputVibratorEvents() local
146 timeoutMills = duration * 2; in testInputVibratorEvents()
153 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()
168 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java250 final long timeoutMills; in testInputVibratorEvents() local
258 timeoutMills = duration * 2; in testInputVibratorEvents()
265 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()
286 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
327 final long timeoutMills; in testInputVibratorManagerEvents() local
335 timeoutMills = duration * 2; in testInputVibratorManagerEvents()
342 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()
354 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()