HomeSort by relevance Sort by last modified time
    Searched defs:timeoutNanos (Results 1 - 25 of 37) sorted by null

1 2

  /external/okhttp/okio/okio/src/main/java/okio/
ForwardingTimeout.java 45 @Override public long timeoutNanos() {
46 return delegate.timeoutNanos();
Timeout.java 67 private long timeoutNanos;
83 this.timeoutNanos = unit.toNanos(timeout);
88 public long timeoutNanos() {
89 return timeoutNanos;
128 this.timeoutNanos = 0;
AsyncTimeout.java 63 long timeoutNanos = timeoutNanos();
65 if (timeoutNanos == 0 && !hasDeadline) {
69 scheduleTimeout(this, timeoutNanos, hasDeadline);
73 AsyncTimeout node, long timeoutNanos, boolean hasDeadline) {
81 if (timeoutNanos != 0 && hasDeadline) {
84 node.timeoutAt = now + Math.min(timeoutNanos, node.deadlineNanoTime() - now);
85 } else if (timeoutNanos != 0) {
86 node.timeoutAt = now + timeoutNanos;
  /frameworks/base/libs/hwui/renderthread/
RenderThread.cpp 293 nsecs_t timeoutNanos = nextWakeup - systemTime(SYSTEM_TIME_MONOTONIC);
294 timeoutMillis = nanoseconds_to_milliseconds(timeoutNanos);
  /external/guava/guava/src/com/google/common/util/concurrent/
Monitor.java 373 long timeoutNanos = unit.toNanos(time);
378 long deadline = System.nanoTime() + timeoutNanos;
383 return lock.tryLock(timeoutNanos, TimeUnit.NANOSECONDS);
386 timeoutNanos = deadline - System.nanoTime();
472 long timeoutNanos = unit.toNanos(time);
479 long deadline = System.nanoTime() + timeoutNanos;
483 timeoutNanos = deadline - System.nanoTime();
489 satisfied = guard.isSatisfied() || awaitNanos(guard, timeoutNanos, reentrant);
513 long timeoutNanos = unit.toNanos(time);
518 long deadline = System.nanoTime() + timeoutNanos;
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ForkJoinPoolTest.java 255 long timeoutNanos = 999999L;
257 assertFalse(p.awaitTermination(timeoutNanos, NANOSECONDS));
258 assertTrue(System.nanoTime() - startTime >= timeoutNanos);
    [all...]
ReentrantLockTest.java 167 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
168 long nanosRemaining = c.awaitNanos(timeoutNanos);
169 assertTrue(nanosRemaining > timeoutNanos / 2);
170 assertTrue(nanosRemaining <= timeoutNanos);
537 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
538 long nanosRemaining = c.awaitNanos(timeoutNanos);
    [all...]
ReentrantReadWriteLockTest.java 176 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
177 long nanosRemaining = c.awaitNanos(timeoutNanos);
178 assertTrue(nanosRemaining > timeoutNanos / 2);
179 assertTrue(nanosRemaining <= timeoutNanos);
    [all...]
ThreadPoolExecutorTest.java 468 long timeoutNanos = 999999L;
470 assertFalse(p.awaitTermination(timeoutNanos, NANOSECONDS));
471 assertTrue(System.nanoTime() - startTime >= timeoutNanos);
    [all...]
  /prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.6.0/
okio-1.6.0.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-core/0.13.2/
grpc-core-0.13.2.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-all/0.13.2/
grpc-all-0.13.2.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-handler/4.1.0.CR3/
netty-handler-4.1.0.CR3.jar 
  /prebuilts/tools/common/google-java-format/
google-java-format-1.0-all-deps.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0/
guava-19.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0-rc2/
guava-19.0-rc2.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.0.CR3/
netty-common-4.1.0.CR3.jar 
  /prebuilts/tools/linux-x86_64/kythe/extractors/
bazel_java_extractor.jar 
  /external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar 
  /external/guice/lib/
guava-16.0.1.jar 
  /prebuilts/devtools/tools/lib/
guava-17.0.jar 
  /prebuilts/misc/common/guava/
guava-15.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/15.0/
guava-15.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/17.0/
guava-17.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/18.0/
guava-18.0.jar 

Completed in 275 milliseconds

1 2