Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/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.java102 String key, key2; in test_android_CVE_2020_0082()
111 key2 = randomString(random); in test_android_CVE_2020_0082()
112 key2Hash = key2.hashCode(); in test_android_CVE_2020_0082()
117 key = key2; in test_android_CVE_2020_0082()
118 key2 = tmp; in test_android_CVE_2020_0082()
152 parcel.writeString(key2); in test_android_CVE_2020_0082()
214 String key2; in test_android_CVE_2017_13310()
217 key2 = makeStringToInject(random); in test_android_CVE_2017_13310()
218 key2Hash = key2.hashCode(); in test_android_CVE_2017_13310()
232 parcel.writeString(key2); in test_android_CVE_2017_13310()
[all …]
/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.java2183 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local
2207 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2225 cipher.init(Cipher.DECRYPT_MODE, key2, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2249 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local
2271 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2283 mac = Mac.getInstance(key2.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
DBlockCipherTestBase.java544 SecretKey key2 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local
546 init(opmode, key2, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()