/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarInputStream.java | 48 private JarEntry first; 83 JarEntry e = (JarEntry)super.getNextEntry(); in JarInputStream() 85 e = (JarEntry)super.getNextEntry(); in JarInputStream() 89 private JarEntry checkManifest(JarEntry e) in checkManifest() 101 return (JarEntry)super.getNextEntry(); in checkManifest() 140 JarEntry e; in getNextEntry() 142 e = (JarEntry)super.getNextEntry(); in getNextEntry() 178 public JarEntry getNextJarEntry() throws IOException { in getNextJarEntry() 179 return (JarEntry)getNextEntry(); in getNextJarEntry() 227 JarEntry e = new JarEntry(name); in createZipEntry()
|
D | JarEntry.java | 37 class JarEntry extends ZipEntry { class 51 public JarEntry(String name) { in JarEntry() method in JarEntry 61 public JarEntry(ZipEntry ze) { in JarEntry() method in JarEntry 71 public JarEntry(JarEntry je) { in JarEntry() method in JarEntry
|
D | JarFile.java | 73 private JarEntry manEntry; 196 JarEntry manEntry = getManEntry(); in getManifestFromReference() 232 public JarEntry getJarEntry(String name) { in getJarEntry() 233 return (JarEntry)getEntry(name); in getJarEntry() 257 private class JarEntryIterator implements Enumeration<JarEntry>, 258 Iterator<JarEntry> 266 public JarEntry next() { in next() 275 public JarEntry nextElement() { in nextElement() 283 public Enumeration<JarEntry> entries() { in entries() 288 public Stream<JarEntry> stream() { in stream() [all …]
|
D | JarVerifier.java | 112 public void beginEntry(JarEntry je, ManifestEntryVerifier mev) in beginEntry() 240 JarEntry je = mev.getEntry(); in processEntry() 348 public java.security.cert.Certificate[] getCerts(JarFile jar, JarEntry entry) in getCerts() 363 public CodeSigner[] getCodeSigners(JarFile jar, JarEntry entry) in getCodeSigners() 447 JarEntry je, in VerifierStream() 761 public Enumeration<JarEntry> entries2(final JarFile jar, Enumeration<? extends ZipEntry> e) { in entries2() 765 return new Enumeration<JarEntry>() { in entries2() 768 JarEntry entry; in entries2() 795 public JarEntry nextElement() { in entries2() 797 JarEntry je = entry; in entries2() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarEntryTest.java | 22 import java.util.jar.JarEntry; 31 private JarEntry jarEntry; 56 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); in test_ConstructorLjava_util_jar_JarEntry_on_null() 61 newJarEntry = new JarEntry(jarEntry); in test_ConstructorLjava_util_jar_JarEntry_on_null() 75 jarEntry = new JarEntry(zipEntry); in test_ConstructorLjava_util_zip_ZipEntry() 105 jarEntry = new JarEntry(entryName); in test_ConstructorLjava_lang_String() 110 jarEntry = new JarEntry((String) null); in test_ConstructorLjava_lang_String() 120 jarEntry = new JarEntry(new String(sb)); in test_ConstructorLjava_lang_String() 129 JarEntry je = jarFile.getJarEntry(entryName); in test_ConstructorLjava_util_jar_JarEntry() 131 jarEntry = new JarEntry(je); in test_ConstructorLjava_util_jar_JarEntry()
|
D | OldJarFileTest.java | 22 import java.util.jar.JarEntry; 138 InputStream in = jf.getInputStream(new JarEntry("invalid")); in test_getInputStreamLjava_util_jar_JarEntry() 145 JarEntry jre = new JarEntry("foo/bar/A.class"); in test_getInputStreamLjava_util_jar_JarEntry() 157 JarEntry jre = new JarEntry("foo/bar/A.class"); in test_getInputStreamLjava_util_jar_JarEntry()
|
D | OldJarOutputStreamTest.java | 24 import java.util.jar.JarEntry; 38 jout.putNextEntry(new JarEntry(entryName)); in test_putNextEntryLjava_util_zip_ZipEntry()
|
/libcore/ojluni/annotations/hiddenapi/java/util/jar/ |
D | JarFile.java | 70 public java.util.jar.JarEntry getJarEntry(java.lang.String name) { in getJarEntry() 78 public java.util.Enumeration<java.util.jar.JarEntry> entries() { in entries() 82 public java.util.stream.Stream<java.util.jar.JarEntry> stream() { in stream() 103 private synchronized java.util.jar.JarEntry getManEntry() { in getManEntry() 119 java.util.jar.JarEntry newEntry(java.util.zip.ZipEntry ze) { in newEntry() 151 private java.util.jar.JarEntry manEntry; 160 implements java.util.Enumeration<java.util.jar.JarEntry>, 161 java.util.Iterator<java.util.jar.JarEntry> { 171 public java.util.jar.JarEntry next() { in next() 179 public java.util.jar.JarEntry nextElement() { in nextElement() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarEntryTest.java | 25 import java.util.jar.JarEntry; 35 private JarEntry jarEntry; 72 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); in test_ConstructorLjava_util_jar_JarEntry() 77 newJarEntry = new JarEntry(jarEntry); in test_ConstructorLjava_util_jar_JarEntry() 88 jarEntry = new JarEntry(zipEntry); in test_ConstructorLjava_util_zip_ZipEntry() 120 jarEntry = new JarEntry(zipEntry); in testCertificatesAndCodesigners() 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() 186 new JarEntry("aaa").getCodeSigners()); in test_getCodeSigners()
|
D | JarFileTest.java | 44 import java.util.jar.JarEntry; 297 Enumeration<JarEntry> e = jarFile.entries(); in test_entries() 324 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() 327 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String() 333 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String() 361 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getJarEntryLjava_lang_String() 364 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String() 370 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String() 487 JarEntry entry = new JarEntry(entryName3); in test_getInputStreamLjava_util_jar_JarEntry_subtest0() 495 JarEntry entry = new JarEntry(entryName3); in test_getInputStreamLjava_util_jar_JarEntry_subtest0() [all …]
|
D | JarInputStreamTest.java | 27 import java.util.jar.JarEntry; 62 JarEntry je = jis.getNextJarEntry(); in test_ConstructorLjava_io_InputStream() 99 JarEntry je = jis.getNextJarEntry(); in test_getNextJarEntry_Ex() 148 JarEntry je = jis.getNextJarEntry(); in test_getNextJarEntry() 418 JarEntry je = jis.getNextJarEntry(); in test_metainf_verification()
|
/libcore/ojluni/src/main/java/java/net/ |
D | JarURLConnection.java | 30 import java.util.jar.JarEntry; 248 public JarEntry getJarEntry() throws IOException { in getJarEntry() 265 JarEntry e = getJarEntry(); in getAttributes() 306 JarEntry e = getJarEntry(); in getCertificates()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 133 if (ze instanceof JarEntry) in getEntry() 134 return new URLJarFileEntry((JarEntry)ze); in getEntry() 256 private class URLJarFileEntry extends JarEntry { 257 private JarEntry je; 259 URLJarFileEntry(JarEntry je) { in URLJarFileEntry()
|
D | JarURLConnection.java | 39 import java.util.jar.JarEntry; 71 private JarEntry jarEntry; 93 public JarEntry getJarEntry() throws IOException { in getJarEntry() 138 jarEntry = (JarEntry)jarFile.getEntry(entryName); in connect()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldJarURLConnectionTest.java | 34 import java.util.jar.JarEntry; 80 JarEntry je = juc.getJarEntry(); in test_getCertificates() 236 JarEntry jarEntry1 = connection.getJarEntry(); in test_setUseCaches() 240 JarEntry jarEntry2 = connection.getJarEntry(); in test_setUseCaches() 296 JarEntry jarEntry = new JarEntry(entry); in test_getInputStream_DeleteJarFileUsingURLConnection()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 30 import java.util.jar.JarEntry; 167 JarEntry jarEntry1 = connection.getJarEntry(); in test_setUseCaches() 173 JarEntry jarEntry2 = connection.getJarEntry(); in test_setUseCaches() 214 JarEntry jarEntry = new JarEntry("entry.txt"); in test_getInputStream_DeleteJarFileUsingURLConnection()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 29 import java.util.jar.JarEntry; 113 JarEntry signedEntry = (JarEntry) jarFile.getEntry(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 71 private JarEntry entry; 92 public void setEntry(String name, JarEntry entry) in setEntry() 179 public JarEntry getEntry() in getEntry()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 30 import java.util.jar.JarEntry; 107 JarEntry jarEntry = new JarEntry("foo"); in testClone() 112 assertEquals(JarEntry.class, clone.getClass()); in testClone()
|
D | OldAndroidZipStressTest.java | 26 import java.util.jar.JarEntry; 40 JarEntry je = jarFile.getJarEntry("AndroidManifest.xml"); in checkJarCertificates()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | JceSecurity.java | 312 Enumeration<JarEntry> entries = jf.entries(); in loadPolicies() 314 JarEntry je = entries.nextElement(); in loadPolicies()
|
D | JarVerifier.java | 105 JarEntry je = jf.getJarEntry("cryptoPerms"); in verify()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 35 import java.util.jar.JarEntry; 975 final JarEntry entry) { 1023 Enumeration<JarEntry> enum_ = jar.entries(); 1062 final JarEntry entry = jar.getJarEntry(name); 1149 final JarEntry entry = newLoader.jar.getJarEntry(name);
|
D | JarIndex.java | 137 JarEntry e = jar.getJarEntry(INDEX_NAME); in getJarIndex()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | URLClassPath.java | 273 java.lang.String name, boolean check, java.util.jar.JarEntry entry) { in checkResource()
|