/cts/tests/tests/media/drmframework/jni/ |
D | AMediaObjects.h | 38 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/ |
D | ProvisionRequester.java | 32 private final MediaDrm mDrm; field in ProvisionRequester 36 mDrm = drm; in ProvisionRequester() 43 final MediaDrm.ProvisionRequest request = mDrm.getProvisionRequest(); 73 mDrm.provideProvisionResponse(response.body);
|
D | KeyRequester.java | 37 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()
|
D | CodecTestBase.java | 561 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/ |
D | MediaDrmCodecCryptoAsyncTest.java | 132 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()
|
D | MediaDrmClearkeyTest.java | 124 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/ |
D | CodecDecoderBlockModelDrmTestBase.java | 48 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()
|
D | CodecDecoderBlockModelMultiAccessUnitDrmTestBase.java | 57 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()
|
D | CodecDecoderMultiAccessUnitDrmTestBase.java | 59 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()
|
D | CodecDecoderDrmTestBase.java | 50 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()
|