Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
DAMediaObjects.h38 mDrm = theDrm; in setDrm()
48 AMediaDrm* getDrm() const { return mDrm; } in getDrm()
54 AMediaDrm* mDrm; variable
63 AMediaObjects::AMediaObjects(void) : mCrypto(NULL), mDrm(NULL), in AMediaObjects()
77 if (mDrm) { in ~AMediaObjects()
78 AMediaDrm_release(mDrm); in ~AMediaObjects()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmClearkeyTest.java102 private MediaDrm mDrm = null; field in MediaDrmClearkeyTest
245 if (mDrm != null) { in startDrm()
257 mDrm = new MediaDrm(drmSchemeUuid); in startDrm()
264 mDrm.setOnEventListener(new MediaDrm.OnEventListener() { in startDrm()
270 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
274 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
281 mDrm.setOnSessionLostStateListener(new MediaDrm.OnSessionLostStateListener() { in startDrm()
284 if (md != mDrm) { in startDrm()
294 mDrm.setOnKeyStatusChangeListener(new MediaDrm.OnKeyStatusChangeListener() { in startDrm()
299 assertTrue(md == mDrm); in startDrm()
[all …]