Home
last modified time | relevance | path

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

/cts/tests/tests/media/drmframework/jni/
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/mediapc/src/android/mediapc/cts/
DProvisionRequester.java32 private final MediaDrm mDrm; field in ProvisionRequester
36 mDrm = drm; in ProvisionRequester()
43 final MediaDrm.ProvisionRequest request = mDrm.getProvisionRequest();
73 mDrm.provideProvisionResponse(response.body);
DKeyRequester.java37 private final MediaDrm mDrm; field in KeyRequester
76 mDrm = drm; in KeyRequester()
105 keyRequest = mDrm.getKeyRequest( in getKeyRequest()
112 keyRequest = mDrm.getKeyRequest( in getKeyRequest()
127 new ProvisionRequester(mDrm).send(); in getKeyRequest()
214 keySetId = mDrm.provideKeyResponse(mSessionId, responseBody); in provideResponse()
DCodecTestBase.java561 MediaDrm mDrm = null; field in CodecDecoderTestBase
616 if (mDrm == null) { in configureCodec()
617 mDrm = new MediaDrm(WIDEVINE_UUID); in configureCodec()
620 mSessionID = openSession(mDrm); in configureCodec()
650 new KeyRequester(mDrm, mSessionID, MediaDrm.KEY_TYPE_STREAMING, mMediaType, in configureCodec()
994 if (mDrm != null) { in doDecode()
995 mDrm.close(); in doDecode()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecCryptoAsyncTest.java132 private MediaDrm mDrm; field in MediaDrmCodecCryptoAsyncTest.ClearKeyDrmSession
139 mDrm = new MediaDrm(mUUID); in ClearKeyDrmSession()
140 mDrm.setOnEventListener( in ClearKeyDrmSession()
151 mSessionId = mDrm.openSession(); in ClearKeyDrmSession()
153 mDrm, "cenc", mSessionId, drmInitData, MediaDrm.KEY_TYPE_STREAMING, in ClearKeyDrmSession()
168 mDrm.close(); in close()
DMediaDrmClearkeyTest.java124 private MediaDrm mDrm = null; field in MediaDrmClearkeyTest
291 if (mDrm != null) { in startDrm()
303 mDrm = new MediaDrm(drmSchemeUuid); in startDrm()
310 mDrm.setOnEventListener(new MediaDrm.OnEventListener() { in startDrm()
314 if (md != mDrm) { in startDrm()
328 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
332 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
343 mDrm.setOnExpirationUpdateListener(new MediaDrm.OnExpirationUpdateListener() { in startDrm()
346 if (md != mDrm) { in startDrm()
356 mDrm.setOnSessionLostStateListener(new MediaDrm.OnSessionLostStateListener() { in startDrm()
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderBlockModelDrmTestBase.java48 protected MediaDrm mDrm; field in CodecDecoderBlockModelDrmTestBase
67 mDrm = cryptoPair.first; in setUpCrypto()
76 if (mDrm != null) { in tearDownCrypto()
77 mDrm.close(); in tearDownCrypto()
78 mDrm = null; in tearDownCrypto()
DCodecDecoderBlockModelMultiAccessUnitDrmTestBase.java57 protected MediaDrm mDrm; field in CodecDecoderBlockModelMultiAccessUnitDrmTestBase
76 mDrm = cryptoPair.first; in setUpCrypto()
85 if (mDrm != null) { in tearDownCrypto()
86 mDrm.close(); in tearDownCrypto()
87 mDrm = null; in tearDownCrypto()
DCodecDecoderMultiAccessUnitDrmTestBase.java59 protected MediaDrm mDrm; field in CodecDecoderMultiAccessUnitDrmTestBase
78 mDrm = cryptoPair.first; in setUpCrypto()
87 if (mDrm != null) { in tearDownCrypto()
88 mDrm.close(); in tearDownCrypto()
89 mDrm = null; in tearDownCrypto()
DCodecDecoderDrmTestBase.java50 protected MediaDrm mDrm; field in CodecDecoderDrmTestBase
177 mDrm = cryptoPair.first; in setUpCrypto()
186 if (mDrm != null) { in tearDownCrypto()
187 mDrm.close(); in tearDownCrypto()
188 mDrm = null; in tearDownCrypto()