Home
last modified time | relevance | path

Searched defs:duration (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/
DDurationTest.java89 Duration duration = (Duration) values[1]; in test_addTo_exceeds() local
117 Duration duration = (Duration) values[1]; in test_subtractFrom_exceeds() local
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java762 public abstract int compare(final Duration duration); in compare()
790 public boolean isLongerThan(final Duration duration) { in isLongerThan()
812 public boolean isShorterThan(final Duration duration) { in isShorterThan()
853 public boolean equals(final Object duration) { in equals()
DXMLGregorianCalendar.java866 public abstract void add(Duration duration); in add()
/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java238 public long toNanos(long duration) { in toNanos()
250 public long toMicros(long duration) { in toMicros()
262 public long toMillis(long duration) { in toMillis()
274 public long toSeconds(long duration) { in toSeconds()
287 public long toMinutes(long duration) { in toMinutes()
300 public long toHours(long duration) { in toHours()
311 public long toDays(long duration) { in toDays()
/libcore/ojluni/src/main/java/java/time/
DDuration.java328 Duration duration = ZERO; in from() local
669 public Duration plus(Duration duration) { in plus()
709 Duration duration = unit.getDuration().multipliedBy(amountToAdd); in plus() local
826 public Duration minus(Duration duration) { in minus()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoUnit.java193 private final Duration duration; field in ChronoUnit
DIsoFields.java656 private final Duration duration; field in IsoFields.Unit
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java66 long duration = TimeUnit.NANOSECONDS.toMillis(end - start); in create() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java181 public java.time.Duration plus(java.time.Duration duration) { in plus()
217 public java.time.Duration minus(java.time.Duration duration) { in minus()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java262 long duration = getDurationMillis(waitMillis); in assertDurationIsInRange() local
/libcore/luni/src/main/java/android/system/
DOs.java693 …public static void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException { Libcore.os… in tcsendbreak()
/libcore/luni/src/main/java/libcore/io/
DOs.java197 public void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException; in tcsendbreak()
DForwardingOs.java231 …public void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException { os.tcsendbreak(fd… in tcsendbreak()
DLinux.java267 public native void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException; in tcsendbreak()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java2691 Duration duration = Duration.ofSeconds(5000, 1000); in test_duration_getUnits() local
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2522 static void Linux_tcsendbreak(JNIEnv* env, jobject, jobject javaFd, jint duration) { in Linux_tcsendbreak()
/libcore/benchmarks/src/benchmarks/regression/
DR.java1565 public static final int duration = 0; field in R