Home
last modified time | relevance | path

Searched refs:mDrmBuf (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/datasource/
DPlayerServiceFileSource.cpp33 mDrmBuf(NULL){ in PlayerServiceFileSource()
43 mDrmBuf(NULL) { in PlayerServiceFileSource()
48 if (mDrmBuf != NULL) { in ~PlayerServiceFileSource()
49 delete[] mDrmBuf; in ~PlayerServiceFileSource()
50 mDrmBuf = NULL; in ~PlayerServiceFileSource()
121 if (mDrmBuf == NULL) { in readAtDRM_l()
122 mDrmBuf = new unsigned char[DRM_CACHE_SIZE]; in readAtDRM_l()
125 if (mDrmBuf != NULL && mDrmBufSize > 0 && (offset + mOffset) >= mDrmBufOffset in readAtDRM_l()
128 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size); in readAtDRM_l()
133 mDrmBufSize = mDrmManagerClient->pread(mDecryptHandle, mDrmBuf, in readAtDRM_l()
[all …]
/frameworks/av/media/libmediaplayerservice/datasource/include/datasource/
DPlayerServiceFileSource.h51 unsigned char *mDrmBuf; variable