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

1 2 3 4 5 6 7 8 91011>>

  /libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) {
39 return delegate.chooseClientAlias(keyType, issuers, socket);
43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
44 return delegate.chooseServerAlias(keyType, issuers, socket);
53 public String[] getClientAliases(String keyType, Principal[] issuers) {
54 return delegate.getClientAliases(keyType, issuers);
58 public String[] getServerAliases(String keyType, Principal[] issuers) {
59 return delegate.getServerAliases(keyType, issuers);
63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) {
64 return delegate.chooseEngineClientAlias(keyType, issuers, engine)
    [all...]
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...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EnumHashBiMap.java 44 private transient Class<K> keyType;
49 * @param keyType the key type
52 create(Class<K> keyType) {
53 return new EnumHashBiMap<K, V>(keyType);
73 private EnumHashBiMap(Class<K> keyType) {
75 new EnumMap<K, V>(keyType)),
77 keyType.getEnumConstants().length));
78 this.keyType = keyType;
97 public Class<K> keyType() {
    [all...]
EnumBiMap.java 42 private transient Class<K> keyType;
49 * @param keyType the key type
53 create(Class<K> keyType, Class<V> valueType) {
54 return new EnumBiMap<K, V>(keyType, valueType);
74 private EnumBiMap(Class<K> keyType, Class<V> valueType) {
75 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
77 this.keyType = keyType;
83 return ((EnumBiMap<K, ?>) map).keyType();
86 return ((EnumHashBiMap<K, ?>) map).keyType();
    [all...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 33 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) {
34 return delegate.chooseClientAlias(keyType, issuers, socket);
37 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
38 return delegate.chooseServerAlias(keyType, issuers, socket);
45 public String[] getClientAliases(String keyType, Principal[] issuers) {
46 return delegate.getClientAliases(keyType, issuers);
49 public String[] getServerAliases(String keyType, Principal[] issuers) {
50 return delegate.getServerAliases(keyType, issuers);
53 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) {
54 return delegate.chooseEngineClientAlias(keyType, issuers, engine)
    [all...]
TestKeyManager.java 65 for (String keyType : keyTypes) {
66 out.print(keyType);
76 for (String keyType : keyTypes) {
77 assertKeyType(keyType);
81 private void assertKeyType(String keyType) {
82 if (!StandardNames.KEY_TYPES.contains(keyType)) {
83 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...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
RealElement.java 33 private final String keyType;
35 RealElement(String setName, Element.Type type, String keyType) {
36 this(setName, type, keyType, nextUniqueId.incrementAndGet());
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) {
43 this.keyType = keyType;
58 @Override public String keyType() {
59 return keyType;
68 + ",uniqueId=" + uniqueId + ", type=" + type + ", keyType=" + keyType + ")"
    [all...]
Element.java 45 String keyType();
MapBinder.java 140 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
144 TypeLiteral<K> keyType, TypeLiteral<V> valueType) {
146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)),
147 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType)));
151 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
155 Class<K> keyType, Class<V> valueType) {
156 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType));
160 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
164 TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation)
    [all...]
  /libcore/ojluni/src/main/java/javax/net/ssl/
X509KeyManager.java 59 * @param keyType the key algorithm type name
65 public String[] getClientAliases(String keyType, Principal[] issuers);
72 * @param keyType the key algorithm type name(s), ordered
83 public String chooseClientAlias(String[] keyType, Principal[] issuers,
91 * @param keyType the key algorithm type name
97 public String[] getServerAliases(String keyType, Principal[] issuers);
104 * @param keyType the key algorithm type name.
114 public String chooseServerAlias(String keyType, Principal[] issuers,
X509ExtendedKeyManager.java 56 * @param keyType the key algorithm type name(s), ordered
67 public String chooseEngineClientAlias(String[] keyType,
80 * @param keyType the key algorithm type name.
90 public String chooseEngineServerAlias(String keyType,
  /external/guava/guava/src/com/google/common/collect/
EnumHashBiMap.java 49 private transient Class<K> keyType;
54 * @param keyType the key type
57 create(Class<K> keyType) {
58 return new EnumHashBiMap<K, V>(keyType);
78 private EnumHashBiMap(Class<K> keyType) {
80 new EnumMap<K, V>(keyType)),
82 keyType.getEnumConstants().length));
83 this.keyType = keyType;
102 public Class<K> keyType() {
    [all...]
EnumBiMap.java 46 private transient Class<K> keyType;
53 * @param keyType the key type
57 create(Class<K> keyType, Class<V> valueType) {
58 return new EnumBiMap<K, V>(keyType, valueType);
78 private EnumBiMap(Class<K> keyType, Class<V> valueType) {
79 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
81 this.keyType = keyType;
87 return ((EnumBiMap<K, ?>) map).keyType();
90 return ((EnumHashBiMap<K, ?>) map).keyType();
    [all...]
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
KeyManagerFactoryTest.java 175 for (String keyType : keyTypes) {
176 String[] aliases = km.getClientAliases(keyType, null);
177 if (empty || keyType == null || keyType.isEmpty()) {
178 assertNull(keyType, aliases);
181 assertNotNull(keyType, aliases);
183 test_X509KeyManager_alias(km, alias, keyType, false, empty);
186 for (String keyType : keyTypes) {
187 String[] aliases = km.getServerAliases(keyType, null);
188 if (empty || keyType == null || keyType.isEmpty())
    [all...]
  /frameworks/base/telephony/java/android/telephony/
ImsiEncryptionInfo.java 44 private final int keyType;
48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime);
53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
60 this.keyType = keyType;
74 keyType = in.readInt();
91 return this.keyType;
139 dest.writeInt(keyType);
150 + ", keyType=" + keyTyp
    [all...]
  /frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
StorageStrategy.java 119 String keyType = state.getString(SELECTION_KEY_TYPE, null);
120 if (keyType == null || !keyType.equals(getKeyTypeName())) {
157 String keyType = state.getString(SELECTION_KEY_TYPE, null);
158 if (keyType == null || !keyType.equals(getKeyTypeName())) {
202 String keyType = state.getString(SELECTION_KEY_TYPE, null);
203 if (keyType == null || !keyType.equals(getKeyTypeName())) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsSerializer.java 305 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md)
313 } else if (keyType == Float.class) {
320 } else if (keyType == Integer.class || keyType == Long.class || keyType == Byte.class ||
321 keyType == Boolean.class || keyType == String.class) {
323 } else if (keyType == Rational.class) {
325 } else if (keyType == Size.class) {
327 } else if (keyType == SizeF.class)
    [all...]
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
RealElementTest.java 46 assertEquals("a", realElement.keyType());
53 @Element(keyType = "a", setName = "b", type = Type.MULTIBINDER, uniqueId = 1)
SpiUtils.java 102 * @param keyType the TypeLiteral of the key of the map
110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType,
118 mapInjectorTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
123 mapModuleTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
129 private static <T> void mapInjectorTest(Key<T> mapKey, TypeLiteral<?> keyType,
137 assertEquals(keyType, mapbinder.getKeyTypeLiteral());
168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType));
169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType));
170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType));
171 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType)))
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/
MappingNode.java 64 public void setOnlyKeyType(Class<? extends Object> keyType) {
66 nodes.getKeyNode().setType(keyType);
70 public void setTypes(Class<? extends Object> keyType, Class<? extends Object> valueType) {
73 nodes.getKeyNode().setType(keyType);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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) {
  /frameworks/base/keystore/java/android/security/
KeyPairGeneratorSpec.java 103 * @param keyType key algorithm to use (RSA, DSA, EC)
115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize,
140 mKeyType = keyType;
330 public Builder setKeyType(@NonNull @KeyProperties.KeyAlgorithmEnum String keyType)
332 if (keyType == null) {
333 throw new NullPointerException("keyType == null");
336 KeyProperties.KeyAlgorithm.toKeymasterAsymmetricKeyAlgorithm(keyType);
338 throw new NoSuchAlgorithmException("Unsupported key type: " + keyType);
341 mKeyType = keyType;
  /libcore/ojluni/src/main/java/java/util/
EnumMap.java 87 private final Class<K> keyType;
133 * @param keyType the class object of the key type for this enum map
134 * @throws NullPointerException if <tt>keyType</tt> is null
136 public EnumMap(Class<K> keyType) {
137 this.keyType = keyType;
138 keyUniverse = getKeyUniverse(keyType);
150 keyType = m.keyType;
171 keyType = em.keyType
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
MapEntryLite.java 48 public final WireFormat.FieldType keyType;
53 WireFormat.FieldType keyType,
56 this.keyType = keyType;
79 WireFormat.FieldType keyType, K defaultKey,
81 this.metadata = new Metadata<K, V>(this, keyType, valueType);
110 WireFormat.FieldType keyType, K defaultKey,
113 keyType, defaultKey, valueType, defaultValue);
118 writeField(KEY_FIELD_NUMBER, metadata.keyType, key, output);
136 size += getFieldSize(KEY_FIELD_NUMBER, metadata.keyType, key)
    [all...]
  /cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
CameraDeviceInfo.java 226 private void storeEntry(Type keyType, Object keyObj,
235 if (keyType == int.class || keyType == Integer.class) {
238 } else if (keyType == float.class || keyType == Float.class) {
241 } else if (keyType == long.class || keyType == Long.class) {
244 } else if (keyType == double.class || keyType == Double.class) {
247 } else if (keyType == boolean.class || keyType == Boolean.class)
    [all...]

Completed in 1250 milliseconds

1 2 3 4 5 6 7 8 91011>>