/libcore/ojluni/src/main/java/java/lang/ |
H A D | SecurityManager.java | 167 public void checkPropertyAccess(String key) { } argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | RuleBasedCollatorTest.java | 221 CollationKey key = coll.getCollationKey(text); 222 key.hashCode(); 226 assertEquals(0, key.compareTo(key2));
|
/libcore/json/src/test/java/org/json/ |
H A D | ParsingTest.java | 202 assertParseFail("{\"key\":}"); 204 assertParseFail("{\"key\":true:}"); 260 String key = (String) i.next(); 261 result.put(key, canonicalize(object.get(key)));
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyStoreSpiTest.java | 99 @Override public void engineSetKeyEntry(String alias, Key key, char[] password, 251 public void verify(PublicKey key) throws CertificateException, argument 256 public void verify(PublicKey key, String sigProvider) argument
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | XMLUtils.java | 63 " key CDATA #REQUIRED>"; 123 if (entry.hasAttribute("key")) { 126 props.setProperty(entry.getAttribute("key"), val); 153 for (String key : props.stringPropertyNames()) { 156 entry.setAttribute("key", key); 157 entry.appendChild(doc.createTextNode(props.getProperty(key)));
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | JarIndex.java | 150 * Add the key, value pair to the hashmap, the value will 153 private void addToList(String key, String value, HashMap t) { argument 154 LinkedList list = (LinkedList)t.get(key); 158 t.put(key, list); 167 * @param fileName the key of the mapping
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | URLJarFile.java | 133 for (String key : superEntries.keySet()) { 134 Attributes at = superEntries.get(key); 135 entries.put(key, (Attributes) at.clone());
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | EPollArrayWrapper.java | 177 Integer key = Integer.valueOf(fd); 178 if ((eventsHigh.get(key) != KILLED) || force) { 179 eventsHigh.put(key, Byte.valueOf(events));
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | SunX509KeyManagerImpl.java | 42 * All key entries containing a PrivateKey and a non-empty chain of 131 Key key = ks.getKey(alias, password); 132 if (key instanceof PrivateKey == false) { 146 X509Credentials cred = new X509Credentials((PrivateKey)key, 151 System.out.println("found key for : " + alias); 180 * Returns the key associated with the given alias 196 * socket given the public key type and the list of 223 * <code>SSLEngine</code> connection given the public key type 240 * socket given the public key type and the list of 278 * <code>SSLEngine</code> connection given the public key typ [all...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Proxy.java | 399 /* collect interface names to use as key for proxy class cache */ 451 List<String> key = Arrays.asList(interfaceNames); 472 * the key. This lookup will result in one of three possible 490 Object value = cache.get(key); 515 cache.put(key, pendingGenerationMarker); 585 cache.put(key, new WeakReference<Class<?>>(proxyClass)); 587 cache.remove(key);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeImpl.java | 698 public final Object setUserData(String key, Object data, UserDataHandler handler) { argument 699 if (key == null) { 700 throw new NullPointerException("key == null"); 704 ? map.remove(key) 705 : map.put(key, new UserData(data, handler)); 709 public final Object getUserData(String key) { argument 710 if (key == null) { 711 throw new NullPointerException("key == null"); 714 UserData userData = map.get(key);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | X509CRLImpl.java | 331 * private key that corresponds to the given public key. 333 * @param key the PublicKey used to carry out the verification. 337 * @exception InvalidKeyException on incorrect key. 342 public void verify(PublicKey key) argument 345 verify(key, ""); 350 * private key that corresponds to the given public key, 354 * @param key the PublicKey used to carry out the verification. 359 * @exception InvalidKeyException on incorrect key 364 verify(PublicKey key, String sigProvider) argument 415 sign(PrivateKey key, String algorithm) argument 435 sign(PrivateKey key, String algorithm, String provider) argument [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherTest.java | 125 // leading zeroes in the underlying key material are lost. 249 Key key = ENCRYPT_KEYS.get(algorithm); 250 if (key != null) { 251 return key; 257 key = kf.generatePrivate(keySpec); 260 key = skf.generateSecret(new PBEKeySpec("secret".toCharArray())); 263 key = kg.generateKey(); 265 ENCRYPT_KEYS.put(algorithm, key); 266 return key; 271 Key key 2933 public final byte[] key; field in class:CipherTest.CipherTestParam 2945 CipherTestParam(String transformation, byte[] key, byte[] iv, byte[] aad, byte[] plaintext, byte[] plaintextPadded, byte[] ciphertext) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | PriorityBlockingQueue.java | 51 * secondary key to break ties in primary priority values. For 327 Comparable<? super T> key = (Comparable<? super T>) x; 331 if (key.compareTo((T) e) >= 0) 336 array[k] = key; 365 Comparable<? super T> key = (Comparable<? super T>)x; 374 if (key.compareTo((T) c) <= 0) 379 array[k] = key;
|
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | ProviderTest.java | 191 String key = (String)k; 195 if (key.startsWith("Provider.id ")) { 200 if (key.indexOf(' ') != -1) { 204 Matcher m = alias.matcher(key); 207 aliases.put(key, type + "." + value); 209 implementations.put(key, value);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS7.java | 913 public void verify(PublicKey key) throws CertificateException, NoSuchAlgorithmException, argument 915 wrapped.verify(key); 919 public void verify(PublicKey key, String sigProvider) argument 922 wrapped.verify(key, sigProvider); 961 public void verify(PublicKey key, Provider sigProvider) throws CertificateException, argument 963 wrapped.verify(key, sigProvider);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | ICU.java | 174 // containing all "keywords" it could parse. An ICU keyword is a key-value pair 178 // - A unicode extension attribute list: In this case the item key is "attribute" 180 // - A unicode extension keyword: In this case, the item key will be larger than 182 // - A BCP-47 extension subtag: In this case, the item key will be exactly one 193 // This is the special key for the unicode attributes 291 String key = skeleton + "\t" + languageTag; 293 String pattern = CACHED_PATTERNS.get(key); 296 CACHED_PATTERNS.put(key, pattern);
|
H A D | RelativeDateTimeFormatter.java | 340 String key = locale + "\t" + style + "\t" + displayContext; 341 android.icu.text.RelativeDateTimeFormatter formatter = CACHED_FORMATTERS.get(key); 345 CACHED_FORMATTERS.put(key, formatter);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONObject.java | 134 String key = (String) entry.getKey(); 135 if (key == null) { 136 throw new NullPointerException("key == null"); 138 nameValuePairs.put(key, wrap(entry.getValue())); 720 stringer.key(entry.getKey()).value(entry.getValue());
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
H A D | X509Factory.java | 203 Object key = new Cache.EqualByteArray(encoding); 204 Object value = cache.get(key); 216 Object key = new Cache.EqualByteArray(encoding); 217 cache.put(key, value);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 349 public void verify(PublicKey key) throws CertificateException, argument 355 public void verify(PublicKey key, String sigProvider) argument 566 public void verify(PublicKey key, String sigProvider) argument 573 public void verify(PublicKey key) throws CertificateException, argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
H A D | SAXParserFactoryTest.java | 129 String key = "javax.xml.parsers.SAXParserFactory = org.apache.harmony.xml.parsers.SAXParserFactoryImpl"; 131 ByteArrayInputStream bis = new ByteArrayInputStream(key.getBytes());
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherInputStream1Test.java | 257 Key key = kg.generateKey(); 260 c.init(Cipher.ENCRYPT_MODE, key);
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CRLTest.java | 108 public void verify(PublicKey key) argument 115 public void verify(PublicKey key, String sigProvider) argument
|
H A D | X509Certificate2Test.java | 236 public void verify(PublicKey key) { argument 239 public void verify(PublicKey key, String sigProvider) { argument
|