Home
last modified time | relevance | path

Searched refs:keyIds (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DInitDataParser.cpp48 Vector<const uint8_t*> keyIds; in parse() local
52 android::status_t res = parsePssh(initData, &keyIds); in parse()
63 keyIds.push(initData.array()); in parse()
69 String8 requestJson = generateRequest(keyIds); in parse()
78 Vector<const uint8_t*>* keyIds) { in parsePssh() argument
136 keyIds->push(&initData[keyIdPosition]); in parsePssh()
141 String8 InitDataParser::generateRequest(const Vector<const uint8_t*>& keyIds) { in generateRequest() argument
148 for (size_t i = 0; i < keyIds.size(); ++i) { in generateRequest()
150 android::encodeBase64Url(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DInitDataParser.cpp47 std::vector<const uint8_t*> keyIds; in parse() local
51 auto res = parsePssh(initData, &keyIds); in parse()
61 keyIds.push_back(initData.data()); in parse()
71 std::string requestJson = generateRequest(keyType, keyIds); in parse()
80 std::vector<const uint8_t*>* keyIds) { in parsePssh() argument
135 keyIds->push_back(&initData[keyIdPosition]); in parsePssh()
141 const std::vector<const uint8_t*>& keyIds) { in generateRequest() argument
148 for (size_t i = 0; i < keyIds.size(); ++i) { in generateRequest()
150 encodeBase64Url(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DInitDataParser.h39 android::Vector<const uint8_t*>* keyIds);
42 const android::Vector<const uint8_t*>& keyIds);
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DInitDataParser.h33 std::vector<const uint8_t*>* keyIds);
35 std::string generateRequest(CdmKeyType keyType, const std::vector<const uint8_t*>& keyIds);