/frameworks/av/media/ndk/ |
D | NdkMediaCrypto.cpp | 48 sp<ICrypto> crypto = service->makeCrypto(); in makeCrypto() local 49 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in makeCrypto() 52 return crypto; in makeCrypto() 65 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_isCryptoSchemeSupported() local 66 if (crypto == NULL) { in AMediaCrypto_isCryptoSchemeSupported() 69 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported() 74 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_requiresSecureDecoderComponent() local 75 if (crypto == NULL) { in AMediaCrypto_requiresSecureDecoderComponent() 78 return crypto->requiresSecureDecoderComponent(mime); in AMediaCrypto_requiresSecureDecoderComponent() 93 AMediaCrypto *crypto = new AMediaCrypto(); in AMediaCrypto_new() local [all …]
|
D | NdkMediaCodec.cpp | 215 AMediaCrypto *crypto, in AMediaCodec_configure() argument 226 crypto ? crypto->mCrypto : NULL, flags)); in AMediaCodec_configure() 399 AMediaCodecCryptoInfo* crypto, in AMediaCodec_queueSecureInputBuffer() argument 403 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() 404 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer() 405 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer() 406 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer() 410 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; in AMediaCodec_queueSecureInputBuffer() 411 pattern.mSkipBlocks = crypto->pattern.skipBlocks; in AMediaCodec_queueSecureInputBuffer() 417 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCrypto.cpp | 72 sp<ICrypto> crypto = service->makeCrypto(); in MakeCrypto() local 73 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in MakeCrypto() 77 return crypto; in MakeCrypto() 83 sp<ICrypto> crypto = MakeCrypto(); in MakeCrypto() local 85 if (crypto == NULL) { in MakeCrypto() 89 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 95 return crypto; in MakeCrypto() 108 sp<ICrypto> crypto = MakeCrypto(); in IsCryptoSchemeSupported() local 110 if (crypto == NULL) { in IsCryptoSchemeSupported() 114 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported() [all …]
|
/frameworks/support/compat/java/android/support/v4/hardware/fingerprint/ |
D | FingerprintManagerCompat.java | 28 import javax.crypto.Cipher; 29 import javax.crypto.Mac; 92 public void authenticate(@Nullable CryptoObject crypto, int flags, in authenticate() argument 95 IMPL.authenticate(mContext, crypto, flags, cancel, callback, handler); in authenticate() 153 public AuthenticationResult(CryptoObject crypto) { in AuthenticationResult() argument 154 mCryptoObject = crypto; in AuthenticationResult() 205 void authenticate(Context context, CryptoObject crypto, int flags, in authenticate() argument 226 public void authenticate(Context context, CryptoObject crypto, int flags, in authenticate() argument 248 public void authenticate(Context context, CryptoObject crypto, int flags, in authenticate() argument 250 FingerprintManagerCompatApi23.authenticate(context, wrapCryptoObject(crypto), flags, in authenticate()
|
/frameworks/support/compat/api23/android/support/v4/hardware/fingerprint/ |
D | FingerprintManagerCompatApi23.java | 26 import javax.crypto.Cipher; 27 import javax.crypto.Mac; 50 public static void authenticate(Context context, CryptoObject crypto, int flags, Object cancel, in authenticate() argument 52 getFingerprintManager(context).authenticate(wrapCryptoObject(crypto), in authenticate() 143 public AuthenticationResultInternal(CryptoObject crypto) { 144 mCryptoObject = crypto;
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 40 import javax.crypto.Cipher; 41 import javax.crypto.Mac; 191 public OnAuthenticationCancelListener(CryptoObject crypto) { in OnAuthenticationCancelListener() argument 192 mCrypto = crypto; in OnAuthenticationCancelListener() 271 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint, int userId) { in AuthenticationResult() argument 272 mCryptoObject = crypto; in AuthenticationResult() 436 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel, in authenticate() argument 438 authenticate(crypto, cancel, flags, callback, handler, UserHandle.myUserId()); in authenticate() 458 public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel, in authenticate() argument 469 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate() [all …]
|
/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/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 24 import javax.crypto.Mac; 25 import javax.crypto.SecretKey; 26 import javax.crypto.spec.SecretKeySpec;
|
/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;
|
D | AndroidKeyStoreRSACipherSpi.java | 37 import javax.crypto.Cipher; 38 import javax.crypto.CipherSpi; 39 import javax.crypto.spec.OAEPParameterSpec; 40 import javax.crypto.spec.PSource;
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 34 import javax.crypto.SecretKey; 35 import javax.crypto.SecretKeyFactorySpi; 36 import javax.crypto.spec.SecretKeySpec;
|
D | AndroidKeyStoreSecretKey.java | 19 import javax.crypto.SecretKey;
|
D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 34 import javax.crypto.CipherSpi; 35 import javax.crypto.spec.IvParameterSpec;
|
D | KeyGenParameterSpec.java | 34 import javax.crypto.Cipher; 35 import javax.crypto.KeyGenerator; 36 import javax.crypto.Mac;
|
D | KeyProtection.java | 31 import javax.crypto.Cipher; 32 import javax.crypto.Mac;
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 35 import javax.crypto.KeyGeneratorSpi; 36 import javax.crypto.SecretKey;
|
D | AndroidKeyStoreProvider.java | 46 import javax.crypto.Cipher; 47 import javax.crypto.Mac;
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 43 import javax.crypto.CipherSpi; 44 import javax.crypto.spec.GCMParameterSpec;
|
D | KeyInfo.java | 26 import javax.crypto.SecretKey;
|
/frameworks/av/media/libmedia/ |
D | IMediaDrmService.cpp | 71 sp<ICrypto> crypto = makeCrypto(); in onTransact() local 72 reply->writeStrongBinder(IInterface::asBinder(crypto)); in onTransact()
|
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 28 import javax.crypto.KeyGenerator; 29 import javax.crypto.SecretKey;
|
/frameworks/av/include/ndk/ |
D | NdkMediaCrypto.h | 49 void AMediaCrypto_delete(AMediaCrypto* crypto);
|
D | NdkMediaCodec.h | 91 AMediaCrypto *crypto,
|
/frameworks/base/core/java/android/net/ |
D | PskKeyManager.java | 21 import javax.crypto.SecretKey;
|
/frameworks/base/core/java/android/content/pm/ |
D | MacAuthenticatedInputStream.java | 23 import javax.crypto.Mac;
|