Home
last modified time | relevance | path

Searched refs:CryptoPlugin (Results 1 – 25 of 33) 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/default/include/
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);
DClearKeyTypes.h31 typedef android::CryptoPlugin::SubSample SubSample;
DCryptoFactory.h36 android::CryptoPlugin** plugin);
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h79 CryptoPlugin::Mode mode,
80 CryptoPlugin::Pattern pattern,
81 const CryptoPlugin::SubSample *subSamples,
92 CryptoPlugin::Mode mode,
93 CryptoPlugin::Pattern pattern,
95 const CryptoPlugin::SubSample *subSamples,
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
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()
DAndroid.bp25 "CryptoPlugin.cpp",
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.h99 CryptoPlugin::Mode mode;
100 CryptoPlugin::Pattern pattern;
101 CryptoPlugin::SubSample *subSamples;
108 CryptoPlugin::Mode mode,
DNuPlayerDrm.cpp193 CryptoPlugin::Mode mode, in makeCryptoInfo()
200 if (__builtin_mul_overflow(sizeof(CryptoPlugin::SubSample), numSubSamples, &cryptosize) || in makeCryptoInfo()
217 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo()
218 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo()
281 mode = CryptoPlugin::kMode_AES_CTR; in getSampleCryptoInfo()
287 (CryptoPlugin::Mode)mode, in getSampleCryptoInfo()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoFactory.cpp34 using ::android::hardware::drm::V1_2::clearkey::CryptoPlugin;
54 CryptoPlugin *cryptoPlugin = new CryptoPlugin(initData); in createPlugin()
DCryptoPlugin.cpp35 Return<void> CryptoPlugin::setSharedBufferBase( in setSharedBufferBase()
45 Return<void> CryptoPlugin::decrypt( in decrypt()
78 Return<void> CryptoPlugin::decrypt_1_2( in decrypt_1_2()
213 Return<Status> CryptoPlugin::setMediaDrmSession( in setMediaDrmSession()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h295 CryptoPlugin::Mode mode,
296 CryptoPlugin::Pattern pattern,
297 const CryptoPlugin::SubSample *subSamples,
326 CryptoPlugin::Mode mode, in attachEncryptedBuffer()
327 CryptoPlugin::Pattern pattern, in attachEncryptedBuffer()
329 const CryptoPlugin::SubSample *subSamples, in attachEncryptedBuffer()
DMediaCodec.h157 const CryptoPlugin::SubSample *subSamples,
161 CryptoPlugin::Mode mode,
162 const CryptoPlugin::Pattern &pattern,
179 const CryptoPlugin::SubSample *subSamples,
183 CryptoPlugin::Mode mode,
184 const CryptoPlugin::Pattern &pattern,
192 const CryptoPlugin::SubSample *subSamples,
196 CryptoPlugin::Mode mode,
197 const CryptoPlugin::Pattern &pattern);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h97 const CryptoPlugin::SubSample *subSamples,
101 CryptoPlugin::Mode mode,
102 const CryptoPlugin::Pattern &pattern,
116 const CryptoPlugin::SubSample *subSamples,
120 CryptoPlugin::Mode mode,
121 const CryptoPlugin::Pattern &pattern,
Dandroid_media_MediaCodec.cpp372 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
376 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
377 const CryptoPlugin::Pattern &pattern, in queueSecureInputBuffer()
397 const CryptoPlugin::SubSample *subSamples, in queueEncryptedLinearBlock()
401 CryptoPlugin::Mode mode, in queueEncryptedLinearBlock()
402 const CryptoPlugin::Pattern &pattern, in queueEncryptedLinearBlock()
1611 mMode = CryptoPlugin::kMode_Unencrypted;
1613 mMode = CryptoPlugin::kMode_AES_CTR;
1615 mMode = CryptoPlugin::kMode_AES_CBC;
1661 mSubSamples = new CryptoPlugin::SubSample[mNumSubSamples];
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DCryptoPlugin.h57 struct CryptoPlugin : public drm::V1_2::ICryptoPlugin { struct
58 explicit CryptoPlugin(const hidl_vec<uint8_t>& sessionId) { in CryptoPlugin() argument
61 virtual ~CryptoPlugin() {} in ~CryptoPlugin() argument
106 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(CryptoPlugin); argument
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DICrypto.h72 CryptoPlugin::Mode /*mode*/, const CryptoPlugin::Pattern &/*pattern*/,
74 const CryptoPlugin::SubSample * /*subSamples*/, size_t /*numSubSamples*/,
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h68 CryptoPlugin::Mode mode,
69 CryptoPlugin::Pattern pattern,
70 const CryptoPlugin::SubSample *subSamples,
81 CryptoPlugin::Mode mode,
82 CryptoPlugin::Pattern pattern,
84 const CryptoPlugin::SubSample *subSamples,
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h63 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
65 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp314 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt()
316 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
326 case CryptoPlugin::kMode_Unencrypted: in decrypt()
329 case CryptoPlugin::kMode_AES_CTR: in decrypt()
332 case CryptoPlugin::kMode_AES_WV: in decrypt()
335 case CryptoPlugin::kMode_AES_CBC: in decrypt()
/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/libmedia/include/media/
DNdkWrapper.h159 CryptoPlugin::Mode mode,
169 void setPattern(CryptoPlugin::Pattern *pattern);
177 CryptoPlugin::Mode getMode();
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp128 const uint8_t *iv, CryptoPlugin::Mode mode, CryptoPlugin::Pattern pattern, in queueSecureInputBuffer()
129 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer()
337 CryptoPlugin::Mode mode, in attachEncryptedBuffer()
338 CryptoPlugin::Pattern pattern, in attachEncryptedBuffer()
340 const CryptoPlugin::SubSample *subSamples, in attachEncryptedBuffer()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp763 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
769 CryptoPlugin::Pattern pattern; in AMediaCodec_queueSecureInputBuffer()
780 (CryptoPlugin::Mode)crypto->mode, in AMediaCodec_queueSecureInputBuffer()

12