Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContacts_SettingsTest.java35 String key2 = "key 2"; in testAccessSetting() local
38 Settings.setSetting(mContentResolver, "account", key2, value2); in testAccessSetting()
40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2)); in testAccessSetting()
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java67 String key2; in test_android_CVE_2017_13287()
70 key2 = makeStringToInject(postReSerialize, random); in test_android_CVE_2017_13287()
71 key2Hash = key2.hashCode(); in test_android_CVE_2017_13287()
86 parcel.writeString(key2); in test_android_CVE_2017_13287()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java427 String key2 = DatabaseUtils.getCollationKey("ABC"); in testCollationKey() local
430 assertTrue(key1.equals(key2)); in testCollationKey()
434 key2 = DatabaseUtils.getHexCollationKey("ABC"); in testCollationKey()
437 assertTrue(key1.equals(key2)); in testCollationKey()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2262 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local
2301 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2319 cipher.init(Cipher.DECRYPT_MODE, key2, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2352 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local
2389 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2401 mac = Mac.getInstance(key2.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
DBlockCipherTestBase.java542 SecretKey key2 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local
544 init(opmode, key2, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()