Lines Matching refs:timeout
33 public PollingCheck(long timeout) {
34 mTimeout = timeout;
44 long timeout = mTimeout;
45 while (timeout > 0) {
56 timeout -= TIME_SLICE;
59 Assert.fail("unexpected timeout");
62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition)
64 while (timeout > 0) {
70 timeout -= TIME_SLICE;
85 public static void waitFor(long timeout, final PollingCheckCondition condition) {
86 new PollingCheck(timeout) {