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

123

/frameworks/av/drm/libmediadrm/
H A DIMediaDrmService.cpp71 sp<ICrypto> crypto = makeCrypto(); local
72 reply->writeStrongBinder(IInterface::asBinder(crypto));
/frameworks/av/include/media/stagefright/
H A DCodecBase.h259 inline void setCrypto(const sp<ICrypto> &crypto) { argument
260 mCrypto = crypto;
H A DMediaCodec.h95 const sp<ICrypto> &crypto,
101 const sp<ICrypto> &crypto,
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h94 AMediaCrypto *crypto,
268 * crypto info, rather than one obtained from AMediaExtractor.
295 * Set the crypto pattern on an AMediaCryptoInfo object
H A DNdkMediaCrypto.h52 void AMediaCrypto_delete(AMediaCrypto* crypto);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp274 // Widevine sources might re-initialize crypto when starting, if we delay
855 // the codec's crypto object has gone away (b/37960096).
1891 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto)
1902 msg->setPointer("crypto", (void*)crypto);
1909 ALOGV_IF(status == OK, "prepareDrm: mCrypto: %p (%d)", crypto->get(),
1910 (*crypto != NULL ? (*crypto)->getStrongCount() : 0));
1925 // synchronous call to update the source states before the player proceedes with crypto cleanup
1951 CHECK(msg->findPointer("crypto", (voi
1890 prepareDrm( const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto) argument
1954 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, *drmSessionId, status); local
[all...]
H A DGenericSource.h92 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto);
H A DNuPlayer.cpp1838 format->setPointer("crypto", mCrypto.get());
2753 sp<ICrypto> crypto = NULL; local
2755 status = mSource->prepareDrm(uuid, *drmSessionId, &crypto);
2756 if (crypto == NULL) {
2768 mCrypto = crypto;
2790 // notifying the source first before removing crypto from codec
2796 // first making sure the codecs have released their crypto reference
2817 ALOGE("onReleaseDrm: Unexpected. There is no crypto.");
H A DNuPlayerDecoder.cpp331 if (!format->findPointer("crypto", &pCrypto)) {
334 sp<ICrypto> crypto = (ICrypto*)pCrypto; local
335 // non-encrypted source won't have a crypto
336 mIsEncrypted = (crypto != NULL);
340 crypto.get(), (crypto != NULL ? crypto->getStrongCount() : 0), mIsSecure);
343 format, mSurface, crypto, 0 /* flags */);
620 // Clearing the state as it's tied to crypto. mIsEncryptedObservedEarlier is sticky though
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/av/media/libstagefright/
H A DMediaCodec.cpp72 static const char *kCodecCrypto = "android.media.mediacodec.crypto"; /* 0,1 */
689 const sp<ICrypto> &crypto,
691 return configure(format, nativeWindow, crypto, NULL, flags);
697 const sp<ICrypto> &crypto,
727 if (crypto != NULL || descrambler != NULL) {
728 if (crypto != NULL) {
729 msg->setPointer("crypto", crypto.get());
734 // XXX: save indication that it's crypto in some way...
2003 void *crypto; local
686 configure( const sp<AMessage> &format, const sp<Surface> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
694 configure( const sp<AMessage> &format, const sp<Surface> &surface, const sp<ICrypto> &crypto, const sp<IDescrambler> &descrambler, uint32_t flags) argument
[all...]
H A DMediaCodecListOverrides.cpp156 const sp<ICrypto> crypto; local
159 err = codec->configure(format, nativeWindow, crypto, flags);
/frameworks/av/media/libstagefright/foundation/include/
H A DCodecBase.h259 inline void setCrypto(const sp<ICrypto> &crypto) { argument
260 mCrypto = crypto;
H A DMediaCodec.h95 const sp<ICrypto> &crypto,
101 const sp<ICrypto> &crypto,
/frameworks/av/media/libstagefright/include/
H A DCodecBase.h259 inline void setCrypto(const sp<ICrypto> &crypto) { argument
260 mCrypto = crypto;
H A DMediaCodec.h95 const sp<ICrypto> &crypto,
101 const sp<ICrypto> &crypto,
/frameworks/av/media/ndk/
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...]
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...]
/frameworks/base/
H A Dcompiled-classes-phone6133 com.android.org.bouncycastle.crypto.AsymmetricBlockCipher
6134 com.android.org.bouncycastle.crypto.CipherKeyGenerator
6135 com.android.org.bouncycastle.crypto.CipherParameters
6136 com.android.org.bouncycastle.crypto.CryptoException
6137 com.android.org.bouncycastle.crypto.Digest
6138 com.android.org.bouncycastle.crypto.ExtendedDigest
6139 com.android.org.bouncycastle.crypto.InvalidCipherTextException
6140 com.android.org.bouncycastle.crypto.KeyGenerationParameters
6141 com.android.org.bouncycastle.crypto.Mac
6142 com.android.org.bouncycastle.crypto
[all...]
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java23 import javax.crypto.Mac;
/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/core/java/android/net/
H A DPskKeyManager.java21 import javax.crypto.SecretKey;
/frameworks/base/core/proto/android/service/
H A Dfingerprint.proto41 FingerprintActionStatsProto crypto = 4;
/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/keystore/java/android/security/
H A DSystemKeyStore.java28 import javax.crypto.KeyGenerator;
29 import javax.crypto.SecretKey;

Completed in 370 milliseconds

123