Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/biometrics/
DCryptoObject.java33 private final Object mCrypto; field in CryptoObject
36 mCrypto = signature; in CryptoObject()
40 mCrypto = cipher; in CryptoObject()
44 mCrypto = mac; in CryptoObject()
52 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature()
60 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher()
68 return mCrypto instanceof Mac ? (Mac) mCrypto : null; in getMac()
76 return mCrypto != null in getOpId()
77 ? AndroidKeyStoreProvider.getKeyStoreOperationHandle(mCrypto) : 0; in getOpId()
/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()
132 if (mCrypto != NULL) { in queueSecureInputBuffer()
146 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer()
298 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
299 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
302 if (mCrypto != nullptr) { in makeMemoryDealer()
303 int32_t seqNum = mCrypto->setHeap(dealer->getMemoryHeap()); in makeMemoryDealer()
DCodecBase.cpp28 mCrypto = crypto; in setCrypto()
DMediaCodec.cpp1133 if (mCrypto != NULL) { in onReleaseCrypto()
1134 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1138 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
1139 mCrypto.clear(); in onReleaseCrypto()
2221 if (mCrypto != NULL) { in onMessageReceived()
2224 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); in onMessageReceived()
2227 mCrypto->notifyResolution(width, height); in onMessageReceived()
2415 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
2417 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
2418 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.cpp416 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1534 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart()
1535 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart()
1982 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder()
1983 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder()
1984 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder()
2387 if (mCrypto != NULL) { in performReset()
2390 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset()
2391 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset()
2392 mCrypto.clear(); in performReset()
2911 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
DNuPlayer.h255 sp<ICrypto> mCrypto; member
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2.cpp1606 ALOGV("onStart: mCrypto: %p", mCrypto.get()); in onStart()
2028 format->setObject("crypto", mCrypto); in instantiateDecoder()
2029 ALOGV("instantiateDecoder: mCrypto: %p isSecure: %d", mCrypto.get(), in instantiateDecoder()
2435 if (mCrypto != NULL) { in performReset()
2438 ALOGD("performReset mCrypto: %p", mCrypto.get()); in performReset()
2439 mCrypto.clear(); in performReset()
2488 if (mCrypto != NULL) { in performPlayNextDataSource()
2491 ALOGD("performReset mCrypto: %p", mCrypto.get()); in performPlayNextDataSource()
2492 mCrypto.clear(); in performPlayNextDataSource()
3001 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
DNuPlayer2.h248 sp<AMediaCryptoWrapper> mCrypto; member
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h139 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h319 sp<ICrypto> mCrypto; variable
DMediaCodec.h364 sp<ICrypto> mCrypto; member
413 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()