/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ecm_generator.cpp | 57 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, in DecodeECM() argument 63 status_t status = DecodeECMClearFields(ecm, asset, default_fields); in DecodeECM() 68 const uint8_t* ptr = ecm->data() + kEcmClearFieldsSize; in DecodeECM() 75 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset, in DecodeECMClearFields() argument 80 if (ecm->size() < kTotalEcmSize) { in DecodeECMClearFields() 82 kTotalEcmSize, ecm->size()); in DecodeECMClearFields() 85 const uint8_t* ptr = ecm->data(); in DecodeECMClearFields()
|
D | ClearKeyFetcher.cpp | 76 container.descriptor(0).ecm().asset_id(), in ObtainKey() 82 *asset_id = container.descriptor(0).ecm().asset_id(); in ObtainKey() 109 container.descriptor(i).ecm().buffer(), asset_); in ObtainKey() 119 key.key_bytes = container.descriptor(i).ecm().content_key(); in ObtainKey()
|
D | ecm_generator.h | 81 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, 105 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset,
|
D | ClearKeyCasPlugin.cpp | 184 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm() argument 194 return session->updateECM(mKeyFetcher.get(), (void*)ecm.data(), ecm.size()); in processEcm() 353 KeyFetcher *keyFetcher, void *ecm, size_t size) { in updateECM() argument 366 && !memcmp(mEcmBuffer->base(), ecm, size)) { in updateECM() 370 mEcmBuffer = ABuffer::CreateAsCopy(ecm, size); in updateECM()
|
D | ecm.h | 211 EcmDescriptor(uint16_t id, const Ecm& ecm); 240 inline const Ecm& ecm() const { return ecm_; } in ecm() function
|
D | KeyFetcher.h | 49 virtual status_t ObtainKey(const sp<ABuffer>& ecm,
|
D | ClearKeyFetcher.h | 50 status_t ObtainKey(const sp<ABuffer>& ecm, uint64_t* asset_id,
|
D | ecm.cpp | 93 EcmDescriptor::EcmDescriptor(uint16_t id, const Ecm& ecm) in EcmDescriptor() argument 94 : ecm_(ecm), ecm_set_(true), id_(id), id_set_(true) {} in EcmDescriptor()
|
D | ClearKeySessionLibrary.h | 48 status_t updateECM(KeyFetcher *keyFetcher, void *ecm, size_t size);
|
D | Android.bp | 25 "ecm.cpp",
|
D | ClearKeyCasPlugin.h | 93 const CasSessionId &sessionId, const CasEcm &ecm) override;
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 166 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm() argument 175 ALOGV("ECM: size=%zu", ecm.size()); in processEcm() 176 ALOGV("ECM: data=%s", arrayToString(ecm).string()); in processEcm()
|
D | MockCasPlugin.h | 87 const CasSessionId &sessionId, const CasEcm &ecm) override;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | CasManager.cpp | 338 hidl_vec<uint8_t> ecm; in parsePID() local 339 ecm.setToExternal((uint8_t*)br->data(), br->numBitsLeft() / 8); in parsePID() 340 auto returnStatus = mICas->processEcm(mCAPidToSessionIdMap[index], ecm); in parsePID()
|
/frameworks/native/headers/media_plugin/media/cas/ |
D | CasAPI.h | 129 const CasEcm &ecm) = 0;
|