/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EnumHashBiMap.java | 38 private transient Class<K> keyType; 43 * @param keyType the key type 46 create(Class<K> keyType) { 47 return new EnumHashBiMap<K, V>(keyType); 67 private EnumHashBiMap(Class<K> keyType) { 69 new EnumMap<K, V>(keyType)), 71 keyType.getEnumConstants().length)); 72 this.keyType = keyType; 86 public Class<K> keyType() { [all...] |
EnumBiMap.java | 37 private transient Class<K> keyType; 44 * @param keyType the key type 48 create(Class<K> keyType, Class<V> valueType) { 49 return new EnumBiMap<K, V>(keyType, valueType); 69 private EnumBiMap(Class<K> keyType, Class<V> valueType) { 70 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 72 this.keyType = keyType; 78 return ((EnumBiMap<K, ?>) map).keyType(); 81 return ((EnumHashBiMap<K, ?>) map).keyType(); [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 34 * @param keyType 45 public String chooseClientAlias(String[] keyType, Principal[] issuers, 52 * @param keyType 63 public String chooseServerAlias(String keyType, Principal[] issuers, 80 * @param keyType 88 public String[] getClientAliases(String keyType, Principal[] issuers); 94 * @param keyType 102 public String[] getServerAliases(String keyType, Principal[] issuers);
|
X509ExtendedKeyManager.java | 39 * @param keyType 50 public String chooseEngineClientAlias(String[] keyType, 59 * @param keyType 70 public String chooseEngineServerAlias(String keyType, Principal[] issuers,
|
/external/guava/guava/src/com/google/common/collect/ |
EnumHashBiMap.java | 43 private transient Class<K> keyType; 48 * @param keyType the key type 51 create(Class<K> keyType) { 52 return new EnumHashBiMap<K, V>(keyType); 72 private EnumHashBiMap(Class<K> keyType) { 74 new EnumMap<K, V>(keyType)), 76 keyType.getEnumConstants().length)); 77 this.keyType = keyType; 91 public Class<K> keyType() { [all...] |
EnumBiMap.java | 41 private transient Class<K> keyType; 48 * @param keyType the key type 52 create(Class<K> keyType, Class<V> valueType) { 53 return new EnumBiMap<K, V>(keyType, valueType); 73 private EnumBiMap(Class<K> keyType, Class<V> valueType) { 74 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 76 this.keyType = keyType; 82 return ((EnumBiMap<K, ?>) map).keyType(); 85 return ((EnumHashBiMap<K, ?>) map).keyType(); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 161 for (String keyType : keyTypes) { 162 String[] aliases = km.getClientAliases(keyType, null); 163 if (empty || keyType == null || keyType.isEmpty()) { 164 assertNull(keyType, aliases); 167 assertNotNull(keyType, aliases); 169 test_X509KeyManager_alias(km, alias, keyType, false, empty); 172 for (String keyType : keyTypes) { 173 String[] aliases = km.getServerAliases(keyType, null); 174 if (empty || keyType == null || keyType.isEmpty()) [all...] |
TrustManagerFactoryTest.java | 140 for (String keyType : KEY_TYPES) { 149 String keyAlgName = TestKeyStore.keyAlgorithm(keyType); 150 String sigAlgName = TestKeyStore.signatureAlgorithm(keyType); 155 tm.checkClientTrusted(chain, keyType); 160 tm.checkServerTrusted(chain, keyType); 165 tm.checkClientTrusted(chain, keyType); 166 tm.checkServerTrusted(chain, keyType);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 66 for (String keyType : keyTypes) { 67 out.print(keyType); 77 for (String keyType : keyTypes) { 78 assertKeyType(keyType); 82 private void assertKeyType(String keyType) { 83 if (!StandardNames.KEY_TYPES.contains(keyType)) { 84 throw new AssertionError("Unexpected key type " + keyType); 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 90 out.print(" | keyType: "); 91 out.print(keyType); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLServerSocketImpl.java | 209 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType(); 210 if (keyType == null) { 214 if (keyType.equals(CipherSuite.KEY_TYPE_RSA) 215 || keyType.equals(CipherSuite.KEY_TYPE_DH_RSA)) { 216 if (checkForPrivateKey(keyType, RSAPrivateKey.class)) { 221 if (keyType.equals(CipherSuite.KEY_TYPE_DSA) 222 || keyType.equals(CipherSuite.KEY_TYPE_DH_DSA)) { 223 if (checkForPrivateKey(keyType, DSAPrivateKey.class)) { 228 if (keyType.equals(CipherSuite.KEY_TYPE_EC) 229 || keyType.equals(CipherSuite.KEY_TYPE_EC_RSA [all...] |
OpenSSLEngine.java | 62 final int keyType = NativeCrypto.EVP_PKEY_type(keyRef); 63 switch (keyType) { 69 throw new InvalidKeyException("Unknown key type: " + keyType);
|
KeyManagerImpl.java | 92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 93 final String[] al = chooseAlias(new String[] { keyType }, issuers); 115 public String[] getClientAliases(String keyType, Principal[] issuers) { 116 return chooseAlias(new String[] { keyType }, issuers); 119 public String[] getServerAliases(String keyType, Principal[] issuers) { 120 return chooseAlias(new String[] { keyType }, issuers); 140 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) { 141 final String[] al = chooseAlias(new String[] { keyType }, issuers);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImplTest.java | 39 String[] keyType = {"RSA", "DSA"}; 40 String al = km.chooseClientAlias(keyType, null, new Socket()); 43 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); 66 String[] keyType = { "RSA", "DSA" }; 67 String al = km.chooseClientAlias(keyType, null, new Socket()); 70 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null));
|
/external/webkit/Source/WebCore/platform/win/ |
MIMETypeRegistryWin.cpp | 42 DWORD keyType; 44 HRESULT result = SHGetValue(HKEY_CLASSES_ROOT, ext.charactersWithNullTermination(), L"Content Type", &keyType, (LPVOID)contentTypeStr, &contentTypeStrLen); 46 if (result == ERROR_SUCCESS && keyType == REG_SZ) 57 DWORD keyType; 59 HRESULT result = SHGetValueW(HKEY_CLASSES_ROOT, path.charactersWithNullTermination(), L"Extension", &keyType, (LPVOID)extStr, &extStrLen); 61 if (result == ERROR_SUCCESS && keyType == REG_SZ)
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 58 public String chooseClientAlias(String[] keyType, Principal[] issuers, 67 public String chooseServerAlias(String keyType, Principal[] issuers, 83 public String[] getClientAliases(String keyType, Principal[] issuers) { 91 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/external/webrtc/src/system_wrappers/interface/ |
sort.h | 56 // keyType Enum corresponding to the type of the key array. 61 WebRtc_UWord32 sizeOfElement, Type keyType);
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 99 String keyType = cs.getServerKeyType(); 100 assertEquals(name, cs.isAnonymous(), keyType == null); 101 assertTrue(name, keyType == null || StandardNames.KEY_TYPES.contains(keyType)); 138 String keyType = CipherSuite.getClientKeyType(b); 141 assertEquals(byteString, "RSA", keyType); 144 assertEquals(byteString, "DSA", keyType); 147 assertEquals(byteString, "DH_RSA", keyType); 150 assertEquals(byteString, "DH_DSA", keyType); 153 assertEquals(byteString, "EC", keyType); [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 132 public String chooseClientAlias(String[] keyType, Principal[] issuers, 141 public String chooseServerAlias(String keyType, Principal[] issuers, 157 public String[] getClientAliases(String keyType, Principal[] issuers) { 165 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
keyDeriveWep.c | 122 key.keyType = KEY_WEP; 160 key.keyType = KEY_WEP; 201 key.keyType = KEY_WEP;
|
keyDeriveAes.c | 128 key.keyType = KEY_AES; 177 key.keyType = KEY_AES;
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 18 private String keyType; 89 keyType = name; 94 if (keyType.equals(client)) { 103 } else if (keyType.equals(server)) {
|
/external/webkit/Tools/WebKitTestRunner/win/ |
TestControllerWin.cpp | 71 DWORD keyType; 72 HRESULT result = ::SHGetValueW(HKEY_LOCAL_MACHINE, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtPath, &qtPathBufferLen); 73 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) { 75 result = ::SHGetValueW(HKEY_CURRENT_USER, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtPath, &qtPathBufferLen); 76 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ)
|
/hardware/ti/wlan/wl1271/TWD/Ctrl/ |
CmdBldCmd.c | [all...] |
/libcore/luni/src/main/java/java/util/ |
EnumMap.java | 37 private Class<K> keyType; 398 * @param keyType 401 * if {@code keyType} is {@code null}. 403 public EnumMap(Class<K> keyType) { 404 initialization(keyType); 566 if (keyType != enumMap.keyType || size() != enumMap.size()) { 717 initialization(keyType); 740 if (key != null && keyType.isInstance(key)) { 748 keyType = enumMap.keyType [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbTemplate.java | 113 public boolean addKeyType(SoftKeyType keyType) { 115 if (mKeyTypeList.size() != keyType.mKeyTypeId) return false; 116 mKeyTypeList.add(keyType);
|