Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/
DInitDataParser.cpp39 const size_t kKeyIdSize = 16; variable
55 if (initData.size() != kKeyIdSize) { in parse()
112 if (readPosition + (keyIdCount * kKeyIdSize) != in parsePssh()
119 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
134 android::encodeBase64(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DInitDataParserUnittest.cpp32 const size_t kKeyIdSize = 16; variable
62 android::encodeBase64(expectedKeys[i], kKeyIdSize, in attemptParseExpectingSuccess()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp602 const size_t kKeyIdSize = 16; in encrypt_decrypt_common() local
603 keyIdVec.appendArray(keyId, kKeyIdSize); in encrypt_decrypt_common()
668 const size_t kKeyIdSize = 16; in AMediaDrm_sign() local
669 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_sign()
707 const size_t kKeyIdSize = 16; in AMediaDrm_verify() local
708 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_verify()