Searched refs:initData (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/ |
D | MockMediaParserOutputConsumer.java | 177 ArrayList<byte[]> initData = null; in toExoPlayerFormat() local 179 initData = new ArrayList<>(); in toExoPlayerFormat() 182 initData.add(mediaFormat.getByteBuffer("csd-" + index++).array()); in toExoPlayerFormat() 237 .setInitializationData(initData) in toExoPlayerFormat()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMockTest.java | 243 byte[] initData = {0x0a, 0x0b, 0x0c, 0x0d}; in testGetKeyRequest() 249 KeyRequest request = md.getKeyRequest(sessionId, initData, mimeType, in testGetKeyRequest() 256 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequest() 279 byte[] initData = {0x0a, 0x0b, 0x0c, 0x0d}; in testGetKeyRequestNoOptionalParameters() 282 KeyRequest request = md.getKeyRequest(sessionId, initData, mimeType, in testGetKeyRequestNoOptionalParameters() 289 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequestNoOptionalParameters() 311 byte[] initData = {0x0a, 0x0b, 0x0c, 0x0d}; in testGetKeyRequestOffline() 314 KeyRequest request = md.getKeyRequest(sessionId, initData, mimeType, in testGetKeyRequestOffline() 321 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequestOffline()
|
D | MediaPlayerDrmTestBase.java | 795 byte[] initData = null; in setupDrm() 819 initData = CLEARKEY_PSSH; in setupDrm() 823 initData = makeCencPSSH(CLEARKEY_SCHEME_UUID, psshData); in setupDrm() 825 Log.d(TAG, "setupDrm: initData[" + drmScheme + "]: " + Arrays.toString(initData)); in setupDrm() 847 initData, in setupDrm()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecClearKeyPlayer.java | 347 byte[] initData = new byte[0]; in prepare() 348 mCrypto = new MediaCrypto(CLEARKEY_SCHEME_UUID, initData); in prepare()
|