Home
last modified time | relevance | path

Searched refs:kKeyIdSize (Results 1 – 5 of 5) 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()
127 if (__builtin_mul_overflow(keyIdCount, kKeyIdSize, &psshSize) || in parsePssh()
135 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
150 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()
136 if (__builtin_mul_overflow(keyIdCount, kKeyIdSize, &psshSize) || in parsePssh()
144 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
160 encodeBase64Url(keyIds[i], kKeyIdSize, &encodedId); in generateRequest()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DInitDataParser.cpp31 const size_t kKeyIdSize = 16; variable
58 if (initData.size() != kKeyIdSize) { in parse()
126 if (__builtin_mul_overflow(keyIdCount, kKeyIdSize, &psshSize) || in parsePssh()
134 size_t keyIdPosition = readPosition + (i * kKeyIdSize); in parsePssh()
150 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.cpp789 const size_t kKeyIdSize = 16; in encrypt_decrypt_common() local
790 keyIdVec.appendArray(keyId, kKeyIdSize); in encrypt_decrypt_common()
855 const size_t kKeyIdSize = 16; in AMediaDrm_sign() local
856 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_sign()
894 const size_t kKeyIdSize = 16; in AMediaDrm_verify() local
895 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_verify()