Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DContacts_SettingsTest.java33 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/
DDatabaseUtilsTest.java408 String key1 = DatabaseUtils.getCollationKey("abc"); in testCollationKey() local
412 assertTrue(key1.equals(key2)); in testCollationKey()
413 assertFalse(key1.equals(key3)); in testCollationKey()
415 key1 = DatabaseUtils.getHexCollationKey("abc"); in testCollationKey()
419 assertTrue(key1.equals(key2)); in testCollationKey()
420 assertFalse(key1.equals(key3)); in testCollationKey()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1778 Key key1 = mKeyStore.getKey(TEST_ALIAS_2, null); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local
1783 mKeyStore.setKeyEntry(TEST_ALIAS_1, key1, null, new Certificate[] { cert }); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure()
2243 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_AES() local
2261 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2297 cipher.init(Cipher.DECRYPT_MODE, key1, cipherParams); in testKeyStore_LargeNumberOfKeysSupported_AES()
2334 SecretKey key1 = new TransparentSecretKey( in testKeyStore_LargeNumberOfKeysSupported_HMAC() local
2350 mKeyStore.setEntry(entryName1, new KeyStore.SecretKeyEntry(key1), protectionParams); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2381 Mac mac = Mac.getInstance(key1.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
DBlockCipherTestBase.java536 SecretKey key1 = importKey(katKeyBytes); in assertKeyDoesNotSurviveReinitialization() local
537 init(opmode, key1, getKatAlgorithmParameterSpec()); in assertKeyDoesNotSurviveReinitialization()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex71400 java.lang.Object key1
88980 private org.bouncycastle.asn1.DERObjectIdentifier key1
95233 private org.bouncycastle.asn1.DERObjectIdentifier key1