/libcore/ojluni/src/main/java/java/lang/ |
D | Character.java | 706 private UnicodeBlock(String idName, String... aliases) { in UnicodeBlock() argument 708 for (String alias : aliases) in UnicodeBlock() 4388 private static HashMap<String, Character.UnicodeScript> aliases; field in Character.UnicodeScript 4390 aliases = new HashMap<>(128); 4391 aliases.put("ARAB", ARABIC); 4392 aliases.put("ARMI", IMPERIAL_ARAMAIC); 4393 aliases.put("ARMN", ARMENIAN); 4394 aliases.put("AVST", AVESTAN); 4395 aliases.put("BALI", BALINESE); 4396 aliases.put("BAMU", BAMUM); [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyStoreSpi.java | 29 Map<String, Object> aliases = new HashMap<String, Object>(); field in TestKeyStoreSpi 56 aliases.put("certalias", CERT); in TestKeyStoreSpi() 57 aliases.put("chainalias", CERTCHAIN); in TestKeyStoreSpi() 58 aliases.put("keyalias", KEY); in TestKeyStoreSpi() 59 aliases.put("unknownalias", FAKE); in TestKeyStoreSpi() 64 return Collections.enumeration(aliases.keySet()); in engineAliases() 69 return aliases.containsKey(alias); in engineContainsAlias() 79 return (Certificate) aliases.get(alias); in engineGetCertificate() 88 for (Map.Entry<String, Object> alias : aliases.entrySet()) { in engineGetCertificateAlias() 99 return (Certificate[]) aliases.get(alias); in engineGetCertificateChain() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | ZoneName.java | 34 if (mzone == null && aliases.containsKey(zid)) { in toZid() 35 zid = aliases.get(zid); in toZid() 50 if (aliases.containsKey(zid)) { in toZid() 51 return aliases.get(zid); in toZid() 755 private static final Map<String, String> aliases = new HashMap<>(); field in ZoneName 774 aliases.put(aliasMap[i], aliasMap[i + 1]); in aliases.put()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | AbstractCharsetTestCase.java | 35 protected final String[] aliases; field in AbstractCharsetTestCase 68 String[] aliases, boolean canEncode, boolean isRegistered) { in AbstractCharsetTestCase() argument 73 this.aliases = aliases; in AbstractCharsetTestCase() 104 for (int i = 0; i < this.aliases.length; i++) { in testAliases() 105 Charset c = Charset.forName(this.aliases[i]); in testAliases()
|
D | CharsetTest.java | 85 … System.err.println("isRegistered was false for " + name + " " + cs.name() + " " + cs.aliases()); in test_isRegistered() 87 …assertTrue("isRegistered was false for " + name + " " + cs.name() + " " + cs.aliases(), cs.isRegis… in test_isRegistered() 92 …assertFalse("isRegistered was true for " + name + " " + cs.name() + " " + cs.aliases(), cs.isRegis… in test_isRegistered() 391 assertEquals("mock", c.aliases().toArray()[0]); in testConstructor_Normal() 392 assertEquals(1, c.aliases().toArray().length); in testConstructor_Normal() 437 assertEquals(0, c.aliases().toArray().length); in testConstructor_NullAliases() 453 assertEquals(0, c.aliases().toArray().length); in testConstructor_NoAliases() 490 assertEquals(3, c.aliases().size()); in testAliases_Multiple() 491 assertTrue(c.aliases().contains("mock")); in testAliases_Multiple() 492 assertTrue(c.aliases().contains(mockName)); in testAliases_Multiple() [all …]
|
D | CharsetEncoder2Test.java | 123 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument 124 super(canonicalName, aliases); in MockMalfunctionCharset()
|
D | CharsetDecoder2Test.java | 133 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument 134 super(canonicalName, aliases); in MockMalfunctionCharset()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreBuilderTest.java | 299 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter() 300 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter() 320 for (Enumeration<String> aliases = ks1.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter() 321 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter() 353 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter() 354 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter() 364 for (Enumeration<String> iter = ks1.aliases(); iter.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter()
|
D | ProviderServiceTest.java | 241 String className, List<String> aliases, in MyService() argument 243 super(provider, type, algorithm, className, aliases, attributes); in MyService()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | CodeSourceTest.java | 62 for (Enumeration<String> aliases = keyStore.aliases(); aliases.hasMoreElements(); ) { in createCodeSigner() 63 String alias = aliases.nextElement(); in createCodeSigner()
|
D | ProtectionDomainTest.java | 94 for (Enumeration<String> aliases = keyStore.aliases(); aliases.hasMoreElements(); ) { in createCodeSigner() 95 String alias = aliases.nextElement(); in createCodeSigner()
|
D | ProviderTest.java | 267 Map<String,String> aliases = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in test_Provider_Properties() local 290 aliases.put(key, type + "." + value); in test_Provider_Properties() 314 for (Entry<String,String> entry : aliases.entrySet()) { in test_Provider_Properties()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 343 for (String alias : cs.aliases()) { in cache() 672 private final String[] aliases; // tickles a bug in oldjavac 688 protected Charset(String canonicalName, String[] aliases) { 690 String[] as = (aliases == null) ? new String[0] : aliases; 694 this.aliases = as; 711 public final Set<String> aliases() { 714 int n = aliases.length; 717 hs.add(aliases[i]);
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidLocaleTest.java | 166 Set<String> aliases = cs.aliases(); in testICUConverters() local 167 System.out.println(cs.name() + ": " + aliases); in testICUConverters()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/ |
D | Charset.java | 34 protected Charset(java.lang.String canonicalName, java.lang.String[] aliases) { in Charset() argument 98 public final java.util.Set<java.lang.String> aliases() { in aliases() method in Charset 154 private final java.lang.String[] aliases; field in Charset 157 aliases = new java.lang.String[0];
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXParameters.java | 148 Enumeration<String> aliases = keystore.aliases(); in PKIXParameters() local 149 while (aliases.hasMoreElements()) { in PKIXParameters() 150 String alias = aliases.nextElement(); in PKIXParameters()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 1432 private List<String> aliases; field in Provider.Service 1460 aliases = Collections.<String>emptyList(); in Service() 1469 if (aliases.isEmpty()) { in addAlias() 1470 aliases = new ArrayList<String>(2); in addAlias() 1472 aliases.add(alias); in addAlias() 1497 String className, List<String> aliases, in Service() argument 1507 if (aliases == null) { in Service() 1508 this.aliases = Collections.<String>emptyList(); in Service() 1510 this.aliases = new ArrayList<String>(aliases); in Service() 1561 return aliases; in getAliases() [all …]
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestKeyManager.java | 156 private String[] dumpAliases(String[] aliases) { in dumpAliases() argument 158 for (String alias : aliases) { in dumpAliases() 163 return aliases; in dumpAliases()
|
D | TestSSLContext.java | 334 for (String alias: Collections.list(keyStore.aliases())) { in assertCertificateInKeyStore() 350 for (String alias: Collections.list(keyStore.aliases())) { in assertCertificateInKeyStore()
|
/libcore/ojluni/src/main/resources/sun/nio/cs/ |
D | standard-charsets | 44 # IANA aliases 56 # Other aliases 108 # IANA aliases 117 # Other aliases 214 # Other aliases
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | AnchorCertificates.java | 61 Enumeration<String> list = cacerts.aliases(); in AccessController.doPrivileged()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 741 private void assertKnownAliases(String[] aliases) { in assertKnownAliases() argument 742 for (String alias : aliases) { in assertKnownAliases()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 833 for (String alias : Collections.list(keyStore.aliases())) { in privateKey() 888 for (String alias : Collections.list(keyStore.aliases())) { in issuer() 980 for (String alias : Collections.list(keyStore.aliases())) { in rootCertificate() 1048 for (String alias : Collections.list(src.aliases())) { in copySelfSignedCertificates() 1071 for (String alias : Collections.list(src.aliases())) { in copyCertificate() 1105 for (String alias : Collections.list(keyStore.aliases())) { in dump()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 71 assertTrue("keystore is empty", keyStore.aliases() in testKeyStoreLoad()
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 115 … algorithm, java.lang.String className, java.util.List<java.lang.String> aliases, java.util.Map<ja… in Service() argument
|