Home
last modified time | relevance | path

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

12

/frameworks/native/headers/media_plugin/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.bp25 "CryptoPlugin.cpp",
/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/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()
326 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); in onTransact()
327 CryptoPlugin::Pattern pattern; in onTransact()
357 CryptoPlugin::SubSample *subSamples = in onTransact()
358 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
361 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
397 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact()
DCryptoHal.cpp299 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt()
301 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
311 case CryptoPlugin::kMode_Unencrypted: in decrypt()
314 case CryptoPlugin::kMode_AES_CTR: in decrypt()
317 case CryptoPlugin::kMode_AES_WV: in decrypt()
320 case CryptoPlugin::kMode_AES_CBC: in decrypt()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h74 CryptoPlugin::Mode mode,
75 CryptoPlugin::Pattern pattern,
76 const CryptoPlugin::SubSample *subSamples,
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h88 const CryptoPlugin::SubSample *subSamples,
92 CryptoPlugin::Mode mode,
93 const CryptoPlugin::Pattern &pattern,
Dandroid_media_MediaCodec.cpp342 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
346 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
347 const CryptoPlugin::Pattern &pattern, in queueSecureInputBuffer()
1316 enum CryptoPlugin::Mode mode; in android_media_MediaCodec_queueSecureInputBuffer()
1318 mode = CryptoPlugin::kMode_Unencrypted; in android_media_MediaCodec_queueSecureInputBuffer()
1320 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaCodec_queueSecureInputBuffer()
1322 mode = CryptoPlugin::kMode_AES_CBC; in android_media_MediaCodec_queueSecureInputBuffer()
1330 CryptoPlugin::Pattern pattern; in android_media_MediaCodec_queueSecureInputBuffer()
1341 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
1373 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h285 CryptoPlugin::Mode mode,
286 CryptoPlugin::Pattern pattern,
287 const CryptoPlugin::SubSample *subSamples,
DMediaCodec.h140 const CryptoPlugin::SubSample *subSamples,
144 CryptoPlugin::Mode mode,
145 const CryptoPlugin::Pattern &pattern,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h48 CryptoPlugin **plugin);
157 class MockCryptoPlugin : public CryptoPlugin {
170 … 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.cpp107 const uint8_t *iv, CryptoPlugin::Mode mode, CryptoPlugin::Pattern pattern, in queueSecureInputBuffer()
108 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer()

12