Searched refs:key2 (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | Contacts_SettingsTest.java | 35 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/ |
D | AmbiguousBundlesTest.java | 102 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/ |
D | DatabaseUtilsTest.java | 427 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/ |
D | AndroidKeyStoreTest.java | 1811 final Key key2 = mKeyStore.getKey(TEST_ALIAS_1, null); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey() local 1813 cipher.init(Cipher.DECRYPT_MODE, key2, params); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey() 2224 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local 2248 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2266 cipher.init(Cipher.DECRYPT_MODE, key2, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2290 SecretKey key2 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local 2312 mKeyStore.setEntry(entryName2, new KeyStore.SecretKeyEntry(key2), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC() 2324 mac = Mac.getInstance(key2.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
|
D | BlockCipherTestBase.java | 544 SecretKey key2 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local 546 init(opmode, key2, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()
|