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.java254 final long timeoutMills; in testInputVibratorEvents() local
262 timeoutMills = duration * 2; in testInputVibratorEvents()
269 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()
290 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
331 final long timeoutMills; in testInputVibratorManagerEvents() local
339 timeoutMills = duration * 2; in testInputVibratorManagerEvents()
346 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()
358 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()