Home
last modified time | relevance | path

Searched refs:jar (Results 1 – 25 of 73) sorted by relevance

123

/libcore/dom/src/test/resources/META-INF/
DMANIFEST.MF2 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/
Dcreate_test_jar.sh25 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/
DJarFile.java27 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/
DPathClassLoaderTest.java29 import java.util.jar.JarEntry;
30 import java.util.jar.JarFile;
71 File jar = File.createTempFile(name, ".jar"); in extractResourceJar() local
73 FileOutputStream out = new FileOutputStream(jar)) { in extractResourceJar()
77 return jar; in extractResourceJar()
81 File jar = extractResourceJar("loading-test"); in testAppUseOfPathClassLoader() local
84 PathClassLoader cl = new PathClassLoader(jar.getPath(), Object.class.getClassLoader()); in testAppUseOfPathClassLoader()
91 assertTrue(jar.delete()); in testAppUseOfPathClassLoader()
96 String jar = "hyts_signed_wrong_cert.jar"; in test_classLoader_tampered_certificate_loadsOK_nullCertificates() local
98 Support_Resources.copyFile(resources, null, jar); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
[all …]
DBaseDexClassLoaderTest.java65 private File jar; field in BaseDexClassLoaderTest
88 jar = File.createTempFile("loading-test", ".jar"); in extractTestJars()
90 FileOutputStream out = new FileOutputStream(jar)) { in extractTestJars()
113 assertTrue(jar.delete()); in deleteTestJars()
120 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), in testReporting()
125 String[] contexts = reporter.loadedDexMapping.get(jar.getPath()).split(";"); in testReporting()
138 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), unknownLoader); in testReportingUnknownLoader()
142 assertEquals(Map.of(jar.getPath(), "=UnsupportedClassLoaderContext="), in testReportingUnknownLoader()
148 BaseDexClassLoader cl1 = new PathClassLoader(jar.getPath(), in testNoReportingAfterResetting()
153 String[] contexts = reporter.loadedDexMapping.get(jar.getPath()).split(";"); in testNoReportingAfterResetting()
[all …]
/libcore/ojluni/src/test/
Dartrun99 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/
Dbuild.sh41 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/
DOldJarOutputStreamTest.java18 package libcore.java.util.jar;
24 import java.util.jar.JarEntry;
25 import java.util.jar.JarOutputStream;
26 import java.util.jar.Manifest;
DOldJarExceptionTest.java18 package libcore.java.util.jar;
20 import java.util.jar.JarException;
/libcore/luni/src/test/etc/loading-test2-jar/
Dbuild.sh40 rm -rf loading-test2.jar
45 jar cf loading-test2.jar classes.dex -C resources .
49 mv loading-test2.jar ${resourceDir}
/libcore/
DPREUPLOAD.cfg6 checkstyle-luni-json-xml = java -jar ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.jar -c tools/chec…
10 checkstyle-ojluni = java -jar ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.jar -c tools/chec…
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java31 import java.util.jar.*;
118 public static JarIndex getJarIndex(JarFile jar) throws IOException { in getJarIndex() argument
119 return getJarIndex(jar, null); in getJarIndex()
128 public static JarIndex getJarIndex(JarFile jar, MetaIndex metaIndex) throws IOException { in getJarIndex() argument
137 JarEntry e = jar.getJarEntry(INDEX_NAME); in getJarIndex()
140 index = new JarIndex(jar.getInputStream(e)); in getJarIndex()
280 String jar = jarFiles[i]; in write() local
281 bw.write(jar + "\n"); in write()
282 LinkedList<String> jarlist = jarMap.get(jar); in write()
DURLClassPath.java30 import java.util.jar.JarFile;
35 import java.util.jar.JarEntry;
36 import java.util.jar.Manifest;
37 import java.util.jar.Attributes;
38 import java.util.jar.Attributes.Name;
811 private JarFile jar;
873 jar.close();
878 return jar;
886 if (jar == null) {
896 jar = getJarFile(csu);
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarExceptionTest.java18 package org.apache.harmony.tests.java.util.jar;
22 import java.util.jar.JarException;
23 import java.util.jar.Manifest;
DJarOutputStreamTest.java17 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;
DAttributesNameTest.java18 package org.apache.harmony.tests.java.util.jar;
20 import java.util.jar.Attributes;
/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java29 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/
DJarIndex.java30 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
DURLClassPath.java247 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/java/util/jar/
DTEST_MAPPING7 "include-filter": "libcore.java.util.jar"
10 "include-filter": "org.apache.harmony.tests.java.util.jar"
DJarVerifier.java27 package java.util.jar;
348 public java.security.cert.Certificate[] getCerts(JarFile jar, JarEntry entry) in getCerts() argument
350 return mapSignersToCertArray(getCodeSigners(jar, entry)); in getCerts()
363 public CodeSigner[] getCodeSigners(JarFile jar, JarEntry entry) in getCodeSigners() argument
372 InputStream s = jar.getInputStream(entry); in getCodeSigners()
697 public synchronized Enumeration<String> entryNames(JarFile jar, final CodeSource[] cs) { in entryNames() argument
721 … final Enumeration<String> enum2 = (matchUnsigned) ? unsignedEntryNames(jar) : emptyEnumeration; in entryNames()
761 public Enumeration<JarEntry> entries2(final JarFile jar, Enumeration<? extends ZipEntry> e) { in entries2() argument
779 entry = jar.newEntry(ze); in entries2()
787 entry = jar.newEntry(new ZipEntry(name)); in entries2()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java30 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/
DOldJarURLConnectionTest.java33 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/
DJarFileBenchmark.java21 import java.util.jar.JarFile;
22 import java.util.jar.Manifest;
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DSignatureFileVerifier.java71 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()

123