/frameworks/native/include/media/hardware/ |
D | CryptoAPI.h | 28 struct CryptoPlugin; 38 CryptoPlugin **plugin) = 0; 45 struct CryptoPlugin { struct 68 CryptoPlugin() {} in CryptoPlugin() argument 69 virtual ~CryptoPlugin() {} in ~CryptoPlugin() argument 114 CryptoPlugin(const CryptoPlugin &); 115 CryptoPlugin &operator=(const CryptoPlugin &); argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | CryptoPlugin.h | 32 class CryptoPlugin : public android::CryptoPlugin { 34 CryptoPlugin(const android::Vector<uint8_t>& sessionId) { in CryptoPlugin() function 38 virtual ~CryptoPlugin() {} in ~CryptoPlugin() 57 DISALLOW_EVIL_CONSTRUCTORS(CryptoPlugin);
|
D | CryptoFactory.cpp | 40 android::CryptoPlugin** plugin) { in createPlugin() 49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId); in createPlugin()
|
D | CryptoPlugin.cpp | 35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, in decrypt() 83 android::status_t CryptoPlugin::setMediaDrmSession( in setMediaDrmSession()
|
D | ClearKeyTypes.h | 31 typedef android::CryptoPlugin::SubSample SubSample;
|
D | CryptoFactory.h | 36 android::CryptoPlugin** plugin);
|
D | Android.mk | 24 CryptoPlugin.cpp \
|
/frameworks/av/include/media/ |
D | Crypto.h | 30 struct CryptoPlugin; 56 CryptoPlugin::Mode mode, 57 const CryptoPlugin::Pattern &pattern, 59 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, 69 CryptoPlugin *mPlugin;
|
D | ICrypto.h | 59 CryptoPlugin::Mode mode, 60 const CryptoPlugin::Pattern &pattern, 62 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 101 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt() 103 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() 137 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt() 284 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); in onTransact() 285 CryptoPlugin::Pattern pattern; in onTransact() 306 CryptoPlugin::SubSample *subSamples = in onTransact() 307 new CryptoPlugin::SubSample[numSubSamples]; in onTransact() 311 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact() 332 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.h | 79 const CryptoPlugin::SubSample *subSamples, 83 CryptoPlugin::Mode mode, 84 const CryptoPlugin::Pattern &pattern,
|
D | android_media_MediaCodec.cpp | 334 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() 338 CryptoPlugin::Mode mode, in queueSecureInputBuffer() 339 const CryptoPlugin::Pattern &pattern, in queueSecureInputBuffer() 1295 enum CryptoPlugin::Mode mode; in android_media_MediaCodec_queueSecureInputBuffer() 1297 mode = CryptoPlugin::kMode_Unencrypted; in android_media_MediaCodec_queueSecureInputBuffer() 1299 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaCodec_queueSecureInputBuffer() 1301 mode = CryptoPlugin::kMode_AES_CBC; in android_media_MediaCodec_queueSecureInputBuffer() 1309 CryptoPlugin::Pattern pattern; in android_media_MediaCodec_queueSecureInputBuffer() 1320 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer() 1352 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
|
D | android_media_MediaExtractor.cpp | 582 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaExtractor_getSampleCryptoInfo()
|
/frameworks/av/drm/libmediadrm/ |
D | Crypto.cpp | 240 CryptoPlugin::Mode mode, in decrypt() 241 const CryptoPlugin::Pattern &pattern, in decrypt() 243 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 47 CryptoPlugin **plugin); 156 class MockCryptoPlugin : public CryptoPlugin { 166 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
D | MockDrmCryptoPlugin.cpp | 73 size_t /* size */, CryptoPlugin **plugin) in createPlugin()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 403 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() 409 CryptoPlugin::Pattern pattern; in AMediaCodec_queueSecureInputBuffer() 420 (CryptoPlugin::Mode)crypto->mode, in AMediaCodec_queueSecureInputBuffer()
|
D | NdkMediaExtractor.cpp | 364 mode = CryptoPlugin::kMode_AES_CTR; in AMediaExtractor_getSampleCryptoInfo()
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 123 const CryptoPlugin::SubSample *subSamples, 127 CryptoPlugin::Mode mode, 128 const CryptoPlugin::Pattern &pattern,
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 714 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() 718 CryptoPlugin::Mode mode, in queueSecureInputBuffer() 719 const CryptoPlugin::Pattern &pattern, in queueSecureInputBuffer() 2441 const CryptoPlugin::SubSample *subSamples; in onQueueInputBuffer() 2445 CryptoPlugin::Mode mode = CryptoPlugin::kMode_Unencrypted; in onQueueInputBuffer() 2449 CryptoPlugin::SubSample ss; in onQueueInputBuffer() 2450 CryptoPlugin::Pattern pattern; in onQueueInputBuffer() 2479 mode = (CryptoPlugin::Mode)tmp; in onQueueInputBuffer()
|