Home
last modified time | relevance | path

Searched refs:waitWithTimeout (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java92 private void waitWithTimeout(Supplier<Boolean> condition, InterruptableConsumer<Long> waiter) in waitWithTimeout() method in WorkflowTest
287 waitWithTimeout(() -> session[0] == null, session::wait); in addAndSelectPrinter()
294 waitWithTimeout(() -> !trackedPrinters.contains("1st printer"), trackedPrinters::wait); in addAndSelectPrinter()
300 waitWithTimeout( in addAndSelectPrinter()
339 waitWithTimeout( in addAndSelectPrinter()
353 waitWithTimeout(() -> trackedPrinters.contains("1st printer"), in addAndSelectPrinter()
359 waitWithTimeout(() -> !trackedPrinters.contains("2nd printer"), in addAndSelectPrinter()
368 waitWithTimeout( in addAndSelectPrinter()
382 waitWithTimeout(() -> !trackedPrinters.contains("1st printer"), in addAndSelectPrinter()
392 waitWithTimeout(() -> session[0] != null, session::wait); in addAndSelectPrinter()