Searched refs:key1 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | Contacts_SettingsTest.java | 33 String key1 = "key 1"; in testAccessSetting() local 37 Settings.setSetting(mContentResolver, "account", key1, value1); in testAccessSetting() 39 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1)); in testAccessSetting() 43 Settings.setSetting(mContentResolver, "account", key1, value2); in testAccessSetting() 44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1)); in testAccessSetting()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtilsTest.java | 426 String key1 = DatabaseUtils.getCollationKey("abc"); in testCollationKey() local 430 assertTrue(key1.equals(key2)); in testCollationKey() 431 assertFalse(key1.equals(key3)); in testCollationKey() 433 key1 = DatabaseUtils.getHexCollationKey("abc"); in testCollationKey() 437 assertTrue(key1.equals(key2)); in testCollationKey() 438 assertFalse(key1.equals(key3)); in testCollationKey()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1754 Key key1 = mKeyStore.getKey(TEST_ALIAS_2, null); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local 1759 mKeyStore.setKeyEntry(TEST_ALIAS_1, key1, null, new Certificate[] { cert }); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() 2221 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local 2239 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2274 cipher.init(Cipher.DECRYPT_MODE, key1, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2311 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local 2327 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC() 2357 Mac mac = Mac.getInstance(key1.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
|
D | BlockCipherTestBase.java | 538 SecretKey key1 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local 539 init(opmode, key1, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()
|