Searched refs:mDrm (Results 1 – 5 of 5) sorted by relevance
126 sp<DrmHal> mDrm = nullptr; member in DrmFuzzer133 mDrm = new DrmHal(); in initDrm()134 if (!mDrm) { in initDrm()141 mDrm->initCheck(); in invokeDrmCreatePlugin()146 mDrm->createPlugin(kInvalidUUID, packageName); in invokeDrmCreatePlugin()149 mDrm->createPlugin(kCommonPsshBoxUUID, packageName); in invokeDrmCreatePlugin()152 mDrm->createPlugin(kClearKeyUUID, packageName); in invokeDrmCreatePlugin()159 void DrmFuzzer::invokeDrmDestroyPlugin() { mDrm->destroyPlugin(); } in invokeDrmDestroyPlugin()171 mDrm->openSession(securityLevel, mSessionId); in invokeDrmOpenSession()174 void DrmFuzzer::invokeDrmCloseSession() { mDrm->closeSession(mSessionId); } in invokeDrmCloseSession()[all …]
96 sp<IDrm> mDrm; member301 mObj->mDrm = CreateDrmFromUUID(uuid); in AMediaDrm_createByUUID()309 if (mObj->mDrm != NULL) { in AMediaDrm_release()310 mObj->mDrm->setListener(NULL); in AMediaDrm_release()311 mObj->mDrm->destroyPlugin(); in AMediaDrm_release()312 mObj->mDrm.clear(); in AMediaDrm_release()319 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnEventListener()328 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnEventListener()335 if (!mObj || mObj->mDrm == NULL) { in AMediaDrm_setOnExpirationUpdateListener()344 mObj->mDrm->setListener(mObj->mListener); in AMediaDrm_setOnExpirationUpdateListener()[all …]
98 sp<IDrm> getDrm() { return mDrm; } in getDrm()126 sp<IDrm> mDrm; member
470 mDrm = MakeDrm(uuid, appPackageName); in JDrm()471 if (mDrm != NULL) { in JDrm()472 mDrm->setListener(this); in JDrm()575 if (mDrm != NULL) { in disconnect()576 mDrm->destroyPlugin(); in disconnect()577 mDrm.clear(); in disconnect()595 return mDrm == NULL ? NO_INIT : OK; in initCheck()
242 mDrm(drm) {} in DrmSessionClient()252 wp<DrmHal> mDrm; member259 sp<DrmHal> drm = mDrm.promote(); in reclaimResource()277 sp<DrmHal> drm = mDrm.promote(); in getName()