Searched refs:timeoutMills (Results 1 – 3 of 3) sorted by relevance
120 private int getVibrationCount(long totalVibrations, long timeoutMills) { in getVibrationCount() argument126 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in getVibrationCount()163 long timeoutMills = 0; in testInputVibratorManagerEvents() local177 timeoutMills = duration * 2; in testInputVibratorManagerEvents()186 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()203 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
138 final long timeoutMills; in testInputVibratorEvents() local146 timeoutMills = duration * 2; in testInputVibratorEvents()153 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()168 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
250 final long timeoutMills; in testInputVibratorEvents() local258 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() local335 timeoutMills = duration * 2; in testInputVibratorManagerEvents()342 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()354 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()