Home
last modified time | relevance | path

Searched refs:subSamples (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DAesCtrDecryptorUnittest.cpp34 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/
Dandroid_media_MediaDescrambler.cpp131 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 …]
Dandroid_media_MediaDescrambler.h44 DescramblerPlugin::SubSample *subSamples,
/frameworks/av/drm/libmediadrm/
DMediaCasDefs.cpp84 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()
DICrypto.cpp102 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()
DCrypto.cpp240 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()
DCryptoHal.cpp284 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/
DClearKeyCasPlugin.cpp344 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 …]
DClearKeyCasPlugin.h115 const SubSample *subSamples,
126 SubSample const *subSamples,
DClearKeySessionLibrary.h39 const DescramblerPlugin::SubSample *subSamples,
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.cpp37 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()
DAesCtrDecryptor.cpp32 const SubSample* subSamples, in decrypt() argument
46 const SubSample& subSample = subSamples[i]; in decrypt()
DSession.cpp66 void* destination, const SubSample* subSamples, in decrypt() argument
81 reinterpret_cast<uint8_t*>(destination), subSamples, in decrypt()
DAesCtrDecryptor.h35 const SubSample* subSamples, size_t numSubSamples,
DCryptoPlugin.h48 const SubSample* subSamples, size_t numSubSamples,
DSession.h50 void* destination, const SubSample* subSamples,
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp214 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()
DMockCasPlugin.h108 const SubSample *subSamples,
117 SubSample const *subSamples,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp255 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/
DACodecBufferChannel.cpp105 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/
DNdkMediaCodec.cpp509 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/
DDescramblerAPI.h87 const SubSample *subSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h164 const SubSample *subSamples, size_t numSubSamples,
167 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
/frameworks/native/include/media/hardware/
DCryptoAPI.h109 const SubSample *subSamples, size_t numSubSamples,
/frameworks/av/include/media/
DCrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,

12