Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 17 of 17) sorted by relevance

/dalvik/libcore/archive/src/main/java/java/util/jar/
DJarInputStream.java37 private Manifest manifest; field in JarInputStream
80 manifest = new Manifest(this, verify); in JarInputStream()
83 verifier.setManifest(manifest); in JarInputStream()
84 if (manifest != null) { in JarInputStream()
85 verifier.mainAttributesEnd = manifest in JarInputStream()
122 return manifest; in getManifest()
218 if (manifest != null) { in createZipEntry()
219 entry.setAttributes(manifest.getAttributes(name)); in createZipEntry()
DJarOutputStream.java31 private Manifest manifest; field in JarOutputStream
50 manifest = mf; in JarOutputStream()
53 manifest.write(this); in JarOutputStream()
DJarFile.java54 private Manifest manifest; field in JarFile
333 if (manifest != null) { in getManifest()
334 return manifest; in getManifest()
345 manifest = new Manifest(is, verifier != null); in getManifest()
353 return manifest; in getManifest()
366 && manifest == null in readMetaEntries()
413 if (manifest != null) { in getInputStream()
414 verifier.mainAttributesEnd = manifest.getMainAttributesEnd(); in getInputStream()
418 if (manifest != null) { in getInputStream()
419 manifest.removeChunks(); in getInputStream()
DManifest.java332 static void write(Manifest manifest, OutputStream out) throws IOException { in write() argument
336 String version = manifest.mainAttributes in write()
341 Iterator<?> entries = manifest.mainAttributes.keySet().iterator(); in write()
345 writeEntry(out, name, manifest.mainAttributes in write()
351 Iterator<String> i = manifest.getEntries().keySet().iterator(); in write()
355 Attributes attrib = manifest.entries.get(key); in write()
DJarEntry.java85 Manifest manifest = parentJar.getManifest(); in getAttributes() local
86 if (manifest == null) { in getAttributes()
89 return attributes = manifest.getAttributes(getName()); in getAttributes()
DJarVerifier.java296 byte[] manifest = metaEntries.get(JarFile.MANIFEST_NAME); in verifyCertificate()
298 if (manifest == null) { in verifyCertificate()
347 if (!verify(attributes, digestAttribute, manifest, 0, in verifyCertificate()
358 if (!verify(attributes, digestAttribute, manifest, 0, manifest.length, in verifyCertificate()
368 if (!verify(entry.getValue(), "-Digest", manifest, //$NON-NLS-1$ in verifyCertificate()
/dalvik/tools/dexdeps/src/
DAndroid.mk23 LOCAL_JAR_MANIFEST := ../etc/manifest.txt
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DDalvikExecTest.java211 Manifest manifest = new Manifest(); in test_execCreatedJarWithManifest() local
212 Attributes attrs = manifest.getMainAttributes(); in test_execCreatedJarWithManifest()
218 JarOutputStream jarOut = new JarOutputStream(new FileOutputStream(jarFile), manifest); in test_execCreatedJarWithManifest()
252 manifest = jarIn.getManifest(); in test_execCreatedJarWithManifest()
253 attrs = manifest.getMainAttributes(); in test_execCreatedJarWithManifest()
DManifestTest.java146 private void checkManifest(Manifest manifest) { in checkManifest() argument
147 Attributes main = manifest.getMainAttributes(); in checkManifest()
190 Manifest manifest = new Manifest(new URL(Support_Resources in test_ConstructorLjava_io_InputStream() local
192 checkManifest(manifest); in test_ConstructorLjava_io_InputStream()
246 Manifest manifest = new Manifest(new URL(Support_Resources in test_clone() local
248 Manifest manifestClone = (Manifest) manifest.clone(); in test_clone()
DJarFileTest.java602 Manifest manifest = new Manifest(); in test_getManifest() local
603 Attributes attributes = manifest.getMainAttributes(); in test_getManifest()
606 manifest.write(manOut); in test_getManifest()
/dalvik/libcore/luni/src/main/java/java/net/
DURLClassLoader.java370 Manifest manifest = jf.getManifest(); in findClass() local
371 return createClass(entry, manifest, packageName, origName); in findClass()
398 …private Class<?> createClass(JarEntry entry, Manifest manifest, String packageName, String origNam… in createClass() argument
418 if (manifest != null) { in createClass()
419 definePackage(packageDotName, manifest, in createClass()
427 if (manifest != null) { in createClass()
428 if (isSealed(manifest, packageName + "/")) { in createClass()
1060 Manifest manifest = jf.getManifest(); in createURLJarHandler() local
1061 if (manifest != null) { in createURLJarHandler()
1062 String classpath = manifest.getMainAttributes().getValue( in createURLJarHandler()
[all …]
/dalvik/dx/src/
DAndroid.mk11 LOCAL_JAR_MANIFEST := ../etc/manifest.txt
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java482 Manifest manifest = makeManifest(); in createJar() local
484 JarOutputStream jarOut = new JarOutputStream(out, manifest); in createJar()
532 Manifest manifest; in makeManifest() local
537 manifest = new Manifest(); in makeManifest()
538 attribs = manifest.getMainAttributes(); in makeManifest()
541 manifest = new Manifest(new ByteArrayInputStream(manifestBytes)); in makeManifest()
542 attribs = manifest.getMainAttributes(); in makeManifest()
557 return manifest; in makeManifest()
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DURLClassLoaderTest.java398 Manifest manifest = new Manifest(); in test_definePackage() local
411 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage()
422 tucl.definePackage(packageName + "0", manifest, null); in test_definePackage()
DJarURLConnectionTest.java163 Manifest manifest = juc.getManifest(); in test_getManifest() local
164 Map<String, Attributes> attr = manifest.getEntries(); in test_getManifest()
/dalvik/libcore/archive/src/main/java/org/apache/harmony/archive/internal/nls/
Dmessages.properties65 archive.2F=NUL character in a manifest
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DExternalMessages.properties219 K01c6=No Main-Class specified in manifest\: {0}