Searched refs:crypto (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp48 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 DNdkMediaCodec.cpp229 AMediaCrypto *crypto,
240 crypto ? crypto->mCrypto : NULL, flags));
505 AMediaCodecCryptoInfo* crypto,
509 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples];
510 for (int i = 0; i < crypto->numsubsamples; i++) {
511 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i];
512 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i];
516 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks;
517 pattern.mSkipBlocks = crypto
225 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument
501 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 DAndroidKeyStoreSecretKey.java19 import javax.crypto.SecretKey;
H A 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
[all...]
H A DAndroidKeyStoreRSACipherSpi.java37 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 DAndroidKeyStoreSecretKeyFactorySpi.java34 import javax.crypto.SecretKey;
35 import javax.crypto.SecretKeyFactorySpi;
36 import javax.crypto.spec.SecretKeySpec;
H A DKeyGenParameterSpec.java34 import javax.crypto.Cipher;
35 import javax.crypto.KeyGenerator;
36 import javax.crypto.Mac;
579 * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw
1078 * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp75 sp<ICrypto> crypto = service->makeCrypto(); local
76 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) {
80 return crypto;
86 sp<ICrypto> crypto = MakeCrypto(); local
88 if (crypto == NULL) {
92 status_t err = crypto->createPlugin(uuid, initData, initSize);
98 return crypto;
111 sp<ICrypto> crypto local
155 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument
205 sp<JCrypto> crypto = new JCrypto( local
264 sp<JCrypto> crypto = getCrypto(env, thiz); local
292 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); local
[all...]
/frameworks/base/core/proto/android/service/
H A Dfingerprint.proto41 FingerprintActionStatsProto crypto = 4;
/frameworks/av/include/ndk/
H A DNdkMediaCrypto.h52 void AMediaCrypto_delete(AMediaCrypto* crypto);
H A DNdkMediaCodec.h94 AMediaCrypto *crypto,
268 * crypto info, rather than one obtained from AMediaExtractor.
295 * Set the crypto pattern on an AMediaCryptoInfo object
/frameworks/support/compat/java/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompat.java29 import javax.crypto.Cipher;
30 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
249 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument
[all...]
/frameworks/support/compat/api23/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompatApi23.java31 import javax.crypto.Cipher;
32 import javax.crypto.Mac;
69 static void authenticate(Context context, CryptoObject crypto, int flags, Object cancel, argument
73 fp.authenticate(wrapCryptoObject(crypto),
165 public AuthenticationResultInternal(CryptoObject crypto) { argument
166 mCryptoObject = crypto;
/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordCrypto.java35 import javax.crypto.BadPaddingException;
36 import javax.crypto.Cipher;
37 import javax.crypto.IllegalBlockSizeException;
38 import javax.crypto.KeyGenerator;
39 import javax.crypto.NoSuchPaddingException;
40 import javax.crypto.SecretKey;
41 import javax.crypto.spec.GCMParameterSpec;
42 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/services/core/java/com/android/server/accounts/
H A 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;
21 * A crypto helper for encrypting and decrypting bundle with in-memory symmetric
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java24 import javax.crypto.Mac;
25 import javax.crypto.SecretKey;
26 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java23 import javax.crypto.Mac;
/frameworks/base/core/java/android/net/
H A DPskKeyManager.java21 import javax.crypto.SecretKey;
/frameworks/av/drm/libmediadrm/
H A DIMediaDrmService.cpp71 sp<ICrypto> crypto = makeCrypto(); local
72 reply->writeStrongBinder(IInterface::asBinder(crypto));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.cpp72 sp<ICrypto> crypto = service->makeCrypto(); local
73 if (crypto == NULL) {
80 status = crypto->initCheck();
82 ALOGE("createCrypto failed crypto->initCheck(): %d", status);
86 return crypto;
156 // temporary DRM object for crypto Scheme enquiry (without creating a plugin)
190 sp<ICrypto> crypto = createCrypto(&status); local
191 if (crypto == NULL) {
197 status = crypto->createPlugin(uuid, drmSessionId.array(), drmSessionId.size());
200 // crypto wil
[all...]
/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprintManager.java42 import javax.crypto.Cipher;
43 import javax.crypto.Mac;
208 public OnAuthenticationCancelListener(CryptoObject crypto) { argument
209 mCrypto = crypto;
219 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the
284 * @param crypto the crypto object
288 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint, int userId) { argument
289 mCryptoObject = crypto;
295 * Obtain the crypto objec
480 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument
502 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 DSystemKeyStore.java28 import javax.crypto.KeyGenerator;
29 import javax.crypto.SecretKey;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockSyntheticPasswordManager.java27 import javax.crypto.SecretKeyFactory;
28 import javax.crypto.spec.PBEKeySpec;
/frameworks/av/include/media/stagefright/
H A DCodecBase.h259 inline void setCrypto(const sp<ICrypto> &crypto) { argument
260 mCrypto = crypto;
/frameworks/av/media/libstagefright/foundation/include/
H A DCodecBase.h259 inline void setCrypto(const sp<ICrypto> &crypto) { argument
260 mCrypto = crypto;

Completed in 751 milliseconds

123