/frameworks/base/core/java/android/hardware/biometrics/ |
D | CryptoObject.java | 36 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/ |
D | mediadrm_fuzzer.cpp | 131 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/ |
D | android_media_MediaCrypto.cpp | 49 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()
|
D | android_media_MediaCrypto.h | 47 sp<ICrypto> mCrypto; member
|
D | android_media_MediaCodec.h | 177 const sp<ICrypto> &getCrypto() { return mCrypto; } in getCrypto() 210 sp<ICrypto> mCrypto; member
|
D | android_media_MediaCodec.cpp | 355 mCrypto = crypto; in configure()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 55 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 …]
|
D | MediaCodec.cpp | 2449 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/ |
D | NdkMediaCrypto.cpp | 42 sp<ICrypto> mCrypto; member 80 crypto->mCrypto = tmp; in AMediaCrypto_new()
|
D | NdkMediaCryptoPriv.h | 38 sp<ICrypto> mCrypto; member
|
D | NdkMediaCodec.cpp | 551 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 1539 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/ |
D | ACodecBufferChannel.h | 158 sp<ICrypto> mCrypto; variable 162 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 176 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 …]
|
D | CCodecBufferChannel.h | 342 sp<ICrypto> mCrypto; variable 346 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
|
D | CCodecBuffers.h | 888 sp<ICrypto> mCrypto; variable
|
D | CCodecBuffers.cpp | 889 mCrypto(crypto),
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayer.h | 259 sp<ICrypto> mCrypto; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodec.h | 506 sp<ICrypto> mCrypto; member 568 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1728 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/ |
D | hiddenapi-max-target-o.txt | 18575 Landroid/hardware/biometrics/CryptoObject;->mCrypto:Ljava/lang/Object; 20047 Landroid/hardware/fingerprint/FingerprintManager$OnAuthenticationCancelListener;->mCrypto:Landroid/…
|