/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoPlugin.cpp | 37 const SubSample* subSamples, size_t numSubSamples, 48 const SubSample& subSample = subSamples[i]; 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, 35 decrypt(bool secure, const KeyId keyId, const Iv iv, Mode mode, const void* srcPtr, const SubSample* subSamples, size_t numSubSamples, void* dstPtr, AString* errorDetailMsg) argument
|
H A D | AesCtrDecryptor.h | 35 const SubSample* subSamples, size_t numSubSamples,
|
H A D | AesCtrDecryptor.cpp | 32 const SubSample* subSamples, 46 const SubSample& subSample = subSamples[i]; 29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
H A D | Session.cpp | 66 void* destination, const SubSample* subSamples, 81 reinterpret_cast<uint8_t*>(destination), subSamples, 64 decrypt( const KeyId keyId, const Iv iv, const void* source, void* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
H A D | CryptoPlugin.h | 48 const SubSample* subSamples, size_t numSubSamples,
|
H A D | Session.h | 50 void* destination, const SubSample* subSamples,
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 103 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, 126 totalSize += subSamples[i].mNumBytesOfEncryptedData; 127 totalSize += subSamples[i].mNumBytesOfClearData; 135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); 289 CryptoPlugin::SubSample *subSamples = local 293 subSamples, 309 CryptoPlugin::SubSample &ss = subSamples[i]; 333 subSamples, numSubSamples, 353 delete[] subSamples; 354 subSamples 97 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 34 uint8_t* destination, const SubSample* subSamples, 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, 48 const SubSample* subSamples, 53 subSamples, numSubSamples, 97 SubSample subSamples[kNumSubsamples] = { local 102 subSamples, kNumSubsamples); 142 SubSample subSamples[kNumSubsamples] = { local 148 subSamples, kNumSubsamples); 188 SubSample subSamples[kNumSubsamples] = { local 194 subSamples, kNumSubsample 33 attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument 45 attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, const uint8_t* encrypted, const uint8_t* decrypted, const SubSample* subSamples, size_t numSubSamples) argument 238 SubSample subSamples[kNumSubsamples] = { local 291 SubSample subSamples[kNumSubsamples] = { local 346 SubSample subSamples[kNumSubsamples] = { local 408 SubSample subSamples[kNumSubsamples] = { local [all...] |
/frameworks/av/include/media/ |
H A D | ICrypto.h | 55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.h | 58 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
H A D | Crypto.cpp | 243 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, 259 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, 237 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
/frameworks/native/include/media/hardware/ |
H A D | CryptoAPI.h | 100 const SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 388 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; local 390 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; 391 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; 397 subSamples, 408 delete [] subSamples;
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 165 const SubSample *subSamples, size_t numSubSamples, 168 String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
H A D | MockDrmCryptoPlugin.cpp | 801 Mode mode, const void *srcPtr, const SubSample *subSamples, 805 "subSamples=%s, dst=%p)", 810 subSamplesToString(subSamples, numSubSamples).string(), 826 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, argument 832 subSamples[i].mNumBytesOfClearData, 833 subSamples[i].mNumBytesOfEncryptedData); 800 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString * ) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 79 const CryptoPlugin::SubSample *subSamples,
|
H A D | android_media_MediaCodec.cpp | 323 const CryptoPlugin::SubSample *subSamples, 332 index, offset, subSamples, numSubSamples, key, iv, mode, 1269 CryptoPlugin::SubSample *subSamples = NULL; local 1284 // subSamples array may silently overflow if number of samples are too large. Use 1286 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) { 1301 subSamples = new CryptoPlugin::SubSample[numSubSamples]; 1304 subSamples[i].mNumBytesOfClearData = 1307 subSamples[i].mNumBytesOfEncryptedData = 1348 subSamples, numSubSamples, 1366 delete[] subSamples; 320 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 679 const CryptoPlugin::SubSample *subSamples, 694 msg->setPointer("subSamples", (void *)subSamples); 2351 const CryptoPlugin::SubSample *subSamples; local 2366 subSamples = &ss; 2376 CHECK(msg->findPointer("subSamples", (void **)&subSamples)); 2388 size += subSamples[i].mNumBytesOfClearData; 2389 size += subSamples[i].mNumBytesOfEncryptedData; 2434 subSamples, 676 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodec.h | 117 const CryptoPlugin::SubSample *subSamples,
|