/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Drm.cpp | 28 Vector<DrmUUID> NuPlayer2Drm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 43 size_t len = psshsize; in parsePSSH() 90 Vector<DrmUUID> NuPlayer2Drm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 92 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 108 sp<ABuffer> NuPlayer2Drm::retrieveDrmInfo(const void *pssh, uint32_t psshsize) in retrieveDrmInfo() argument 113 buf.write(reinterpret_cast<const char *>(&psshsize), sizeof(psshsize)); in retrieveDrmInfo() 114 buf.write(reinterpret_cast<const char *>(pssh), psshsize); in retrieveDrmInfo() 116 ALOGV("retrieveDrmInfo: MEDIA2_DRM_INFO PSSH: size: %u %s", psshsize, in retrieveDrmInfo() 117 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string()); in retrieveDrmInfo() 120 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize); in retrieveDrmInfo()
|
D | NuPlayer2Drm.h | 76 static Vector<DrmUUID> parsePSSH(const void *pssh, size_t psshsize); 77 static Vector<DrmUUID> getSupportedDrmSchemes(const void *pssh, size_t psshsize); 82 static sp<ABuffer> retrieveDrmInfo(const void *pssh, uint32_t psshsize);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 89 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 104 size_t len = psshsize; 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() 208 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 211 parcel->writeUint32(psshsize); in retrieveDrmInfo() 212 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 214 ALOGV("retrieveDrmInfo: MEDIA_DRM_INFO PSSH: size: %zu %s", psshsize, in retrieveDrmInfo() 215 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string()); in retrieveDrmInfo() 218 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 | 1655 size_t psshsize; in checkDrmInfo() local 1657 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1663 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo() 1665 (int)psshsize, (int)parcel.dataSize(), (int)parcel.objectsCount()); in checkDrmInfo()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaPlayer2Impl.java | 1770 int psshsize = parcel.readInt(); in DrmInfoImpl() local 1771 byte[] pssh = new byte[psshsize]; in DrmInfoImpl() 1775 mMapPssh = parsePSSH(pssh, psshsize); in DrmInfoImpl() 1790 Log.v(TAG, "DrmInfoImpl() Parcel psshsize: " + psshsize in DrmInfoImpl() 1817 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 1823 int len = psshsize; in parsePSSH() 1830 + "UUID: (%d < 16) pssh: %d", len, psshsize)); in parsePSSH() 1842 + "datalen: (%d < 4) pssh: %d", len, psshsize)); in parsePSSH() 1857 + "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 1868 numentries, uuid, arrToHex(data), psshsize)); in parsePSSH()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 300 size_t psshsize; in getFileFormat() local 301 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 302 sp<ABuffer> buf = new ABuffer(psshsize); in getFileFormat() 303 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer2Impl.java | 3846 int psshsize = parcel.readInt(); in DrmInfoImpl() local 3847 byte[] pssh = new byte[psshsize]; in DrmInfoImpl() 3851 mapPssh = parsePSSH(pssh, psshsize); in DrmInfoImpl() 3866 Log.v(TAG, "DrmInfoImpl() Parcel psshsize: " + psshsize + in DrmInfoImpl() 3893 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 3899 int len = psshsize; in parsePSSH() 3906 "UUID: (%d < 16) pssh: %d", len, psshsize)); in parsePSSH() 3918 "datalen: (%d < 4) pssh: %d", len, psshsize)); in parsePSSH() 3933 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 3944 numentries, uuid, arrToHex(data), psshsize)); in parsePSSH()
|
D | MediaPlayer.java | 5068 int psshsize = parcel.readInt(); in DrmInfo() local 5069 byte[] pssh = new byte[psshsize]; in DrmInfo() 5073 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5088 Log.v(TAG, "DrmInfo() Parcel psshsize: " + psshsize + in DrmInfo() 5115 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5121 int len = psshsize; in parsePSSH() 5128 "UUID: (%d < 16) pssh: %d", len, psshsize)); in parsePSSH() 5140 "datalen: (%d < 4) pssh: %d", len, psshsize)); in parsePSSH() 5155 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 5166 numentries, uuid, arrToHex(data), psshsize)); in parsePSSH()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 659 uint64_t psshsize = 0; in readMetaData() local 661 psshsize += 20 + mPssh[i].datalen; in readMetaData() 663 if (psshsize > 0 && psshsize <= UINT32_MAX) { in readMetaData() 664 char *buf = (char*)malloc(psshsize); in readMetaData() 675 mFileMetaData.setData(kKeyPssh, 'pssh', buf, psshsize); in readMetaData()
|