/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/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 51 const hidl_vec<SubSample>& subSamples, in decrypt() argument 62 secure, keyId, iv, mode, pattern, subSamples, source, offset, destination, in decrypt() 84 const hidl_vec<SubSample>& subSamples, in decrypt_1_2() argument 153 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt_1_2() 154 const SubSample &subSample = subSamples[i]; in decrypt_1_2() 183 for (size_t i = 0; i < subSamples.size(); ++i) { in decrypt_1_2() 184 const SubSample& subSample = subSamples[i]; in decrypt_1_2() 198 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/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() 316 SubSample *subSamples = outSubSamples->data(); in getSubSampleInfo() local 317 if (subSamples == NULL) { in getSubSampleInfo() 323 subSamples[i].numBytesOfClearData = in getSubSampleInfo() 326 subSamples[i].numBytesOfEncryptedData = in getSubSampleInfo() 330 totalSize += subSamples[i].numBytesOfClearData + in getSubSampleInfo() 331 subSamples[i].numBytesOfEncryptedData; in getSubSampleInfo() 388 hidl_vec<SubSample> subSamples; in android_media_MediaDescrambler_native_descramble() local [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 382 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples, in decrypt() argument 409 size_t numBytesinSubSample = subSamples[i].mNumBytesOfClearData in decrypt() 410 + subSamples[i].mNumBytesOfEncryptedData; in decrypt() 418 && subSamples[i].mNumBytesOfEncryptedData >= AES_BLOCK_SIZE) { in decrypt() 422 subSamples[i].mNumBytesOfClearData, in decrypt() 475 const SubSample *subSamples, in descramble() argument 485 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 497 numSubSamples, subSamples, in descramble() 516 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 521 subSamples[i].mNumBytesOfClearData, in subSamplesToString() [all …]
|
D | ClearKeyCasPlugin.h | 126 const SubSample *subSamples, 137 SubSample const *subSamples,
|
D | ClearKeySessionLibrary.h | 43 const DescramblerPlugin::SubSample *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 | 237 const SubSample *subSamples, in descramble() argument 246 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 265 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 270 subSamples[i].mNumBytesOfClearData, in subSamplesToString() 271 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
|
D | MockCasPlugin.h | 117 const SubSample *subSamples, 126 SubSample const *subSamples,
|
/frameworks/av/drm/libmediadrm/ |
D | ICrypto.cpp | 102 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() 125 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt() 126 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt() 135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt() 357 std::unique_ptr<CryptoPlugin::SubSample[]> subSamples = in onTransact() local 360 data.read(subSamples.get(), in onTransact() 397 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact() 418 subSamples.get(), numSubSamples, destination, &errorDetailMsg); in onTransact() 437 subSamples.reset(); in onTransact()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 265 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo() 266 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo() local 269 subSamples[i].mNumBytesOfClearData = (clearbytes == NULL) ? 0 : clearbytes[i]; in makeCryptoInfo() 270 subSamples[i].mNumBytesOfEncryptedData = (encryptedbytes == NULL) ? in makeCryptoInfo()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | CryptoPlugin.h | 80 const hidl_vec<SubSample>& subSamples, 92 const hidl_vec<SubSample>& subSamples,
|
D | AesCtrDecryptor.h | 37 const std::vector<SubSample> subSamples, size_t numSubSamples,
|
D | Session.h | 58 uint8_t* dstPtr, const std::vector<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,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 167 const SubSample *subSamples, size_t numSubSamples, 170 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
D | MockDrmCryptoPlugin.cpp | 798 const SubSample *subSamples, size_t numSubSamples, in decrypt() argument 808 subSamplesToString(subSamples, numSubSamples).string(), in decrypt() 824 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, in subSamplesToString() argument 830 subSamples[i].mNumBytesOfClearData, in subSamplesToString() 831 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
|