Home
last modified time | relevance | path

Searched refs:toMillis (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java46 public long toMillis(long d) { return d/(C2/C0); } in toMillis() method
57 public long toMillis(long d) { return d/(C2/C1); } in toMillis() method
68 public long toMillis(long d) { return d; } in toMillis() method
73 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert()
79 public long toMillis(long d) { return x(d, C3/C2, MAX/(C3/C2)); } in toMillis() method
90 public long toMillis(long d) { return x(d, C4/C2, MAX/(C4/C2)); } in toMillis() method
101 public long toMillis(long d) { return x(d, C5/C2, MAX/(C5/C2)); } in toMillis() method
112 public long toMillis(long d) { return x(d, C6/C2, MAX/(C6/C2)); } in toMillis() method
202 public long toMillis(long duration) { in toMillis() method in TimeUnit
291 long ms = toMillis(timeout); in timedWait()
[all …]
DForkJoinTask.java1020 if ((ms = TimeUnit.NANOSECONDS.toMillis(ns)) > 0L && in get()
DForkJoinPool.java3005 long millis = TimeUnit.NANOSECONDS.toMillis(nanos); in awaitTermination()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java56 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos); in testRemoveWithSpuriousNotify()
78 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos); in testRemoveWithDelayedResultAndNoTimeout()
88 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos); in testRemoveWithDelayedResultAndTimeout()
/libcore/luni/src/main/java/android/system/
DStructTimeval.java45 public long toMillis() { in toMillis() method in StructTimeval
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java167 TimeUnit.DAYS.toMillis(t)); in testToMillis()
169 TimeUnit.HOURS.toMillis(t)); in testToMillis()
171 TimeUnit.MINUTES.toMillis(t)); in testToMillis()
173 TimeUnit.SECONDS.toMillis(t)); in testToMillis()
175 TimeUnit.MILLISECONDS.toMillis(t)); in testToMillis()
177 TimeUnit.MICROSECONDS.toMillis(t*1000L)); in testToMillis()
179 TimeUnit.NANOSECONDS.toMillis(t*1000000L)); in testToMillis()
DJSR166TestCase.java629 return NANOSECONDS.toMillis(System.nanoTime() - startNanoTime); in millisElapsedSince()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java301 return (int) Libcore.os.getsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO).toMillis(); in getSocketOptionErrno()