Home
last modified time | relevance | path

Searched refs:ecm (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/drm/mediacas/plugins/clearkey/
Decm_generator.cpp59 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, in DecodeECM() argument
65 status_t status = DecodeECMClearFields(ecm, asset, default_fields); in DecodeECM()
70 const uint8_t* ptr = ecm->data() + kEcmClearFieldsSize; in DecodeECM()
77 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset, in DecodeECMClearFields() argument
82 if (ecm->size() < kTotalEcmSize) { in DecodeECMClearFields()
84 kTotalEcmSize, ecm->size()); in DecodeECMClearFields()
87 const uint8_t* ptr = ecm->data(); in DecodeECMClearFields()
DClearKeyFetcher.cpp76 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()
Decm_generator.h81 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset,
105 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset,
DClearKeyCasPlugin.cpp144 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm() argument
154 return session->updateECM(mKeyFetcher.get(), (void*)ecm.data(), ecm.size()); in processEcm()
294 KeyFetcher *keyFetcher, void *ecm, size_t size) { in updateECM() argument
307 && !memcmp(mEcmBuffer->base(), ecm, size)) { in updateECM()
311 mEcmBuffer = ABuffer::CreateAsCopy(ecm, size); in updateECM()
Decm.h211 EcmDescriptor(uint16_t id, const Ecm& ecm);
240 inline const Ecm& ecm() const { return ecm_; } in ecm() function
DKeyFetcher.h49 virtual status_t ObtainKey(const sp<ABuffer>& ecm,
DClearKeyFetcher.h50 status_t ObtainKey(const sp<ABuffer>& ecm, uint64_t* asset_id,
Decm.cpp91 EcmDescriptor::EcmDescriptor(uint16_t id, const Ecm& ecm) in EcmDescriptor() argument
92 : ecm_(ecm), ecm_set_(true), id_(id), id_set_(true) {} in EcmDescriptor()
DAndroid.mk24 ecm.cpp \
DClearKeySessionLibrary.h44 status_t updateECM(KeyFetcher *keyFetcher, void *ecm, size_t size);
DClearKeyCasPlugin.h81 const CasSessionId &sessionId, const CasEcm &ecm) override;
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp140 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm() argument
149 ALOGV("ECM: size=%d", ecm.size()); in processEcm()
150 ALOGV("ECM: data=%s", arrayToString(ecm).string()); in processEcm()
DMockCasPlugin.h76 const CasSessionId &sessionId, const CasEcm &ecm) override;
/frameworks/av/drm/libmediadrm/aidl/android/media/
DICas.aidl27 void processEcm(in byte[] sessionId, in MediaCas.ParcelableCasData ecm); in processEcm() argument
/frameworks/av/drm/libmediadrm/
DCasImpl.cpp151 Status CasImpl::processEcm(const CasSessionId &sessionId, const ParcelableCasData& ecm) { in processEcm() argument
159 return getBinderStatus(holder->get()->processEcm(sessionId, ecm)); in processEcm()
/frameworks/native/include/media/cas/
DCasAPI.h100 const CasEcm &ecm) = 0;
/frameworks/av/include/media/
DCasImpl.h66 const CasSessionId& sessionId, const ParcelableCasData& ecm) override;
/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp319 MediaCas::ParcelableCasData ecm(br->data(), br->numBitsLeft() / 8); in parsePID() local
320 Status status = mICas->processEcm(mCAPidToSessionIdMap[index], ecm); in parsePID()