Searched refs:withTimeout (Results 1 – 5 of 5) sorted by relevance
348 .withTimeout(Duration.of(1, SECONDS)).execute(); in isSuperUserAvailable()381 .withTimeout(Duration.of(1, SECONDS)).execute(); in isRunningAsRoot()429 .withTimeout(Duration.of(1, SECONDS)).execute(); in canRunAsRootWithSuperUser()
124 public Builder withTimeout(Duration timeout) { in withTimeout() method in ShellCommand.Builder
45 ServiceTestRule.withTimeout(15, TimeUnit.SECONDS);
63 import kotlinx.coroutines.withTimeout in <lambda>()291 withTimeout(2000) { in runBlockingWithTimeout()
199 .withTimeout(Duration.ofMinutes(1)) in remove()392 .withTimeout(Duration.ofMinutes(1)) in switchTo()