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
198 mObj->mDrm = CreateDrmFromUUID(uuid); in AMediaDrm_createByUUID()
204 if (mObj->mDrm != NULL) { in AMediaDrm_release()
205 mObj->mDrm->setListener(NULL); in AMediaDrm_release()
206 mObj->mDrm->destroyPlugin(); in AMediaDrm_release()
207 mObj->mDrm.clear(); in AMediaDrm_release()
214 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnEventListener()
218 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnEventListener()
235 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_openSession()
242 status_t status = mObj->mDrm->openSession(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.cpp340 mDrm = MakeDrm(uuid); in JDrm()
341 if (mDrm != NULL) { in JDrm()
342 mDrm->setListener(this); in JDrm()
407 if (mDrm != NULL) { in disconnect()
408 mDrm->destroyPlugin(); in disconnect()
409 mDrm.clear(); in disconnect()
426 return mDrm == NULL ? NO_INIT : OK; in initCheck()
/frameworks/av/drm/libmediadrm/
DDrm.cpp64 DrmSessionClient(Drm* drm) : mDrm(drm) {} in DrmSessionClient()
67 sp<Drm> drm = mDrm.promote(); in reclaimSession()
83 wp<Drm> mDrm; member