Home
last modified time | relevance | path

Searched defs:jarFile (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java161 JarFile jarFile = new JarFile(new File("Wrong.file")); in test_ConstructorLjava_io_File() local
169 JarFile jarFile = new JarFile(file); in test_ConstructorLjava_io_File() local
181 JarFile jarFile = new JarFile("Wrong.file"); in test_ConstructorLjava_lang_String() local
190 JarFile jarFile = new JarFile(fileName); in test_ConstructorLjava_lang_String() local
202 JarFile jarFile = new JarFile("Wrong.file", false); in test_ConstructorLjava_lang_StringZ() local
211 JarFile jarFile = new JarFile(fileName, true); in test_ConstructorLjava_lang_StringZ() local
223 JarFile jarFile = new JarFile(new File("Wrong.file"), true); in test_ConstructorLjava_io_FileZ() local
231 JarFile jarFile = new JarFile(file, false); in test_ConstructorLjava_io_FileZ() local
243 JarFile jarFile = new JarFile(new File("Wrong.file"), true, in test_ConstructorLjava_io_FileZI() local
252 JarFile jarFile = new JarFile(file, false, ZipFile.OPEN_READ); in test_ConstructorLjava_io_FileZI() local
[all …]
DJarEntryTest.java37 private JarFile jarFile; field in JarEntryTest
127 JarFile jarFile = new JarFile(file); in testCertificatesAndCodesigners() local
161 JarFile jarFile = new JarFile(file); in test_getCodeSigners() local
DManifestTest.java62 JarFile jarFile = new JarFile(new File(resources, fileName)); in getManifest() local
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarFileFactory.java59 URLConnection getConnection(JarFile jarFile) throws IOException { in getConnection()
112 public void close(JarFile jarFile) { in close()
152 private Permission getPermission(JarFile jarFile) { in getPermission()
DJarURLConnection.java74 private JarFile jarFile; field in JarURLConnection
DURLJarFile.java286 public void close(JarFile jarFile); in close()
/libcore/luni/src/test/java/libcore/io/
DClassPathURLStreamHandlerTest.java50 private File jarFile; field in ClassPathURLStreamHandlerTest
151 File jarFile, String entryName, URLStreamHandler streamHandler) throws IOException { in assertOpenConnectionConnectFails()
168 private static void assertOpenConnectionOk(File jarFile, String entryName, in assertOpenConnectionOk()
217 private static URL createJarUrl(File jarFile, String entryName, URLStreamHandler streamHandler) in createJarUrl()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java44 private final JarFile jarFile; field in ClassPathURLStreamHandler
97 static ZipEntry findEntryWithDirectoryFallback(JarFile jarFile, String entryName) { in findEntryWithDirectoryFallback()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java41 private URL copyAndOpenResourceStream(String jarFile, String inFile) in copyAndOpenResourceStream()
143 File jarFile = File.createTempFile("1+2 3", "test.jar"); in test_getJarFile29() local
211 FileOutputStream jarFile = new FileOutputStream(file); in test_getInputStream_DeleteJarFileUsingURLConnection() local
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java46 private URL createContent(String jarFile, String inFile) in createContent()
211 File jarFile = File.createTempFile("1+2 3", "test.jar"); in test_getJarFile29() local
291 File jarFile = File.createTempFile("file", ".jar", tmpDir); in test_getInputStream_DeleteJarFileUsingURLConnection() local
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarEntryTest.java32 private JarFile jarFile; field in OldJarEntryTest
DOldJarFileTest.java110 JarFile jarFile = new JarFile(new File(resources, modifiedJarName), true); in test_close() local
/libcore/luni/src/test/java/libcore/java/nio/file/
DFileSystemsTest.java182 File jarFile = new File(filesSetup.getTestDir().toString(), "filesystemstset.jar"); in createClassLoaderForTestFileSystems() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java39 JarFile jarFile = new JarFile(file); in checkJarCertificates() local
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java111 JarFile jarFile = new JarFile(f, true /* verify */, ZipFile.OPEN_READ); in test_classLoader_tampered_certificate_loadsOK_nullCertificates() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java229 private static boolean isJarFileClosed(JarFile jarFile) { in isJarFileClosed()