/frameworks/base/core/java/android/hardware/biometrics/ |
D | CryptoObject.java | 35 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/ |
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
|
/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 | 1336 if (mCrypto != NULL) { in onReleaseCrypto() 1337 ALOGV("onReleaseCrypto: mCrypto: %p (%d)", mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto() 1341 mCrypto.get(), mCrypto->getStrongCount()); in onReleaseCrypto() 1342 mCrypto.clear(); in onReleaseCrypto() 2632 if (mCrypto != NULL) { in onMessageReceived() 2635 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); in onMessageReceived() 2638 mCrypto->notifyResolution(width, height); in onMessageReceived() 2858 mCrypto.get(), (mCrypto != NULL ? mCrypto->getStrongCount() : 0)); in onMessageReceived() 2860 mCrypto = static_cast<ICrypto *>(crypto); in onMessageReceived() 2861 mBufferChannel->setCrypto(mCrypto); in onMessageReceived() [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 | 422 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 1524 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 …]
|
D | NuPlayer.h | 254 sp<ICrypto> mCrypto; member
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 165 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel() 166 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel() 337 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination() 338 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination() 341 if (mCrypto) { in ensureDecryptDestination() 342 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination() 348 CHECK(mCrypto); in getHeapSeqNum() 352 heapSeqNum = mCrypto->setHeap(memory); in getHeapSeqNum() 393 if (mCrypto) { in attachEncryptedBuffer() 406 result = mCrypto->decrypt( in attachEncryptedBuffer() [all …]
|
D | CCodecBufferChannel.h | 312 sp<ICrypto> mCrypto; variable 316 return mCrypto != nullptr || mDescrambler != nullptr; in hasCryptoOrDescrambler()
|
D | CCodecBuffers.h | 874 sp<ICrypto> mCrypto; variable
|
D | CCodecBuffers.cpp | 827 mCrypto(crypto),
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 158 sp<ICrypto> mCrypto; variable 162 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 98 private android.hardware.biometrics.CryptoObject mCrypto; field in FingerprintManager.OnAuthenticationCancelListener 101 mCrypto = crypto; in OnAuthenticationCancelListener() 106 cancelAuthentication(mCrypto); in onCancel()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 952 private CryptoObject mCrypto; field in FaceManager.OnAuthenticationCancelListener 955 mCrypto = crypto; in OnAuthenticationCancelListener() 960 cancelAuthentication(mCrypto); in onCancel()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodec.h | 417 sp<ICrypto> mCrypto; member 466 return mCrypto != NULL || mDescrambler != NULL; in hasCryptoOrDescrambler()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1681 private MediaCrypto mCrypto; field in MediaCodec 1920 mCrypto = null; in finalize() 1936 mCrypto = null; in reset() 1951 mCrypto = null; in release() 2118 mCrypto = crypto; in configure()
|