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.java75 String key2; in test_android_CVE_2017_13310()
78 key2 = makeStringToInject(random); in test_android_CVE_2017_13310()
79 key2Hash = key2.hashCode(); in test_android_CVE_2017_13310()
93 parcel.writeString(key2); in test_android_CVE_2017_13310()
261 String key2; in test_android_CVE_2017_0806()
264 key2 = makeStringToInject(postReSerialize, random); in test_android_CVE_2017_0806()
265 key2Hash = key2.hashCode(); in test_android_CVE_2017_0806()
281 parcel.writeString(key2); in test_android_CVE_2017_0806()
418 String key2; in test_android_CVE_2017_13287()
421 key2 = makeStringToInject(postReSerialize, random); in test_android_CVE_2017_13287()
[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.java2225 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local
2264 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2282 cipher.init(Cipher.DECRYPT_MODE, key2, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2315 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local
2352 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2364 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()