Home
last modified time | relevance | path

Searched refs:jf (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DJarVerifier.java84 JarFile jf = null; in verify() local
89 jf = AccessController.doPrivileged( in verify()
104 if (jf != null) { in verify()
105 JarEntry je = jf.getJarEntry("cryptoPerms"); in verify()
112 appPerms.load(jf.getInputStream(je)); in verify()
125 if (jf != null) { in verify()
126 jf.close(); in verify()
DJceSecurity.java310 JarFile jf = new JarFile(jarPathName); in loadPolicies() local
312 Enumeration<JarEntry> entries = jf.entries(); in loadPolicies()
318 is = jf.getInputStream(je); in loadPolicies()
321 is = jf.getInputStream(je); in loadPolicies()
338 jf.close(); in loadPolicies()
339 jf = null; in loadPolicies()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarFileTest.java124 JarFile jf = new JarFile(localFile); in test_getInputStreamLjava_util_jar_JarEntry() local
125 InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
135 jf.close(); in test_getInputStreamLjava_util_jar_JarEntry()
137 jf = new JarFile(localFile); in test_getInputStreamLjava_util_jar_JarEntry()
138 InputStream in = jf.getInputStream(new JarEntry("invalid")); in test_getInputStreamLjava_util_jar_JarEntry()
144 jf = new JarFile(signedFile); in test_getInputStreamLjava_util_jar_JarEntry()
146 jf.getInputStream(jre); in test_getInputStreamLjava_util_jar_JarEntry()
156 jf = new JarFile(signedFile); in test_getInputStreamLjava_util_jar_JarEntry()
158 jf.close(); in test_getInputStreamLjava_util_jar_JarEntry()
159 jf.getInputStream(jre); in test_getInputStreamLjava_util_jar_JarEntry()
/libcore/benchmarks/src/benchmarks/regression/
DJarFileBenchmark.java34 JarFile jf = new JarFile(f); in time() local
35 Manifest m = jf.getManifest(); in time()
36 jf.close(); in time()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java460 JarFile jf = null; in test_getManifest() local
462 jf = new JarFile(file); in test_getManifest()
463 jf.getManifest(); in test_getManifest()
468 IoUtils.closeQuietly(jf); in test_getManifest()
881 try (JarFile jf = new JarFile(localFile)) { in test_getInputStreamLjava_util_jar_JarEntry() argument
882 java.io.InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
896 try (JarFile jf = new JarFile(localFile)) { in test_getInputStreamLjava_util_jar_JarEntry() argument
897 InputStream in = jf.getInputStream(new JarEntry("invalid")); in test_getInputStreamLjava_util_jar_JarEntry()
905 try (JarFile jf = new JarFile(signedFile)) { in test_getInputStreamLjava_util_jar_JarEntry() argument
907 jf.getInputStream(jre); in test_getInputStreamLjava_util_jar_JarEntry()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java81 JarFile jf = juc.getJarFile(); in test_getCertificates() local
82 InputStream is = jf.getInputStream(je); in test_getCertificates()