Searched refs:timeoutSeconds (Results 1 – 5 of 5) sorted by relevance
54 public KeyEvent getKeyEvent(int timeoutSeconds) { in getKeyEvent() argument56 return mEvents.poll(timeoutSeconds, TimeUnit.SECONDS); in getKeyEvent()
48 public final void assertCalled(String message, int timeoutSeconds) throws Exception { in assertCalled() argument50 if (mLatch.await(timeoutSeconds, TimeUnit.SECONDS)) { in assertCalled()
167 String message, long timeoutSeconds, Function<Boolean, Boolean> predicate) in waitUntilWithLastTry() argument170 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntilWithLastTry()
162 void createAuthBoundKey(String alias, int timeoutSeconds) { in createAuthBoundKey() argument173 .setUserAuthenticationValidityDurationSeconds(timeoutSeconds) in createAuthBoundKey()
192 private void runWithRetries(int timeoutSeconds, ThrowingRunnable r) throws Throwable { in runWithRetries() argument193 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in runWithRetries()