/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 | 40 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 54 const uint8_t *data = (const uint8_t*)pssh; in parsePSSH() 102 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 104 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 163 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 167 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 170 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).c_str()); in retrieveDrmInfo() 173 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize); in retrieveDrmInfo()
|
D | GenericSource.cpp | 1689 const void *pssh; in checkDrmInfo() local 1692 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1698 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
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);
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 297 const void *pssh; in getFileFormat() local 299 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 304 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/av/media/module/extractors/fuzzers/ |
D | mp4_extractor_fuzzer.dict | 71 kw70="pssh"
|
/frameworks/av/media/module/extractors/mp4/ |
D | MPEG4Extractor.cpp | 1547 PsshInfo pssh; in parseChunk() local 1549 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) { in parseChunk() 1557 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1558 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1559 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1564 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1565 if (pssh.data == NULL) { in parseChunk() 1568 ALOGV("allocated pssh @ %p", pssh.data); in parseChunk() 1569 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk() 1570 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) { in parseChunk() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 5398 byte[] pssh = new byte[psshsize]; in DrmInfo() 5399 parcel.readByteArray(pssh); in DrmInfo() 5401 Log.v(TAG, "DrmInfo() PSSH: " + arrToHex(pssh)); in DrmInfo() 5402 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5444 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5461 byte[] subset = Arrays.copyOfRange(pssh, i, i + UUID_SIZE); in parsePSSH() 5473 subset = Arrays.copyOfRange(pssh, i, i+DATALEN_SIZE); in parsePSSH() 5488 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
|