Home
last modified time | relevance | path

Searched refs:getCanonicalPath (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java89 assertTrue(target.getCanonicalPath().length() > 1024); in test_longReadlink()
92 assertEquals(target.getCanonicalPath(), source.getCanonicalPath()); in test_longReadlink()
177 assertEquals(target.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath()
184 assertEquals(target.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath()
191 assertEquals(longer.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath()
196 assertEquals(target.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath()
408 assertEquals(symlinkFile.getCanonicalPath(), f1.getCanonicalPath()); in test_canonicalCachesAreOff()
415 assertEquals(symlinkFile.getCanonicalPath(), f2.getCanonicalPath()); in test_canonicalCachesAreOff()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DHeapDumpInstrumentation.java39 Debug.dumpHprofData(dumpFile.getCanonicalPath()); in takeMeasurement()
40 Log.i(TAG, "Wrote to heap dump to " + dumpFile.getCanonicalPath()); in takeMeasurement()
DPssInstrumentation.java49 Log.i(TAG, "Wrote to total PSS of " + totalPssKb + " kB to " + output.getCanonicalPath()); in takeMeasurement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOpenRandomFileTest.java44 String fileName = file.getCanonicalPath(); in testOpenNonEmptyFile()
54 String fileName = file.getCanonicalPath(); in testOpenEmptyFile()
DFileTest.java804 String base = tempDirectory.getCanonicalPath(); in test_getCanonicalPath()
808 .getCanonicalPath()); in test_getCanonicalPath()
811 .getCanonicalPath()); in test_getCanonicalPath()
831 + File.separator + "temp.tst", f.getCanonicalPath()); in test_getCanonicalPath()
835 + File.separator + "Test" + File.separator + "temp.tst", f.getCanonicalPath()); in test_getCanonicalPath()
839 .getCanonicalPath()); in test_getCanonicalPath()
851 String dirName1 = f1.getCanonicalPath(); in test_getCanonicalPath()
858 String dirName2 = f4.getCanonicalPath(); in test_getCanonicalPath()
871 dirName1 = f2.getCanonicalPath(); in test_getCanonicalPath()
875 dirName2 = f3.getCanonicalPath(); in test_getCanonicalPath()
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java106 chmod(userRootDir.getCanonicalPath(), USER_RWX); in setupUserRoot()
127 int result = chmod(userRootModFile.getCanonicalPath(), in setupUserRoot()
132 userRootModFile.getCanonicalPath() + in setupUserRoot()
177 chmod(systemRootDir.getCanonicalPath(), in setupSystemRoot()
196 int result = chmod(systemRootModFile.getCanonicalPath(), in setupSystemRoot()
200 systemRootModFile.getCanonicalPath() + in setupSystemRoot()
892 result = lockFile0(lockFile.getCanonicalPath(), perm, shared);
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/
DCertBlocklistTest.java192 return getPubkeyBlocklist(tmpFile.getCanonicalPath()); in getCurrentPubkeyBlocklist()
196 return getSerialBlocklist(tmpFile.getCanonicalPath()); in getCurrentSerialBlocklist()
250 CertBlocklist bl = new CertBlocklist(tmpFile.getCanonicalPath(), ""); in testLegitPubkeyIsntBlocklisted()
265 CertBlocklist bl = new CertBlocklist(tmpFile.getCanonicalPath(), ""); in testPubkeyIsBlocklisted()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarFileTest.java59 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_String()
71 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_StringZ()
/libcore/ojluni/src/main/java/sun/net/
DNetProperties.java67 fname = f.getCanonicalPath(); in loadDefaultProperties()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java94 public java.lang.String getCanonicalPath() throws java.io.IOException { in getCanonicalPath() method in File
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java61 @libcore.util.NonNull public java.lang.String getCanonicalPath() throws java.io.IOException { throw… in getCanonicalPath() method in File
/libcore/ojluni/src/main/java/java/io/
DFile.java607 public String getCanonicalPath() throws IOException { in getCanonicalPath() method in File
636 String canonPath = getCanonicalPath(); in getCanonicalFile()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java189 String fileName = file.getCanonicalPath(); in test_ConstructorLjava_lang_String()
210 String fileName = file.getCanonicalPath(); in test_ConstructorLjava_lang_StringZ()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java617 f = new File(f.getCanonicalPath());
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java1274 fname = f.getCanonicalPath(); in readConfiguration()
/libcore/api/
Dcurrent.txt1486 method @NonNull public String getCanonicalPath() throws java.io.IOException;