/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 | 41 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 55 const uint8_t *data = (const uint8_t*)pssh; in parsePSSH() 103 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 105 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 164 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 168 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 171 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string()); in retrieveDrmInfo() 174 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 | 1684 const void *pssh; in checkDrmInfo() local 1687 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1693 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 324 const void *pssh; in getFileFormat() local 326 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 328 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/av/media/extractors/fuzzers/ |
D | mp4_extractor_fuzzer.dict | 71 kw70="pssh"
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 5335 byte[] pssh = new byte[psshsize]; in DrmInfo() 5336 parcel.readByteArray(pssh); in DrmInfo() 5338 Log.v(TAG, "DrmInfo() PSSH: " + arrToHex(pssh)); in DrmInfo() 5339 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5381 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5398 byte[] subset = Arrays.copyOfRange(pssh, i, i + UUID_SIZE); in parsePSSH() 5410 subset = Arrays.copyOfRange(pssh, i, i+DATALEN_SIZE); in parsePSSH() 5425 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 1534 PsshInfo pssh; in parseChunk() local 1536 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) { in parseChunk() 1544 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1545 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1546 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1551 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1552 if (pssh.data == NULL) { in parseChunk() 1555 ALOGV("allocated pssh @ %p", pssh.data); in parseChunk() 1556 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk() 1557 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) { in parseChunk() [all …]
|