Home
last modified time | relevance | path

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

12

/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 explicit 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;
53 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
67 CryptoPlugin *mPlugin;
DICrypto.h68 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
DCryptoHal.h57 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
59 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmedia/include/media/
DCrypto.h30 struct CryptoPlugin;
53 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
67 CryptoPlugin *mPlugin;
DICrypto.h68 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
DCryptoHal.h57 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
59 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.h99 CryptoPlugin::Mode mode;
100 CryptoPlugin::Pattern pattern;
101 CryptoPlugin::SubSample *subSamples;
108 CryptoPlugin::Mode mode,
DNuPlayerDrm.cpp237 CryptoPlugin::Mode mode, in makeCryptoInfo()
243 sizeof(CryptoPlugin::SubSample) * numSubSamples; in makeCryptoInfo()
255 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo()
256 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo()
324 mode = CryptoPlugin::kMode_AES_CTR; in getSampleCryptoInfo()
330 (CryptoPlugin::Mode)mode, in getSampleCryptoInfo()
/frameworks/av/drm/libmediadrm/
DICrypto.cpp100 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt()
102 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
313 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); in onTransact()
314 CryptoPlugin::Pattern pattern; in onTransact()
344 CryptoPlugin::SubSample *subSamples = in onTransact()
345 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
348 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
373 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact()
DCryptoHal.cpp282 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt()
284 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
294 case CryptoPlugin::kMode_Unencrypted: in decrypt()
297 case CryptoPlugin::kMode_AES_CTR: in decrypt()
300 case CryptoPlugin::kMode_AES_WV: in decrypt()
303 case CryptoPlugin::kMode_AES_CBC: in decrypt()
DCrypto.cpp238 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt()
240 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h72 CryptoPlugin::Mode mode,
73 CryptoPlugin::Pattern pattern,
74 const CryptoPlugin::SubSample *subSamples,
DCodecBase.h289 CryptoPlugin::Mode mode,
290 CryptoPlugin::Pattern pattern,
291 const CryptoPlugin::SubSample *subSamples,
DMediaCodec.h142 const CryptoPlugin::SubSample *subSamples,
146 CryptoPlugin::Mode mode,
147 const CryptoPlugin::Pattern &pattern,
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h85 const CryptoPlugin::SubSample *subSamples,
89 CryptoPlugin::Mode mode,
90 const CryptoPlugin::Pattern &pattern,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h48 CryptoPlugin **plugin);
157 class MockCryptoPlugin : public CryptoPlugin {
167 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp509 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
515 CryptoPlugin::Pattern pattern; in AMediaCodec_queueSecureInputBuffer()
526 (CryptoPlugin::Mode)crypto->mode, in AMediaCodec_queueSecureInputBuffer()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp104 const uint8_t *iv, CryptoPlugin::Mode mode, CryptoPlugin::Pattern pattern, in queueSecureInputBuffer()
105 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer()

12