Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyStoreTest.java769 KeyStore.UID_SELF, NativeConstants.EVP_PKEY_RSA, 1024, KeyStore.FLAG_ENCRYPTED, in testKeyStore_Aliases_Encrypted_Success()
775 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_Aliases_Encrypted_Success()
798 KeyStore.UID_SELF, NativeConstants.EVP_PKEY_RSA, 1024, KeyStore.FLAG_ENCRYPTED, in testKeyStore_ContainsAliases_PrivateAndCA_Encrypted_Success()
804 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_ContainsAliases_PrivateAndCA_Encrypted_Success()
818 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_ContainsAliases_CAOnly_Encrypted_Success()
838 FAKE_RSA_KEY_1, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
840 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
842 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
846 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
850 KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)); in testKeyStore_DeleteEntry_Encrypted_Success()
[all …]
DAndroidKeyPairGeneratorTest.java387 KeyStore.UID_SELF, in assertKeyPairCorrect()
/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java157 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testGet()
164 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
168 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
196 assertFalse(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n()
200 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n()
210 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testDelete()
247 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testContains()
280 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testList()
281 mKeyStore.put(TEST_KEYNAME2, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testList()
294 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); in testList_ungrantedUid_Bluetooth()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStore.java77 public static final int UID_SELF = -1; field in KeyStore
168 return get(key, UID_SELF); in get()
195 return delete(key, UID_SELF); in delete()
208 return contains(key, UID_SELF); in contains()
224 return list(prefix, UID_SELF); in list()
371 return getmtime(key, UID_SELF); in getmtime()
431 return generateKey(alias, args, entropy, UID_SELF, flags, outCharacteristics); in generateKey()
446 return getKeyCharacteristics(alias, clientId, appId, UID_SELF, outCharacteristics); in getKeyCharacteristics()
462 return importKey(alias, args, format, keyData, UID_SELF, flags, outCharacteristics); in importKey()
476 return exportKey(alias, format, clientId, appId, UID_SELF); in exportKey()
[all …]
DCredentials.java225 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteAllTypesForAlias()
249 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteCertificateTypesForAlias()
271 return deletePrivateKeyTypeForAlias(keystore, alias, KeyStore.UID_SELF); in deletePrivateKeyTypeForAlias()
287 return deleteSecretKeyTypeForAlias(keystore, alias, KeyStore.UID_SELF); in deleteSecretKeyTypeForAlias()
DKeyChain.java379 KeyStore.getInstance(), keyId, KeyStore.UID_SELF); in getPrivateKey()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java87 private int mUid = KeyStore.UID_SELF;
940 mUid = KeyStore.UID_SELF; in engineLoad()
946 int uid = KeyStore.UID_SELF; in engineLoad()
DKeyGenParameterSpec.java635 private int mUid = KeyStore.UID_SELF;
DAndroidKeyStoreKeyPairGeneratorSpi.java367 mEntryUid = KeyStore.UID_SELF; in resetAll()