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()
254 final long timeoutMills; in testInputVibratorEvents() local262 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() local339 timeoutMills = duration * 2; in testInputVibratorManagerEvents()346 timeoutMills = Arrays.stream(durations).sum() * 2; in testInputVibratorManagerEvents()358 && SystemClock.elapsedRealtime() - startTime < timeoutMills) { in testInputVibratorManagerEvents()