Home
last modified time | relevance | path

Searched refs:crypto (Results 1 – 25 of 147) sorted by relevance

123456

/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp51 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_isCryptoSchemeSupported() local
52 if (crypto == NULL) { in AMediaCrypto_isCryptoSchemeSupported()
55 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported()
60 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_requiresSecureDecoderComponent() local
61 if (crypto == NULL) { in AMediaCrypto_requiresSecureDecoderComponent()
64 return crypto->requiresSecureDecoderComponent(mime); in AMediaCrypto_requiresSecureDecoderComponent()
79 AMediaCrypto *crypto = new AMediaCrypto(); in AMediaCrypto_new() local
80 crypto->mCrypto = tmp; in AMediaCrypto_new()
82 return crypto; in AMediaCrypto_new()
86 void AMediaCrypto_delete(AMediaCrypto* crypto) { in AMediaCrypto_delete() argument
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaCrypto.cpp72 sp<ICrypto> crypto = MakeCrypto(); in MakeCrypto() local
74 if (crypto == NULL) { in MakeCrypto()
78 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto()
84 return crypto; in MakeCrypto()
97 sp<ICrypto> crypto = MakeCrypto(); in IsCryptoSchemeSupported() local
99 if (crypto == NULL) { in IsCryptoSchemeSupported()
103 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported()
142 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto() argument
144 if (crypto != NULL) { in setCrypto()
145 crypto->incStrong(thiz); in setCrypto()
[all …]
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DChunkEncryptor.java26 import javax.crypto.BadPaddingException;
27 import javax.crypto.Cipher;
28 import javax.crypto.IllegalBlockSizeException;
29 import javax.crypto.NoSuchPaddingException;
30 import javax.crypto.SecretKey;
31 import javax.crypto.spec.GCMParameterSpec;
/frameworks/base/services/core/java/com/android/server/locksettings/
DAesEncryptionUtil.java29 import javax.crypto.BadPaddingException;
30 import javax.crypto.Cipher;
31 import javax.crypto.IllegalBlockSizeException;
32 import javax.crypto.NoSuchPaddingException;
33 import javax.crypto.SecretKey;
34 import javax.crypto.spec.GCMParameterSpec;
DRebootEscrowKey.java23 import javax.crypto.KeyGenerator;
24 import javax.crypto.SecretKey;
25 import javax.crypto.spec.SecretKeySpec;
DSyntheticPasswordCrypto.java41 import javax.crypto.BadPaddingException;
42 import javax.crypto.Cipher;
43 import javax.crypto.IllegalBlockSizeException;
44 import javax.crypto.KeyGenerator;
45 import javax.crypto.NoSuchPaddingException;
46 import javax.crypto.SecretKey;
47 import javax.crypto.spec.GCMParameterSpec;
48 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DKeyWrapUtils.java26 import javax.crypto.Cipher;
27 import javax.crypto.IllegalBlockSizeException;
28 import javax.crypto.NoSuchPaddingException;
29 import javax.crypto.SecretKey;
30 import javax.crypto.spec.GCMParameterSpec;
DTertiaryKeyGenerator.java22 import javax.crypto.KeyGenerator;
23 import javax.crypto.SecretKey;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullRestoreTask.java39 import javax.crypto.BadPaddingException;
40 import javax.crypto.IllegalBlockSizeException;
41 import javax.crypto.NoSuchPaddingException;
42 import javax.crypto.SecretKey;
43 import javax.crypto.ShortBufferException;
DEncryptedKvRestoreTask.java41 import javax.crypto.BadPaddingException;
42 import javax.crypto.IllegalBlockSizeException;
43 import javax.crypto.NoSuchPaddingException;
44 import javax.crypto.SecretKey;
45 import javax.crypto.ShortBufferException;
DEncryptedBackupTask.java47 import javax.crypto.BadPaddingException;
48 import javax.crypto.Cipher;
49 import javax.crypto.IllegalBlockSizeException;
50 import javax.crypto.NoSuchPaddingException;
51 import javax.crypto.SecretKey;
52 import javax.crypto.ShortBufferException;
53 import javax.crypto.spec.GCMParameterSpec;
DBackupFileDecryptorTask.java37 import javax.crypto.BadPaddingException;
38 import javax.crypto.Cipher;
39 import javax.crypto.IllegalBlockSizeException;
40 import javax.crypto.NoSuchPaddingException;
41 import javax.crypto.SecretKey;
42 import javax.crypto.ShortBufferException;
43 import javax.crypto.spec.GCMParameterSpec;
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DWrappedKey.java32 import javax.crypto.Cipher;
33 import javax.crypto.IllegalBlockSizeException;
34 import javax.crypto.NoSuchPaddingException;
35 import javax.crypto.SecretKey;
36 import javax.crypto.spec.GCMParameterSpec;
DSecureBox.java43 import javax.crypto.AEADBadTagException;
44 import javax.crypto.BadPaddingException;
45 import javax.crypto.Cipher;
46 import javax.crypto.IllegalBlockSizeException;
47 import javax.crypto.KeyAgreement;
48 import javax.crypto.Mac;
49 import javax.crypto.NoSuchPaddingException;
50 import javax.crypto.SecretKey;
51 import javax.crypto.spec.GCMParameterSpec;
52 import javax.crypto.spec.SecretKeySpec;
DRecoverableKeyGenerator.java30 import javax.crypto.KeyGenerator;
31 import javax.crypto.SecretKey;
32 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java15 import javax.crypto.Cipher;
16 import javax.crypto.KeyGenerator;
17 import javax.crypto.Mac;
18 import javax.crypto.SecretKey;
19 import javax.crypto.spec.IvParameterSpec;
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DChunkHasherTest.java30 import javax.crypto.Mac;
31 import javax.crypto.SecretKey;
32 import javax.crypto.spec.SecretKeySpec;
DChunkEncryptorTest.java43 import javax.crypto.Cipher;
44 import javax.crypto.Mac;
45 import javax.crypto.SecretKey;
46 import javax.crypto.spec.GCMParameterSpec;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DEncryptionKeyHelper.java35 import javax.crypto.IllegalBlockSizeException;
36 import javax.crypto.NoSuchPaddingException;
37 import javax.crypto.SecretKey;
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java51 import javax.crypto.BadPaddingException;
52 import javax.crypto.Cipher;
53 import javax.crypto.CipherInputStream;
54 import javax.crypto.IllegalBlockSizeException;
55 import javax.crypto.NoSuchPaddingException;
56 import javax.crypto.SecretKey;
57 import javax.crypto.spec.IvParameterSpec;
58 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java54 import javax.crypto.Cipher;
55 import javax.crypto.Mac;
750 public AuthenticationResult(CryptoObject crypto, in AuthenticationResult() argument
753 super(crypto, authenticationType, null /* identifier */, 0 /* userId */); in AuthenticationResult()
916 public void authenticate(@NonNull CryptoObject crypto, in authenticate() argument
928 if (crypto == null) { in authenticate()
951 authenticateInternal(crypto, cancel, executor, callback, mContext.getUserId()); in authenticate()
1016 @Nullable CryptoObject crypto, in authenticateInternal()
1022 mCryptoObject = crypto; in authenticateInternal()
1023 final long operationId = crypto != null ? crypto.getOpId() : 0L; in authenticateInternal()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DMacAuthenticatedInputStreamTest.java28 import javax.crypto.Mac;
29 import javax.crypto.SecretKey;
30 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreCipherSpiBase.java52 import javax.crypto.AEADBadTagException;
53 import javax.crypto.BadPaddingException;
54 import javax.crypto.Cipher;
55 import javax.crypto.CipherSpi;
56 import javax.crypto.IllegalBlockSizeException;
57 import javax.crypto.NoSuchPaddingException;
58 import javax.crypto.SecretKey;
59 import javax.crypto.SecretKeyFactory;
60 import javax.crypto.ShortBufferException;
61 import javax.crypto.spec.OAEPParameterSpec;
[all …]
DAndroidKeyStoreKeyAgreementSpi.java38 import javax.crypto.KeyAgreementSpi;
39 import javax.crypto.SecretKey;
40 import javax.crypto.ShortBufferException;
41 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java30 import javax.crypto.SecretKey;
31 import javax.crypto.SecretKeyFactory;
32 import javax.crypto.spec.PBEKeySpec;

123456