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
65 if (initData.size() != kKeyIdSize) { in parse()
126 if (readPosition + ((uint64_t)keyIdCount * kKeyIdSize) != in parsePssh()
133 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
149 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.cpp772 const size_t kKeyIdSize = 16; in encrypt_decrypt_common() local
773 keyIdVec.appendArray(keyId, kKeyIdSize); in encrypt_decrypt_common()
838 const size_t kKeyIdSize = 16; in AMediaDrm_sign() local
839 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_sign()
877 const size_t kKeyIdSize = 16; in AMediaDrm_verify() local
878 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_verify()