Home
last modified time | relevance | path

Searched refs:mDrm (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaDrm.cpp51 sp<IDrm> mDrm; member
200 mObj->mDrm = CreateDrmFromUUID(uuid); in AMediaDrm_createByUUID()
206 if (mObj->mDrm != NULL) { in AMediaDrm_release()
207 mObj->mDrm->setListener(NULL); in AMediaDrm_release()
208 mObj->mDrm->destroyPlugin(); in AMediaDrm_release()
209 mObj->mDrm.clear(); in AMediaDrm_release()
216 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnEventListener()
220 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnEventListener()
236 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_openSession()
243 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session); in AMediaDrm_openSession()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h45 sp<IDrm> getDrm() { return mDrm; } in getDrm()
57 sp<IDrm> mDrm; member
Dandroid_media_MediaDrm.cpp421 mDrm = MakeDrm(uuid, appPackageName); in JDrm()
422 if (mDrm != NULL) { in JDrm()
423 mDrm->setListener(this); in JDrm()
488 if (mDrm != NULL) { in disconnect()
489 mDrm->destroyPlugin(); in disconnect()
490 mDrm.clear(); in disconnect()
507 return mDrm == NULL ? NO_INIT : OK; in initCheck()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp245 explicit DrmSessionClient(DrmHal* drm) : mDrm(drm) {} in DrmSessionClient()
248 sp<DrmHal> drm = mDrm.promote(); in reclaimSession()
265 wp<DrmHal> mDrm; member