/frameworks/av/media/ndk/ |
D | NdkMediaCrypto.cpp | 47 sp<ICrypto> crypto = service->makeCrypto(); in makeCrypto() local 48 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in makeCrypto() 51 return crypto; in makeCrypto() 64 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_isCryptoSchemeSupported() local 65 if (crypto == NULL) { in AMediaCrypto_isCryptoSchemeSupported() 68 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported() 73 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_requiresSecureDecoderComponent() local 74 if (crypto == NULL) { in AMediaCrypto_requiresSecureDecoderComponent() 77 return crypto->requiresSecureDecoderComponent(mime); in AMediaCrypto_requiresSecureDecoderComponent() 92 AMediaCrypto *crypto = new AMediaCrypto(); in AMediaCrypto_new() local [all …]
|
D | NdkMediaCodec.cpp | 411 AMediaCrypto *crypto, in AMediaCodec_configure() argument 422 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure() 759 AMediaCodecCryptoInfo* crypto, in AMediaCodec_queueSecureInputBuffer() argument 763 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() 764 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer() 765 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer() 766 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer() 770 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; in AMediaCodec_queueSecureInputBuffer() 771 pattern.mSkipBlocks = crypto->pattern.skipBlocks; in AMediaCodec_queueSecureInputBuffer() 777 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCrypto.cpp | 75 sp<ICrypto> crypto = service->makeCrypto(); in MakeCrypto() local 76 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in MakeCrypto() 80 return crypto; in MakeCrypto() 86 sp<ICrypto> crypto = MakeCrypto(); in MakeCrypto() local 88 if (crypto == NULL) { in MakeCrypto() 92 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 98 return crypto; in MakeCrypto() 111 sp<ICrypto> crypto = MakeCrypto(); in IsCryptoSchemeSupported() local 113 if (crypto == NULL) { in IsCryptoSchemeSupported() 117 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | ChunkEncryptor.java | 24 import javax.crypto.BadPaddingException; 25 import javax.crypto.Cipher; 26 import javax.crypto.IllegalBlockSizeException; 27 import javax.crypto.NoSuchPaddingException; 28 import javax.crypto.SecretKey; 29 import javax.crypto.spec.GCMParameterSpec;
|
D | ChunkHasher.java | 22 import javax.crypto.Mac; 23 import javax.crypto.SecretKey;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 37 import javax.crypto.BadPaddingException; 38 import javax.crypto.Cipher; 39 import javax.crypto.IllegalBlockSizeException; 40 import javax.crypto.KeyGenerator; 41 import javax.crypto.NoSuchPaddingException; 42 import javax.crypto.SecretKey; 43 import javax.crypto.spec.GCMParameterSpec;
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricPrompt.java | 44 import javax.crypto.Cipher; 45 import javax.crypto.Mac; 453 public AuthenticationResult(CryptoObject crypto) { in AuthenticationResult() argument 455 super(crypto, null /* identifier */, 0 /* userId */); in AuthenticationResult() 570 public void authenticate(@NonNull CryptoObject crypto, in authenticate() argument 574 if (crypto == null) { in authenticate() 589 authenticateInternal(crypto, cancel, executor, callback, mContext.getUserId(), in authenticate() 646 private void authenticateInternal(@Nullable CryptoObject crypto, in authenticateInternal() argument 660 mCryptoObject = crypto; in authenticateInternal() 663 final long sessionId = crypto != null ? crypto.getOpId() : 0; in authenticateInternal()
|
D | BiometricAuthenticator.java | 129 public AuthenticationResult(CryptoObject crypto, Identifier identifier, in AuthenticationResult() argument 131 mCryptoObject = crypto; in AuthenticationResult() 249 default void authenticate(@NonNull CryptoObject crypto, in authenticate() argument
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 36 import javax.crypto.BadPaddingException; 37 import javax.crypto.Cipher; 38 import javax.crypto.IllegalBlockSizeException; 39 import javax.crypto.KeyGenerator; 40 import javax.crypto.NoSuchPaddingException; 41 import javax.crypto.SecretKey; 42 import javax.crypto.spec.GCMParameterSpec; 43 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 72 sp<ICrypto> crypto = service->makeCrypto(); in createCrypto() local 73 if (crypto == NULL) { in createCrypto() 80 status = crypto->initCheck(); in createCrypto() 86 return crypto; in createCrypto() 194 sp<ICrypto> crypto = createCrypto(&status); in createCryptoAndPlugin() local 195 if (crypto == NULL) { in createCryptoAndPlugin() 201 status = crypto->createPlugin(uuid, drmSessionId.array(), drmSessionId.size()); in createCryptoAndPlugin() 208 return crypto; in createCryptoAndPlugin()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKey.java | 32 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;
|
D | SecureBox.java | 43 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;
|
D | RecoverableKeyGenerator.java | 30 import javax.crypto.KeyGenerator; 31 import javax.crypto.SecretKey; 32 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | CryptoHelper.java | 14 import javax.crypto.Cipher; 15 import javax.crypto.KeyGenerator; 16 import javax.crypto.Mac; 17 import javax.crypto.SecretKey; 18 import javax.crypto.spec.IvParameterSpec;
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | ChunkHasherTest.java | 30 import javax.crypto.Mac; 31 import javax.crypto.SecretKey; 32 import javax.crypto.spec.SecretKeySpec;
|
D | ChunkEncryptorTest.java | 43 import javax.crypto.Cipher; 44 import javax.crypto.Mac; 45 import javax.crypto.SecretKey; 46 import javax.crypto.spec.GCMParameterSpec;
|
/frameworks/av/media/libstagefright/ |
D | CodecBase.cpp | 27 void BufferChannelBase::setCrypto(const sp<ICrypto> &crypto) { in setCrypto() argument 28 mCrypto = crypto; in setCrypto()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 54 import javax.crypto.Cipher; 55 import javax.crypto.Mac; 100 public OnAuthenticationCancelListener(android.hardware.biometrics.CryptoObject crypto) { in OnAuthenticationCancelListener() argument 101 mCrypto = crypto; in OnAuthenticationCancelListener() 181 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint, int userId) { in AuthenticationResult() argument 182 mCryptoObject = crypto; in AuthenticationResult() 385 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel, in authenticate() argument 387 authenticate(crypto, cancel, flags, callback, handler, mContext.getUserId()); in authenticate() 410 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel, in authenticate() argument 421 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 58 import javax.crypto.BadPaddingException; 59 import javax.crypto.Cipher; 60 import javax.crypto.CipherInputStream; 61 import javax.crypto.IllegalBlockSizeException; 62 import javax.crypto.NoSuchPaddingException; 63 import javax.crypto.SecretKey; 64 import javax.crypto.spec.IvParameterSpec; 65 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 28 import javax.crypto.Mac; 29 import javax.crypto.SecretKey; 30 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGenerator.java | 22 import javax.crypto.KeyGenerator; 23 import javax.crypto.SecretKey;
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | PasswordUtils.java | 30 import javax.crypto.SecretKey; 31 import javax.crypto.SecretKeyFactory; 32 import javax.crypto.spec.PBEKeySpec;
|
/frameworks/base/identity/java/android/security/identity/ |
D | CredstoreIdentityCredential.java | 44 import javax.crypto.BadPaddingException; 45 import javax.crypto.Cipher; 46 import javax.crypto.IllegalBlockSizeException; 47 import javax.crypto.KeyAgreement; 48 import javax.crypto.NoSuchPaddingException; 49 import javax.crypto.SecretKey; 50 import javax.crypto.spec.GCMParameterSpec; 51 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | CryptoTestUtils.java | 22 import javax.crypto.KeyGenerator; 23 import javax.crypto.SecretKey;
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreCipherSpiBase.java | 50 import javax.crypto.AEADBadTagException; 51 import javax.crypto.BadPaddingException; 52 import javax.crypto.Cipher; 53 import javax.crypto.CipherSpi; 54 import javax.crypto.IllegalBlockSizeException; 55 import javax.crypto.NoSuchPaddingException; 56 import javax.crypto.SecretKey; 57 import javax.crypto.SecretKeyFactory; 58 import javax.crypto.ShortBufferException; 59 import javax.crypto.spec.SecretKeySpec;
|