Searched refs:key1 (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/contactsprovider/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 | 555 String key1 = DatabaseUtils.getCollationKey("abc"); in testCollationKey() local 559 assertTrue(key1.equals(key2)); in testCollationKey() 560 assertFalse(key1.equals(key3)); in testCollationKey() 562 key1 = DatabaseUtils.getHexCollationKey("abc"); in testCollationKey() 566 assertTrue(key1.equals(key2)); in testCollationKey() 567 assertFalse(key1.equals(key3)); in testCollationKey()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AmbiguousBundlesTest.java | 625 String key1, key2, key3; in test_lazyValueNegativeLength() 629 key1 = randomString(random); in test_lazyValueNegativeLength() 634 key1Hash = key1.hashCode(); in test_lazyValueNegativeLength() 653 parcel.writeString(key1); // Key 1 in test_lazyValueNegativeLength()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1833 Key key1 = mKeyStore.getKey(getTestAlias2(), null); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local 1838 mKeyStore.setKeyEntry(getTestAlias1(), key1, null, new Certificate[] { cert }); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local 2318 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local 2340 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2357 cipher.init(Cipher.DECRYPT_MODE, key1, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES() 2388 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local 2408 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC() 2420 Mac mac = Mac.getInstance(key1.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
|
D | BlockCipherTestBase.java | 575 SecretKey key1 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local 576 init(opmode, key1, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()
|