HomeSort by relevance Sort by last modified time
    Searched defs:keyType (Results 1 - 25 of 51) sorted by null

1 2 3

  /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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
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...]
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...]
  /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/guava/guava/src/com/google/common/collect/
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...]
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...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLEngine.java 69 final int keyType = NativeCrypto.EVP_PKEY_type(keyRef);
70 switch (keyType) {
76 throw new InvalidKeyException("Unknown key type: " + keyType);
OpenSSLServerSocketImpl.java 187 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType();
188 if (keyType == null) {
192 if (keyType.equals(CipherSuite.KEY_TYPE_RSA)
193 || keyType.equals(CipherSuite.KEY_TYPE_DH_RSA)) {
194 if (checkForPrivateKey(keyType, RSAPrivateKey.class)) {
199 if (keyType.equals(CipherSuite.KEY_TYPE_DSA)
200 || keyType.equals(CipherSuite.KEY_TYPE_DH_DSA)) {
201 if (checkForPrivateKey(keyType, DSAPrivateKey.class)) {
206 if (keyType.equals(CipherSuite.KEY_TYPE_EC)
207 || keyType.equals(CipherSuite.KEY_TYPE_EC_RSA
    [all...]
OpenSSLSocketImpl.java 286 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType();
287 if (keyType != null) {
288 keyTypes.add(keyType);
291 for (String keyType : keyTypes) {
293 setCertificate(sslParameters.getKeyManager().chooseServerAlias(keyType,
    [all...]
  /external/webkit/Source/WebKit/win/
WebURLResponse.cpp 439 DWORD keyType = REG_SZ;
442 err = RegQueryValueEx(subKey, TEXT("Extension"), 0, &keyType, (LPBYTE)extension, &keySize);
443 if (!err && keyType != REG_SZ)
  /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)
  /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)) {
  /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...]
  /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/
X509KeyManagerTest.java 29 private String keyType;
    [all...]
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
XmlKeyboardLoader.java 297 int keyType;
310 keyType = getInteger(mXrp, XMLATTR_KEY_TYPE, defAttr.keyType);
315 if (keyType < 0 || keyWidth <= 0 || keyHeight <= 0) {
383 SoftKeyType keyType = mSkbTemplate.createKeyType(id,
385 keyType.setColors(color, colorHl, colorBalloon);
386 if (!mSkbTemplate.addKeyType(keyType)) {
553 .getKeyType(attrKeys.keyType), null, null);
690 softKey.setKeyType(mSkbTemplate.getKeyType(attrKey.keyType), keyIcon,
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java 218 int keyType = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getKeyboardType();
219 if (KeyCharacterMap.ALPHA == keyType
220 || KeyCharacterMap.FULL == keyType) {
222 } else if (KeyCharacterMap.NUMERIC == keyType) {
  /hardware/ti/wlan/wl1271/TWD/Ctrl/
CmdBldCmd.c     [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JDKKeyStore.java 410 int keyType = dIn.read();
437 switch (keyType)
446 throw new IOException("Key type " + keyType + " not recognised!");
  /external/webkit/Tools/DumpRenderTree/win/
DumpRenderTree.cpp 284 DWORD keyType;
285 HRESULT result = SHGetValue(HKEY_LOCAL_MACHINE, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtPath, &qtPathBufferLen);
286 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ) {
288 result = SHGetValue(HKEY_CURRENT_USER, quickTimeKeyName, quickTimeSysDir, &keyType, (LPVOID)qtPath, &qtPathBufferLen);
289 if (result != ERROR_SUCCESS || !qtPathBufferLen || keyType != REG_SZ)
    [all...]
LayoutTestControllerWin.cpp 695 DWORD keyType;
696 DWORD result = ::SHGetValueW(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/"), TEXT("native"), &keyType, &rootPath, &rootPathSize);
698 if (result != ERROR_SUCCESS || keyType != REG_SZ) {
702 result = ::SHGetValueW(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Cygwin\\setup"), TEXT("rootdir"), &keyType, &rootPath, &rootPathSize);
703 if (result != ERROR_SUCCESS || keyType != REG_SZ)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java     [all...]
  /sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
android-support-v7-gridlayout.jar 
  /frameworks/base/core/java/android/widget/
GridLayout.java     [all...]
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java     [all...]

Completed in 1725 milliseconds

1 2 3