/frameworks/native/headers/media_plugin/media/hardware/ |
D | CryptoAPI.h | 28 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/ |
D | CryptoPlugin.h | 32 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);
|
D | ClearKeyTypes.h | 31 typedef android::CryptoPlugin::SubSample SubSample;
|
D | CryptoFactory.h | 36 android::CryptoPlugin** plugin);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | CryptoFactory.cpp | 40 android::CryptoPlugin** plugin) { in createPlugin() 49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId); in createPlugin()
|
D | CryptoPlugin.cpp | 35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, in decrypt() 83 android::status_t CryptoPlugin::setMediaDrmSession( in setMediaDrmSession()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.h | 99 CryptoPlugin::Mode mode; 100 CryptoPlugin::Pattern pattern; 101 CryptoPlugin::SubSample *subSamples; 108 CryptoPlugin::Mode mode,
|
D | NuPlayerDrm.cpp | 241 CryptoPlugin::Mode mode, in makeCryptoInfo() 248 if (__builtin_mul_overflow(sizeof(CryptoPlugin::SubSample), numSubSamples, &cryptosize) || in makeCryptoInfo() 265 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1); in makeCryptoInfo() 266 CryptoPlugin::SubSample *subSamples = ret->subSamples; in makeCryptoInfo() 329 mode = CryptoPlugin::kMode_AES_CTR; in getSampleCryptoInfo() 335 (CryptoPlugin::Mode)mode, in getSampleCryptoInfo()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | CryptoPlugin.h | 57 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/ |
D | ICrypto.cpp | 100 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 std::unique_ptr<CryptoPlugin::SubSample[]> subSamples = in onTransact() 358 std::make_unique<CryptoPlugin::SubSample[]>(numSubSamples); in onTransact() 361 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact() 397 CryptoPlugin::SubSample &ss = subSamples[i]; in onTransact()
|
D | CryptoHal.cpp | 339 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt() 341 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() 351 case CryptoPlugin::kMode_Unencrypted: in decrypt() 354 case CryptoPlugin::kMode_AES_CTR: in decrypt() 357 case CryptoPlugin::kMode_AES_WV: in decrypt() 360 case CryptoPlugin::kMode_AES_CBC: in decrypt()
|
/frameworks/av/include/mediadrm/ |
D | ICrypto.h | 68 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
D | CryptoHal.h | 60 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 62 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/frameworks/av/media/libmedia/include/media/ |
D | ICrypto.h | 68 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
D | CryptoHal.h | 60 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 62 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
D | NdkWrapper.h | 159 CryptoPlugin::Mode mode, 169 void setPattern(CryptoPlugin::Pattern *pattern); 177 CryptoPlugin::Mode getMode();
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 76 CryptoPlugin::Mode mode, 77 CryptoPlugin::Pattern pattern, 78 const CryptoPlugin::SubSample *subSamples,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoFactory.cpp | 51 CryptoPlugin *cryptoPlugin = new CryptoPlugin(initData); in createPlugin()
|
D | CryptoPlugin.cpp | 35 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/libmedia/ |
D | NdkWrapper.cpp | 160 static CryptoPlugin::Mode translateToCryptoPluginMode(cryptoinfo_mode_t mode) { in translateToCryptoPluginMode() 161 CryptoPlugin::Mode ret = CryptoPlugin::kMode_Unencrypted; in translateToCryptoPluginMode() 164 ret = CryptoPlugin::kMode_AES_CTR; in translateToCryptoPluginMode() 169 ret = CryptoPlugin::kMode_AES_WV; in translateToCryptoPluginMode() 174 ret = CryptoPlugin::kMode_AES_CBC; in translateToCryptoPluginMode() 185 static cryptoinfo_mode_t translateToCryptoInfoMode(CryptoPlugin::Mode mode) { in translateToCryptoInfoMode() 188 case CryptoPlugin::kMode_AES_CTR: { in translateToCryptoInfoMode() 193 case CryptoPlugin::kMode_AES_WV: { in translateToCryptoInfoMode() 198 case CryptoPlugin::kMode_AES_CBC: { in translateToCryptoInfoMode() 672 mode = CryptoPlugin::kMode_AES_CTR; in Create() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.h | 90 const CryptoPlugin::SubSample *subSamples, 94 CryptoPlugin::Mode mode, 95 const CryptoPlugin::Pattern &pattern,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CodecBase.h | 284 CryptoPlugin::Mode mode, 285 CryptoPlugin::Pattern pattern, 286 const CryptoPlugin::SubSample *subSamples,
|
D | MediaCodec.h | 142 const CryptoPlugin::SubSample *subSamples, 146 CryptoPlugin::Mode mode, 147 const CryptoPlugin::Pattern &pattern,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 48 CryptoPlugin **plugin); 157 class MockCryptoPlugin : public CryptoPlugin { 170 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.h | 66 CryptoPlugin::Mode mode, 67 CryptoPlugin::Pattern pattern, 68 const CryptoPlugin::SubSample *subSamples,
|