Home
last modified time | relevance | path

Searched refs:absolute (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java151 private final boolean absolute; field in ThreadsTest.Parker
174 public Parker(CyclicBarrier barrier, boolean absolute, long parkMillis) { in Parker() argument
176 this.absolute = absolute; in Parker()
183 this.amount = absolute ? parkMillis : parkMillis * NANOS_PER_MILLI; in Parker()
196 boolean absolute = this.absolute; in run()
202 if (absolute) { in run()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java30 private static void construct(String str, String host, String path, boolean absolute) in construct() argument
35 assertEquals(absolute, uri.isAbsolute()); in construct()
DURITest.java664 URI absolute = new URI("http://android.com/"); in testResolveRelativeAndAbsolute() local
666 assertEquals(absolute, absolute.resolve(absolute)); in testResolveRelativeAndAbsolute()
667 assertEquals(new URI("http://android.com/robots.txt"), absolute.resolve(relative)); in testResolveRelativeAndAbsolute()
668 assertEquals(absolute, relative.resolve(absolute)); in testResolveRelativeAndAbsolute()
673 URI absolute = new URI("http://android.com/"); in testRelativizeRelativeAndAbsolute() local
675 assertEquals(relative, absolute.relativize(new URI("http://android.com/robots.txt"))); in testRelativizeRelativeAndAbsolute()
676 assertEquals(new URI(""), absolute.relativize(absolute)); in testRelativizeRelativeAndAbsolute()
677 assertEquals(relative, absolute.relativize(relative)); in testRelativizeRelativeAndAbsolute()
678 assertEquals(absolute, relative.relativize(absolute)); in testRelativizeRelativeAndAbsolute()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetTest.java63 assertFalse(target.absolute(0)); in testAbsolute()
64 assertTrue(target.absolute(1)); in testAbsolute()
66 assertTrue(target.absolute(-1)); in testAbsolute()
208 target.absolute(-1); // last in testtestIsAfterLast()
266 target.absolute(-1); in testtestIsLast()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java829 UnixPath absolute = toAbsolutePath(); in toRealPath() local
834 byte[] rp = realpath(absolute); in toRealPath()
844 for (int i=0; i<absolute.getNameCount(); i++) { in toRealPath()
845 UnixPath element = absolute.getName(i); in toRealPath()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java463 public native void park(boolean absolute, long time); in park() argument
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java164 public void park(boolean absolute, long time) { in park() argument
/libcore/ojluni/annotations/hiddenapi/java/net/
DURI.java292 java.lang.String base, java.lang.String child, boolean absolute) { in resolvePath() argument
/libcore/ojluni/src/main/java/java/net/
DURI.java2003 boolean absolute) in resolvePath() argument