/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | TimeUnit.java | 19 public long toNanos(long d) { return d; } in toNanos() method 26 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() 30 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos() method 41 public long toNanos(long d) { return x(d, C2/C0, MAX/(C2/C0)); } in toNanos() method 52 public long toNanos(long d) { return x(d, C3/C0, MAX/(C3/C0)); } in toNanos() method 63 public long toNanos(long d) { return x(d, C4/C0, MAX/(C4/C0)); } in toNanos() method 74 public long toNanos(long d) { return x(d, C5/C0, MAX/(C5/C0)); } in toNanos() method 85 public long toNanos(long d) { return x(d, C6/C0, MAX/(C6/C0)); } in toNanos() method 119 public long toNanos(long duration) { in toNanos() method in TimeUnit
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Uninterruptibles.java | 79 long remainingNanos = unit.toNanos(timeout); in awaitUninterruptibly() 167 long remainingNanos = unit.toNanos(timeout); in getUninterruptibly() 196 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly() 270 long remainingNanos = unit.toNanos(sleepFor); in sleepUninterruptibly() 310 long remainingNanos = unit.toNanos(timeout); in tryAcquireUninterruptibly()
|
D | Monitor.java | 373 long timeoutNanos = unit.toNanos(time); in enter() 472 long timeoutNanos = unit.toNanos(time); in enterWhen() 513 long timeoutNanos = unit.toNanos(time); in enterWhenUninterruptibly() 717 long timeoutNanos = unit.toNanos(time); in waitFor() 731 long timeoutNanos = unit.toNanos(time); in waitForUninterruptibly()
|
D | AbstractFuture.java | 96 return sync.get(unit.toNanos(timeout)); in get()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | GcFinalization.java | 135 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone() 170 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await() 223 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
|
D | FakeTicker.java | 48 return advance(timeUnit.toNanos(time)); in advance() 65 this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep); in setAutoIncrementStep()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Timeout.java | 83 this.timeoutNanos = unit.toNanos(timeout); in timeout() 123 return deadlineNanoTime(System.nanoTime() + unit.toNanos(duration)); in deadline()
|
/external/caliper/caliper/src/test/java/com/google/caliper/worker/ |
D | RuntimeWorkerTest.java | 51 calculateTargetReps(INITIAL_REPS, HOURS.toNanos(1), TIMING_INTERVAL.to(NANOSECONDS), 0.0); in testCalculateTargetReps_hugeBenchmark() 56 long targetReps = calculateTargetReps(INITIAL_REPS, MILLISECONDS.toNanos(100), in testCalculateTargetReps_applyRandomness()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Platform.java | 36 return TimeUnit.MILLISECONDS.toNanos(System.currentTimeMillis()); in systemNanoTime()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 108 long reportPeriod = TimeUnit.SECONDS.toNanos(1); in run() 118 double requestsPerSecond = requestCount / reportDuration * TimeUnit.SECONDS.toNanos(1); in run()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Queues.java | 268 long deadline = System.nanoTime() + unit.toNanos(timeout); in drain() 303 long deadline = System.nanoTime() + unit.toNanos(timeout); in drainUninterruptibly()
|
D | MapMaker.java | 381 this.expireAfterWriteNanos = unit.toNanos(duration); in expireAfterWrite() 432 this.expireAfterAccessNanos = unit.toNanos(duration); in expireAfterAccess()
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
D | AbstractExecutorService.java | 117 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 155 long nanos = unit.toNanos(timeout); in invokeAll()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 609 this.expireAfterWriteNanos = unit.toNanos(duration); in expireAfterWrite() 643 this.expireAfterAccessNanos = unit.toNanos(duration); in expireAfterAccess() 683 this.refreshNanos = unit.toNanos(duration); in refreshAfterWrite()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderFactory.java | 205 return unit.toNanos(duration) == that.unit.toNanos(that.duration);
|
/external/vogar/src/vogar/commands/ |
D | Command.java | 200 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(timeoutSeconds); in scheduleTimeout() 209 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(2); in scheduleTimeout()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | InterruptionUtil.java | 123 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | QueuesTest.java | 120 assertTrue((System.nanoTime() - startTime) >= TimeUnit.MILLISECONDS.toNanos(10)); in testDrainTimesOut() 272 assertTrue((System.nanoTime() - startTime) >= TimeUnit.MILLISECONDS.toNanos(10)); in assertUninterruptibleDrained()
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 399 this.expireAfterWriteNanos = unit.toNanos(duration); in expireAfterWrite() 433 this.expireAfterAccessNanos = unit.toNanos(duration); in expireAfterAccess()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | TrialRunLoop.java | 122 long cleanupTimeNanos = MILLISECONDS.toNanos(WORKER_CLEANUP_DURATION.getMillis()); in call()
|
/external/guava/guava/src/com/google/common/base/ |
D | Suppliers.java | 176 this.durationNanos = unit.toNanos(duration); in ExpiringMemoizingSupplier()
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | RuntimeInstrumentTest.java | 179 long remainingNanos = TimeUnit.MILLISECONDS.toNanos(10); in spin()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 156 source.timeout().deadlineNanoTime(now + Math.min(originalDuration, timeUnit.toNanos(duration))); in skipAll()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | SurfaceTextureHelper.java | 467 : TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime());
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | ShortDuration.java | 350 return unit.toNanos(1000); in picosIn()
|