/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 85 DrmInitData drmInitData = mExtractor.getDrmInitData(); in testGetDrmInitData() local 86 assertEquals(drmInitData.getSchemeInitDataCount(), 2); in testGetDrmInitData() 87 assertEquals(drmInitData.getSchemeInitDataAt(0).uuid, UUID_WIDEVINE); in testGetDrmInitData() 88 assertEquals(drmInitData.get(UUID_WIDEVINE), drmInitData.getSchemeInitDataAt(0)); in testGetDrmInitData() 89 assertEquals(drmInitData.getSchemeInitDataAt(1).uuid, UUID_PLAYREADY); in testGetDrmInitData() 90 assertEquals(drmInitData.get(UUID_PLAYREADY), drmInitData.getSchemeInitDataAt(1)); in testGetDrmInitData()
|
D | MediaDrmCodecCryptoAsyncTest.java | 136 ClearKeyDrmSession(UUID uuid, byte[] drmInitData, byte[] clearKey) in ClearKeyDrmSession() argument 146 mediaDrm, "cenc", sessionId, drmInitData, in ClearKeyDrmSession() 153 mDrm, "cenc", mSessionId, drmInitData, MediaDrm.KEY_TYPE_STREAMING, in ClearKeyDrmSession()
|
D | MediaDrmClearkeyTest.java | 223 byte[] sessionId, byte[] drmInitData, int keyType, byte[][] clearKeyIds) { in retrieveKeys() argument 226 drmRequest = drm.getKeyRequest(sessionId, drmInitData, initDataType, in retrieveKeys() 278 byte[] sessionId, byte[] drmInitData, int keyType, byte[][] clearKeyIds) { in getKeys() argument 279 mKeySetId = retrieveKeys(drm, initDataType, sessionId, drmInitData, keyType, clearKeyIds); in getKeys()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderDrmTestBase.java | 103 byte[] drmInitData, int keyType, byte[][] clearKeyIds) { in retrieveKeys() argument 106 drmRequest = drm.getKeyRequest(sessionId, drmInitData, initDataType, keyType, null); in retrieveKeys() 152 byte[] drmInitData, byte[][] keys) throws UnsupportedSchemeException, in setUpMediaDrmAndCrypto() argument 159 retrieveKeys(mediaDrm, "cenc", sessionId, drmInitData, in setUpMediaDrmAndCrypto() 164 retrieveKeys(drm, "cenc", sessionId, drmInitData, MediaDrm.KEY_TYPE_STREAMING, keys); in setUpMediaDrmAndCrypto() 171 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument 175 drmInitData, keys); in setUpCrypto()
|
D | CodecDecoderBlockModelDrmTestBase.java | 61 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument 65 drmInitData, keys); in setUpCrypto()
|
D | CodecDecoderBlockModelMultiAccessUnitDrmTestBase.java | 70 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument 74 drmInitData, keys); in setUpCrypto()
|
D | CodecDecoderMultiAccessUnitDrmTestBase.java | 72 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument 76 drmInitData, keys); in setUpCrypto()
|
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/ |
D | MockMediaParserOutputConsumer.java | 198 DrmInitData drmInitData = in toExoPlayerFormat() local 200 mediaFormat.getString("crypto-mode-fourcc"), trackData.drmInitData); in toExoPlayerFormat() 241 .setDrmInitData(drmInitData) in toExoPlayerFormat() 252 @Nullable String encryptionScheme, @Nullable android.media.DrmInitData drmInitData) { in getExoPlayerDrmInitData() argument 253 if (drmInitData == null) { in getExoPlayerDrmInitData() 257 new DrmInitData.SchemeData[drmInitData.getSchemeInitDataCount()]; in getExoPlayerDrmInitData() 260 drmInitData.getSchemeInitDataAt(i); in getExoPlayerDrmInitData()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecClearKeyPlayer.java | 201 DrmInitData drmInitData = ex.getDrmInitData(); in getDrmInitData() local 202 if (drmInitData != null) { in getDrmInitData() 203 DrmInitData.SchemeInitData schemeInitData = drmInitData.get(CLEARKEY_SCHEME_UUID); in getDrmInitData()
|