/libcore/dom/src/test/resources/META-INF/ |
D | MANIFEST.MF | 2 Class-Path: dom3-xml-apis.jar dom3-xercesImpl.jar xmlParserAPIs.jar x 3 ercesImpl.jar xerces.jar xml4j.jar xmlparserv2.jar crimson.jar parser 4 .jar jaxp.jar xml-apis.jar gnujaxp.jar dom4j-full.jar batik-svg-dom.j 5 ar crimson-parser.jar avalon-run.jar
|
/libcore/luni/src/test/java/dalvik/system/ |
D | create_test_jar.sh | 25 jar cf ./child.jar classes.dex resource.txt 26 cp ./child.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/child.jar 50 jar cf ./parent.jar classes.dex resource.txt resource2.txt 51 cp ./parent.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/parent.jar 70 jar cf ./bootoverride.jar classes.dex android/icu/ICUConfig.properties 71 cp ./bootoverride.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/bootoverride…
|
/libcore/ojluni/annotations/hiddenapi/java/util/jar/ |
D | JarFile.java | 27 package java.util.jar; 59 public java.util.jar.Manifest getManifest() throws java.io.IOException { in getManifest() 63 private synchronized java.util.jar.Manifest getManifestFromReference() in getManifestFromReference() 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() 147 private java.util.jar.JarVerifier jv; 151 private java.util.jar.JarEntry manEntry; [all …]
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 31 import java.util.jar.JarEntry; 32 import java.util.jar.JarFile; 70 File jar = File.createTempFile(name, ".jar"); in extractResourceJar() local 72 FileOutputStream out = new FileOutputStream(jar)) { in extractResourceJar() 75 assertTrue(jar.setReadOnly()); in extractResourceJar() 76 return jar; in extractResourceJar() 80 File jar = extractResourceJar("loading-test"); in testAppUseOfPathClassLoader() local 83 PathClassLoader cl = new PathClassLoader(jar.getPath(), Object.class.getClassLoader()); in testAppUseOfPathClassLoader() 90 assertTrue(jar.delete()); in testAppUseOfPathClassLoader() 95 String jar = "hyts_signed_wrong_cert.jar"; in test_classLoader_tampered_certificate_loadsOK_nullCertificates() local [all …]
|
D | BaseDexClassLoaderTest.java | 72 private File jar; field in BaseDexClassLoaderTest 99 jar = File.createTempFile("loading-test", ".jar"); in extractTestJars() 101 FileOutputStream out = new FileOutputStream(jar)) { in extractTestJars() 114 assertTrue(jar.setReadOnly()); in extractTestJars() 132 assertTrue(jar.delete()); in deleteTestJars() 140 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), in testReporting() 145 String[] contexts = reporter.loadedDexMapping.get(jar.getPath()).split(";"); in testReporting() 158 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), unknownLoader); in testReportingUnknownLoader() 162 assertEquals(Map.of(jar.getPath(), "=UnsupportedClassLoaderContext="), in testReportingUnknownLoader() 168 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), in testNoReportingAfterResetting() [all …]
|
/libcore/ojluni/src/test/ |
D | artrun | 99 bouncycastle-hostdex.jar 100 apache-xml-hostdex.jar 101 core-tests-hostdex.jar 102 core-libart-hostdex.jar 103 conscrypt-hostdex.jar 104 core-ojtests-hostdex.jar # This is the *one* addition that makes our OJ tests actually run. The re… 105 core-oj-hostdex.jar 106 okhttp-hostdex.jar)
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | build.sh | 41 rm -rf loading-test.jar 46 javac -d classes2 ../loading-test2-jar/*.java 51 jar cf loading-test.jar classes.dex -C resources . 56 mv loading-test.jar ${resourceDir}
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarOutputStreamTest.java | 18 package libcore.java.util.jar; 24 import java.util.jar.JarEntry; 25 import java.util.jar.JarOutputStream; 26 import java.util.jar.Manifest;
|
D | Pack200Test.java | 17 package libcore.java.util.jar; 25 import java.util.jar.Pack200;
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | build.sh | 40 rm -rf loading-test2.jar 45 jar cf loading-test2.jar classes.dex -C resources . 49 mv loading-test2.jar ${resourceDir}
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarExceptionTest.java | 18 package org.apache.harmony.tests.java.util.jar; 22 import java.util.jar.JarException; 23 import java.util.jar.Manifest;
|
D | JarOutputStreamTest.java | 17 package org.apache.harmony.tests.java.util.jar; 22 import java.util.jar.Attributes; 23 import java.util.jar.JarOutputStream; 24 import java.util.jar.Manifest;
|
D | AttributesNameTest.java | 18 package org.apache.harmony.tests.java.util.jar; 20 import java.util.jar.Attributes;
|
D | JarFileTest.java | 17 package org.apache.harmony.tests.java.util.jar; 43 import java.util.jar.Attributes; 44 import java.util.jar.JarEntry; 45 import java.util.jar.JarFile; 46 import java.util.jar.JarOutputStream; 47 import java.util.jar.Manifest; 439 JarFile jar = new JarFile(file.getAbsolutePath(), false); in test_getManifest() local 440 assertNotNull("Should find manifest without verifying", jar in test_getManifest() 442 jar.close(); in test_getManifest() 486 try (JarFile jar = new JarFile(signedFile)) { in test_getInputStreamLjava_util_jar_JarEntry_subtest0() argument [all …]
|
/libcore/ojluni/src/main/java/jdk/internal/util/jar/ |
D | JarIndex.java | 26 package jdk.internal.util.jar; 32 import java.util.jar.*; 116 public static JarIndex getJarIndex(JarFile jar) throws IOException { in getJarIndex() argument 118 JarEntry e = jar.getJarEntry(INDEX_NAME); in getJarIndex() 121 index = new JarIndex(jar.getInputStream(e)); in getJarIndex() 262 String jar = jarFiles[i]; in write() local 263 bw.write(jar + "\n"); in write() 264 LinkedList<String> jarlist = jarMap.get(jar); in write()
|
/libcore/ojluni/src/main/java/java/net/ |
D | JarURLConnection.java | 29 import java.util.jar.JarFile; 30 import java.util.jar.JarEntry; 31 import java.util.jar.Attributes; 32 import java.util.jar.Manifest;
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | JarIndex.java | 30 import java.util.jar.*; 49 public static sun.misc.JarIndex getJarIndex(java.util.jar.JarFile jar) in getJarIndex() argument 55 java.util.jar.JarFile jar, sun.misc.MetaIndex metaIndex) throws java.io.IOException { in getJarIndex() argument
|
D | URLClassPath.java | 247 java.util.jar.JarFile getJarFile() { in getJarFile() 259 static java.util.jar.JarFile checkJar(java.util.jar.JarFile jar) in checkJar() argument 264 private java.util.jar.JarFile getJarFile(java.net.URL url) throws java.io.IOException { in getJarFile() 273 java.lang.String name, boolean check, java.util.jar.JarEntry entry) { in checkResource() 325 private java.util.jar.JarFile jar; field in URLClassPath.JarLoader 373 private java.util.jar.JarFile jarfile;
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 30 import java.util.jar.JarFile; 34 import java.util.jar.JarEntry; 35 import java.util.jar.Manifest; 36 import java.util.jar.Attributes; 37 import java.util.jar.Attributes.Name; 54 import jdk.internal.util.jar.JarIndex; 811 private JarFile jar; 847 jar.close(); 852 return jar; 860 if (jar == null) { [all …]
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarVerifier.java | 27 package java.util.jar; 36 import jdk.internal.util.jar.JarIndex; 352 public java.security.cert.Certificate[] getCerts(JarFile jar, JarEntry entry) in getCerts() argument 354 return mapSignersToCertArray(getCodeSigners(jar, entry)); in getCerts() 367 public CodeSigner[] getCodeSigners(JarFile jar, JarEntry entry) in getCodeSigners() argument 376 InputStream s = jar.getInputStream(entry); in getCodeSigners() 701 public synchronized Enumeration<String> entryNames(JarFile jar, final CodeSource[] cs) { in entryNames() argument 725 … final Enumeration<String> enum2 = (matchUnsigned) ? unsignedEntryNames(jar) : emptyEnumeration; in entryNames() 765 public Enumeration<JarEntry> entries2(final JarFile jar, Enumeration<? extends ZipEntry> e) { in entries2() argument 783 entry = jar.newEntry(ze); in entries2() [all …]
|
D | TEST_MAPPING | 7 "include-filter": "libcore.java.util.jar" 10 "include-filter": "org.apache.harmony.tests.java.util.jar"
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 30 import java.util.jar.JarEntry; 31 import java.util.jar.JarFile; 32 import java.util.jar.JarOutputStream; 33 import java.util.jar.Manifest; 60 java.util.jar.Attributes a = juc.getJarEntry().getAttributes(); in test_getAttributes() 62 .get(new java.util.jar.Attributes.Name("Digest-Algorithms"))); in test_getAttributes() 200 java.util.jar.Attributes a = juc.getMainAttributes(); in test_getMainAttributes() 202 .get(java.util.jar.Attributes.Name.MANIFEST_VERSION)); in test_getMainAttributes()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldJarURLConnectionTest.java | 33 import java.util.jar.Attributes; 34 import java.util.jar.JarEntry; 35 import java.util.jar.JarFile; 36 import java.util.jar.JarOutputStream; 37 import java.util.jar.Manifest; 60 java.util.jar.Attributes a = juc.getAttributes(); in test_getAttributes() 62 .get(new java.util.jar.Attributes.Name("Digest-Algorithms"))); in test_getAttributes() 271 java.util.jar.Attributes a = juc.getMainAttributes(); in test_getMainAttributes() 273 .get(java.util.jar.Attributes.Name.MANIFEST_VERSION)); in test_getMainAttributes()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | JarFileBenchmark.java | 21 import java.util.jar.JarFile; 22 import java.util.jar.Manifest;
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | SignatureFileVerifier.java | 71 java.util.jar.JarException, java.security.NoSuchAlgorithmException, in process() 80 java.util.jar.JarException, java.security.NoSuchAlgorithmException, in processImpl() 86 java.util.jar.Manifest sf, in verifyManifestHash() 94 java.util.jar.Manifest sf, sun.security.util.ManifestDigester md) in verifyManifestMainAttrs() 100 java.util.jar.Attributes sfAttr, in verifySection()
|