Home
last modified time | relevance | path

Searched refs:mCrypto (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/hardware/biometrics/
DCryptoObject.java41 private final Object mCrypto; field in CryptoObject
49 mCrypto = signature; in CryptoObject()
58 mCrypto = cipher; in CryptoObject()
67 mCrypto = mac; in CryptoObject()
78 mCrypto = credential; in CryptoObject()
87 mCrypto = session; in CryptoObject()
97 mCrypto = keyAgreement; in CryptoObject()
101 mCrypto = operationHandle; in CryptoObject()
109 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature()
117 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher()
[all …]
/frameworks/av/drm/libmediadrm/fuzzer/
Dmediadrm_fuzzer.cpp131 sp<CryptoHal> mCrypto = nullptr; member in DrmFuzzer
331 mCrypto = new CryptoHal(); in initCrypto()
332 if (!mCrypto) { in initCrypto()
339 mCrypto->initCheck(); in invokeCryptoCreatePlugin()
341 mCrypto->isCryptoSchemeSupported(kClearKeyUUID); in invokeCryptoCreatePlugin()
342 mCrypto->createPlugin(kClearKeyUUID, NULL, 0); in invokeCryptoCreatePlugin()
345 void DrmFuzzer::invokeCryptoDestroyPlugin() { mCrypto->destroyPlugin(); } in invokeCryptoDestroyPlugin()
348 mCrypto->requiresSecureDecoderComponent( in invokeCryptoDecrypt()
353 mCrypto->notifyResolution(width, height); in invokeCryptoDecrypt()
355 mCrypto->setMediaDrmSession(mSessionId); in invokeCryptoDecrypt()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaCrypto.cpp49 mCrypto = MakeCrypto(uuid, initData, initSize); in JCrypto()
53 if (mCrypto != NULL) { in ~JCrypto()
54 mCrypto->destroyPlugin(); in ~JCrypto()
56 mCrypto.clear(); in ~JCrypto()
88 if (mCrypto == NULL) { in requiresSecureDecoderComponent()
92 return mCrypto->requiresSecureDecoderComponent(mime); in requiresSecureDecoderComponent()
107 return mCrypto == NULL ? NO_INIT : OK; in initCheck()
125 return jcrypto->mCrypto; in GetCrypto()
Dandroid_media_MediaCrypto.h47 sp<ICrypto> mCrypto; member
Dandroid_media_MediaCodec.h190 const sp<ICrypto> &getCrypto() { return mCrypto; } in getCrypto()
225 sp<ICrypto> mCrypto; member
Dandroid_media_MediaCodec.cpp373 mCrypto = crypto; in configure()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp56 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
57 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
164 } else if (mCrypto != NULL) { in queueSecureInputBuffer()
178 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer()
331 CHECK(mCrypto); in getHeapSeqNum()
335 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum()
377 if (mCrypto != NULL) { in attachEncryptedBuffer()
391 result = mCrypto->decrypt(key, iv, mode, pattern, in attachEncryptedBuffer()
539 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
540 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
[all …]
DMediaCodec.cpp2991 if (mCrypto != NULL) { in onReleaseCrypto()
2992 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
2996 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
2997 mCrypto.clear(); in onReleaseCrypto()
4967 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
4969 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
4970 mBufferChannel->setCrypto(mCrypto); in onMessageReceived()
4973 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
4982 if ((mFlags & kFlagUseCryptoAsync) && mCrypto) { in onMessageReceived()
5916 if (mCrypto != NULL) { in handleOutputFormatChangeIfNeeded()
[all …]
/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp42 sp<ICrypto> mCrypto; member
80 crypto->mCrypto = tmp; in AMediaCrypto_new()
DNdkMediaCryptoPriv.h38 sp<ICrypto> mCrypto; member
DNdkMediaCodec.cpp555 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1554 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart()
1555 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart()
2030 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder()
2031 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder()
2032 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder()
2445 if (mCrypto != NULL) { in performReset()
2448 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset()
2449 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset()
2450 mCrypto.clear(); in performReset()
3127 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h163 sp<ICrypto> mCrypto; variable
167 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp216 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
217 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
475 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
476 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
479 if (mCrypto) { in ensureDecryptDestination()
480 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination()
486 CHECK(mCrypto); in getHeapSeqNum()
490 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum()
523 if (secure || (mCrypto == nullptr)) { in attachEncryptedBuffers()
581 result = mCrypto->decrypt( in attachEncryptedBuffers()
[all …]
DCCodecBufferChannel.h402 sp<ICrypto> mCrypto; variable
406 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
DCCodecBuffers.h903 sp<ICrypto> mCrypto; variable
DCCodecBuffers.cpp1072 mCrypto(crypto),
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayer.h261 sp<ICrypto> mCrypto; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h588 sp<ICrypto> mCrypto; member
664 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/media/java/android/media/
DMediaCodec.java1822 private MediaCrypto mCrypto; field in MediaCodec
2162 mCrypto = null; in finalize()
2178 mCrypto = null; in reset()
2193 mCrypto = null; in release()
2408 mCrypto = crypto; in configure()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18575 Landroid/hardware/biometrics/CryptoObject;->mCrypto:Ljava/lang/Object;
20047 Landroid/hardware/fingerprint/FingerprintManager$OnAuthenticationCancelListener;->mCrypto:Landroid/…