/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 48 sp<ICrypto> crypto = service->makeCrypto(); local 49 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 52 return crypto; 65 sp<ICrypto> crypto = makeCrypto(); local 66 if (crypto == NULL) { 69 return crypto->isCryptoSchemeSupported(uuid); 74 sp<ICrypto> crypto = makeCrypto(); local 75 if (crypto 93 AMediaCrypto *crypto = new AMediaCrypto(); local 100 AMediaCrypto_delete(AMediaCrypto* crypto) argument [all...] |
H A D | NdkMediaCodec.cpp | 215 AMediaCrypto *crypto, 226 crypto ? crypto->mCrypto : NULL, flags)); 399 AMediaCodecCryptoInfo* crypto, 403 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; 404 for (int i = 0; i < crypto->numsubsamples; i++) { 405 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; 406 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; 410 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; 411 pattern.mSkipBlocks = crypto 211 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument 395 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSecretKey.java | 19 import javax.crypto.SecretKey;
|
H A 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 [all...] |
H A 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; 506 * Overrides the default padding of the crypto operation.
|
H A D | AndroidKeyStoreSecretKeyFactorySpi.java | 34 import javax.crypto.SecretKey; 35 import javax.crypto.SecretKeyFactorySpi; 36 import javax.crypto.spec.SecretKeySpec;
|
H A D | KeyGenParameterSpec.java | 34 import javax.crypto.Cipher; 35 import javax.crypto.KeyGenerator; 36 import javax.crypto.Mac;
|
H A D | AndroidKeyStoreKeyGeneratorSpi.java | 35 import javax.crypto.KeyGeneratorSpi; 36 import javax.crypto.SecretKey;
|
H A D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 34 import javax.crypto.CipherSpi; 35 import javax.crypto.spec.IvParameterSpec; 101 /** Whether the current {@code #mIv} has been used by the underlying crypto operation. */
|
H A D | KeyProtection.java | 31 import javax.crypto.Cipher; 32 import javax.crypto.Mac;
|
H A D | AndroidKeyStoreHmacSpi.java | 32 import javax.crypto.MacSpi;
|
H A D | KeyInfo.java | 26 import javax.crypto.SecretKey;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 72 sp<ICrypto> crypto = service->makeCrypto(); local 73 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 77 return crypto; 83 sp<ICrypto> crypto = MakeCrypto(); local 85 if (crypto == NULL) { 89 status_t err = crypto->createPlugin(uuid, initData, initSize); 95 return crypto; 108 sp<ICrypto> crypto local 152 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument 202 sp<JCrypto> crypto = new JCrypto( local 261 sp<JCrypto> crypto = getCrypto(env, thiz); local 289 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); local [all...] |
H A D | android_media_MediaCodec.h | 56 const sp<ICrypto> &crypto,
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaCrypto.h | 49 void AMediaCrypto_delete(AMediaCrypto* crypto);
|
H A D | NdkMediaCodec.h | 91 AMediaCrypto *crypto, 193 * crypto info, rather than one obtained from AMediaExtractor. 220 * Set the crypto pattern on an AMediaCryptoInfo object
|
/frameworks/support/v4/java/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompat.java | 28 import javax.crypto.Cipher; 29 import javax.crypto.Mac; 79 * Request authentication of a crypto object. This call warms up the fingerprint hardware 86 * @param crypto object associated with the call or null if none required. 92 public void authenticate(@Nullable CryptoObject crypto, int flags, argument 95 IMPL.authenticate(mContext, crypto, flags, cancel, callback, handler); 99 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 153 public AuthenticationResult(CryptoObject crypto) { argument 154 mCryptoObject = crypto; 158 * Obtain the crypto objec 205 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument 226 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument 248 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument [all...] |
/frameworks/support/v4/api23/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompatApi23.java | 25 import javax.crypto.Cipher; 26 import javax.crypto.Mac; 46 public static void authenticate(Context context, CryptoObject crypto, int flags, Object cancel, argument 48 getFingerprintManager(context).authenticate(wrapCryptoObject(crypto), 139 public AuthenticationResultInternal(CryptoObject crypto) { argument 140 mCryptoObject = crypto;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A 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; 21 * A crypto helper for encrypting and decrypting bundle with in-memory symmetric
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | MacAuthenticatedInputStreamTest.java | 24 import javax.crypto.Mac; 25 import javax.crypto.SecretKey; 26 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 23 import javax.crypto.Mac;
|
/frameworks/base/core/java/android/net/ |
H A D | PskKeyManager.java | 21 import javax.crypto.SecretKey;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaDrmService.cpp | 71 sp<ICrypto> crypto = makeCrypto(); local 72 reply->writeStrongBinder(IInterface::asBinder(crypto));
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 40 import javax.crypto.Cipher; 41 import javax.crypto.Mac; 191 public OnAuthenticationCancelListener(CryptoObject crypto) { argument 192 mCrypto = crypto; 202 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 266 * @param crypto the crypto object 270 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint) { argument 271 mCryptoObject = crypto; 276 * Obtain the crypto objec 428 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 450 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | SystemKeyStore.java | 28 import javax.crypto.KeyGenerator; 29 import javax.crypto.SecretKey;
|