Home
last modified time | relevance | path

Searched refs:getMainAttributes (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldManifestTest.java41 .getMainAttributes().isEmpty()); in test_ConstructorLjava_util_jar_Manifest()
51 Attributes main = manifest.getMainAttributes(); in checkManifest()
82 .getMainAttributes().isEmpty()); in test_clone()
90 manifestClone.getMainAttributes(); in test_clone()
157 m1.getMainAttributes().put(Attributes.Name.CONTENT_TYPE, "image/pr0n"); in doRoundTrip()
159 m1.getMainAttributes().putValue(versionName.toString(), "1.2.3"); in doRoundTrip()
167 return (String) m2.getMainAttributes().get(Attributes.Name.CONTENT_TYPE); in doRoundTrip()
173 m1.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_write_two_versions()
174 m1.getMainAttributes().put(Attributes.Name.SIGNATURE_VERSION, "2.0"); in test_write_two_versions()
175 m1.getMainAttributes().putValue("Aardvark-Version", "3.0"); in test_write_two_versions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DManifestTest.java81 .getMainAttributes().isEmpty()); in testConstructor()
99 Attributes main = manifest.getMainAttributes(); in checkManifest()
149 assertEquals("Should be 4 main attributes", 4, mf.getMainAttributes() in testStreamConstructor()
171 assertTrue("Should have no main attributes", m.getMainAttributes() in testClear()
237 Attributes a = m.getMainAttributes(); in testGetMainAttributes()
255 m.getMainAttributes().put(new Attributes.Name(headerName.toString()), in testWrite()
412 m.getMainAttributes() in testDecoding()
423 assertEquals(vendor, m.getMainAttributes().get( in testDecoding()
DJarOutputStreamTest.java46 Attributes att = man.getMainAttributes(); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
DJarFileTest.java496 Attributes attributes = manifest.getMainAttributes(); in test_getManifest()
/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java282 public Attributes getMainAttributes() throws IOException { in getMainAttributes() method in JarURLConnection
284 return man != null ? man.getMainAttributes() : null; in getMainAttributes()
DURLClassLoader.java502 attr = man.getMainAttributes(); in definePackage()
545 if ((attr = man.getMainAttributes()) != null) { in isSealed()
/libcore/ojluni/src/main/java/java/util/jar/
DManifest.java78 attr.putAll(man.getMainAttributes()); in Manifest()
86 public Attributes getMainAttributes() { in getMainAttributes() method in Manifest
292 return attr.equals(m.getMainAttributes()) && in equals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java200 java.util.jar.Attributes a = juc.getMainAttributes(); in test_getMainAttributes()
239 assertEquals(juc.getMainAttributes(), mf.getMainAttributes()); in test_getManifest()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java148 Attributes attr = man.getMainAttributes(); in getManifest()
179 superAttr = superMan.getMainAttributes(); in isSuperMan()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java284 sf.getMainAttributes().getValue(Attributes.Name.SIGNATURE_VERSION); in processImpl()
356 Attributes mattr = sf.getMainAttributes(); in verifyManifestHash()
400 Attributes mattr = sf.getMainAttributes(); in verifyManifestMainAttrs()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java271 java.util.jar.Attributes a = juc.getMainAttributes(); in test_getMainAttributes()
279 juConn.getMainAttributes(); in test_getMainAttributes()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java511 attr = man.getMainAttributes(); in Package()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java986 Attributes attr = man.getMainAttributes();