/frameworks/av/drm/mediadrm/plugins/clearkey/default/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() 72 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 83 &subSamples[0], kNumSubsamples, &bytesDecrypted)); in TEST_F() 106 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 117 &subSamples[0], kNumSubsamples, &bytesDecrypted)); in TEST_F() 158 SubSample subSamples[kNumSubsamples] = { in TEST_F() local 163 subSamples, kNumSubsamples); in TEST_F() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 56 const hidl_vec<SubSample>& subSamples, 205 const hidl_vec<SubSample>& subSamples, in descramble() argument 232 subSamples, in descramble() 317 SubSample *subSamples = outSubSamples->data(); in getSubSampleInfo() local 318 if (subSamples == NULL) { in getSubSampleInfo() 324 subSamples[i].numBytesOfClearData = in getSubSampleInfo() 327 subSamples[i].numBytesOfEncryptedData = in getSubSampleInfo() 331 totalSize += subSamples[i].numBytesOfClearData + in getSubSampleInfo() 332 subSamples[i].numBytesOfEncryptedData; in getSubSampleInfo() 389 hidl_vec<SubSample> subSamples; in android_media_MediaDescrambler_native_descramble() local [all …]
|
D | android_media_MediaCodec.h | 99 const CryptoPlugin::SubSample *subSamples, 118 const CryptoPlugin::SubSample *subSamples,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 53 const hidl_vec<SubSample>& subSamples, in decrypt() argument 64 secure, keyId, iv, mode, pattern, subSamples, source, offset, destination, in decrypt() 86 const hidl_vec<SubSample>& subSamples, in decrypt_1_2() argument 165 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt_1_2() 166 const SubSample &subSample = subSamples[i]; in decrypt_1_2() 195 for (size_t i = 0; i < subSamples.size(); ++i) { in decrypt_1_2() 196 const SubSample& subSample = subSamples[i]; in decrypt_1_2() 210 static_cast<uint8_t*>(destPtr), toVector(subSamples), &bytesDecrypted); in decrypt_1_2()
|
D | Session.cpp | 73 uint8_t* destPtr, const std::vector<SubSample> subSamples, in decrypt() argument 92 itr->second /*key*/, iv, srcPtr, destPtr, subSamples, in decrypt() 93 subSamples.size(), bytesDecryptedOut); in decrypt()
|
D | AesCtrDecryptor.cpp | 41 const std::vector<SubSample> subSamples, in decrypt() argument 60 const SubSample& subSample = subSamples[i]; in decrypt()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 403 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples, in decrypt() argument 430 size_t numBytesinSubSample = subSamples[i].mNumBytesOfClearData in decrypt() 431 + subSamples[i].mNumBytesOfEncryptedData; in decrypt() 439 && subSamples[i].mNumBytesOfEncryptedData >= AES_BLOCK_SIZE) { in decrypt() 443 subSamples[i].mNumBytesOfClearData, in decrypt() 496 const SubSample *subSamples, in descramble() argument 506 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 518 numSubSamples, subSamples, in descramble() 537 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 542 subSamples[i].mNumBytesOfClearData, in subSamplesToString() [all …]
|
D | ClearKeyCasPlugin.h | 133 const SubSample *subSamples, 144 SubSample const *subSamples,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
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 51 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()
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 250 const SubSample *subSamples, in descramble() argument 259 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 278 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 283 subSamples[i].mNumBytesOfClearData, in subSamplesToString() 284 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
|
D | MockCasPlugin.h | 123 const SubSample *subSamples, 132 SubSample const *subSamples,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 217 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo() 218 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo() local 221 subSamples[i].mNumBytesOfClearData = (clearbytes == NULL) ? 0 : clearbytes[i]; in makeCryptoInfo() 222 subSamples[i].mNumBytesOfEncryptedData = (encryptedbytes == NULL) ? in makeCryptoInfo()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 129 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer() argument 153 && subSamples[0].mNumBytesOfClearData == 0 in queueSecureInputBuffer() 154 && subSamples[0].mNumBytesOfEncryptedData == 0) { in queueSecureInputBuffer() 173 subSamples, numSubSamples, destination, errorDetailMsg); in queueSecureInputBuffer() 186 hidlSubSamples.setToExternal((SubSample *)subSamples, numSubSamples, false /*own*/); in queueSecureInputBuffer() 340 const CryptoPlugin::SubSample *subSamples, in attachEncryptedBuffer() argument 361 size += subSamples[i].mNumBytesOfClearData + subSamples[i].mNumBytesOfEncryptedData; in attachEncryptedBuffer() 382 subSamples, numSubSamples, destination, &errorDetailMsg); in attachEncryptedBuffer() 395 hidlSubSamples.setToExternal((SubSample *)subSamples, numSubSamples, false /*own*/); in attachEncryptedBuffer()
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | mediadrm_fuzzer.cpp | 358 CryptoPlugin::SubSample subSamples[numSubSamples]; in invokeCryptoDecrypt() local 365 subSamples[i].mNumBytesOfClearData = clearBytes; in invokeCryptoDecrypt() 366 subSamples[i].mNumBytesOfEncryptedData = encryptedBytes; in invokeCryptoDecrypt() 367 totalSize += subSamples[i].mNumBytesOfClearData; in invokeCryptoDecrypt() 368 totalSize += subSamples[i].mNumBytesOfEncryptedData; in invokeCryptoDecrypt() 410 mCrypto->decrypt(keyId, iv, mode, pattern, sourceBuffer, offset, subSamples, numSubSamples, in invokeCryptoDecrypt()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CodecBase.h | 354 const CryptoPlugin::SubSample *subSamples, 386 const CryptoPlugin::SubSample *subSamples, in attachEncryptedBuffer() argument 396 (void)subSamples; in attachEncryptedBuffer()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | CryptoPlugin.h | 82 const hidl_vec<SubSample>& subSamples, 94 const hidl_vec<SubSample>& subSamples,
|
D | AesCtrDecryptor.h | 37 const std::vector<SubSample> subSamples, size_t numSubSamples,
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 81 const CryptoPlugin::SubSample *subSamples, 95 const CryptoPlugin::SubSample *subSamples,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | AesCtrDecryptor.h | 36 const SubSample* subSamples, size_t numSubSamples,
|
D | CryptoPlugin.h | 48 const SubSample* subSamples, size_t numSubSamples,
|
D | Session.h | 50 void* destination, const SubSample* subSamples,
|
/frameworks/native/headers/media_plugin/media/cas/ |
D | DescramblerAPI.h | 91 const SubSample *subSamples,
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | CryptoAPI.h | 109 const SubSample *subSamples, size_t numSubSamples,
|