Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java248 public JarEntry getJarEntry() throws IOException { in getJarEntry() method in JarURLConnection
249 return getJarFile().getJarEntry(entryName); in getJarEntry()
265 JarEntry e = getJarEntry(); in getAttributes()
306 JarEntry e = getJarEntry(); in getCertificates()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarEntryTest.java72 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); in test_ConstructorLjava_util_jar_JarEntry()
107 jarEntry = attrJar.getJarEntry(attEntryName); in test_getAttributes()
111 jarEntry = attrJar.getJarEntry(attEntryName2); in test_getAttributes()
128 JarEntry jarEntry1 = jarFile.getJarEntry("Test.class"); in testCertificatesAndCodesigners()
129 JarEntry jarEntry2 = jarFile.getJarEntry("Test.class"); in testCertificatesAndCodesigners()
162 JarEntry jarEntry = jarFile.getJarEntry("Test.class"); in test_getCodeSigners()
DJarFileTest.java352 assertEquals("Error in returned entry", 311, jarFile.getJarEntry( in test_getJarEntryLjava_lang_String()
365 jarFile.getJarEntry(je.getName()); in test_getJarEntryLjava_lang_String()
373 jarFile.getJarEntry(je.getName()); in test_getJarEntryLjava_lang_String()
506 JarEntry entry = jar.getJarEntry(entryName3); in test_getInputStreamLjava_util_jar_JarEntry_subtest0()
702 ZipEntry zipEntry = jarFile.getJarEntry(integrateJarEntry); in testJarVerificationModifiedEntry()
708 ZipEntry zipEntry = jarFile.getJarEntry(integrateJarEntry); in testJarVerificationModifiedEntry()
942 ZipEntry zipEntry = jarFile.getJarEntry(emptyEntry1); in testJarVerificationEmptyEntry()
946 zipEntry = jarFile.getJarEntry(emptyEntry2); in testJarVerificationEmptyEntry()
950 zipEntry = jarFile.getJarEntry(emptyEntry3); in testJarVerificationEmptyEntry()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarEntryTest.java56 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); in test_ConstructorLjava_util_jar_JarEntry_on_null()
93 jarEntry = attrJar.getJarEntry("META-INF/"); in test_getAttributes()
129 JarEntry je = jarFile.getJarEntry(entryName); in test_ConstructorLjava_util_jar_JarEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java60 java.util.jar.Attributes a = juc.getJarEntry().getAttributes(); in test_getAttributes()
89 .getJarEntry().getName()); in test_getJarEntry()
92 assertNull("Returned incorrect JarEntry", juc.getJarEntry()); in test_getJarEntry()
167 JarEntry jarEntry1 = connection.getJarEntry(); in test_setUseCaches()
173 JarEntry jarEntry2 = connection.getJarEntry(); in test_setUseCaches()
251 .getJarEntry().getName()); in test_getCertificates()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java80 JarEntry je = juc.getJarEntry(); in test_getCertificates()
141 .getJarEntry().getName()); in test_getJarEntry()
146 assertNull("Returned incorrect JarEntry", juc.getJarEntry()); in test_getJarEntry()
152 juConn.getJarEntry(); in test_getJarEntry()
236 JarEntry jarEntry1 = connection.getJarEntry(); in test_setUseCaches()
240 JarEntry jarEntry2 = connection.getJarEntry(); in test_setUseCaches()
/libcore/ojluni/src/main/java/java/util/jar/
DJarFile.java232 public JarEntry getJarEntry(String name) { in getJarEntry() method in JarFile
381 JarEntry e = getJarEntry(names[i]); in initializeVerifier()
473 (JarEntry) ze : getJarEntry(ze.getName()), in getInputStream()
508 manEntry = getJarEntry(MANIFEST_NAME); in getManEntry()
517 manEntry = getJarEntry(names[i]); in getManEntry()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java93 public JarEntry getJarEntry() throws IOException { in getJarEntry() method in JarURLConnection
189 result = getJarEntry().getSize(); in getContentLengthLong()
/libcore/ojluni/src/main/java/javax/crypto/
DJarVerifier.java105 JarEntry je = jf.getJarEntry("cryptoPerms"); in verify()
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java204 standardJarUrlConnection.getJarEntry().getName(), in assertBehaviorSame()
205 actualJarUrlConnection.getJarEntry().getName()); in assertBehaviorSame()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java196 return (int) getJarEntry().getSize(); in getContentLength()
/libcore/ojluni/annotations/hiddenapi/java/util/jar/
DJarFile.java70 public java.util.jar.JarEntry getJarEntry(java.lang.String name) { in getJarEntry() method in JarFile
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java40 JarEntry je = jarFile.getJarEntry("AndroidManifest.xml"); in checkJarCertificates()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java137 JarEntry e = jar.getJarEntry(INDEX_NAME); in getJarIndex()
DURLClassPath.java1062 final JarEntry entry = jar.getJarEntry(name);
1149 final JarEntry entry = newLoader.jar.getJarEntry(name);
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java2822 JarEntry ent = ((JarURLConnection)connection).getJarEntry(); in needsReload()