Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java762 public abstract int compare(final Duration duration); in compare() argument
790 public boolean isLongerThan(final Duration duration) { in isLongerThan() argument
791 return compare(duration) == DatatypeConstants.GREATER; in isLongerThan()
812 public boolean isShorterThan(final Duration duration) { in isShorterThan() argument
813 return compare(duration) == DatatypeConstants.LESSER; in isShorterThan()
853 public boolean equals(final Object duration) { in equals() argument
854 if (duration == this) { in equals()
857 if (duration instanceof Duration) { in equals()
858 return compare((Duration) duration) == DatatypeConstants.EQUAL; in equals()
DXMLGregorianCalendar.java866 public abstract void add(Duration duration); in add() argument
/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java178 public long toNanos(long duration) { in toNanos() argument
190 public long toMicros(long duration) { in toMicros() argument
202 public long toMillis(long duration) { in toMillis() argument
214 public long toSeconds(long duration) { in toSeconds() argument
227 public long toMinutes(long duration) { in toMinutes() argument
240 public long toHours(long duration) { in toHours() argument
251 public long toDays(long duration) { in toDays() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java241 long duration = getDurationMillis(waitMillis); in assertDurationIsInRange() local
243 if (duration < minimum) { in assertDurationIsInRange()
246 " actual duration too short: " + duration); in assertDurationIsInRange()
247 } else if (duration > maximum) { in assertDurationIsInRange()
250 " actual duration too long: " + duration); in assertDurationIsInRange()
/libcore/libart/src/main/java/java/lang/
DThread.java1024 long duration = (millis * NANOS_PER_MILLI) + nanos; in sleep() local
1036 if (elapsed >= duration) { in sleep()
1040 duration -= elapsed; in sleep()
1042 millis = duration / NANOS_PER_MILLI; in sleep()
1043 nanos = (int) (duration % NANOS_PER_MILLI); in sleep()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java79 long duration = end - start; in create() local
80 System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + in create()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java159 …ublic void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException { os.tcsendbreak(fd,… in tcsendbreak() argument
DOs.java152 public void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException; in tcsendbreak() argument
DPosix.java233 public native void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException; in tcsendbreak() argument
/libcore/luni/src/main/java/android/system/
DOs.java489 …c void tcsendbreak(FileDescriptor fd, int duration) throws ErrnoException { Libcore.os.tcsendbreak… in tcsendbreak() argument
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp1483 static void Posix_tcsendbreak(JNIEnv* env, jobject, jobject javaFd, jint duration) { in Posix_tcsendbreak() argument
1485 throwIfMinusOne(env, "tcsendbreak", TEMP_FAILURE_RETRY(tcsendbreak(fd, duration))); in Posix_tcsendbreak()
/libcore/benchmarks/src/benchmarks/regression/
DR.java1565 public static final int duration = 0; field in R
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...