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
60 CryptoPlugin() {} in CryptoPlugin() function
61 virtual ~CryptoPlugin() {} in ~CryptoPlugin() argument
105 CryptoPlugin(const CryptoPlugin &); argument
106 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/media/libmediaplayerservice/
DCrypto.h30 struct CryptoPlugin;
56 CryptoPlugin::Mode mode,
58 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
68 CryptoPlugin *mPlugin;
DCrypto.cpp241 CryptoPlugin::Mode mode, in decrypt()
243 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
/frameworks/av/media/libmedia/
DICrypto.cpp101 CryptoPlugin::Mode mode, in decrypt()
103 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
274 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); in onTransact()
289 CryptoPlugin::SubSample *subSamples = in onTransact()
290 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
294 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
/frameworks/av/include/media/
DICrypto.h53 CryptoPlugin::Mode mode,
55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h47 CryptoPlugin **plugin);
158 class MockCryptoPlugin : public CryptoPlugin {
168 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp73 size_t /* size */, CryptoPlugin **plugin) in createPlugin()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h79 const CryptoPlugin::SubSample *subSamples,
83 CryptoPlugin::Mode mode,
Dandroid_media_MediaCodec.cpp323 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
327 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
1269 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
1301 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
1350 (CryptoPlugin::Mode)mode, in android_media_MediaCodec_queueSecureInputBuffer()
Dandroid_media_MediaExtractor.cpp582 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaExtractor_getSampleCryptoInfo()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp388 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
401 (CryptoPlugin::Mode) crypto->mode, in AMediaCodec_queueSecureInputBuffer()
DNdkMediaExtractor.cpp347 mode = CryptoPlugin::kMode_AES_CTR; in AMediaExtractor_getSampleCryptoInfo()
/frameworks/av/include/media/stagefright/
DMediaCodec.h117 const CryptoPlugin::SubSample *subSamples,
121 CryptoPlugin::Mode mode,
/frameworks/av/media/libstagefright/
DMediaCodec.cpp650 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
654 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
2303 const CryptoPlugin::SubSample *subSamples; in onQueueInputBuffer()
2307 CryptoPlugin::Mode mode = CryptoPlugin::kMode_Unencrypted; in onQueueInputBuffer()
2311 CryptoPlugin::SubSample ss; in onQueueInputBuffer()
2336 mode = (CryptoPlugin::Mode)tmp; in onQueueInputBuffer()