Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DInitDataParser.cpp40 const size_t kKeyIdSize = 16; variable
60 if (initData.size() != kKeyIdSize) { in parse()
117 if (readPosition + ((uint64_t)keyIdCount * kKeyIdSize) != in parsePssh()
124 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
139 android::encodeBase64Url(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DInitDataParser.cpp38 const size_t kKeyIdSize = 16; variable
64 if (initData.size() != kKeyIdSize) { in parse()
121 if (readPosition + ((uint64_t)keyIdCount * kKeyIdSize) != in parsePssh()
128 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
142 encodeBase64Url(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DInitDataParserUnittest.cpp32 const size_t kKeyIdSize = 16; variable
62 android::encodeBase64Url(expectedKeys[i], kKeyIdSize, in attemptParseExpectingSuccess()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp603 const size_t kKeyIdSize = 16; in encrypt_decrypt_common() local
604 keyIdVec.appendArray(keyId, kKeyIdSize); in encrypt_decrypt_common()
669 const size_t kKeyIdSize = 16; in AMediaDrm_sign() local
670 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_sign()
708 const size_t kKeyIdSize = 16; in AMediaDrm_verify() local
709 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_verify()