Home
last modified time | relevance | path

Searched refs:mDrmManagerClient (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/
DFileSource.cpp38 mDrmManagerClient(NULL), in FileSource()
62 mDrmManagerClient(NULL), in FileSource()
115 CHECK(mDrmManagerClient); in ~FileSource()
116 mDrmManagerClient->closeDecryptSession(mDecryptHandle); in ~FileSource()
120 if (mDrmManagerClient != NULL) { in ~FileSource()
121 delete mDrmManagerClient; in ~FileSource()
122 mDrmManagerClient = NULL; in ~FileSource()
174 if (mDrmManagerClient == NULL) { in DrmInitialization()
175 mDrmManagerClient = new DrmManagerClient(); in DrmInitialization()
178 if (mDrmManagerClient == NULL) { in DrmInitialization()
[all …]
DDRMExtractor.cpp55 DrmManagerClient* mDrmManagerClient; member in android::DRMSource
73 mDrmManagerClient(managerClient), in DRMSource()
77 CHECK(mDrmManagerClient); in DRMSource()
78 mDrmManagerClient->initializeDecryptUnit( in DRMSource()
103 mDrmManagerClient->finalizeDecryptUnit(mDecryptHandle, mTrackId); in ~DRMSource()
143 if ((err = mDrmManagerClient->decrypt(mDecryptHandle, mTrackId, in read()
245 mDrmManagerClient(NULL) { in DRMExtractor()
250 source->getDrmInfo(mDecryptHandle, &mDrmManagerClient); in DRMExtractor()
272 new DRMSource(originalMediaSource, mDecryptHandle, mDrmManagerClient, in getTrack()
/frameworks/av/media/libstagefright/http/
DMediaHTTP.cpp37 mDrmManagerClient(NULL) { in MediaHTTP()
154 if (mDrmManagerClient == NULL) { in DrmInitialization()
155 mDrmManagerClient = new DrmManagerClient(); in DrmInitialization()
158 if (mDrmManagerClient == NULL) { in DrmInitialization()
163 mDecryptHandle = mDrmManagerClient->openDecryptSession( in DrmInitialization()
168 delete mDrmManagerClient; in DrmInitialization()
169 mDrmManagerClient = NULL; in DrmInitialization()
178 *client = mDrmManagerClient; in getDrmInfo()
211 CHECK(mDrmManagerClient); in clearDRMState_l()
212 mDrmManagerClient->closeDecryptSession(mDecryptHandle); in clearDRMState_l()
/frameworks/av/media/libstagefright/include/
DDRMExtractor.h51 DrmManagerClient* mDrmManagerClient; variable
/frameworks/av/include/media/stagefright/
DFileSource.h62 DrmManagerClient *mDrmManagerClient; variable
DMediaHTTP.h68 DrmManagerClient *mDrmManagerClient; member
/frameworks/base/media/java/android/media/
DMediaScanner.java386 private DrmManagerClient mDrmManagerClient = null; field in MediaScanner
1089 if (mDrmManagerClient == null) {
1090 mDrmManagerClient = new DrmManagerClient(mContext);
1093 if (mDrmManagerClient.canHandle(path, null)) {
1095 String drmMimetype = mDrmManagerClient.getOriginalMimeType(path);
1339 if (mDrmManagerClient != null) {
1340 mDrmManagerClient.close();
1341 mDrmManagerClient = null;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp68 mDrmManagerClient(NULL), in GenericSource()
89 mDrmManagerClient = NULL; in resetDataSource()
313 dataSource->getDrmInfo(mDecryptHandle, &mDrmManagerClient); in checkDrmStatus()
315 CHECK(mDrmManagerClient); in checkDrmStatus()
505 mDrmManagerClient = NULL; in notifyPreparedAndCleanup()
581 mDrmManagerClient->setPlaybackStatus(mDecryptHandle, playbackStatus, position); in setDrmPlaybackStatusIfNeeded()
DGenericSource.h224 DrmManagerClient *mDrmManagerClient; member
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java283 private final DrmManagerClient mDrmManagerClient; field in PduPersister
289 mDrmManagerClient = new DrmManagerClient(context); in PduPersister()