/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | AesCtrDecryptorUnittest.cpp | 34 uint8_t* destination, const SubSample* subSamples, in attemptDecrypt() argument 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, in attemptDecrypt() 48 const SubSample* subSamples, in attemptDecryptExpectingSuccess() argument 53 subSamples, numSubSamples, in attemptDecryptExpectingSuccess() 97 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 102 subSamples, kNumSubsamples); in TEST_F() 142 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 148 subSamples, kNumSubsamples); in TEST_F() 188 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 194 subSamples, kNumSubsamples); in TEST_F() [all …]
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 100 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() 123 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt() 124 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt() 131 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt() 243 CryptoPlugin::SubSample *subSamples = in onTransact() local 247 subSamples, in onTransact() 264 subSamples, numSubSamples, in onTransact() 284 delete[] subSamples; in onTransact() 285 subSamples = NULL; in onTransact()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | CryptoPlugin.cpp | 37 const SubSample* subSamples, size_t numSubSamples, in decrypt() argument 48 const SubSample& subSample = subSamples[i]; in decrypt() 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
|
D | AesCtrDecryptor.cpp | 32 const SubSample* subSamples, in decrypt() argument 46 const SubSample& subSample = subSamples[i]; in decrypt()
|
D | Session.cpp | 66 void* destination, const SubSample* subSamples, in decrypt() argument 81 reinterpret_cast<uint8_t*>(destination), subSamples, in decrypt()
|
D | AesCtrDecryptor.h | 35 const SubSample* subSamples, size_t numSubSamples,
|
D | CryptoPlugin.h | 45 const SubSample* subSamples, size_t numSubSamples,
|
D | Session.h | 50 void* destination, const SubSample* subSamples,
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 379 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() local 381 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer() 382 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer() 388 subSamples, in AMediaCodec_queueSecureInputBuffer() 399 delete [] subSamples; in AMediaCodec_queueSecureInputBuffer()
|
/frameworks/av/include/media/ |
D | ICrypto.h | 50 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/media/libmediaplayerservice/ |
D | Crypto.cpp | 242 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() argument 256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
|
D | Crypto.h | 54 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/frameworks/native/include/media/hardware/ |
D | CryptoAPI.h | 87 const SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 162 const SubSample *subSamples, size_t numSubSamples, 165 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
D | MockDrmCryptoPlugin.cpp | 705 Mode mode, const void *srcPtr, const SubSample *subSamples, in decrypt() argument 714 subSamplesToString(subSamples, numSubSamples).string(), in decrypt() 730 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, in subSamplesToString() argument 736 subSamples[i].mNumBytesOfClearData, in subSamplesToString() 737 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 277 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() argument 286 index, offset, subSamples, numSubSamples, key, iv, mode, in queueSecureInputBuffer() 1019 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer() local 1036 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) { in android_media_MediaCodec_queueSecureInputBuffer() 1051 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer() 1054 subSamples[i].mNumBytesOfClearData = in android_media_MediaCodec_queueSecureInputBuffer() 1057 subSamples[i].mNumBytesOfEncryptedData = in android_media_MediaCodec_queueSecureInputBuffer() 1098 subSamples, numSubSamples, in android_media_MediaCodec_queueSecureInputBuffer() 1116 delete[] subSamples; in android_media_MediaCodec_queueSecureInputBuffer() 1117 subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
|
D | android_media_MediaCodec.h | 72 const CryptoPlugin::SubSample *subSamples,
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 391 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() argument 406 msg->setPointer("subSamples", (void *)subSamples); in queueSecureInputBuffer() 1843 const CryptoPlugin::SubSample *subSamples; in onQueueInputBuffer() local 1858 subSamples = &ss; in onQueueInputBuffer() 1868 CHECK(msg->findPointer("subSamples", (void **)&subSamples)); in onQueueInputBuffer() 1880 size += subSamples[i].mNumBytesOfClearData; in onQueueInputBuffer() 1881 size += subSamples[i].mNumBytesOfEncryptedData; in onQueueInputBuffer() 1925 subSamples, in onQueueInputBuffer()
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 100 const CryptoPlugin::SubSample *subSamples,
|