/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStoreSpi.java | 28 import java.security.Key; 45 public Key engineGetKey(String alias, char[] password) 62 public void engineSetKeyEntry(String alias, Key key, char[] password, 68 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_DummyPKCS12Keystore.java | 23 import java.security.Key; 43 public Key engineGetKey(String arg0, char[] arg1) 64 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2,
|
/libcore/luni/src/main/java/java/security/ |
KeyFactory.java | 26 * public and private key objects and convert keys between their external 51 * the concrete key factory service. 160 * Generates a instance of {@code PublicKey} from the given key 164 * the specification of the public key 165 * @return the public key 175 * Generates a instance of {@code PrivateKey} from the given key 179 * the specification of the private key. 180 * @return the private key. 190 * Returns the key specification for the specified key [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
TrustedCertificateKeyStoreSpi.java | 21 import java.security.Key; 35 @Override public Key engineGetKey(String alias, char[] password) { 58 String alias, Key key, char[] password, Certificate[] chain) { 62 @Override public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) {
|
/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 20 import java.security.Key; 42 public void test(Key encryptKey, Key decryptKey) {
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelReceiver.java | 69 ControlPanelEffect.Key.global_enabled.toString(), 88 ControlPanelEffect.Key.global_enabled, value); 98 audioSession, ControlPanelEffect.Key.global_enabled);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 21 import java.security.Key; 101 * Test for <code>isCryptoAllowed(Key key)</code> method 115 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 117 assertFalse(em.isCryptoAllowed(key)); 119 em.init(key); 120 assertFalse(em.isCryptoAllowed(key)); 123 assertTrue(em.isCryptoAllowed(key)); 125 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba" 148 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local [all...] |
/system/media/mca/filterfw/native/base/ |
utilities.h | 58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 71 // If the key is present a const pointer to the associated value is returned, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 123 // If the key is present a const pointer to the associated value is returned, 125 // This function does not distinguish between a missing key and a key mapped 130 const typename Collection::value_type::first_type& key) { 131 typename Collection::const_iterator it = collection.find(key); 138 // Test to see if a set, map, hash_set or hash_map contains a particular key [all...] |
/system/media/mca/filterpacks/base/native/ |
utilities.h | 58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 71 // If the key is present a const pointer to the associated value is returned, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 123 // If the key is present a const pointer to the associated value is returned, 125 // This function does not distinguish between a missing key and a key mapped 130 const typename Collection::value_type::first_type& key) { 131 typename Collection::const_iterator it = collection.find(key); 138 // Test to see if a set, map, hash_set or hash_map contains a particular key [all...] |
/external/llvm/lib/MC/ |
SubtargetFeature.cpp | 126 KV.Key = S.data(); 132 if (F == Hi || StringRef(F->Key) != S) return NULL; 143 MaxLen = std::max(MaxLen, std::strlen(Table[i].Key)); 159 MaxCPULen, CPUTable[i].Key, CPUTable[i].Desc); 166 MaxFeatLen, FeatTable[i].Key, FeatTable[i].Desc); 270 assert(strcmp(CPUTable[i - 1].Key, CPUTable[i].Key) < 0 && 274 assert(strcmp(FeatureTable[i - 1].Key, FeatureTable[i].Key) < 0 && 347 assert(strcmp(Table[i - 1].Key, Table[i].Key) < 0 && "Table is not sorted") [all...] |
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
KeyAgreementSpiTest.java | 26 import java.security.Key; 76 Key key = null; local 78 kaSpi.engineInit(key, new SecureRandom()); 84 kaSpi.engineInit(key, params, new SecureRandom());
|
/external/llvm/utils/TableGen/ |
CodeGenRegisters.h | 188 // A key representing the parts of a register class used for forming 189 // sub-classes. Note the ordering provided by this key is not the same as 191 struct Key { 196 Key(const Key &O) 201 Key(const CodeGenRegister::Set *M, unsigned S = 0, unsigned A = 0) 204 Key(const CodeGenRegisterClass &RC) 210 bool operator<(const Key&) const; 214 CodeGenRegisterClass(StringRef Name, Key Props); 234 typedef std::map<CodeGenRegisterClass::Key, CodeGenRegisterClass*> RCKeyMap [all...] |
/frameworks/base/include/ui/ |
KeyLayoutMap.h | 58 * Describes a mapping from keyboard scan codes and joystick axes to Android key codes and axes. 72 struct Key { 77 KeyedVector<int32_t, Key> mKeys;
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
Runtime.c | 66 const RuntimeFunction Key = { Name, NULL }; 68 bsearch(&Key,
|
/libcore/luni/src/main/java/javax/crypto/ |
MacSpi.java | 23 import java.security.Key; 48 * Initializes this {@code MacSpi} instance with the specified key and 51 * @param key 52 * the key to initialize this algorithm. 56 * if the specified key cannot be used to initialize this 62 protected abstract void engineInit(Key key, AlgorithmParameterSpec params)
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 19 import java.security.Key; 32 Key k = kg.generateKey(); 35 " and for Key objects"); 39 " and for Key objects");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
ProximityInfo.java | 31 /** Number of key widths from current touch point to search for nearest keys. */ 47 int keyHeight, List<Key> keys, TouchPositionCorrection touchPositionCorrection) { 65 return new ProximityInfo(1, 1, 1, 1, 1, 1, Collections.<Key>emptyList(), null); 90 int keyboardHeight, List<Key> keys, 108 final Key key = keys.get(i); local 109 keyXCoordinates[i] = key.mX; 110 keyYCoordinates[i] = key.mY; 111 keyWidths[i] = key.mWidth; 112 keyHeights[i] = key.mHeight 141 final Key key = keys.get(i); local 190 final Key key = keys.get(i); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactoryTest.java | 8 import java.security.Key; 189 TestPublicKey key = new TestPublicKey(); local 190 TestPublicKeySpec keySpec = new TestPublicKeySpec(key); 193 assertTrue(Arrays.equals(key.encoded, publicKey.getEncoded())); 238 TestPrivateKey key = new TestPrivateKey(); local 239 TestPrivateKeySpec keySpec = new TestPrivateKeySpec(key); 242 assertTrue(Arrays.equals(key.getEncoded(), privateKey.getEncoded())); 286 Key[] keys = { 301 Key key = keys[i] local 337 Key key = keys[i]; local 379 Key key = keys[i]; local 403 Key key = keys[i]; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEDHKeyAgreement.java | 6 import java.security.Key; 23 * Diffie-Hellman key agreement. There's actually a better way of doing this 68 protected Key engineDoPhase( 69 Key key, 78 if (!(key instanceof DHPublicKey)) 82 DHPublicKey pubKey = (DHPublicKey)key; 91 result = ((DHPublicKey)key).getY().modPow(x, p); 96 result = ((DHPublicKey)key).getY().modPow(x, p); 150 byte[] key = new byte[length.intValue() / 8] [all...] |
/external/llvm/lib/Support/ |
StringMap.cpp | 51 /// up in. If it already exists as a key in the map, the Item pointer for the 69 // If we found an empty bucket, this key isn't in the table yet, return it. 110 /// FindKey - Look up the bucket that contains the specified key. If it exists 111 /// in the map, return the bucket number of the key. Otherwise return -1. 113 int StringMapImpl::FindKey(StringRef Key) const { 116 unsigned FullHashValue = HashString(Key); 123 // If we found an empty bucket, this key isn't in the table yet, return. 138 if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) { 159 assert(V == V2 && "Didn't find key?"); 162 /// RemoveKey - Remove the StringMapEntry for the specified key from th [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacSpiTest.java | 28 import java.security.Key; 57 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 58 super.engineInit(key, params); 91 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 92 super.engineInit(key, params); 130 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 131 super.engineInit(key, params) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 52 template<typename Key, 67 Key, 161 template<typename Key, 171 Key, 181 Key,
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 52 template<typename Key, 67 Key, 161 template<typename Key, 171 Key, 181 Key,
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 52 template<typename Key, 67 Key, 161 template<typename Key, 171 Key, 181 Key,
|
/external/clang/lib/Driver/ |
ToolChains.cpp | 197 Action::ActionClass Key; 207 Key = JA.getKind(); 209 Key = Action::AnalyzeJobClass; 211 Key = JA.getKind(); 223 Tool *&T = Tools[Key]; 225 switch (Key) { [all...] |