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

1 2 3 4

  /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/smack/src/org/jivesoftware/smack/util/collections/
ReferenceMap.java 86 * @param keyType the type of reference to use for keys;
91 public ReferenceMap(int keyType, int valueType) {
92 super(keyType, valueType, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, false);
99 * @param keyType the type of reference to use for keys;
106 public ReferenceMap(int keyType, int valueType, boolean purgeValues) {
107 super(keyType, valueType, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, purgeValues);
115 * @param keyType the type of reference to use for keys;
122 public ReferenceMap(int keyType, int valueType, int capacity, float loadFactor) {
123 super(keyType, valueType, capacity, loadFactor, false);
131 * @param keyType the type of reference to use for keys
    [all...]
AbstractReferenceMap.java 101 protected int keyType;
133 * @param keyType the type of reference to use for keys;
142 protected AbstractReferenceMap(int keyType, int valueType, int capacity, float loadFactor, boolean purgeValues) {
144 verify("keyType", keyType);
146 this.keyType = keyType;
437 //key2 = (keyType > HARD ? ((Reference) key2).get() : key2);
585 if (parent.keyType != HARD) {
586 refKey = toReference(parent.keyType, key, hashCode)
    [all...]
  /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 144 for (String keyType : KEY_TYPES) {
153 String keyAlgName = TestKeyStore.keyAlgorithm(keyType);
154 String sigAlgName = TestKeyStore.signatureAlgorithm(keyType);
159 tm.checkClientTrusted(chain, keyType);
164 tm.checkServerTrusted(chain, keyType);
169 tm.checkClientTrusted(chain, keyType);
170 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 203 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType();
204 if (keyType == null) {
208 if (keyType.equals(CipherSuite.KEY_TYPE_RSA)
209 || keyType.equals(CipherSuite.KEY_TYPE_DH_RSA)) {
210 if (checkForPrivateKey(keyType, RSAPrivateKey.class)) {
215 if (keyType.equals(CipherSuite.KEY_TYPE_DSA)
216 || keyType.equals(CipherSuite.KEY_TYPE_DH_DSA)) {
217 if (checkForPrivateKey(keyType, DSAPrivateKey.class)) {
222 if (keyType.equals(CipherSuite.KEY_TYPE_EC)
223 || keyType.equals(CipherSuite.KEY_TYPE_EC_RSA
    [all...]
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) {
  /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)
  /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);
SoftKey.java 78 public void setKeyType(SoftKeyType keyType, Drawable keyIcon,
80 mKeyType = keyType;
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...]

Completed in 1178 milliseconds

1 2 3 4