Lines Matching refs:initData
44 android::status_t InitDataParser::parse(const Vector<uint8_t>& initData, in parse() argument
52 android::status_t res = parsePssh(initData, &keyIds); in parse()
60 if (initData.size() != kKeyIdSize) { in parse()
63 keyIds.push(initData.array()); in parse()
77 android::status_t InitDataParser::parsePssh(const Vector<uint8_t>& initData, in parsePssh() argument
82 uint32_t expectedSize = initData.size(); in parsePssh()
84 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh()
92 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh()
100 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh()
107 if (!isClearKeyUUID(&initData[readPosition])) { in parsePssh()
114 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount)); in parsePssh()
118 initData.size() - sizeof(uint32_t)) { in parsePssh()
125 keyIds->push(&initData[keyIdPosition]); in parsePssh()