HomeSort by relevance Sort by last modified time
    Searched refs:Key (Results 76 - 100 of 143) sorted by null

1 2 34 5 6

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinKeyboard.java 59 private Key mShiftKey;
60 private Key mEnterKey;
61 private Key mF1Key;
62 private Key mSpaceKey;
63 private Key m123Key;
139 protected Key createKeyFromXml(Resources res, Row parent, int x, int y,
141 Key key = new LatinKey(res, parent, x, y, parser); local
142 switch (key.codes[0]) {
144 mEnterKey = key;
    [all...]
TextEntryState.java 23 import android.inputmethodservice.Keyboard.Key;
91 sKeyLocationFile = context.openFileOutput("key.txt", Context.MODE_APPEND);
216 public static void keyPressedAt(Key key, int x, int y) {
217 if (LOGGING && sKeyLocationFile != null && key.codes[0] >= 32) {
219 "KEY: " + (char) key.codes[0]
222 + " MX: " + (key.x + key.width / 2)
223 + " MY: " + (key.y + key.height / 2)
    [all...]
LatinKeyboardView.java 27 import android.inputmethodservice.Keyboard.Key;
93 protected boolean onLongPress(Key key) {
94 if (key.codes[0] == Keyboard.KEYCODE_MODE_CHANGE) {
97 } else if (key.codes[0] == Keyboard.KEYCODE_SHIFT) {
101 } else if (key.codes[0] == '0' && getKeyboard() == mPhoneKeyboard) {
106 return super.onLongPress(key);
116 * the sudden moves subside, a DOWN event is simulated for the second key.
170 // the user is releasing the touch on the second key.
379 private Key[] mAsciiKeys = new Key[256]
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JCEMac.java 5 import java.security.Key;
62 Key key,
68 if (key == null)
70 throw new InvalidKeyException("key is null");
73 if (key instanceof JCEPBEKey)
75 JCEPBEKey k = (JCEPBEKey)key;
92 param = new ParametersWithIV(new KeyParameter(key.getEncoded()), ((IvParameterSpec)params).getIV());
96 param = new KeyParameter(key.getEncoded());
502 // // for the key generation as is used in the HMAC, so tha
    [all...]
JCERSACipher.java 8 import java.security.Key;
108 Key key)
110 if (key instanceof RSAPrivateKey)
112 RSAPrivateKey k = (RSAPrivateKey)key;
116 else if (key instanceof RSAPublicKey)
118 RSAPublicKey k = (RSAPublicKey)key;
123 throw new IllegalArgumentException("not an RSA key!");
241 Key key,
    [all...]
JDKKeyStore.java 66 static final int KEY = 2;
71 // key types
105 Key obj,
108 this.type = KEY;
127 Key key,
156 encodeKey(key, dOut);
210 if (obj instanceof Key)
252 Key k = null;
277 // reencrypt key with correct cipher
750 Key key = decodeKey(dIn); local
    [all...]
JDKKeyFactory.java 6 import java.security.Key;
61 Key key,
65 if (spec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8"))
67 return new PKCS8EncodedKeySpec(key.getEncoded());
69 else if (spec.isAssignableFrom(X509EncodedKeySpec.class) && key.getFormat().equals("X.509"))
71 return new X509EncodedKeySpec(key.getEncoded());
73 else if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey)
75 RSAPublicKey k = (RSAPublicKey)key;
79 else if (spec.isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof RSAPrivateKey
    [all...]
  /external/v8/src/
scopeinfo.h 199 struct Key {
229 static Key keys_[kLength];
serialize.h 67 uint32_t Encode(Address key) const;
69 const char* NameOfAddress(Address key) const;
73 static uint32_t Hash(Address key) {
74 return static_cast<uint32_t>(reinterpret_cast<uintptr_t>(key) >> 2);
77 int IndexOf(Address key) const;
81 void Put(Address key, int index);
90 Address Decode(uint32_t key) const {
91 if (key == 0) return NULL;
92 return *Lookup(key);
98 Address* Lookup(uint32_t key) const
    [all...]
objects.cc 165 Handle<String> key(name);
173 result = call_fun(v8::Utils::ToLocal(key), info);
2479 Object* key = SlowReverseLookup(obj); local
2982 Object* key = cache->get(i); local
3029 Object* key = cache->get(i); local
3309 String* key = GetKey(from_index); local
5146 Object* key = dictionary->KeyAt(i); local
7049 uint32_t key = NumberToUint32(k); local
7698 Object* key = KeyAt(i); local
7997 Object* key = Heap::LookupSymbol(String::cast(k)); local
    [all...]
  /dalvik/libcore/crypto/src/main/java/javax/crypto/
EncryptedPrivateKeyInfo.java 24 import java.security.Key;
46 * #8 - Private-Key Information Syntax Standard</a>.
65 // Encrypted private key data
218 * Returns the encrypted data of this key.
220 * @return the encrypted data of this key, each time this method is called a
234 * {@code Cipher.UNWRAP_MODE} with the same parameters and key used for
274 * the key to decrypt the encrypted data with.
285 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey)
324 * the key to decrypt the encrypted data with.
341 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, String providerName
    [all...]
Mac.java 23 import java.security.Key;
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)
204 if (key == null) {
207 spiImpl.engineInit(key, params);
212 * Initializes this {@code Mac} instance with the specified key
    [all...]
SealedObject.java 29 import java.security.Key;
45 * key and then be deserialized to retrieve the original object.The sealed
136 * Returns the wrapped object, decrypting it using the specified key.
138 * @param key
139 * the key to decrypt the data with.
148 * if the specified key cannot be used to decrypt the data.
150 public final Object getObject(Key key)
154 if (key == null) {
165 cipher.init(Cipher.DECRYPT_MODE, key, params)
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.microsoft 27 ATTRIBUTE MS-MPPE-Send-Key 16 string Microsoft
28 ATTRIBUTE MS-MPPE-Recv-Key 17 string Microsoft
  /dalvik/libcore/security/src/main/java/java/security/
KeyStoreSpi.java 42 * Returns the key with the given alias, using the password to recover the
43 * key from the store.
48 * the password used to recover the key.
49 * @return the key with the specified alias, or {@code null} if the
52 * if the algorithm for recovering the key is not available.
54 * if the key can not be recovered.
56 public abstract Key engineGetKey(String alias, char[] password)
90 * Associates the given alias with the key, password and certificate chain.
95 * the alias for the key.
96 * @param key
376 Key key = engineGetKey(alias, passW); local
    [all...]
  /external/v8/tools/
splaytree.js 66 * Inserts a node into the tree with the specified key and value if
67 * the tree does not already contain a node with the specified key. If
70 * @param {number} key Key to insert into the tree.
73 goog.structs.SplayTree.prototype.insert = function(key, value) {
75 this.root_ = new goog.structs.SplayTree.Node(key, value);
78 // Splay on the key to move the last node on the search path for
79 // the key to the root of the tree.
80 this.splay_(key);
81 if (this.root_.key == key)
    [all...]
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
EncryptedPrivateKeyInfoTest.java 35 import java.security.Key;
    [all...]
CipherTest.java 42 import java.security.Key;
69 static Key cipherKey;
73 static Key cipherKeyDES;
87 fail("No key " + e);
363 * @tests javax.crypto.Cipher#init(int, java.security.Key)
369 args = {int.class, java.security.Key.class}
386 * @tests javax.crypto.Cipher#init(int, java.security.Key,
394 args = {int.class, java.security.Key.class, java.security.SecureRandom.class}
401 args = {int.class, java.security.Key.class, java.security.SecureRandom.class}
420 * @tests javax.crypto.Cipher#init(int, java.security.Key,
    [all...]
NullCipherTest.java 132 * Class under test for void init(int, Key)
138 args = {int.class, java.security.Key.class}
146 * Class under test for void init(int, Key, SecureRandom)
152 args = {int.class, java.security.Key.class, java.security.SecureRandom.class}
160 * Class under test for void init(int, Key, AlgorithmParameterSpec)
166 args = {int.class, java.security.Key.class, java.security.spec.AlgorithmParameterSpec.class}
  /external/skia/src/gl/
SkTextureCache.cpp 67 int SkTextureCache::findInSorted(const Key& key) const {
78 if (sorted[mid]->getKey() < key) {
87 if (entry->getKey() == key) {
92 if (entry->getKey() < key) {
103 SkTextureCache::Entry* SkTextureCache::find(const Key& key, int* insert) const {
111 int hashIndex = key.getHashIndex();
113 if (NULL != entry && entry->getKey() == key) {
120 int index = this->findInSorted(key);
    [all...]
  /external/webkit/JavaScriptCore/runtime/
Structure.h 250 if (rep == m_propertyTable->entries()[entryIndex - 1].key)
270 if (rep == m_propertyTable->entries()[entryIndex - 1].key)
275 bool StructureTransitionTable::contains(const StructureTransitionTableHash::Key& key, JSCell* specificValue)
279 return existingTransition && existingTransition->m_nameInPrevious.get() == key.first
280 && existingTransition->m_attributesInPrevious == key.second
283 TransitionTable::iterator find = table()->find(key);
290 Structure* StructureTransitionTable::get(const StructureTransitionTableHash::Key& key, JSCell* specificValue) const
294 if (existingTransition && existingTransition->m_nameInPrevious.get() == key.firs
    [all...]
  /dalvik/libcore/security/src/test/java/tests/targets/security/
CipherHelper.java 23 import java.security.Key;
54 abstract class CipherHelper<T/*, U*/> extends TestHelper<T/*, Key*/> {
71 void test(Key encryptKey, Key decryptKey) {
141 void test(SecretKey key) {
142 test(key, key);
351 Key key = generator.generateKey(); local
369 cipher.init(Cipher.ENCRYPT_MODE, key, parameters)
    [all...]
  /external/webkit/WebKitTools/Scripts/
parse-malloc-history 95 # --------------- Key: 213813, 84 bytes ---------
100 ($byteCount) = ($line =~ /Key: (?:\d+), (\d+) bytes/);
  /system/core/libmincrypt/tools/
DumpPublicKey.java 24 import java.security.Key;
36 * @param key to perform sanity checks on
37 * @throws Exception if the key has the wrong size or public exponent
39 static void check(RSAPublicKey key) throws Exception {
40 BigInteger pubexp = key.getPublicExponent();
41 BigInteger modulus = key.getModulus();
53 * @param key to output
54 * @return a C initializer representing this public key.
56 static String print(RSAPublicKey key) throws Exception {
57 check(key);
119 RSAPublicKey key = (RSAPublicKey) (cert.getPublicKey()); local
    [all...]
  /system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hw_ctrl/
whalHwMboxCmd.h 88 int KeyType, int KeyId, char *Key, UINT16 SecuritySeqNumLow, UINT32 SecuritySeqNumHigh,

Completed in 544 milliseconds

1 2 34 5 6