HomeSort by relevance Sort by last modified time
    Searched full:timeoutmillis (Results 26 - 50 of 178) sorted by null

12 3 4 5 6 7 8

  /external/glide/library/src/main/java/com/bumptech/glide/request/
RequestFutureTarget.java 186 private synchronized R doGet(Long timeoutMillis) throws ExecutionException, InterruptedException, TimeoutException {
199 if (timeoutMillis == null) {
201 } else if (timeoutMillis > 0) {
202 waiter.waitForTimeout(this, timeoutMillis);
262 public void waitForTimeout(Object toWaitOn, long timeoutMillis) throws InterruptedException {
263 toWaitOn.wait(timeoutMillis);
  /frameworks/base/core/java/android/bluetooth/le/
AdvertiseSettings.java 214 * @param timeoutMillis Advertising time limit. May not exceed 180000 milliseconds.
218 public Builder setTimeout(int timeoutMillis) {
219 if (timeoutMillis < 0 || timeoutMillis > LIMITED_ADVERTISING_MAX_MILLIS) {
220 throw new IllegalArgumentException("timeoutMillis invalid (must be 0-"
223 mTimeoutMillis = timeoutMillis;
  /libcore/jsr166-tests/src/test/java/jsr166/
CyclicBarrierTest.java 186 c.await(timeoutMillis(), MILLISECONDS);
189 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
213 c.await(timeoutMillis(), MILLISECONDS);
216 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
241 c.await(timeoutMillis(), MILLISECONDS);
244 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
322 delay(timeoutMillis());
413 barrier.await(timeoutMillis(), MILLISECONDS);
416 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
JSR166TestCase.java 601 long timeoutMillis() {
    [all...]
ReentrantLockTest.java 158 long timeoutMillis = 2 * LONG_DELAY_MS;
164 assertTrue(c.await(timeoutMillis, MILLISECONDS));
167 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
173 assertTrue(c.awaitUntil(delayedDate(timeoutMillis)));
411 long timeoutMillis = 10;
412 assertFalse(lock.tryLock(timeoutMillis, MILLISECONDS));
413 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
536 long timeoutMillis = 10;
537 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
540 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
    [all...]
ExchangerTest.java 115 e.exchange(null, timeoutMillis(), MILLISECONDS);
118 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
AbstractQueuedLongSynchronizerTest.java 217 long timeoutMillis = 2 * LONG_DELAY_MS;
223 assertTrue(c.await(timeoutMillis, MILLISECONDS));
226 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
231 assertTrue(c.awaitUntil(delayedDate(timeoutMillis)));
243 long timeoutMillis = timeoutMillis();
249 assertFalse(c.await(timeoutMillis, MILLISECONDS));
250 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
254 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
258 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
    [all...]
AbstractQueuedSynchronizerTest.java 220 long timeoutMillis = 2 * LONG_DELAY_MS;
226 assertTrue(c.await(timeoutMillis, MILLISECONDS));
229 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
234 assertTrue(c.awaitUntil(delayedDate(timeoutMillis)));
246 long timeoutMillis = timeoutMillis();
252 assertFalse(c.await(timeoutMillis, MILLISECONDS));
253 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
257 long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
261 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
    [all...]
ScheduledExecutorSubclassTest.java 131 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
134 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
136 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
151 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
153 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
156 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
171 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
174 p.scheduleAtFixedRate(task, timeoutMillis(),
177 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
193 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
    [all...]
ScheduledExecutorTest.java 74 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
77 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
79 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
95 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
97 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
100 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
115 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
118 p.scheduleAtFixedRate(task, timeoutMillis(),
121 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
137 assertTrue(millisElapsedSince(startTime) >= timeoutMillis());
    [all...]
  /frameworks/base/core/jni/
android_os_MessageQueue.cpp 48 void pollOnce(JNIEnv* env, jobject obj, int timeoutMillis);
107 void NativeMessageQueue::pollOnce(JNIEnv* env, jobject pollObj, int timeoutMillis) {
110 mLooper->pollOnce(timeoutMillis);
189 jlong ptr, jint timeoutMillis) {
191 nativeMessageQueue->pollOnce(env, obj, timeoutMillis);
  /system/core/libutils/
Looper.cpp 187 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) {
219 result = pollInner(timeoutMillis);
223 int Looper::pollInner(int timeoutMillis) {
225 ALOGD("%p ~ pollOnce - waiting: timeoutMillis=%d", this, timeoutMillis);
229 if (timeoutMillis != 0 && mNextMessageUptime != LLONG_MAX) {
233 && (timeoutMillis < 0 || messageTimeoutMillis < timeoutMillis)) {
234 timeoutMillis = messageTimeoutMillis;
237 ALOGD("%p ~ pollOnce - next message in %" PRId64 "ns, adjusted timeout: timeoutMillis=%d"
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/actions/
SingleKeyAction.java 58 /** Defaults timeoutMillis to 100 and checkFocused to false */
63 public SingleKeyAction(int keyCode, int metaState, long timeoutMillis, boolean checkFocused) {
64 super(timeoutMillis, checkFocused);
SwipeAction.java 106 * Defaults timeoutMillis to 1000 and no drag.
115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) {
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F);
125 * @param timeoutMillis the value returned by {@link #getTimeoutMillis}
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis,
133 super(timeoutMillis);
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseDroidDriver.java 57 public boolean has(Finder finder, long timeoutMillis) {
59 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis);
BaseUiDevice.java 40 0/* metaState */, 0/* timeoutMillis */, false);
43 0/* metaState */, 1000L/* timeoutMillis */, false);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
HttpHelper.java 39 public void setConnectTimeout(int timeoutMillis);
41 public void setReadTimeout(int timeoutMillis);
JavaNetHttpHelper.java 169 public void setConnectTimeout(int timeoutMillis) {
170 mConnectTimeout = timeoutMillis;
173 public void setReadTimeout(int timeoutMillis) {
174 mReadTimeout = timeoutMillis;
  /external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java 109 * timeoutMillis}. The main thread may not enter the idle state when animation is playing, for
112 public static boolean tryWaitForIdleSync(long timeoutMillis) {
118 emptyTask.get(timeoutMillis, TimeUnit.MILLISECONDS);
121 "Timed out after " + timeoutMillis + " milliseconds waiting for idle on main looper");
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DelegatingHttpsURLConnection.java 265 @Override public void setConnectTimeout(int timeoutMillis) {
266 delegate.setConnectTimeout(timeoutMillis);
273 @Override public void setReadTimeout(int timeoutMillis) {
274 delegate.setReadTimeout(timeoutMillis);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
JSR166TestCase.java 286 long timeoutMillis() {
520 * millisecond delay of {@code timeoutMillis()}.
523 assertThreadStaysAlive(thread, timeoutMillis());
541 * millisecond delay of {@code timeoutMillis()}.
544 assertThreadsStayAlive(timeoutMillis(), threads);
563 * {@code timeoutMillis()}.
566 assertFutureTimesOut(future, timeoutMillis());
572 void assertFutureTimesOut(Future future, long timeoutMillis) {
575 future.get(timeoutMillis, MILLISECONDS);
581 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
    [all...]
  /frameworks/base/libs/hwui/renderthread/
RenderThread.cpp 278 int timeoutMillis = -1;
280 int result = mLooper->pollOnce(timeoutMillis);
291 timeoutMillis = -1;
294 timeoutMillis = nanoseconds_to_milliseconds(timeoutNanos);
295 if (timeoutMillis < 0) {
296 timeoutMillis = 0;
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException {
105 filter, timeoutMillis);
  /cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
ExternalStorageTest.java 164 public void waitForDownloadComplete(long timeoutMillis, long... waitForIds)
173 mCompleteIds.wait(timeoutMillis);
176 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis);
  /system/core/include/utils/
Looper.h 263 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
264 inline int pollOnce(int timeoutMillis) {
265 return pollOnce(timeoutMillis, NULL, NULL, NULL);
273 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
274 inline int pollAll(int timeoutMillis) {
275 return pollAll(timeoutMillis, NULL, NULL, NULL);
473 int pollInner(int timeoutMillis);

Completed in 827 milliseconds

12 3 4 5 6 7 8