Home
last modified time | relevance | path

Searched refs:DescramblerPlugin (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/include/media/cas/
DDescramblerAPI.h26 struct DescramblerPlugin;
38 int32_t CA_system_id, DescramblerPlugin **plugin) = 0;
45 struct DescramblerPlugin { struct
58 DescramblerPlugin() {} in DescramblerPlugin() argument
59 virtual ~DescramblerPlugin() {} in ~DescramblerPlugin() argument
95 DescramblerPlugin(const DescramblerPlugin &);
96 DescramblerPlugin &operator=(const DescramblerPlugin &); argument
/frameworks/av/include/media/
DDescramblerImpl.h27 class DescramblerPlugin; variable
32 DescramblerImpl(const sp<SharedLibrary>& library, DescramblerPlugin *plugin);
48 DescramblerPlugin *mPlugin;
DMediaCasDefs.h74 DescramblerPlugin::ScramblingControl scramblingControl;
76 DescramblerPlugin::SubSample *subSamples;
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp131 DescramblerPlugin::SubSample *subSamples, in descramble()
151 info.scramblingControl = (DescramblerPlugin::ScramblingControl) key; in descramble()
194 DescramblerPlugin::SubSample **outSubSamples) { in getSubSampleInfo()
197 (signed)(INT32_MAX / sizeof(DescramblerPlugin::SubSample)) ) { in getSubSampleInfo()
218 DescramblerPlugin::SubSample *subSamples = in getSubSampleInfo()
219 new(std::nothrow) DescramblerPlugin::SubSample[numSubSamples]; in getSubSampleInfo()
300 DescramblerPlugin::SubSample *subSamples = NULL; in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaDescrambler.h44 DescramblerPlugin::SubSample *subSamples,
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.h37 DescramblerPlugin::ScramblingControl scramblingControl,
39 const DescramblerPlugin::SubSample *subSamples,
DClearKeyCasPlugin.cpp75 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin()
343 bool secure, DescramblerPlugin::ScramblingControl scramblingControl, in decrypt()
344 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples, in decrypt()
352 if (scramblingControl != DescramblerPlugin::kScrambling_Unscrambled) { in decrypt()
376 if (scramblingControl != DescramblerPlugin::kScrambling_Unscrambled in decrypt()
DClearKeyCasPlugin.h60 int32_t CA_system_id, DescramblerPlugin **plugin) override;
100 class ClearKeyDescramblerPlugin : public DescramblerPlugin {
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.h55 int32_t CA_system_id, DescramblerPlugin **plugin) override;
93 class MockDescramblerPlugin : public DescramblerPlugin {
DMockCasPlugin.cpp70 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp148 (DescramblerPlugin::ScramblingControl)key[0] : in queueSecureInputBuffer()
149 DescramblerPlugin::kScrambling_Unscrambled; in queueSecureInputBuffer()
151 descrambleInfo.subSamples = (DescramblerPlugin::SubSample *)subSamples; in queueSecureInputBuffer()
/frameworks/av/services/mediadrm/
DMediaCasService.cpp109 DescramblerPlugin *plugin = NULL; in createDescrambler()
/frameworks/av/drm/libmediadrm/
DDescramblerImpl.cpp53 const sp<SharedLibrary>& library, DescramblerPlugin *plugin) : in DescramblerImpl()
DMediaCasDefs.cpp84 subSamples = new DescramblerPlugin::SubSample[numSubSamples]; in readFromParcel()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp1369 sizeof(DescramblerPlugin::SubSample) * descrambleSubSamples); in flushScrambled()
1373 info.scramblingControl = (DescramblerPlugin::ScramblingControl)sctrl; in flushScrambled()
1375 info.subSamples = (DescramblerPlugin::SubSample *)subSamples->data(); in flushScrambled()