/aosp12/frameworks/native/headers/media_plugin/media/hardware/ |
H A 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
|
/aosp12/hardware/interfaces/drm/1.0/default/ |
H A D | CryptoPlugin.cpp | 36 Return<bool> CryptoPlugin::requiresSecureDecoderComponent( in requiresSecureDecoderComponent() 41 Return<void> CryptoPlugin::notifyResolution(uint32_t width, in notifyResolution() 47 Return<Status> CryptoPlugin::setMediaDrmSession( in setMediaDrmSession() 52 Return<void> CryptoPlugin::setSharedBufferBase(const hidl_memory& base, in setSharedBufferBase() 63 Return<void> CryptoPlugin::decrypt(bool secure, in decrypt() 84 android::CryptoPlugin::Mode legacyMode = android::CryptoPlugin::kMode_Unencrypted; in decrypt() 87 legacyMode = android::CryptoPlugin::kMode_Unencrypted; in decrypt() 90 legacyMode = android::CryptoPlugin::kMode_AES_CTR; in decrypt() 93 legacyMode = android::CryptoPlugin::kMode_AES_WV; in decrypt() 96 legacyMode = android::CryptoPlugin::kMode_AES_CBC; in decrypt() [all …]
|
H A D | CryptoPlugin.h | 47 struct CryptoPlugin : public ICryptoPlugin { struct 48 CryptoPlugin(android::CryptoPlugin *plugin) : mLegacyPlugin(plugin) {} in CryptoPlugin() argument 50 ~CryptoPlugin() {delete mLegacyPlugin;} in ~CryptoPlugin() argument 73 android::CryptoPlugin *mLegacyPlugin; 76 CryptoPlugin() = delete; 77 CryptoPlugin(const CryptoPlugin &) = delete; 78 void operator=(const CryptoPlugin &) = delete; argument
|
H A D | CryptoFactory.cpp | 49 android::CryptoPlugin *legacyPlugin = NULL; in createPlugin() 52 CryptoPlugin *newPlugin = NULL; in createPlugin() 56 newPlugin = new CryptoPlugin(legacyPlugin); in createPlugin()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
H A 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);
|
/aosp12/frameworks/av/media/libstagefright/include/ |
H A D | ACodecBufferChannel.h | 79 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,
|
/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.h | 99 CryptoPlugin::Mode mode; 100 CryptoPlugin::Pattern pattern; 101 CryptoPlugin::SubSample *subSamples; 108 CryptoPlugin::Mode mode,
|
H A D | NuPlayerDrm.cpp | 193 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()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | CryptoFactory.cpp | 40 android::CryptoPlugin** plugin) { in createPlugin() 49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId); in createPlugin()
|
H A 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()
|
/aosp12/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 99 const CryptoPlugin::SubSample *subSamples, 103 CryptoPlugin::Mode mode, 104 const CryptoPlugin::Pattern &pattern, 118 const CryptoPlugin::SubSample *subSamples, 122 CryptoPlugin::Mode mode, 123 const CryptoPlugin::Pattern &pattern,
|
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | CodecBase.h | 352 CryptoPlugin::Mode mode, 353 CryptoPlugin::Pattern pattern, 354 const CryptoPlugin::SubSample *subSamples, 383 CryptoPlugin::Mode mode, in attachEncryptedBuffer() 384 CryptoPlugin::Pattern pattern, in attachEncryptedBuffer() 386 const CryptoPlugin::SubSample *subSamples, in attachEncryptedBuffer()
|
H A D | MediaCodec.h | 172 const CryptoPlugin::SubSample *subSamples, 176 CryptoPlugin::Mode mode, 177 const CryptoPlugin::Pattern &pattern, 194 const CryptoPlugin::SubSample *subSamples, 198 CryptoPlugin::Mode mode, 199 const CryptoPlugin::Pattern &pattern, 207 const CryptoPlugin::SubSample *subSamples, 211 CryptoPlugin::Mode mode, 212 const CryptoPlugin::Pattern &pattern);
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | CryptoFactory.cpp | 34 using ::android::hardware::drm::V1_4::clearkey::CryptoPlugin; 54 CryptoPlugin *cryptoPlugin = new CryptoPlugin(initData); in createPlugin()
|
H A D | CryptoPlugin.cpp | 35 Return<void> CryptoPlugin::setSharedBufferBase( in setSharedBufferBase() 47 Return<void> CryptoPlugin::decrypt( in decrypt() 80 Return<void> CryptoPlugin::decrypt_1_2( in decrypt_1_2() 225 Return<Status> CryptoPlugin::setMediaDrmSession( in setMediaDrmSession() 238 Return<void> CryptoPlugin::getLogMessages( in getLogMessages()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
H A D | CryptoPlugin.h | 59 struct CryptoPlugin : public drm::V1_4::ICryptoPlugin { struct 60 explicit CryptoPlugin(const hidl_vec<uint8_t>& sessionId) { in CryptoPlugin() function 63 virtual ~CryptoPlugin() {} in ~CryptoPlugin() argument 110 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(CryptoPlugin); argument
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | CCodecBufferChannel.h | 70 CryptoPlugin::Mode mode, 71 CryptoPlugin::Pattern pattern, 72 const CryptoPlugin::SubSample *subSamples, 83 CryptoPlugin::Mode mode, 84 CryptoPlugin::Pattern pattern, 86 const CryptoPlugin::SubSample *subSamples,
|
/aosp12/frameworks/av/drm/libmediadrm/fuzzer/ |
H A D | mediadrm_fuzzer.cpp | 68 const CryptoPlugin::Mode kCryptoMode[] = {CryptoPlugin::kMode_Unencrypted, 69 CryptoPlugin::kMode_AES_CTR, CryptoPlugin::kMode_AES_WV, 70 CryptoPlugin::kMode_AES_CBC}; 353 const CryptoPlugin::Pattern pattern = {0, 0}; in invokeCryptoDecrypt() 358 CryptoPlugin::SubSample subSamples[numSubSamples]; in invokeCryptoDecrypt() 402 CryptoPlugin::Mode mode; in invokeCryptoDecrypt() 405 mode = static_cast<CryptoPlugin::Mode>(mFuzzedDataProvider->ConsumeIntegral<size_t>()); in invokeCryptoDecrypt()
|
H A D | README.md | 22 | `cryptoMode` | 0.`CryptoPlugin::kMode_Unencrypted` 1.`CryptoPlugin::kMode_AES_CTR` 2.`CryptoPlugi…
|
/aosp12/frameworks/av/drm/libmediadrm/interface/mediadrm/ |
H A D | ICrypto.h | 76 CryptoPlugin::Mode /*mode*/, const CryptoPlugin::Pattern &/*pattern*/, 78 const CryptoPlugin::SubSample * /*subSamples*/, size_t /*numSubSamples*/,
|
/aosp12/frameworks/av/drm/libmediadrm/ |
H A D | CryptoHal.cpp | 281 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt() 283 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() 293 case CryptoPlugin::kMode_Unencrypted: in decrypt() 296 case CryptoPlugin::kMode_AES_CTR: in decrypt() 299 case CryptoPlugin::kMode_AES_WV: in decrypt() 302 case CryptoPlugin::kMode_AES_CBC: in decrypt()
|
/aosp12/frameworks/av/drm/libmediadrm/include/mediadrm/ |
H A D | CryptoHal.h | 64 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 66 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
|
/aosp12/frameworks/av/media/libstagefright/tests/mediacodec/ |
H A D | MediaCodecTest.cpp | 46 CryptoPlugin::Mode mode, 47 CryptoPlugin::Pattern pattern, 48 const CryptoPlugin::SubSample *subSamples, 60 CryptoPlugin::Mode mode, 61 CryptoPlugin::Pattern pattern, 63 const CryptoPlugin::SubSample *subSamples,
|
/aosp12/hardware/interfaces/drm/1.4/vts/functional/ |
H A D | drm_hal_test.cpp | 37 sp<V1_0::ICryptoPlugin> DrmHalTest::CryptoPlugin(const SessionId& sid) { in CryptoPlugin() function in android::hardware::drm::V1_4::vts::DrmHalTest 99 sp<V1_0::ICryptoPlugin> crypto(CryptoPlugin(sid)); in TEST_P() 160 auto crypto_1_0 = CryptoPlugin(sid); in TEST_P()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 48 CryptoPlugin **plugin); 157 class MockCryptoPlugin : public CryptoPlugin { 170 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
|