/dalvik/libcore/xml/src/main/java/org/w3c/dom/ |
H A D | Node.java | 873 * Associate an object to a key on this node. The object can later be 875 * same key. 876 * @param key The key to associate the object to. 877 * @param data The object to associate to the given key, or 878 * <code>null</code> to remove any existing association to that key. 879 * @param handler The handler to associate to that key, or 882 * the given key on this node, or <code>null</code> if there was none. 885 public Object setUserData(String key, argument 890 * Retrieves the object associated to a key o 898 getUserData(String key) argument [all...] |
/dalvik/dx/src/junit/runner/ |
H A D | BaseTestRunner.java | 51 public void setPreference(String key, String value) { argument 52 getPreferences().setProperty(key, value); 235 public static String getPreference(String key) { argument 236 return getPreferences().getProperty(key); 239 public static int getPreference(String key, int dflt) { argument 240 String value= getPreference(key);
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | Mac.java | 188 * Initializes this {@code Mac} instance with the specified key and 191 * @param key 192 * the key to initialize this algorithm. 196 * if the specified key cannot be used to initialize this 202 public final void init(Key key, AlgorithmParameterSpec params) argument 204 if (key == null) { 207 spiImpl.engineInit(key, params); 212 * Initializes this {@code Mac} instance with the specified key. 214 * @param key 215 * the key t 223 init(Key key) argument [all...] |
H A D | Cipher.java | 78 * Constant indicating that the key to be unwrapped is a private key. 83 * Constant indicating that the key to be unwrapped is a public key. 88 * Constant indicating that the key to be unwrapped is a secret key. 93 * Constant for key unwrapping operation mode. 98 * Constant for key wrapping operation mode. 442 * Initializes this cipher instance with the specified key. 445 * encryption, decryption, key wrappin 468 init(int opmode, Key key) argument 510 init(int opmode, Key key, SecureRandom random) argument 554 init(int opmode, Key key, AlgorithmParameterSpec params) argument 599 init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 649 init(int opmode, Key key, AlgorithmParameters params) argument 693 init(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument 1298 wrap(Key key) argument [all...] |
/dalvik/libcore/luni/src/test/java/junit/runner/ |
H A D | BaseTestRunner.java | 51 public void setPreference(String key, String value) { argument 52 getPreferences().setProperty(key, value); 235 public static String getPreference(String key) { argument 236 return getPreferences().getProperty(key); 239 public static int getPreference(String key, int dflt) { argument 240 String value= getPreference(key);
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | OutputPropertiesFactory.java | 39 * of key/value pairs that are used to create a serializer through the 54 * The non-standard property key to use to set the indentation amount. 55 * The "indent" key needs to have a value of "yes", and this 60 * This non-standard property key is used to set the name of the fully qualified 66 * This non-standard property key is used to specify the name of the property file 72 * This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should 76 * This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would 117 * The non-standard property key to use to set the 125 * The non-standard property key to use to set the 132 /** This non-standard property key i [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 58 * values to be used when a given key is not found in this {@code Properties} 77 + " <!ATTLIST entry key CDATA #REQUIRED >"; 106 private void dumpString(StringBuilder buffer, String string, boolean key) { argument 108 if (!key && i < string.length() && string.charAt(i) == ' ') { 129 if ("\\#!=:".indexOf(ch) >= 0 || (key && ch == ' ')) { 204 String key = (String) keys.nextElement(); 205 buffer.append(key); 207 String property = (String) super.get(key); 210 property = (String) def.get(key); 240 String key [all...] |
/dalvik/libcore/security/src/test/java/tests/api/javax/security/cert/ |
H A D | X509CertificateTest.java | 646 public void verify(PublicKey key) throws CertificateException, argument 652 public void verify(PublicKey key, String sigProvider) argument 661 private PublicKey key; field in class:X509CertificateTest.MyModifiablePublicKey 671 this.key = k; 678 return key.getAlgorithm(); 686 return key.getFormat(); 695 return key.getEncoded(); 701 return key.serialVersionUID; 747 PublicKey key = javaxCert.getPublicKey(); 748 assertNotNull(key); [all...] |
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
H A D | JavaLangSystemTest.java | 117 String key; 121 key = null; 125 public void checkPropertyAccess(String key) { 127 this.key = key; 140 System.getProperty("key"); 142 assertEquals("Argument of checkPropertyAccess is not correct", "key", s.key); 145 System.getProperty("key", "value"); 147 assertEquals("Argument of checkPropertyAccess is not correct", "key", [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | HashMapTest.java | 189 map.put("key", "value"); 196 "key", keys.iterator().next()); 198 map2.put("key", "value2"); 235 assertTrue("Returned false for valid key", hm.containsKey(new Integer( 237 assertTrue("Returned true for invalid key", !hm.containsKey("KKDKDKD")); 241 assertTrue("Failed with null key", m.containsKey(null)); 242 assertTrue("Failed with missing key matching null hash", !m 332 assertNull("Get returned non-null for non existent key", 335 assertEquals("Get returned incorrect value for existing key", "HELLO", hm.get("T") 340 assertEquals("Failed with null key", "tes 614 private int key = 0; field in class:HashMapTest.ReusableKey 616 setKey(int key) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/ |
H A D | PKCS10CertificationRequest.java | 138 // key types 195 PublicKey key, 201 this(signatureAlgorithm, subject, key, attributes, signingKey, "BC"); 223 PublicKey key, 229 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, "BC"); 238 PublicKey key, 245 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, provider); 254 PublicKey key, 273 if (key == null) 275 throw new IllegalArgumentException("public key mus 192 PKCS10CertificationRequest( String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey) argument 220 PKCS10CertificationRequest( String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey) argument 235 PKCS10CertificationRequest( String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider) argument 251 PKCS10CertificationRequest( String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider) argument [all...] |
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/ |
H A D | NumericShaper.java | 422 /** The key. */ 423 private int key; field in class:NumericShaper 835 fDefaultContextIndex = key; 838 fSingleRangeIndex = key; 851 key = fDefaultContextIndex; 853 key = fSingleRangeIndex;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESedeWrapEngine.java | 16 * <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-smime-key-wrap-01.txt"> 17 * draft-ietf-smime-key-wrap-01.txt</A>. 23 * parity bits on the key and, if it's a two-key triple-des key, pad it 145 // Encrypt WKCKS in CBC mode using KEK as the key and IV as the 184 // result. It is 40 octets long if a 168 bit key is being wrapped. 228 // Check if the length of the cipher text is reasonable given the key 229 // type. It must be 40 bytes for a 168 bit key and either 32, 40, or 230 // 48 bytes for a 128, 192, or 256 bit key 326 calculateCMSKeyChecksum( byte[] key) argument 345 checkCMSKeyChecksum( byte[] key, byte[] checksum) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
H A D | X509V2AttributeCertificateGenerator.java | 187 PrivateKey key, 191 return generateCertificate(key, provider, null); 200 PrivateKey key, 230 sig.initSign(key, random); 234 sig.initSign(key); 186 generateCertificate( PrivateKey key, String provider) argument 199 generateCertificate( PrivateKey key, String provider, SecureRandom random) argument
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyKeyStore.java | 92 public void engineSetKeyEntry(String alias, Key key, char[] password, argument 97 Keys.put(alias, key); 104 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument 106 if (key == null) { 107 throw new KeyStoreException("Not Supported for null key"); 116 alias, alias, key);
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | ExpandedNameTable.java | 201 if (e.hash == hash && e.key.equals(hashET)) 377 ExtendedType key; field in class:ExpandedNameTable.HashEntry 382 protected HashEntry(ExtendedType key, int value, int hash, HashEntry next) argument 384 this.key = key;
|
/dalvik/vm/ |
H A D | Properties.c | 103 static void setProperty(Object* propObj, Method* put, const char* key, argument 114 keyStr = dvmCreateStringFromCstr(key, ALLOC_DEFAULT); 234 /* value starts after the end of the key string */ 242 * Get a property by calling System.getProperty(key). 244 * Returns a newly-allocated string, or NULL on failure or key not found. 247 char* dvmGetProperty(const char* key) argument 255 assert(key != NULL); 268 keyObj = dvmCreateStringFromCstr(key, ALLOC_DEFAULT);
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | RuleBasedCollator.java | 511 * Get the sort key as an CollationKey object from the argument string. 512 * To retrieve sort key in terms of byte arrays, use the method as below<br> 521 * @return the sort key 533 byte[] key = NativeCollation.getSortKey(m_collator_, source); 534 if(key == null) { 537 return new CollationKey(key); 542 * Get a sort key for the argument string 544 * @param source string for key to be generated 545 * @return sort key
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
H A D | MapEntryTest.java | 74 public Object put(Object key, Object val) { argument 81 public Object fakePut(Object key, Object val) { argument 82 return super.put(key, val);
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | Permissions.java | 220 Class key = (Class) entry.getKey(); 222 if (key != pc.elements().nextElement().getClass()) { 225 klasses.put(key, pc);
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/utils/ |
H A D | AlgNameMapper.java | 153 String key = (String)me.getKey(); 154 if (key.startsWith(keyPrfix2find)) { 155 String alias = key.substring(keyPrfix2find.length());
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | AttributeTable.java | 166 Object key = e.nextElement(); 168 out.put(key, in.get(key));
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JCEDHPrivateKey.java | 43 DHPrivateKey key) 45 this.x = key.getX(); 46 this.dhSpec = key.getParams(); 96 * Return a PKCS8 representation of the key. The sequence returned 99 * @return a PKCS8 representation of the key. 42 JCEDHPrivateKey( DHPrivateKey key) argument
|
H A D | JDKDSAPrivateKey.java | 37 DSAPrivateKey key) 39 this.x = key.getX(); 40 this.dsaSpec = key.getParams(); 83 * Return a PKCS8 representation of the key. The sequence returned 86 * @return a PKCS8 representation of the key. 36 JDKDSAPrivateKey( DSAPrivateKey key) argument
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | DigitalSignature.java | 104 * Initiate Signature type by private key 105 * @param key 107 public void init(PrivateKey key) { argument 110 signature.initSign(key); 112 cipher.init(Cipher.ENCRYPT_MODE, key); 116 new SSLException("init - invalid private key", e));
|