Searched refs:asset_id (Results 1 - 8 of 8) sorted by relevance
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ClearKeyFetcher.cpp | 51 uint64_t* asset_id, std::vector<KeyInfo>* keys) { 52 CHECK(asset_id); 55 *asset_id = 0; 74 ALOGW("asset_id=%" PRIu64 ": malformed Ecm, " 76 container.descriptor(0).ecm().asset_id(), 82 *asset_id = container.descriptor(0).ecm().asset_id(); 84 // Detect asset_id change. This could be caused by a configuration change 89 // asset_id change. If it sends an EcmContainer with 2 Ecms with different 91 if ((asset_.id() != 0) && (*asset_id ! 50 ObtainKey(const sp<ABuffer>& buffer, uint64_t* asset_id, std::vector<KeyInfo>* keys) argument [all...] |
H A D | ClearKeyLicenseFetcher.h | 33 virtual status_t FetchLicense(uint64_t asset_id, Asset* asset);
|
H A D | LicenseFetcher.h | 36 // Fetches license based on |asset_id|. On return, |asset| contains the 40 uint64_t asset_id, clearkeycas::Asset* asset) = 0;
|
H A D | ClearKeyFetcher.h | 43 // Obtains the |asset_id| and |keys| from the Ecm contained in |ecm|. 48 // |asset_id| and |keys| are owned by the caller and cannot be null. 50 status_t ObtainKey(const sp<ABuffer>& ecm, uint64_t* asset_id,
|
H A D | KeyFetcher.h | 45 // Obtains content key(s) based on contents of |ecm|. |asset_id| is the 47 // class containing a content key and an id. |asset_id| and |keys| are 50 uint64_t* asset_id, vector<KeyInfo>* keys) = 0;
|
H A D | ecm.h | 52 // the asset_id, system_id, and content_key (clear). 112 // Entitlement Control Message. It contains clear fields. The asset_id 131 // asset_id is 0. 144 // ecm_generator::DecodeEcmClearFields if asset_id is 0. 148 // - asset_id in |asset_from_emm| does not match asset_id in serialized Ecm. 149 // Preconditions: |asset_from_emm| must contain asset_id and asset_key fields. 150 // Postconditions: asset_id() and system_id() are populated with non-zero 170 // |asset_id| from the server. 172 inline uint64_t asset_id() cons function in class:android::clearkeycas::Ecm [all...] |
H A D | ClearKeyCasPlugin.cpp | 314 uint64_t asset_id; local 316 status_t err = keyFetcher->ObtainKey(mEcmBuffer, &asset_id, &keys);
|
/frameworks/av/drm/mediacas/plugins/clearkey/tests/ |
H A D | ClearKeyFetcherTest.cpp | 93 uint64_t asset_id; local 95 EXPECT_EQ(OK, fetcher.ObtainKey(ecm_, &asset_id, &keys));
|
Completed in 347 milliseconds