Searched refs:timeoutMills (Results 1 – 3 of 3) sorted by relevance
114 private int getVibrationCount(long totalVibrations, long timeoutMills) { in getVibrationCount() argument120 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in getVibrationCount()157 long timeoutMills = 0; in testInputVibratorManagerEvents() local171 timeoutMills = duration * 2; in testInputVibratorManagerEvents()180 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()197 assertEquals(totalVibrations, getVibrationCount(totalVibrations, timeoutMills)); in testInputVibratorManagerEvents()
137 final long timeoutMills; in testInputVibratorEvents() local145 timeoutMills = duration * 2; in testInputVibratorEvents()152 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorEvents()167 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorEvents()
259 final long timeoutMills; in testInputVibratorEvents() local267 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() local344 timeoutMills = duration * 2; in testInputVibratorManagerEvents()351 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()363 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()