/frameworks/base/core/java/android/hardware/biometrics/ |
D | CryptoObject.java | 41 private final Object mCrypto; field in CryptoObject 49 mCrypto = signature; in CryptoObject() 58 mCrypto = cipher; in CryptoObject() 67 mCrypto = mac; in CryptoObject() 78 mCrypto = credential; in CryptoObject() 87 mCrypto = session; in CryptoObject() 97 mCrypto = keyAgreement; in CryptoObject() 101 mCrypto = operationHandle; in CryptoObject() 109 return mCrypto instanceof Signature ? (Signature) mCrypto : null; in getSignature() 117 return mCrypto instanceof Cipher ? (Cipher) mCrypto : null; in getCipher() [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 | 190 const sp<ICrypto> &getCrypto() { return mCrypto; } in getCrypto() 225 sp<ICrypto> mCrypto; member
|
D | android_media_MediaCodec.cpp | 373 mCrypto = crypto; in configure()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 56 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel() 57 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel() 164 } else if (mCrypto != NULL) { in queueSecureInputBuffer() 178 result = mCrypto->decrypt(key, iv, mode, pattern, in queueSecureInputBuffer() 331 CHECK(mCrypto); in getHeapSeqNum() 335 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum() 377 if (mCrypto != NULL) { in attachEncryptedBuffer() 391 result = mCrypto->decrypt(key, iv, mode, pattern, in attachEncryptedBuffer() 539 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer() 540 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer() [all …]
|
D | MediaCodec.cpp | 2991 if (mCrypto != NULL) { in onReleaseCrypto() 2992 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto() 2996 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto() 2997 mCrypto.clear(); in onReleaseCrypto() 4967 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived() 4969 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived() 4970 mBufferChannel->setCrypto(mCrypto); in onMessageReceived() 4973 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived() 4982 if ((mFlags & kFlagUseCryptoAsync) && mCrypto) { in onMessageReceived() 5916 if (mCrypto != NULL) { 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 | 555 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 1554 ALOGV("onStart: mCrypto: %p (%d)", mCrypto.get(), in onStart() 1555 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onStart() 2030 format->setPointer("crypto", mCrypto.get()); in instantiateDecoder() 2031 ALOGV("instantiateDecoder: mCrypto: %p (%d) isSecure: %d", mCrypto.get(), in instantiateDecoder() 2032 (mCrypto != NULL ? mCrypto->getStrongCount() : 0), in instantiateDecoder() 2445 if (mCrypto != NULL) { in performReset() 2448 ALOGD("performReset mCrypto: %p (%d)", mCrypto.get(), in performReset() 2449 (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in performReset() 2450 mCrypto.clear(); in performReset() 3127 if (mCrypto != NULL) { in onPrepareDrm() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 163 sp<ICrypto> mCrypto; variable 167 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 216 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel() 217 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel() 475 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination() 476 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination() 479 if (mCrypto) { in ensureDecryptDestination() 480 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination() 486 CHECK(mCrypto); in getHeapSeqNum() 490 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum() 523 if (secure || (mCrypto == nullptr)) { in attachEncryptedBuffers() 581 result = mCrypto->decrypt( in attachEncryptedBuffers() [all …]
|
D | CCodecBufferChannel.h | 402 sp<ICrypto> mCrypto; variable 406 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
|
D | CCodecBuffers.h | 903 sp<ICrypto> mCrypto; variable
|
D | CCodecBuffers.cpp | 1072 mCrypto(crypto),
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayer.h | 261 sp<ICrypto> mCrypto; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodec.h | 588 sp<ICrypto> mCrypto; member 664 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1822 private MediaCrypto mCrypto; field in MediaCodec 2162 mCrypto = null; in finalize() 2178 mCrypto = null; in reset() 2193 mCrypto = null; in release() 2408 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/…
|