Home
last modified time | relevance | path

Searched refs:asset_id (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyFetcher.cpp51 uint64_t* asset_id, std::vector<KeyInfo>* keys) { in ObtainKey() argument
52 CHECK(asset_id); in ObtainKey()
55 *asset_id = 0; in ObtainKey()
76 container.descriptor(0).ecm().asset_id(), in ObtainKey()
82 *asset_id = container.descriptor(0).ecm().asset_id(); in ObtainKey()
91 if ((asset_.id() != 0) && (*asset_id != asset_.id())) { in ObtainKey()
92 ALOGW("Asset_id change from %" PRIu64 " to %" PRIu64, asset_.id(), *asset_id); in ObtainKey()
98 status = license_fetcher_->FetchLicense(*asset_id, &asset_); in ObtainKey()
100 *asset_id = 0; in ObtainKey()
111 *asset_id = 0; in ObtainKey()
DLicenseFetcher.h40 uint64_t asset_id, clearkeycas::Asset* asset) = 0;
DClearKeyLicenseFetcher.h33 virtual status_t FetchLicense(uint64_t asset_id, Asset* asset);
DKeyFetcher.h50 uint64_t* asset_id, vector<KeyInfo>* keys) = 0;
DClearKeyFetcher.h50 status_t ObtainKey(const sp<ABuffer>& ecm, uint64_t* asset_id,
Decm.h172 inline uint64_t asset_id() const { return asset_id_; } in asset_id() function
DClearKeyCasPlugin.cpp373 uint64_t asset_id; in updateECM() local
375 status_t err = keyFetcher->ObtainKey(mEcmBuffer, &asset_id, &keys); in updateECM()
/frameworks/av/drm/mediacas/plugins/clearkey/tests/
DClearKeyFetcherTest.cpp93 uint64_t asset_id; in TEST_F() local
95 EXPECT_EQ(OK, fetcher.ObtainKey(ecm_, &asset_id, &keys)); in TEST_F()
/frameworks/av/drm/mediacas/plugins/clearkey/protos/
Dlicense_protos.proto26 // The asset_id must not be set on creation. It is only used for assets of