Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java1136 KeyStore.UID_SELF, NativeCrypto.EVP_PKEY_RSA, 1024, KeyStore.FLAG_ENCRYPTED, in testKeyStore_Aliases_Encrypted_Success()
1142 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_Aliases_Encrypted_Success()
1165 KeyStore.UID_SELF, NativeCrypto.EVP_PKEY_RSA, 1024, KeyStore.FLAG_ENCRYPTED, in testKeyStore_ContainsAliases_PrivateAndCA_Encrypted_Success()
1171 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_ContainsAliases_PrivateAndCA_Encrypted_Success()
1185 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_ContainsAliases_CAOnly_Encrypted_Success()
1205 FAKE_RSA_KEY_1, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
1207 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
1209 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
1213 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
1217 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
[all …]
DKeyStoreTest.java147 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testGet()
154 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
158 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
186 assertFalse(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n()
190 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n()
200 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testDelete()
237 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testContains()
270 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testSaw()
271 mKeyStore.put(TEST_KEYNAME2, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testSaw()
284 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testSaw_ungrantedUid_Bluetooth()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStore.java48 public static final int UID_SELF = -1; field in KeyStore
132 return delete(key, UID_SELF); in delete()
145 return contains(key, UID_SELF); in contains()
158 return saw(prefix, UID_SELF); in saw()
245 return delKey(key, UID_SELF); in delKey()
DAndroidKeyPairGenerator.java97 if (!mKeyStore.generate(privateKeyAlias, KeyStore.UID_SELF, keyType, in generateKeyPair()
147 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, certBytes, KeyStore.UID_SELF, in generateKeyPair()
DAndroidKeyStore.java328 android.security.KeyStore.UID_SELF, flags)) { in setPrivateKeyEntry()
332 android.security.KeyStore.UID_SELF, flags)) { in setPrivateKeyEntry()
337 android.security.KeyStore.UID_SELF, flags)) { in setPrivateKeyEntry()
368 android.security.KeyStore.UID_SELF, android.security.KeyStore.FLAG_NONE)) { in engineSetCertificateEntry()