/cts/tests/tests/media/src/android/media/cts/ |
D | MediaExtractorTest.java | 107 protected TestMediaDataSource setDataSource(final String res) throws Exception { in setDataSource() method in MediaExtractorTest 109 mExtractor.setDataSource(ds); in setDataSource() 117 mExtractor.setDataSource((MediaDataSource)null); in SKIP_testNullMediaDataSourceIsRejected() 126 TestMediaDataSource dataSource = setDataSource("testvideo.3gp"); in SKIP_testMediaDataSourceIsClosedOnRelease() 137 mExtractor.setDataSource(dataSource); in SKIP_testExtractorFailsIfMediaDataSourceThrows() 148 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceReturnsAnError() 159 TestMediaDataSource dataSource = setDataSource("testvideo.3gp"); in SKIP_testExtractFromAMediaDataSource() 168 mExtractor.setDataSource(afd); in SKIP_testExtractFromAssetFileDescriptor() 195 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_30fps_dvhe_04.mp4"); in testDolbyVisionMediaExtractorProfileDvheDtr() 244 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_60fps_dvhe_05.mp4"); in SKIP_testDolbyVisionMediaExtractorProfileDvheStn() [all …]
|
D | MediaMuxerTest.java | 716 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaUsingMuxer() 816 retrieverSrc.setDataSource(testFd.getFileDescriptor(), in verifyAttributesMatch() 820 retrieverTest.setDataSource(testMediaPath); in verifyAttributesMatch() 858 retriever.setDataSource(fileName); in verifyLocationInFile() 898 extractorSrc.setDataSource(testFd.getFileDescriptor(), in verifySamplesMatch() 904 extractorTest.setDataSource(testMediaPath); in verifySamplesMatch() 963 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in simulateVideoFramesDropIssuesAndMux() 1068 extractorSrc.setDataSource(srcFd.getFileDescriptor(), in verifyAFewSamplesTimestamp() 1071 extractorTest.setDataSource(testMediaPath); in verifyAFewSamplesTimestamp() 1134 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaWithSamplesDropAndStartOffsets() [all …]
|
D | MediaMetadataRetrieverTest.java | 121 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd() 133 mRetriever.setDataSource(ds); in setDataSourceCallback() 493 mRetriever.setDataSource(file.getAbsolutePath()); in testSetDataSourcePath() 504 mRetriever.setDataSource(getContext(), uri); in testSetDataSourceUri() 512 mRetriever.setDataSource((String)null); in testSetDataSourceNullPath() 521 mRetriever.setDataSource(getContext(), (Uri)null); in testSetDataSourceNullUri() 530 mRetriever.setDataSource((MediaDataSource)null); in testNullMediaDataSourceIsRejected() 547 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceThrows() 557 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceReturnsAnError() 1205 extractor.setDataSource( in testGetImage()
|
D | MediaPlayerTest.java | 164 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied() 184 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash() 193 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash() 210 mMediaPlayer.setDataSource((String) null); in testPlayNullSourcePath() 266 mp.setDataSource(mContext, uri); in testPlayAudioFromDataURI() 331 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 459 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in runMidiTest() 634 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer() 864 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless() 875 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless() [all …]
|
D | MediaPlayerSurfaceStubActivity.java | 55 mMediaPlayer.setDataSource( in onCreate()
|
D | MediaPlayerTestBase.java | 122 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in loadResource() 171 mMediaPlayer.setDataSource(path); in playVideoWithRetries() 210 mMediaPlayer.setDataSource(getInstrumentation().getTargetContext(), in playVideoWithRetries()
|
D | StreamingMediaPlayerTest.java | 301 mMediaPlayer.setDataSource(stream_url); in localHttpAudioStreamTest() 356 mMediaPlayer.setDataSource(stream_url); in localHttpsAudioStreamTest() 422 mMediaPlayer.setDataSource(stream_url); in testPlayHlsStreamWithTimedId3() 558 mp.setDataSource(path); in testBlockingReadRelease()
|
D | NativeDecoderTest.java | 209 ex.setDataSource(path); in getSampleSizes() 221 ex.setDataSource(path, headers); in getSampleSizes() 230 ex.setDataSource(fd, offset, size); in getSampleSizes() 300 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative() 425 ex.setDataSource(fd, offset, size); in getDecodedData() 693 org.setDataSource(infd.getFileDescriptor(), in testMuxer() 697 remux.setDataSource(out.getFileDescriptor()); in testMuxer() 932 ex.setDataSource(fd.getParcelFileDescriptor().getFileDescriptor(), in testPssh()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorUnitTest.java | 102 extractor.setDataSource(mInpPrefix + mInpMedia); in testSelectTrackForInvalidIndex() 126 extractor.setDataSource(mInpPrefix + mInpMedia); in testIdempotentSelectTrack() 166 extractor.setDataSource(mInpPrefix + mInpMedia); in testUnselectTrackForInvalidIndex() 190 extractor.setDataSource(mInpPrefix + mInpMedia); in testUnselectTrackForUnSelectedTrackIndex() 204 extractor.setDataSource(mInpPrefix + mInpMedia); in testIdempotentUnselectTrack() 249 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToBeforeSelectTrack() 268 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToForInvalidMode() 285 extractor.setDataSource(mInpPrefix + mInpMedia); in testSeekToAfterRelease() 399 extractor.setDataSource(mInpPrefix + mInpMedia); in testAdvanceBeforeSelectTrack() 438 extractor.setDataSource(mInpPrefix + mInpMedia); in testGetSampleFlagsBeforeSelectTrack() [all …]
|
D | ExtractorTest.java | 500 mRefExtractor.setDataSource(mInpPrefix + mInpMedia); in setUp() 589 testExtractor.setDataSource(afd); in testAssetFD() 606 testExtractor.setDataSource(fInp.getFD()); 639 testExtractor.setDataSource(fInp.getFD(), garbageAppend.length, 658 testExtractor.setDataSource(dataSource); 674 testExtractor.setDataSource(context, Uri.parse(path), null); 686 testExtractor.setDataSource(mInpMediaUrl, headers); 733 testExtractor.setDataSource(mInpMediaUrl, headers); 884 extractor.setDataSource(mInpPrefix + srcFile); 913 extractor.setDataSource(mInpPrefix + srcFile); [all …]
|
/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 47 status_t setDataSource(const String8& rtpParams) { return OK; } in setDataSource() function in MyMediaPlayer 160 player->setDataSource(NULL, "file:///test", NULL); in main()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 85 mp.setDataSource(filePath); in getDuration() 104 mp.setDataSource(filePath); in getCurrentPosition() 132 mp.setDataSource(filePath); in seekTo() 159 mp.setDataSource(filePath); in setLooping() 196 mp.setDataSource(filePath); in pause() 221 mp.setDataSource(filePath); in prepareStopRelease() 230 mp.setDataSource(filePath); in preparePauseRelease() 260 mMediaPlayer.setDataSource(filePath); in videoHeight() 296 mMediaPlayer.setDataSource(filePath); in videoWidth() 324 mp.setDataSource(filePath); in videoSeekTo() [all …]
|
/cts/hostsidetests/media/app/MediaExtractorTest/src/android/media/cts/ |
D | MediaExtractorDeviceSideTest.java | 58 mediaExtractor.setDataSource(fileDescriptor); in testEntryPointSdk() 98 mediaExtractor.setDataSource(fileDescriptor); in assertMediaExtractorAcceptsLogSessionId()
|
/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 | MediaMetadataRetrieverTest.java | 49 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
|
D | MediaServerCrashTest.java | 99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied() 144 mMediaPlayer.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in checkIfMediaServerDiedForDrm()
|
D | StagefrightTest.java | 1101 mp.setDataSource(uri); in testStagefright_bug_68342866() 1314 mp.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testStagefright_cve_2018_9474() 1406 mp.setDataSource(uri); in testStagefright_cve_2016_3880() 2161 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaPlayer() 2166 mp.setDataSource(uri); in doStagefrightTestMediaPlayer() 2226 mp.setDataSource(fd.getFileDescriptor(), in testStagefright_cve_2019_2129() 2300 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaCodec() 2327 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec() 2335 ex.setDataSource(url); in doStagefrightTestMediaCodec() 2486 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaMetadataRetriever() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ReadDefaultUris.java | 61 mp.setDataSource(mContext, uri); in playUri()
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 477 ex.setDataSource(resource); in hasCodecsForResourceCombo() 507 ex.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in hasCodecsForResourceCombo() 604 ex.setDataSource(path); in getExtractorForPath() 606 ex.setDataSource(uri.getPath()); in getExtractorForPath() 608 ex.setDataSource(context, uri, null); in getExtractorForPath() 762 extractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getTrackFormatForResource() 774 extractor.setDataSource(resource); in getTrackFormatForResource() 817 extractor.setDataSource( in createMediaExtractorForMimeType()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecPerformanceTestBase.java | 132 extractor.setDataSource(input); in getVideoFormat() 198 extractor.setDataSource(input); in setUpDecoderInput()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 163 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestSucceeds() 181 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestBlocked()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AudioRestrictionTest.java | 101 mediaPlayer.setDataSource(mContext, uri); in testDisallowAdjustVolume()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | HeifWriterTest.java | 334 retriever.setDataSource(filename); in verifyResult() 355 extractor.setDataSource(filename); in verifyResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | PlayVideoActivity.java | 102 mPlayer.setDataSource(mStream.uri); in playVideo()
|