/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorUnitTest.java | 94 extractor.setDataSource(mInpPrefix + mInpMedia); in testSelectTrackForInvalidIndex() 117 extractor.setDataSource(mInpPrefix + mInpMedia); in testIdempotentSelectTrack() 156 extractor.setDataSource(mInpPrefix + mInpMedia); in testUnselectTrackForInvalidIndex() 179 extractor.setDataSource(mInpPrefix + mInpMedia); in testUnselectTrackForUnSelectedTrackIndex() 192 extractor.setDataSource(mInpPrefix + mInpMedia); in testIdempotentUnselectTrack() 236 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToBeforeSelectTrack() 254 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToForInvalidMode() 270 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToAfterRelease() 383 extractor.setDataSource(mInpPrefix + mInpMedia); in testAdvanceBeforeSelectTrack() 421 extractor.setDataSource(mInpPrefix + mInpMedia); in testGetSampleFlagsBeforeSelectTrack() [all …]
|
D | ExtractorTest.java | 403 mRefExtractor.setDataSource(mInpPrefix + mInpMedia); in setUp() 483 testExtractor.setDataSource(afd); in testAssetFD() 499 testExtractor.setDataSource(fInp.getFD()); 527 testExtractor.setDataSource(fInp.getFD(), garbageAppend.length, 545 testExtractor.setDataSource(dataSource); 561 testExtractor.setDataSource(context, Uri.parse(path), null); 574 testExtractor.setDataSource(mInpMediaUrl, null); 716 extractor.setDataSource(mInpPrefix + srcFile); 744 extractor.setDataSource(mInpPrefix + srcFile); 825 extractor.setDataSource(mInpPrefix + srcFile); [all …]
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 84 mp.setDataSource(filePath); in getDuration() 103 mp.setDataSource(filePath); in getCurrentPosition() 131 mp.setDataSource(filePath); in seekTo() 158 mp.setDataSource(filePath); in setLooping() 195 mp.setDataSource(filePath); in pause() 220 mp.setDataSource(filePath); in prepareStopRelease() 229 mp.setDataSource(filePath); in preparePauseRelease() 259 mMediaPlayer.setDataSource(filePath); in videoHeight() 295 mMediaPlayer.setDataSource(filePath); in videoWidth() 323 mp.setDataSource(filePath); in videoSeekTo() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaExtractorTest.java | 80 protected TestMediaDataSource setDataSource(int resid) throws Exception { in setDataSource() method in MediaExtractorTest 82 mExtractor.setDataSource(ds); in setDataSource() 88 mExtractor.setDataSource((MediaDataSource)null); in testNullMediaDataSourceIsRejected() 96 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testMediaDataSourceIsClosedOnRelease() 105 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceThrows() 116 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceReturnsAnError() 125 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testExtractFromAMediaDataSource() 132 mExtractor.setDataSource(afd); in testExtractFromAssetFileDescriptor() 139 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_30fps_dvhe_04); in testDolbyVisionMediaExtractorProfileDvheDtr() 186 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_60fps_dvhe_05); in testDolbyVisionMediaExtractorProfileDvheStn() [all …]
|
D | MediaMetadataRetrieverTest.java | 91 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd() 103 mRetriever.setDataSource(ds); in setDataSourceCallback() 205 mRetriever.setDataSource((String)null); in testSetDataSourceNullPath() 214 mRetriever.setDataSource((MediaDataSource)null); in testNullMediaDataSourceIsRejected() 231 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceThrows() 241 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceReturnsAnError() 258 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testThumbnail() 436 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetFrameAt() 463 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetFrameAtEditList() 506 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetScaledFrameAtTime() [all …]
|
D | .goutputstream-9KZYJZ | 359 mPlayer.setDataSource(new DataSourceDesc.Builder() 360 .setDataSource(mContext, uri) 422 mPlayer.setDataSource(new DataSourceDesc.Builder() 423 .setDataSource(mContext, uri) 497 // getBufferingParams should be called after setDataSource. 505 // setBufferingParams should be called after setDataSource. 517 mPlayer.setDataSource(new DataSourceDesc.Builder() 518 .setDataSource(mContext, uri) 597 mPlayer.setDataSource(new DataSourceDesc.Builder() 598 .setDataSource(mContext, uri) [all …]
|
D | MediaMuxerTest.java | 485 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaUsingMuxer() 585 retrieverSrc.setDataSource(testFd.getFileDescriptor(), in verifyAttributesMatch() 589 retrieverTest.setDataSource(testMediaPath); in verifyAttributesMatch() 626 retriever.setDataSource(fileName); in verifyLocationInFile() 666 extractorSrc.setDataSource(testFd.getFileDescriptor(), in verifySamplesMatch() 672 extractorTest.setDataSource(testMediaPath); in verifySamplesMatch() 731 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in simulateVideoFramesDropIssuesAndMux() 835 extractorSrc.setDataSource(srcFd.getFileDescriptor(), in verifyAFewSamplesTimestamp() 838 extractorTest.setDataSource(testMediaPath); in verifyAFewSamplesTimestamp() 901 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaWithSamplesDropAndStartOffsets() [all …]
|
D | MediaCodecClearKeyPlayer.java | 299 private void setDataSource(MediaExtractor extractor, Uri uri, Map<String, String> headers) in setDataSource() method in MediaCodecClearKeyPlayer 303 extractor.setDataSource(uri.toString(), headers); in setDataSource() 305 extractor.setDataSource(uri.toString().substring(FILE_SCHEME.length()), headers); in setDataSource() 309 extractor.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in setDataSource() 359 setDataSource(mAudioExtractor, mAudioUri, mAudioHeaders); in prepare() 372 setDataSource(mVideoExtractor, mVideoUri, mVideoHeaders); in prepare()
|
D | MediaPlayerTest.java | 149 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied() 169 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash() 178 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash() 194 mMediaPlayer.setDataSource((String) null); in testPlayNullSourcePath() 249 mp.setDataSource(mContext, uri); in testPlayAudioFromDataURI() 314 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 432 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testPlayMidi() 606 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer() 835 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless() 846 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless() [all …]
|
D | MediaPlayerTestBase.java | 111 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in loadResource() 160 mMediaPlayer.setDataSource(path); in playVideoWithRetries() 199 mMediaPlayer.setDataSource(getInstrumentation().getTargetContext(), in playVideoWithRetries()
|
D | NativeDecoderTest.java | 198 ex.setDataSource(path); in getSampleSizes() 210 ex.setDataSource(path, headers); in getSampleSizes() 219 ex.setDataSource(fd, offset, size); in getSampleSizes() 285 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative() 403 ex.setDataSource(fd, offset, size); in getDecodedData() 660 org.setDataSource(infd.getFileDescriptor(), in testMuxer() 664 remux.setDataSource(out.getFileDescriptor()); in testMuxer() 770 ex.setDataSource(fd.getParcelFileDescriptor().getFileDescriptor(), in testPssh()
|
D | StreamingMediaPlayerTest.java | 299 mMediaPlayer.setDataSource(stream_url); in localHttpAudioStreamTest() 353 mMediaPlayer.setDataSource(stream_url); in localHttpsAudioStreamTest() 418 mMediaPlayer.setDataSource(stream_url); in testPlayHlsStreamWithTimedId3() 553 mp.setDataSource(path); in testBlockingReadRelease()
|
D | MediaPlayerSurfaceStubActivity.java | 45 mMediaPlayer.setDataSource( in onCreate()
|
D | DecoderTest.java | 365 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testBFrames() 566 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testColorAspects() 661 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 690 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 710 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 730 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 761 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 793 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testTrackSelection() 868 extractor.setDataSource(infd.getFileDescriptor(), in testHdrStaticMetadata() 1035 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); in testDecodeFragmented() [all …]
|
D | MediaCodecTunneledPlayer.java | 205 mAudioExtractor.setDataSource(mAudioUri.toString(), mAudioHeaders); in prepare() 206 mVideoExtractor.setDataSource(mVideoUri.toString(), mVideoHeaders); in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 35 status_t setDataSource(const sp<IMediaHTTPService> &httpService, in setDataSource() function in MyMediaPlayer 41 status_t setDataSource(int fd, int64_t offset, int64_t length) { return OK; } in setDataSource() function in MyMediaPlayer 43 status_t setDataSource(const sp<IStreamSource> &source) { return OK; } in setDataSource() function in MyMediaPlayer 45 status_t setDataSource(const sp<IDataSource> &source) { return OK; } in setDataSource() function in MyMediaPlayer 158 player->setDataSource(NULL, "file:///test", NULL); in main()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ |
D | Utils.java | 108 mmr.setDataSource(videoUrl, new HashMap<String, String>()); in getDuration() 110 mmr.setDataSource(videoUrl); in getDuration()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MediaServerCrashTest.java | 99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied() 143 mMediaPlayer.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in checkIfMediaServerDiedForDrm()
|
D | StagefrightTest.java | 1072 mp.setDataSource(uri); in testStagefright_bug_68342866() 1193 mp.setDataSource(uri); in testStagefright_cve_2017_13279() 1744 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaPlayer() 1749 mp.setDataSource(uri); in doStagefrightTestMediaPlayer() 1810 mp.setDataSource(fd.getFileDescriptor(), in testStagefright_cve_2019_2129() 1885 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaCodec() 1912 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec() 1920 ex.setDataSource(url); in doStagefrightTestMediaCodec() 2068 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaMetadataRetriever() 2095 … retriever.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaMetadataRetriever() [all …]
|
D | MediaMetadataRetrieverTest.java | 50 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DRMTest.java | 271 player.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in testForwardLockAccess() 286 retriever.setDataSource(flFd.getFileDescriptor()); in testForwardLockAccess() 297 ex.setDataSource(flFd.getFileDescriptor()); in testForwardLockAccess()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ReadDefaultUris.java | 61 mp.setDataSource(mContext, uri); in playUri()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 397 ex.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in hasCodecsForResourceCombo() 474 ex.setDataSource(path); in getExtractorForPath() 476 ex.setDataSource(uri.getPath()); in getExtractorForPath() 478 ex.setDataSource(context, uri, null); in getExtractorForPath() 620 extractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getTrackFormatForResource() 660 extractor.setDataSource( in createMediaExtractorForMimeType()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 476 ex.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in hasCodecsForResourceCombo() 553 ex.setDataSource(path); in getExtractorForPath() 555 ex.setDataSource(uri.getPath()); in getExtractorForPath() 557 ex.setDataSource(context, uri, null); in getExtractorForPath() 711 extractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getTrackFormatForResource() 751 extractor.setDataSource( in createMediaExtractorForMimeType()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 163 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestSucceeds() 181 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestBlocked()
|