Searched refs:getMainAttributes (Results 1 – 13 of 13) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldManifestTest.java | 41 .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/ |
D | ManifestTest.java | 81 .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()
|
D | JarOutputStreamTest.java | 46 Attributes att = man.getMainAttributes(); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
|
D | JarFileTest.java | 496 Attributes attributes = manifest.getMainAttributes(); in test_getManifest()
|
/libcore/ojluni/src/main/java/java/net/ |
D | JarURLConnection.java | 282 public Attributes getMainAttributes() throws IOException { in getMainAttributes() method in JarURLConnection 284 return man != null ? man.getMainAttributes() : null; in getMainAttributes()
|
D | URLClassLoader.java | 502 attr = man.getMainAttributes(); in definePackage() 545 if ((attr = man.getMainAttributes()) != null) { in isSealed()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Manifest.java | 78 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/ |
D | JarURLConnectionTest.java | 200 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/ |
D | URLJarFile.java | 148 Attributes attr = man.getMainAttributes(); in getManifest() 179 superAttr = superMan.getMainAttributes(); in isSuperMan()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 284 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/ |
D | OldJarURLConnectionTest.java | 271 java.util.jar.Attributes a = juc.getMainAttributes(); in test_getMainAttributes() 279 juConn.getMainAttributes(); in test_getMainAttributes()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 511 attr = man.getMainAttributes(); in Package()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 986 Attributes attr = man.getMainAttributes();
|