Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/biometrics/
DCryptoObject.java35 private final Object mCrypto; field in CryptoObject
38 mCrypto = signature; in CryptoObject()
42 mCrypto = cipher; in CryptoObject()
46 mCrypto = mac; in CryptoObject()
50 mCrypto = credential; in CryptoObject()
58 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature()
66 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher()
74 return mCrypto instanceof Mac ? (Mac) mCrypto : null; in getMac()
82 return mCrypto instanceof IdentityCredential ? (IdentityCredential) mCrypto : null; in getIdentityCredential()
90 if (mCrypto == null) { in getOpId()
[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
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp55 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
56 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
157 } else if (mCrypto != NULL) { in queueSecureInputBuffer()
171 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer()
320 CHECK(mCrypto); in getHeapSeqNum()
324 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum()
365 if (mCrypto != NULL) { in attachEncryptedBuffer()
380 result = mCrypto->decrypt(key, iv, mode, pattern, in attachEncryptedBuffer()
522 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
523 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
[all …]
DMediaCodec.cpp1336 if (mCrypto != NULL) { in onReleaseCrypto()
1337 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1341 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1342 mCrypto.clear(); in onReleaseCrypto()
2632 if (mCrypto != NULL) { in onMessageReceived()
2635 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); in onMessageReceived()
2638 mCrypto->notifyResolution(width, height); in onMessageReceived()
2858 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
2860 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
2861 mBufferChannel->setCrypto(mCrypto); in onMessageReceived()
[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.cpp422 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1524 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart()
1525 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart()
1987 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder()
1988 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder()
1989 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder()
2394 if (mCrypto != NULL) { in performReset()
2397 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset()
2398 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset()
2399 mCrypto.clear(); in performReset()
2918 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
DNuPlayer.h254 sp<ICrypto> mCrypto; member
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp165 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
166 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
337 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
338 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
341 if (mCrypto) { in ensureDecryptDestination()
342 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination()
348 CHECK(mCrypto); in getHeapSeqNum()
352 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum()
393 if (mCrypto) { in attachEncryptedBuffer()
406 result = mCrypto->decrypt( in attachEncryptedBuffer()
[all …]
DCCodecBufferChannel.h312 sp<ICrypto> mCrypto; variable
316 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
DCCodecBuffers.h874 sp<ICrypto> mCrypto; variable
DCCodecBuffers.cpp827 mCrypto(crypto),
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h158 sp<ICrypto> mCrypto; variable
162 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java98 private android.hardware.biometrics.CryptoObject mCrypto; field in FingerprintManager.OnAuthenticationCancelListener
101 mCrypto = crypto; in OnAuthenticationCancelListener()
106 cancelAuthentication(mCrypto); in onCancel()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java952 private CryptoObject mCrypto; field in FaceManager.OnAuthenticationCancelListener
955 mCrypto = crypto; in OnAuthenticationCancelListener()
960 cancelAuthentication(mCrypto); in onCancel()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h417 sp<ICrypto> mCrypto; member
466 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/media/java/android/media/
DMediaCodec.java1681 private MediaCrypto mCrypto; field in MediaCodec
1920 mCrypto = null; in finalize()
1936 mCrypto = null; in reset()
1951 mCrypto = null; in release()
2118 mCrypto = crypto; in configure()