Home
last modified time | relevance | path

Searched refs:FLAG_ENCRYPTED (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java148 KeyStore.FLAG_ENCRYPTED)); in testGet()
155 KeyStore.FLAG_ENCRYPTED)); in testPut()
159 KeyStore.FLAG_ENCRYPTED)); in testPut()
166 KeyStore.FLAG_ENCRYPTED)); in testPut_grantedUid_Wifi()
170 KeyStore.FLAG_ENCRYPTED)); in testPut_grantedUid_Wifi()
177 KeyStore.FLAG_ENCRYPTED)); in testPut_ungrantedUid_Bluetooth()
181 KeyStore.FLAG_ENCRYPTED)); in testPut_ungrantedUid_Bluetooth()
187 KeyStore.FLAG_ENCRYPTED)); in testI18n()
191 KeyStore.FLAG_ENCRYPTED)); in testI18n()
201 KeyStore.FLAG_ENCRYPTED)); in testDelete()
[all …]
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 …]
DKeyPairGeneratorSpecTest.java87 assertEquals("encryption flag should be on", KeyStore.FLAG_ENCRYPTED, spec.getFlags()); in testBuilder_Success()
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java63 return (mFlags & KeyStore.FLAG_ENCRYPTED) != 0; in isEncryptionRequired()
108 mFlags |= KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired()
110 mFlags &= ~KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired()
DKeyPairGeneratorSpec.java302 return (mFlags & KeyStore.FLAG_ENCRYPTED) != 0; in isEncryptionRequired()
471 mFlags |= KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired()
DAndroidKeyPairGenerator.java82 if (((mSpec.getFlags() & KeyStore.FLAG_ENCRYPTED) != 0) in generateKeyPair()
DKeyStore.java52 public static final int FLAG_ENCRYPTED = 1; field in KeyStore
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java4124 KeyStore.FLAG_ENCRYPTED); in installKeys()