Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java300 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeEntry() argument
308 } else if (keyType == Float.class) { in serializeEntry()
315 } else if (keyType == Integer.class || keyType == Long.class || keyType == Byte.class || in serializeEntry()
316 keyType == Boolean.class || keyType == String.class) { in serializeEntry()
318 } else if (keyType == Rational.class) { in serializeEntry()
320 } else if (keyType == Size.class) { in serializeEntry()
322 } else if (keyType == SizeF.class) { in serializeEntry()
324 } else if (keyType == Rect.class) { in serializeEntry()
326 } else if (keyType == Face.class) { in serializeEntry()
328 } else if (keyType == StreamConfigurationMap.class) { in serializeEntry()
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java226 private void storeEntry(Type keyType, Object keyObj, in storeEntry() argument
235 if (keyType == int.class || keyType == Integer.class) { in storeEntry()
238 } else if (keyType == float.class || keyType == Float.class) { in storeEntry()
241 } else if (keyType == long.class || keyType == Long.class) { in storeEntry()
244 } else if (keyType == double.class || keyType == Double.class) { in storeEntry()
247 } else if (keyType == boolean.class || keyType == Boolean.class) { in storeEntry()
250 } else if (keyType == byte.class || keyType == Byte.class) { in storeEntry()
255 } else if (keyType == Rational.class) { in storeEntry()
258 } else if (keyType == Size.class) { in storeEntry()
261 } else if (keyType == SizeF.class) { in storeEntry()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java460 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) { in serializeEntry() argument
467 } else if (keyType == Float.class) { in serializeEntry()
474 } else if (keyType == Integer.class || keyType == Long.class || keyType == Byte.class || in serializeEntry()
475 keyType == Boolean.class || keyType == String.class) { in serializeEntry()
477 } else if (keyType == Rational.class) { in serializeEntry()
479 } else if (keyType == Size.class) { in serializeEntry()
481 } else if (keyType == SizeF.class) { in serializeEntry()
483 } else if (keyType == Rect.class) { in serializeEntry()
485 } else if (keyType == Face.class) { in serializeEntry()
487 } else if (keyType == StreamConfigurationMap.class) { in serializeEntry()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java204 int keyType = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getKeyboardType(); in testPressKey() local
205 if (KeyCharacterMap.ALPHA == keyType in testPressKey()
206 || KeyCharacterMap.FULL == keyType) { in testPressKey()
208 } else if (KeyCharacterMap.NUMERIC == keyType) { in testPressKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java388 public String chooseServerAlias(String keyType, in chooseServerAlias() argument
419 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
425 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java952 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
957 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
967 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
977 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java103 private static PrivateKeyEntry getPrivateKey(String keyType) { in getPrivateKey() argument
113 PrivateKeyEntry entry = sPrivateKeys.get(keyType); in getPrivateKey()
115 if ("RSA".equals(keyType)) { in getPrivateKey()
117 } else if ("DH".equals(keyType)) { in getPrivateKey()
119 } else if ("DSA".equals(keyType)) { in getPrivateKey()
121 } else if ("EC".equals(keyType)) { in getPrivateKey()
124 throw new IllegalArgumentException("Unexpected key type " + keyType); in getPrivateKey()
126 sPrivateKeys.put(keyType, entry); in getPrivateKey()
384 public static void assertPrivateKey(String keyType, Key actual) in assertPrivateKey() argument
386 assertEquals(getPrivateKey(keyType).getPrivateKey(), actual); in assertPrivateKey()
[all …]
DKeyPairGeneratorTest.java1459 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
1464 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
1474 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
1479 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
DAndroidKeyStoreTest.java751 private PrivateKey generatePrivateKey(String keyType, byte[] fakeKey1) throws Exception { in generatePrivateKey() argument
752 KeyFactory kf = KeyFactory.getInstance(keyType); in generatePrivateKey()
1098 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, String keyType, byte[] key, in assertPrivateKeyEntryEquals() argument
1100 KeyFactory keyFact = KeyFactory.getInstance(keyType); in assertPrivateKeyEntryEquals()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex42064 java.lang.Class keyType
43955 private java.lang.Class keyType