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.java36 private final Object mCrypto; field in CryptoObject
39 mCrypto = signature; in CryptoObject()
43 mCrypto = cipher; in CryptoObject()
47 mCrypto = mac; in CryptoObject()
58 mCrypto = credential; in CryptoObject()
62 mCrypto = session; in CryptoObject()
70 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature()
78 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher()
86 return mCrypto instanceof Mac ? (Mac) mCrypto : null; in getMac()
96 return mCrypto instanceof IdentityCredential ? (IdentityCredential) mCrypto : null; in getIdentityCredential()
[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.h177 const sp<ICrypto> &getCrypto() { return mCrypto; } in getCrypto()
210 sp<ICrypto> mCrypto; member
Dandroid_media_MediaCodec.cpp355 mCrypto = crypto; in configure()
/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.cpp2449 if (mCrypto != NULL) { in onReleaseCrypto()
2450 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
2454 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto()
2455 mCrypto.clear(); in onReleaseCrypto()
4097 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
4099 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived()
4100 mBufferChannel->setCrypto(mCrypto); in onMessageReceived()
4103 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived()
4897 if (mCrypto != NULL) { in handleOutputFormatChangeIfNeeded()
4900 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 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.cpp551 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1539 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart()
1540 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart()
2013 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder()
2014 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder()
2015 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder()
2420 if (mCrypto != NULL) { in performReset()
2423 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset()
2424 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset()
2425 mCrypto.clear(); in performReset()
3092 if (mCrypto != NULL) { in onPrepareDrm()
[all …]
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h158 sp<ICrypto> mCrypto; variable
162 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp176 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
177 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
393 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
394 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
397 if (mCrypto) { in ensureDecryptDestination()
398 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination()
404 CHECK(mCrypto); in getHeapSeqNum()
408 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum()
455 if (mCrypto) { in attachEncryptedBuffer()
468 result = mCrypto->decrypt( in attachEncryptedBuffer()
[all …]
DCCodecBufferChannel.h342 sp<ICrypto> mCrypto; variable
346 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
DCCodecBuffers.h888 sp<ICrypto> mCrypto; variable
DCCodecBuffers.cpp889 mCrypto(crypto),
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayer.h259 sp<ICrypto> mCrypto; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h506 sp<ICrypto> mCrypto; member
568 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
/frameworks/base/media/java/android/media/
DMediaCodec.java1728 private MediaCrypto mCrypto; field in MediaCodec
2008 mCrypto = null; in finalize()
2024 mCrypto = null; in reset()
2039 mCrypto = null; in release()
2206 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/…