Home
last modified time | relevance | path

Searched refs:mCrypto (Results 1 – 22 of 22) 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.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/av/media/libstagefright/
DACodecBufferChannel.cpp48 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
49 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
133 if (mCrypto != NULL) { in queueSecureInputBuffer()
147 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer()
311 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
312 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
315 if (mCrypto != nullptr) { in makeMemoryDealer()
316 int32_t seqNum = mCrypto->setHeap(dealer->getMemoryHeap()); in makeMemoryDealer()
DCodecBase.cpp28 mCrypto = crypto; in setCrypto()
DMediaCodec.cpp1171 if (mCrypto != NULL) { in onReleaseCrypto()
1172 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1176 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1177 mCrypto.clear(); in onReleaseCrypto()
2360 if (mCrypto != NULL) { in onMessageReceived()
2363 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); in onMessageReceived()
2366 mCrypto->notifyResolution(width, height); in onMessageReceived()
2567 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
2569 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
2570 mBufferChannel->setCrypto(mCrypto); in onMessageReceived()
[all …]
/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp55 sp<ICrypto> mCrypto; member
93 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.h255 sp<ICrypto> mCrypto; member
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h139 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/media/java/android/media/
DMediaCodec.java1673 private MediaCrypto mCrypto; field in MediaCodec
1875 mCrypto = null; in finalize()
1891 mCrypto = null; in reset()
1906 mCrypto = null; in release()
2024 mCrypto = crypto; in configure()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h319 sp<ICrypto> mCrypto; variable
DMediaCodec.h372 sp<ICrypto> mCrypto; member
421 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java954 private CryptoObject mCrypto; field in FaceManager.OnAuthenticationCancelListener
957 mCrypto = crypto; in OnAuthenticationCancelListener()
962 cancelAuthentication(mCrypto); in onCancel()
/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/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp246 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
247 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
433 if (mCrypto != nullptr) { in queueSecureInputBuffer()
444 result = mCrypto->decrypt( in queueSecureInputBuffer()
921 if (mCrypto != nullptr && mHeapSeqNum < 0) { in start()
922 mHeapSeqNum = mCrypto->setHeap(mDealer->getMemoryHeap()); in start()
927 secure, mDealer, mCrypto, mHeapSeqNum, (size_t)capacity, in start()
DCCodecBufferChannel.h322 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
DCCodecBuffers.h615 sp<ICrypto> mCrypto; variable
DCCodecBuffers.cpp583 mCrypto(crypto),
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt21462 Landroid/hardware/biometrics/CryptoObject;->mCrypto:Ljava/lang/Object;
22934 Landroid/hardware/fingerprint/FingerprintManager$OnAuthenticationCancelListener;->mCrypto:Landroid/…