Home
last modified time | relevance | path

Searched refs:mMediaCodecPlayer (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecPlayerTestBase.java42 protected MediaCodecClearKeyPlayer mMediaCodecPlayer; field in MediaCodecPlayerTestBase
93 mMediaCodecPlayer = new MediaCodecClearKeyPlayer( in preparePlayback()
98 mMediaCodecPlayer.setAudioDataSource(audioUrl, null, audioEncrypted); in preparePlayback()
99 mMediaCodecPlayer.setVideoDataSource(videoUrl, null, videoEncrypted); in preparePlayback()
100 mMediaCodecPlayer.start(); in preparePlayback()
101 mMediaCodecPlayer.prepare(); in preparePlayback()
106 mMediaCodecPlayer.startThread(); in playUntilEnd()
109 while (timeOut > System.currentTimeMillis() && !mMediaCodecPlayer.isEnded()) { in playUntilEnd()
111 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in playUntilEnd()
112 Log.d(TAG, "current pos = " + mMediaCodecPlayer.getCurrentPosition() + in playUntilEnd()
[all …]
DMediaDrmClearkeyTest.java390 mDrmInitData = mMediaCodecPlayer.getDrmInitData(); in testClearKeyPlayback()
439 mMediaCodecPlayer = new MediaCodecClearKeyPlayer( in testReleaseOfflineLicense()
445 mMediaCodecPlayer.setAudioDataSource(audioUrl, null, false); in testReleaseOfflineLicense()
446 mMediaCodecPlayer.setVideoDataSource(videoUrl, null, true); in testReleaseOfflineLicense()
447 mMediaCodecPlayer.start(); in testReleaseOfflineLicense()
448 mMediaCodecPlayer.prepare(); in testReleaseOfflineLicense()
449 mDrmInitData = mMediaCodecPlayer.getDrmInitData(); in testReleaseOfflineLicense()
523 mMediaCodecPlayer = new MediaCodecClearKeyPlayer( in testQueryKeyStatus()
527 mMediaCodecPlayer.setAudioDataSource( in testQueryKeyStatus()
529 mMediaCodecPlayer.setVideoDataSource( in testQueryKeyStatus()
[all …]
DDecoderTest.java82 private MediaCodecTunneledPlayer mMediaCodecPlayer; field in DecoderTest
120 if (mMediaCodecPlayer != null) { in tearDown()
121 mMediaCodecPlayer.reset(); in tearDown()
122 mMediaCodecPlayer = null; in tearDown()
3235 mMediaCodecPlayer = new MediaCodecTunneledPlayer(
3240 mMediaCodecPlayer.setAudioDataSource(audioUri, null);
3241 mMediaCodecPlayer.setVideoDataSource(videoUri, null);
3242 assertTrue("MediaCodecPlayer.start() failed!", mMediaCodecPlayer.start());
3243 assertTrue("MediaCodecPlayer.prepare() failed!", mMediaCodecPlayer.prepare());
3246 mMediaCodecPlayer.startThread();
[all …]
DNativeMediaDrmClearkeyTest.java62 private MediaCodecClearKeyPlayer mMediaCodecPlayer; field in NativeMediaDrmClearkeyTest