Home
last modified time | relevance | path

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

12

/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp48 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 …]
DNdkMediaCodec.cpp215 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/
Dandroid_media_MediaCrypto.cpp72 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/
DFingerprintManagerCompat.java28 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/
DFingerprintManagerCompatApi23.java26 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/
DFingerprintManager.java40 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/
DCryptoHelper.java14 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/
DMacAuthenticatedInputStreamTest.java24 import javax.crypto.Mac;
25 import javax.crypto.SecretKey;
26 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java50 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;
DAndroidKeyStoreRSACipherSpi.java37 import javax.crypto.Cipher;
38 import javax.crypto.CipherSpi;
39 import javax.crypto.spec.OAEPParameterSpec;
40 import javax.crypto.spec.PSource;
DAndroidKeyStoreSecretKeyFactorySpi.java34 import javax.crypto.SecretKey;
35 import javax.crypto.SecretKeyFactorySpi;
36 import javax.crypto.spec.SecretKeySpec;
DAndroidKeyStoreSecretKey.java19 import javax.crypto.SecretKey;
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java34 import javax.crypto.CipherSpi;
35 import javax.crypto.spec.IvParameterSpec;
DKeyGenParameterSpec.java34 import javax.crypto.Cipher;
35 import javax.crypto.KeyGenerator;
36 import javax.crypto.Mac;
DKeyProtection.java31 import javax.crypto.Cipher;
32 import javax.crypto.Mac;
DAndroidKeyStoreKeyGeneratorSpi.java35 import javax.crypto.KeyGeneratorSpi;
36 import javax.crypto.SecretKey;
DAndroidKeyStoreProvider.java46 import javax.crypto.Cipher;
47 import javax.crypto.Mac;
DAndroidKeyStoreAuthenticatedAESCipherSpi.java43 import javax.crypto.CipherSpi;
44 import javax.crypto.spec.GCMParameterSpec;
DKeyInfo.java26 import javax.crypto.SecretKey;
/frameworks/av/media/libmedia/
DIMediaDrmService.cpp71 sp<ICrypto> crypto = makeCrypto(); in onTransact() local
72 reply->writeStrongBinder(IInterface::asBinder(crypto)); in onTransact()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java28 import javax.crypto.KeyGenerator;
29 import javax.crypto.SecretKey;
/frameworks/av/include/ndk/
DNdkMediaCrypto.h49 void AMediaCrypto_delete(AMediaCrypto* crypto);
DNdkMediaCodec.h91 AMediaCrypto *crypto,
/frameworks/base/core/java/android/net/
DPskKeyManager.java21 import javax.crypto.SecretKey;
/frameworks/base/core/java/android/content/pm/
DMacAuthenticatedInputStream.java23 import javax.crypto.Mac;

12