Home
last modified time | relevance | path

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

/frameworks/native/include/media/hardware/
DCryptoAPI.h26 struct CryptoPlugin;
36 CryptoPlugin **plugin) = 0;
43 struct CryptoPlugin { struct
58 CryptoPlugin() {} in CryptoPlugin() argument
59 virtual ~CryptoPlugin() {} in ~CryptoPlugin() argument
92 CryptoPlugin(const CryptoPlugin &); argument
93 CryptoPlugin &operator=(const CryptoPlugin &); argument
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.h32 class CryptoPlugin : public android::CryptoPlugin {
34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {} in CryptoPlugin() function
35 virtual ~CryptoPlugin() {} in ~CryptoPlugin()
49 DISALLOW_EVIL_CONSTRUCTORS(CryptoPlugin);
DCryptoFactory.cpp40 android::CryptoPlugin** plugin) { in createPlugin()
48 *plugin = new CryptoPlugin(session); in createPlugin()
DClearKeyTypes.h31 typedef android::CryptoPlugin::SubSample SubSample;
DCryptoFactory.h36 android::CryptoPlugin** plugin);
DAndroid.mk24 CryptoPlugin.cpp \
DCryptoPlugin.cpp35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, in decrypt()
/frameworks/av/media/libmediaplayerservice/
DCrypto.h30 struct CryptoPlugin;
54 CryptoPlugin::Mode mode,
56 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
66 CryptoPlugin *mPlugin;
DCrypto.cpp240 CryptoPlugin::Mode mode, in decrypt()
242 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
/frameworks/av/media/libmedia/
DICrypto.cpp99 CryptoPlugin::Mode mode, in decrypt()
101 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
132 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
239 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); in onTransact()
253 CryptoPlugin::SubSample *subSamples = in onTransact()
254 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
258 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
/frameworks/av/include/media/
DICrypto.h50 CryptoPlugin::Mode mode,
52 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h47 CryptoPlugin **plugin);
157 class MockCryptoPlugin : public CryptoPlugin {
167 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp72 size_t size, CryptoPlugin **plugin) in createPlugin()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h72 const CryptoPlugin::SubSample *subSamples,
76 CryptoPlugin::Mode mode,
Dandroid_media_MediaCodec.cpp277 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
281 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
1019 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
1051 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
1100 (CryptoPlugin::Mode)mode, in android_media_MediaCodec_queueSecureInputBuffer()
Dandroid_media_MediaExtractor.cpp649 mode = CryptoPlugin::kMode_AES_CTR; in android_media_MediaExtractor_getSampleCryptoInfo()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp379 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
392 (CryptoPlugin::Mode) crypto->mode, in AMediaCodec_queueSecureInputBuffer()
DNdkMediaExtractor.cpp346 mode = CryptoPlugin::kMode_AES_CTR; in AMediaExtractor_getSampleCryptoInfo()
/frameworks/av/include/media/stagefright/
DMediaCodec.h100 const CryptoPlugin::SubSample *subSamples,
104 CryptoPlugin::Mode mode,
/frameworks/av/media/libstagefright/
DMediaCodec.cpp391 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer()
395 CryptoPlugin::Mode mode, in queueSecureInputBuffer()
1865 const CryptoPlugin::SubSample *subSamples; in onQueueInputBuffer()
1869 CryptoPlugin::Mode mode = CryptoPlugin::kMode_Unencrypted; in onQueueInputBuffer()
1873 CryptoPlugin::SubSample ss; in onQueueInputBuffer()
1898 mode = (CryptoPlugin::Mode)tmp; in onQueueInputBuffer()