/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 84 assertEquals(tmpDirName, f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String() 90 assertEquals(f.getAbsolutePath(), d.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String() 103 assertEquals(tmpDir, f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 122 assertEquals(d.getAbsolutePath(), f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 123 assertEquals("/abc", f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 174 builder.command().add(dir.getAbsolutePath()); in test_deleteOnExit() 175 builder.command().add(subDir.getAbsolutePath()); in test_deleteOnExit()
|
D | FileTest.java | 139 assertEquals(cwd, f.getAbsolutePath()); in test_emptyFilename() 238 assertEquals(userDir + "poop", f.getAbsolutePath()); in test_getAbsolutePath() 310 nativeTestFilesWithSurrogatePairs(base.getAbsolutePath()); in testFilesWithSurrogatePairs() 325 stat(tmpFile.getAbsolutePath()); in testExistsOnSystem() 360 assertTrue(tempFile.getAbsolutePath().contains(directoryName)); in testJavaIoTmpdirMutable() 407 …Equals(0, Runtime.getRuntime().exec("ln -s " + f1.getAbsolutePath() + " " + symlinkFile.getAbsolut… in test_canonicalCachesAreOff() 411 assertEquals(0, Runtime.getRuntime().exec("rm " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff() 412 …Equals(0, Runtime.getRuntime().exec("ln -s " + f2.getAbsolutePath() + " " + symlinkFile.getAbsolut… in test_canonicalCachesAreOff()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BaseDexClassLoaderTest.java | 239 final String sharedJarPath = resourcesMap.get("parent.jar").getAbsolutePath(); in testReporting_multipleJars_withSharedLibraries() 335 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries1() 336 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries1() 360 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries2() 361 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries2() 385 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries3() 389 new PathClassLoader(childPath.getAbsolutePath(), null, parent, sharedLibraryLevel2), in testGetResourceSharedLibraries3() 413 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries4() 417 new PathClassLoader(parentPath.getAbsolutePath(), null, parent, sharedLibraryLevel2), in testGetResourceSharedLibraries4() 439 ClassLoader parent = new PathClassLoader(parentPath.getAbsolutePath(), null, parentParent); in testGetResourceSharedLibraries5() [all …]
|
D | DelegateLastClassLoaderTest.java | 107 ClassLoader parent = new PathClassLoader(parentPath.getAbsolutePath(), in createClassLoader() 110 return new DelegateLastClassLoader(thisPath.getAbsolutePath(), null, parent, in createClassLoader() 163 resourcesMap.get("child.jar").getAbsolutePath(), null, null); in testLoadClass_exceptionMessages() 256 ClassLoader cl = new DelegateLastClassLoader(override.getAbsolutePath(), null); in testLookupOrder_bootOverride()
|
D | DexClassLoaderTest.java | 74 String path = files[0].getAbsolutePath(); in createLoader() 76 path += File.pathSeparator + files[i].getAbsolutePath(); in createLoader() 367 String path = nativeLib1.getParentFile().getAbsolutePath(); in test_oneDex_addNative_findsLibrary()
|
D | PathClassLoaderTest.java | 101 f.getAbsolutePath(), this.getClass().getClassLoader()); in test_classLoader_tampered_certificate_loadsOK_nullCertificates() 126 final PathClassLoader pcl = new PathClassLoader(jar.getAbsolutePath(), in test_classLoader_exceptionDuringLoading()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 101 urls[0] = new URL("file://" + tmpDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String() 102 urls[1] = new URL("file://" + subDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String() 228 int port = server.initServer(tmp.getAbsolutePath(), "text/html"); in test_findResourceLjava_lang_String() 259 String tempPath1 = tempFile1.getParentFile().getAbsolutePath() + "/"; in test_findResource_String() 263 String tempPath2 = tempFile2.getAbsolutePath(); in test_findResource_String()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileDescriptorTest.java | 39 fos = new FileOutputStream(f.getAbsolutePath()); in test_sync() 78 fos = new FileOutputStream(f.getAbsolutePath()); in test_valid()
|
D | FilterInputStreamTest.java | 100 fileName = temp.getAbsolutePath(); in setUp() 101 OutputStream fos = new FileOutputStream(temp.getAbsolutePath()); in setUp()
|
D | SyncFailedExceptionTest.java | 35 FileOutputStream fos = new FileOutputStream(f.getAbsolutePath()); in test_ConstructorLjava_lang_String()
|
D | FileTest.java | 102 new File("input.tst").getAbsolutePath(), in test_ConstructorLjava_io_FileLjava_lang_String2() 103 f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String2() 111 d.getAbsolutePath(), f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String3() 186 new File("input.tst").getAbsolutePath(), in test_ConstructorLjava_lang_StringLjava_lang_String() 187 f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 208 assertEquals("Test3: Created Incorrect File", d.getAbsolutePath(), f in test_ConstructorLjava_lang_StringLjava_lang_String() 209 .getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 730 base + "temp.tst", f.getAbsolutePath()); in test_getAbsolutePath() 736 f.getAbsolutePath()); in test_getAbsolutePath() 741 f.getAbsolutePath()); in test_getAbsolutePath() [all …]
|
D | FileOutputStreamTest.java | 82 String fileName = f.getAbsolutePath(); in test_ConstructorLjava_io_FileDescriptor() 97 String fileName = f.getAbsolutePath(); in test_ConstructorLjava_lang_String() 172 String fileName = f.getAbsolutePath(); in test_getFD()
|
D | FileInputStreamTest.java | 100 fos = new FileOutputStream(f.getAbsolutePath()); in setUp() 106 fileName = f.getAbsolutePath(); in setUp()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ClassLoaderDalvik.java | 41 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), in getClassLoader()
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
D | StreamResult.java | 161 this.systemId = FilePathToURI.filepath2URI(f.getAbsolutePath()); in setSystemId()
|
D | StreamSource.java | 246 this.systemId = FilePathToURI.filepath2URI(f.getAbsolutePath()); in setSystemId()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParser.java | 290 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse() 319 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse()
|
D | DocumentBuilder.java | 176 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldFilePreferencesImplTest.java | 36 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | PreferencesTest.java | 66 new TestPreferencesFactory(temporaryDirectory.getAbsolutePath())); in setUp()
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | AbstractMetricInstrumentation.java | 110 + dir.getAbsolutePath()); in resolveOutputDirectory()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | RetentionPolicyTest.java | 74 classLoader = new PathClassLoader(jarFile.getAbsolutePath(), myClassLoader); in openClassLoader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 151 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/") in test_getJarFile29() 219 URL url = new URL("jar:file:" + file.getAbsolutePath() + "!/entry.txt"); in test_getInputStream_DeleteJarFileUsingURLConnection()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 147 tempFileName = tempFile.getAbsolutePath(); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | FilePreferencesImplTest.java | 37 = new AbstractPreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()); in setUp()
|