/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldAttributesNameTest.java | 30 new Attributes.Name(null); in test_AttributesName_Constructor() 38 Attributes.Name attr1 = new Attributes.Name("Attr"); in test_equalsLjava_lang_Object() 39 Attributes.Name attr2 = new Attributes.Name("Attr"); in test_equalsLjava_lang_Object() 42 attr2 = new Attributes.Name("Attr1"); in test_equalsLjava_lang_Object() 47 Attributes.Name attr1 = new Attributes.Name("Attr1"); in test_hashCode() 48 Attributes.Name attr2 = new Attributes.Name("Attr2"); in test_hashCode() 56 Attributes.Name attr1 = new Attributes.Name(str1); in test_toString() 57 Attributes.Name attr2 = new Attributes.Name("Attr2"); in test_toString()
|
D | OldAttributesTest.java | 56 .get(new Attributes.Name("1"))); in test_getLjava_lang_Object_true() 63 .getValue(new Attributes.Name("1"))); in test_getValueLjava_util_jar_Attributes_Name() 65 .getValue(new Attributes.Name("0"))); in test_getValueLjava_util_jar_Attributes_Name() 79 b.put(new Attributes.Name("1"), "one"); in test_putValueLjava_lang_StringLjava_lang_String() 81 b.put(new Attributes.Name("3"), "three"); in test_putValueLjava_lang_StringLjava_lang_String()
|
D | OldManifestTest.java | 150 assertEquals("image/pr0n", doRoundTrip(Attributes.Name.MANIFEST_VERSION)); in test_write_no_version() 157 m1.getMainAttributes().put(Attributes.Name.CONTENT_TYPE, "image/pr0n"); 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()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 116 return (String)get(new Attributes.Name(name)); in getValue() 132 public String getValue(Name name) { in getValue() 148 return map.put((Attributes.Name)name, (String)value); in put() 168 return (String)put(new Name(name), value); in putValue() 303 ((Name)e.getKey()).toString()); in write() 330 String vername = Name.MANIFEST_VERSION.toString(); in writeMain() 333 vername = Name.SIGNATURE_VERSION.toString(); in writeMain() 346 String name = ((Name)e.getKey()).toString(); in writeMain() 447 public static class Name { class in Attributes 459 public Name(String name) { in Name() method in Attributes.Name [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | AttributesTest.java | 69 assertTrue("Should have returned true", a.containsKey(new Attributes.Name("1"))); in test_containsKeyLjava_lang_Object() 100 assertTrue("a) Should contain key", keySet.contains(new Attributes.Name("1"))); in test_entrySet() 101 assertTrue("b) Should contain key", keySet.contains(new Attributes.Name("2"))); in test_entrySet() 102 assertTrue("c) Should contain key", keySet.contains(new Attributes.Name("3"))); in test_entrySet() 103 assertTrue("d) Should contain key", keySet.contains(new Attributes.Name("4"))); in test_entrySet() 131 assertTrue("a) Should contain entry", s.contains(new Attributes.Name("1"))); in test_keySet() 132 assertTrue("b) Should contain entry", s.contains(new Attributes.Name("2"))); in test_keySet() 133 assertTrue("c) Should contain entry", s.contains(new Attributes.Name("3"))); in test_keySet() 134 assertTrue("d) Should contain entry", s.contains(new Attributes.Name("4"))); in test_keySet() 151 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); in test_putAllLjava_util_Map() [all …]
|
D | ManifestTest.java | 218 new Attributes.Name(ATT_ATT_NAME))); in testGetAttributes() 229 new Attributes.Name(ATT_ATT_NAME))); in testGetEntries() 239 .get(Attributes.Name.MANIFEST_VERSION)); in testGetMainAttributes() 255 m.getMainAttributes().put(new Attributes.Name(headerName.toString()), in testWrite() 413 .put(Attributes.Name.IMPLEMENTATION_VENDOR, vendor); in testDecoding() 415 Attributes.Name.IMPLEMENTATION_VENDOR, vendor); in testDecoding() 417 Attributes.Name.SPECIFICATION_TITLE, spec); in testDecoding() 424 Attributes.Name.IMPLEMENTATION_VENDOR)); in testDecoding() 426 Attributes.Name.IMPLEMENTATION_VENDOR)); in testDecoding() 428 Attributes.Name.SPECIFICATION_TITLE)); in testDecoding()
|
D | JarOutputStreamTest.java | 47 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 48 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 49 att.put(Attributes.Name.CLASS_PATH, barZip.getName()); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
|
D | AttributesNameTest.java | 32 new Attributes.Name( in testAttributesNameConstructor()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 46 import java.util.jar.Attributes.Name; 503 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in Package() 504 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package() 505 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in Package() 506 implTitle = attr.getValue(Name.IMPLEMENTATION_TITLE); in Package() 507 implVersion = attr.getValue(Name.IMPLEMENTATION_VERSION); in Package() 508 implVendor = attr.getValue(Name.IMPLEMENTATION_VENDOR); in Package() 509 sealed = attr.getValue(Name.SEALED); in Package() 514 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in Package() 517 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 49 import java.util.jar.Attributes.Name; 499 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in definePackage() 500 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage() 501 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in definePackage() 502 implTitle = attr.getValue(Name.IMPLEMENTATION_TITLE); in definePackage() 503 implVersion = attr.getValue(Name.IMPLEMENTATION_VERSION); in definePackage() 504 implVendor = attr.getValue(Name.IMPLEMENTATION_VENDOR); in definePackage() 505 sealed = attr.getValue(Name.SEALED); in definePackage() 510 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in definePackage() 513 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage() [all …]
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 101 name_opt = ca_default # Subject Name options 146 countryName = Country Name (2 letter code) 151 stateOrProvinceName = State or Province Name (full name) 154 localityName = Locality Name (eg, city) 157 0.organizationName = Organization Name (eg, company) 160 organizationalUnitName = Organizational Unit Name (eg, section) 163 commonName = Common Name (eg, your name or your server\'s hostname)
|
/libcore/dom/src/test/resources/META-INF/ |
D | MANIFEST.MF | 9 Name: org/w3c/domts/level2/core
|
/libcore/support/src/test/java/tests/resources/manifest/ |
D | hyts_MANIFEST.MF | 2 Bundle-Name: ClientSupport
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 62 .get(new java.util.jar.Attributes.Name("Digest-Algorithms"))); in test_getAttributes() 202 .get(java.util.jar.Attributes.Name.MANIFEST_VERSION)); in test_getMainAttributes()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldJarURLConnectionTest.java | 62 .get(new java.util.jar.Attributes.Name("Digest-Algorithms"))); in test_getAttributes() 273 .get(java.util.jar.Attributes.Name.MANIFEST_VERSION)); in test_getMainAttributes()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 38 import java.util.jar.Attributes.Name; 1210 String value = attr.getValue(Name.CLASS_PATH);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 284 sf.getMainAttributes().getValue(Attributes.Name.SIGNATURE_VERSION); in processImpl()
|