Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaCrypto.cpp50 mCrypto = MakeCrypto(uuid, initData, initSize); in JCrypto()
54 if (mCrypto != NULL) { in ~JCrypto()
55 mCrypto->destroyPlugin(); in ~JCrypto()
57 mCrypto.clear(); in ~JCrypto()
102 if (mCrypto == NULL) { in requiresSecureDecoderComponent()
106 return mCrypto->requiresSecureDecoderComponent(mime); in requiresSecureDecoderComponent()
121 return mCrypto == NULL ? NO_INIT : OK; in initCheck()
139 return jcrypto->mCrypto; in GetCrypto()
Dandroid_media_MediaCrypto.h47 sp<ICrypto> mCrypto; member
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java206 private CryptoObject mCrypto; field in FingerprintManager.OnAuthenticationCancelListener
209 mCrypto = crypto; in OnAuthenticationCancelListener()
214 cancelAuthentication(mCrypto); in onCancel()
225 mCrypto = signature; in CryptoObject()
229 mCrypto = cipher; in CryptoObject()
233 mCrypto = mac; in CryptoObject()
241 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature()
249 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher()
257 return mCrypto instanceof Mac ? (Mac) mCrypto : null; in getMac()
265 return mCrypto != null ? in getOpId()
[all …]
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp43 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
44 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
137 if (mCrypto != NULL) { in queueSecureInputBuffer()
138 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer()
270 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
271 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
274 if (mCrypto != nullptr) { in makeMemoryDealer()
275 int32_t seqNum = mCrypto->setHeap(dealer->getMemoryHeap()); in makeMemoryDealer()
DMediaCodec.cpp804 if (mCrypto != NULL) { in onReleaseCrypto()
805 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
809 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
810 mCrypto.clear(); in onReleaseCrypto()
1805 if (mCrypto != NULL) { in onMessageReceived()
1808 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); in onMessageReceived()
1811 mCrypto->notifyResolution(width, height); in onMessageReceived()
2009 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
2011 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
2012 mBufferChannel->setCrypto(mCrypto); in onMessageReceived()
[all …]
/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp56 sp<ICrypto> mCrypto; member
94 crypto->mCrypto = tmp; in AMediaCrypto_new()
DNdkMediaCryptoPriv.h38 sp<ICrypto> mCrypto; member
DNdkMediaCodec.cpp240 crypto ? crypto->mCrypto : NULL, flags)); in AMediaCodec_configure()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1464 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart()
1465 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart()
1838 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder()
1839 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder()
1840 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder()
2240 if (mCrypto != NULL) { in performReset()
2243 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset()
2244 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset()
2245 mCrypto.clear(); in performReset()
2762 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
DNuPlayer.h238 sp<ICrypto> mCrypto; member
/frameworks/av/media/libstagefright/include/
DCodecBase.h260 mCrypto = crypto; in setCrypto()
324 sp<ICrypto> mCrypto; variable
DACodecBufferChannel.h134 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
DMediaCodec.h357 sp<ICrypto> mCrypto; member
405 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()