/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | InitDataParserUnittest.cpp | 79 uint8_t pssh[52] = { in TEST_F() local 91 initData.appendArray(pssh, 52); in TEST_F() 100 uint8_t pssh[84] = { in TEST_F() local 116 initData.appendArray(pssh, 84); in TEST_F() 141 uint8_t pssh[16] = { in TEST_F() local 148 initData.appendArray(pssh, 16); in TEST_F() 164 uint8_t pssh[52] = { in TEST_F() local 176 initData.appendArray(pssh, 52); in TEST_F() 182 uint8_t pssh[52] = { in TEST_F() local 194 initData.appendArray(pssh, 52); in TEST_F() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 89 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 103 const uint8_t *data = (const uint8_t*)pssh; in parsePSSH() 151 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 153 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 212 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 216 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 219 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string()); in retrieveDrmInfo() 222 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize); in retrieveDrmInfo()
|
D | NuPlayerDrm.h | 78 static Vector<DrmUUID> parsePSSH(const void *pssh, size_t psshsize); 79 static Vector<DrmUUID> getSupportedDrmSchemes(const void *pssh, size_t psshsize); 87 static void retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel);
|
D | GenericSource.cpp | 1696 const void *pssh; in checkDrmInfo() local 1699 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1705 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 290 const void *pssh; in getFileFormat() local 292 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 294 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 1379 PsshInfo pssh; in parseChunk() local 1381 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) { in parseChunk() 1389 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1390 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1391 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1396 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1397 if (pssh.data == NULL) { in parseChunk() 1400 ALOGV("allocated pssh @ %p", pssh.data); in parseChunk() 1401 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk() 1402 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) { in parseChunk() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 5056 byte[] pssh = new byte[psshsize]; in DrmInfo() 5057 parcel.readByteArray(pssh); in DrmInfo() 5059 Log.v(TAG, "DrmInfo() PSSH: " + arrToHex(pssh)); in DrmInfo() 5060 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5102 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5119 byte[] subset = Arrays.copyOfRange(pssh, i, i + UUID_SIZE); in parsePSSH() 5131 subset = Arrays.copyOfRange(pssh, i, i+DATALEN_SIZE); in parsePSSH() 5146 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
|
/frameworks/av/media/extractors/fuzzers/ |
D | mp4_extractor_fuzzer.dict | 71 kw70="pssh"
|