/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/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 131 DescramblerPlugin::SubSample *subSamples, in descramble() argument 152 info.subSamples = subSamples; in descramble() 218 DescramblerPlugin::SubSample *subSamples = in getSubSampleInfo() local 221 if (subSamples == NULL) { in getSubSampleInfo() 227 subSamples[i].mNumBytesOfClearData = in getSubSampleInfo() 230 subSamples[i].mNumBytesOfEncryptedData = in getSubSampleInfo() 234 totalSize += subSamples[i].mNumBytesOfClearData + in getSubSampleInfo() 235 subSamples[i].mNumBytesOfEncryptedData; in getSubSampleInfo() 251 delete[] subSamples; in getSubSampleInfo() 255 *outSubSamples = subSamples; in getSubSampleInfo() [all …]
|
D | android_media_MediaDescrambler.h | 44 DescramblerPlugin::SubSample *subSamples,
|
/frameworks/av/drm/libmediadrm/ |
D | MediaCasDefs.cpp | 84 subSamples = new DescramblerPlugin::SubSample[numSubSamples]; in readFromParcel() 85 if (subSamples == NULL) { in readFromParcel() 90 err = parcel->readUint32(&subSamples[i].mNumBytesOfClearData); in readFromParcel() 94 err = parcel->readUint32(&subSamples[i].mNumBytesOfEncryptedData); in readFromParcel() 148 err = parcel->writeUint32(subSamples[i].mNumBytesOfClearData); in writeToParcel() 152 err = parcel->writeUint32(subSamples[i].mNumBytesOfEncryptedData); in writeToParcel()
|
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() 344 CryptoPlugin::SubSample *subSamples = in onTransact() local 347 data.read(subSamples, in onTransact() 373 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact() 394 subSamples, numSubSamples, destination, &errorDetailMsg); in onTransact() 413 delete[] subSamples; in onTransact() 414 subSamples = NULL; in onTransact()
|
D | Crypto.cpp | 240 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() argument 264 ssize_t result = mPlugin->decrypt(secure, key, iv, mode, pattern, srcPtr, subSamples, in decrypt()
|
D | CryptoHal.cpp | 284 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() argument 317 subSample.numBytesOfClearData = subSamples[i].mNumBytesOfClearData; in decrypt() 318 subSample.numBytesOfEncryptedData = subSamples[i].mNumBytesOfEncryptedData; in decrypt()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 344 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples, in decrypt() argument 368 size_t numBytesinSubSample = subSamples[i].mNumBytesOfClearData in decrypt() 369 + subSamples[i].mNumBytesOfEncryptedData; in decrypt() 377 && subSamples[i].mNumBytesOfEncryptedData >= AES_BLOCK_SIZE) { in decrypt() 381 subSamples[i].mNumBytesOfClearData, in decrypt() 434 const SubSample *subSamples, in descramble() argument 444 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 454 numSubSamples, subSamples, in descramble() 473 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 478 subSamples[i].mNumBytesOfClearData, in subSamplesToString() [all …]
|
D | ClearKeyCasPlugin.h | 115 const SubSample *subSamples, 126 SubSample const *subSamples,
|
D | ClearKeySessionLibrary.h | 39 const DescramblerPlugin::SubSample *subSamples,
|
/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 | 48 const SubSample* subSamples, size_t numSubSamples,
|
D | Session.h | 50 void* destination, const SubSample* subSamples,
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 214 const SubSample *subSamples, in descramble() argument 223 subSamplesToString(subSamples, numSubSamples).string(), in descramble() 242 SubSample const *subSamples, size_t numSubSamples) const in subSamplesToString() argument 247 subSamples[i].mNumBytesOfClearData, in subSamplesToString() 248 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
|
D | MockCasPlugin.h | 108 const SubSample *subSamples, 117 SubSample const *subSamples,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 255 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo() 256 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo() local 259 subSamples[i].mNumBytesOfClearData = (clearbytes == NULL) ? 0 : clearbytes[i]; in makeCryptoInfo() 260 subSamples[i].mNumBytesOfEncryptedData = (encryptedbytes == NULL) ? in makeCryptoInfo()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 105 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer() argument 140 subSamples, numSubSamples, destination, errorDetailMsg); in queueSecureInputBuffer() 151 descrambleInfo.subSamples = (DescramblerPlugin::SubSample *)subSamples; in queueSecureInputBuffer()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 509 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() local 511 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer() 512 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer() 522 subSamples, in AMediaCodec_queueSecureInputBuffer() 534 delete [] subSamples; in AMediaCodec_queueSecureInputBuffer()
|
/frameworks/native/include/media/cas/ |
D | DescramblerAPI.h | 87 const SubSample *subSamples,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 164 const SubSample *subSamples, size_t numSubSamples, 167 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
/frameworks/native/include/media/hardware/ |
D | CryptoAPI.h | 109 const SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/include/media/ |
D | Crypto.h | 55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|