Home
last modified time | relevance | path

Searched defs:unit (Results 1 – 25 of 112) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/util/concurrent/
DScheduledExecutorService.java107 long delay, TimeUnit unit); in schedule()
123 long delay, TimeUnit unit); in schedule()
167 TimeUnit unit); in scheduleAtFixedRate()
207 TimeUnit unit); in scheduleWithFixedDelay()
DBlockingDeque.java315 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
337 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
371 E pollFirst(long timeout, TimeUnit unit) in pollFirst()
387 E pollLast(long timeout, TimeUnit unit) in pollLast()
504 boolean offer(E e, long timeout, TimeUnit unit) in offer()
555 E poll(long timeout, TimeUnit unit) in poll()
DExecutorService.java200 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination()
309 long timeout, TimeUnit unit) in invokeAll()
358 long timeout, TimeUnit unit) in invokeAny()
DDelayed.java59 long getDelay(TimeUnit unit); in getDelay()
DBlockingQueue.java251 boolean offer(E e, long timeout, TimeUnit unit) in offer()
275 E poll(long timeout, TimeUnit unit) in poll()
DFuture.java162 V get(long timeout, TimeUnit unit) in get()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporal.java152 boolean isSupported(TemporalUnit unit); in isSupported()
297 Temporal plus(long amountToAdd, TemporalUnit unit); in plus()
369 default Temporal minus(long amountToSubtract, TemporalUnit unit) { in minus()
447 long until(Temporal endExclusive, TemporalUnit unit); in until()
DTemporalAmount.java117 long get(TemporalUnit unit); in get()
/libcore/ojluni/src/test/java/time/test/java/time/
DMockSimplePeriod.java95 private final TemporalUnit unit; field in MockSimplePeriod
107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { in of()
111 private MockSimplePeriod(long amount, TemporalUnit unit) { in MockSimplePeriod()
121 public long get(TemporalUnit unit) { in get()
/libcore/ojluni/src/test/java/time/tck/java/time/
DMockSimplePeriod.java95 private final TemporalUnit unit; field in MockSimplePeriod
107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { in of()
111 private MockSimplePeriod(long amount, TemporalUnit unit) { in MockSimplePeriod()
121 public long get(TemporalUnit unit) { in get()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java123 …public void test_unitType(ChronoUnit unit, boolean isDateBased, boolean isTimeBased, boolean isDur… in test_unitType()
169 …public void test_unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amoun… in test_unitAndTemporal()
184 assertEquals(ChronoUnit.valueOf(unit.name()), unit); in test_valueOf() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDate.java412 default boolean isSupported(TemporalUnit unit) { in isSupported()
461 default ChronoLocalDate plus(long amountToAdd, TemporalUnit unit) { in plus()
485 default ChronoLocalDate minus(long amountToSubtract, TemporalUnit unit) { in minus()
601 long until(Temporal endExclusive, TemporalUnit unit); in until()
DChronoLocalDateTime.java257 default boolean isSupported(TemporalUnit unit) { in isSupported()
300 ChronoLocalDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus()
318 default ChronoLocalDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus()
DChronoLocalDateImpl.java199 public D plus(long amountToAdd, TemporalUnit unit) { in plus()
224 public D minus(long amountToSubtract, TemporalUnit unit) { in minus()
376 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
DChronoZonedDateTime.java404 default boolean isSupported(TemporalUnit unit) { in isSupported()
447 ChronoZonedDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus()
465 default ChronoZonedDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousSocketChannelImpl.java219 TimeUnit unit, in implRead()
228 TimeUnit unit, in read()
289 TimeUnit unit, in read()
305 TimeUnit unit, in read()
328 TimeUnit unit, in implWrite()
337 TimeUnit unit, in write()
393 TimeUnit unit, in write()
407 TimeUnit unit, in write()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java213 public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) in awaitTermination()
239 java.util.concurrent.TimeUnit unit) in invokeAll()
253 java.util.concurrent.TimeUnit unit) in invokeAny()
277 java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit) { in schedule()
284 java.util.concurrent.TimeUnit unit) { in schedule()
292 java.util.concurrent.TimeUnit unit) { in scheduleAtFixedRate()
300 java.util.concurrent.TimeUnit unit) { in scheduleWithFixedDelay()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoUnitSerialization.java118 public void test_unitType(ChronoUnit unit) throws IOException, ClassNotFoundException { in test_unitType()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousSocketChannel.java408 TimeUnit unit, in read()
518 TimeUnit unit, in read()
565 TimeUnit unit, in write()
669 TimeUnit unit, in write()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java57 private final TimeUnit unit; field in FileTime
77 private FileTime(long value, TimeUnit unit, Instant instant) { in FileTime()
95 public static FileTime from(long value, TimeUnit unit) { in from()
141 public long to(TimeUnit unit) { in to()
/libcore/ojluni/src/main/java/java/nio/file/
DWatchService.java159 WatchKey poll(long timeout, TimeUnit unit) in poll()
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java117 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); } in main() local
295 static void eqTime(long value, TimeUnit unit, Instant instant) { in eqTime()
322 static void to(long v, TimeUnit unit) { in to()
333 static void ts(long v, TimeUnit unit, String expected) { in ts()
/libcore/luni/src/test/java/libcore/java/time/
DOffsetTimeTest.java70 private static void assertPlusIsNoop(long amount, TemporalUnit unit) { in assertPlusIsNoop()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronoZonedDateTimeTest.java134 public ChronoZonedDateTime plus(long amountToAdd, TemporalUnit unit) { in plus()
139 public long until(Temporal endExclusive, TemporalUnit unit) { in until()

12345