Searched refs:maxWaitMillis (Results 1 – 2 of 2) sorted by relevance
180 public boolean waitForThreadIdle(long maxWaitMillis) { in waitForThreadIdle() argument182 long deadline = now + maxWaitMillis; in waitForThreadIdle()
567 public boolean waitForWriteToCompleteForTesting(long maxWaitMillis) { in waitForWriteToCompleteForTesting() argument569 final long end = start + maxWaitMillis; in waitForWriteToCompleteForTesting()578 mWriteScheduleLock.wait(now - start + maxWaitMillis); in waitForWriteToCompleteForTesting()