Lines Matching defs:timeout
34 public PollingCheck(long timeout) {
35 mTimeout = timeout;
45 long timeout = mTimeout;
46 while (timeout > 0) {
57 timeout -= TIME_SLICE;
60 Assert.fail("unexpected timeout");
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition)
65 while (timeout > 0) {
71 timeout -= TIME_SLICE;
86 public static void waitFor(long timeout, final PollingCheckCondition condition) {
87 new PollingCheck(timeout) {