Home
last modified time | relevance | path

Searched refs:CryptoPlugin (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/include/media/hardware/
DCryptoAPI.h28 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/
DCryptoPlugin.h32 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);
DCryptoFactory.cpp40 android::CryptoPlugin** plugin) { in createPlugin()
49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId); in createPlugin()
DCryptoPlugin.cpp35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, in decrypt()
83 android::status_t CryptoPlugin::setMediaDrmSession( in setMediaDrmSession()
DClearKeyTypes.h31 typedef android::CryptoPlugin::SubSample SubSample;
DCryptoFactory.h36 android::CryptoPlugin** plugin);
DAndroid.mk24 CryptoPlugin.cpp \
/frameworks/av/include/media/
DCrypto.h30 struct CryptoPlugin;
56 CryptoPlugin::Mode mode,
57 const CryptoPlugin::Pattern &pattern,
59 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
69 CryptoPlugin *mPlugin;
DICrypto.h59 CryptoPlugin::Mode mode,
60 const CryptoPlugin::Pattern &pattern,
62 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmedia/
DICrypto.cpp101 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/
Dandroid_media_MediaCodec.h79 const CryptoPlugin::SubSample *subSamples,
83 CryptoPlugin::Mode mode,
84 const CryptoPlugin::Pattern &pattern,
Dandroid_media_MediaCodec.cpp334 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()
Dandroid_media_MediaExtractor.cpp582 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaExtractor_getSampleCryptoInfo()
/frameworks/av/drm/libmediadrm/
DCrypto.cpp240 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/
DMockDrmCryptoPlugin.h47 CryptoPlugin **plugin);
156 class MockCryptoPlugin : public CryptoPlugin {
166 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp73 size_t /* size */, CryptoPlugin **plugin) in createPlugin()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp403 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()
DNdkMediaExtractor.cpp364 mode = CryptoPlugin::kMode_AES_CTR; in AMediaExtractor_getSampleCryptoInfo()
/frameworks/av/include/media/stagefright/
DMediaCodec.h123 const CryptoPlugin::SubSample *subSamples,
127 CryptoPlugin::Mode mode,
128 const CryptoPlugin::Pattern &pattern,
/frameworks/av/media/libstagefright/
DMediaCodec.cpp714 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()