Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkMediaDrm.cpp78 sp<IDrm> mDrm; member
330 mObj->mDrm = CreateDrmFromUUID(uuid); in AMediaDrm_createByUUID()
338 if (mObj->mDrm != NULL) { in AMediaDrm_release()
339 mObj->mDrm->setListener(NULL); in AMediaDrm_release()
340 mObj->mDrm->destroyPlugin(); in AMediaDrm_release()
341 mObj->mDrm.clear(); in AMediaDrm_release()
348 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnEventListener()
357 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnEventListener()
364 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnExpirationUpdateListener()
373 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnExpirationUpdateListener()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h48 sp<IDrm> getDrm() { return mDrm; } in getDrm()
60 sp<IDrm> mDrm; member
Dandroid_media_MediaDrm.cpp474 mDrm = MakeDrm(uuid, appPackageName); in JDrm()
475 if (mDrm != NULL) { in JDrm()
476 mDrm->setListener(this); in JDrm()
541 if (mDrm != NULL) { in disconnect()
542 mDrm->destroyPlugin(); in disconnect()
543 mDrm.clear(); in disconnect()
561 return mDrm == NULL ? NO_INIT : OK; in initCheck()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp302 explicit DrmSessionClient(DrmHal* drm) : mDrm(drm) {} in DrmSessionClient()
305 sp<DrmHal> drm = mDrm.promote(); in reclaimSession()
322 wp<DrmHal> mDrm; member