Home
last modified time | relevance | path

Searched refs:setDataSource (Results 1 – 25 of 86) sorted by relevance

1234

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp35 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/media/src/android/mediav2/cts/
DExtractorUnitTest.java108 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testSelectTrackForInvalidIndex()
133 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testIdempotentSelectTrack()
176 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testUnselectTrackForInvalidIndex()
201 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testUnselectTrackForUnSelectedTrackIndex()
216 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testIdempotentUnselectTrack()
264 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testSeekToBeforeSelectTrack()
284 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testSeekToForInvalidMode()
302 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testSeekToAfterRelease()
425 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testAdvanceBeforeSelectTrack()
467 extractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in testGetSampleFlagsBeforeSelectTrack()
[all …]
DExtractorTest.java515 mRefExtractor.setDataSource(MEDIA_DIR + INPUT_MEDIA); in setUp()
604 testExtractor.setDataSource(afd); in testAssetFD()
621 testExtractor.setDataSource(fInp.getFD());
654 testExtractor.setDataSource(fInp.getFD(), garbageAppend.length,
673 testExtractor.setDataSource(dataSource);
689 testExtractor.setDataSource(context, Uri.parse(path), null);
701 testExtractor.setDataSource(mInpMediaUrl, headers);
748 testExtractor.setDataSource(mInpMediaUrl, headers);
899 extractor.setDataSource(MEDIA_DIR + srcFile);
928 extractor.setDataSource(MEDIA_DIR + srcFile);
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java90 mp.setDataSource(filePath); in getDuration()
109 mp.setDataSource(filePath); in getCurrentPosition()
137 mp.setDataSource(filePath); in seekTo()
164 mp.setDataSource(filePath); in setLooping()
201 mp.setDataSource(filePath); in pause()
226 mp.setDataSource(filePath); in prepareStopRelease()
235 mp.setDataSource(filePath); in preparePauseRelease()
265 mMediaPlayer.setDataSource(filePath); in videoHeight()
301 mMediaPlayer.setDataSource(filePath); in videoWidth()
329 mp.setDataSource(filePath); in videoSeekTo()
[all …]
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java117 private TestMediaDataSource setDataSource(final String res) throws Exception { in setDataSource() method in MediaExtractorTest
119 mExtractor.setDataSource(ds); in setDataSource()
134 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceReturnsAnError()
163 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_30fps_dvhe_04.mp4"); in testDolbyVisionMediaExtractorProfileDvheDtr()
212 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_60fps_dvhe_08.mp4"); in testDolbyVisionMediaExtractorProfileDvheSt()
261 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_60fps_dvav_09.mp4"); in testDolbyVisionMediaExtractorProfileDvavSe()
311 TestMediaDataSource dataSource = setDataSource("video_dovi_3840x2160_30fps_dav1_10.mp4"); in testDolbyVisionMediaExtractorProfileDvav1()
337 TestMediaDataSource dataSource = setDataSource("video_dovi_3840x2160_30fps_dav1_10_2.mp4"); in testDolbyVisionMediaExtractorProfileDvav1_2()
385 TestMediaDataSource dataSource = setDataSource("sample_mpegh_mha1.mp4"); in testMpegh3dAudioMediaExtractorMha1()
405 TestMediaDataSource dataSource = setDataSource("sample_mpegh_mhm1.mp4"); in testMpegh3dAudioMediaExtractorMhm1()
[all …]
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmExtractorTest.java75 protected TestMediaDataSource setDataSource(final String res) throws Exception { in setDataSource() method in MediaDrmExtractorTest
77 mExtractor.setDataSource(ds); in setDataSource()
84 setDataSource("psshtest.mp4"); in testGetDrmInitData()
DMediaDrmCodecBlockModelTest.java111 extractor.setDataSource(mInpPrefix + "llama_h264_main_720p_8000.mp4", null); in runDecodeShortEncryptedVideo()
153 mediaExtractor.setDataSource( in getMediaExtractorForMimeType()
/cts/hostsidetests/media/app/MediaExtractorTest/src/android/media/cts/
DMediaExtractorDeviceSideTest.java58 mediaExtractor.setDataSource(fileDescriptor); in testEntryPointSdk()
99 mediaExtractor.setDataSource(fileDescriptor); in assertMediaExtractorAcceptsLogSessionId()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21127/
Dpoc.cpp37 extractor->setDataSource(nullptr /* httpService */, argv[1]); in main()
/cts/tests/tests/security/src/android/security/cts/
DMediaMetadataRetrieverTest.java49 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
DMediaServerCrashTest.java99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
144 mMediaPlayer.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in checkIfMediaServerDiedForDrm()
DStagefrightTest.java1089 mp.setDataSource(uri); in testStagefright_bug_68342866()
1302 mp.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testStagefright_cve_2018_9474()
1396 mp.setDataSource(uri); in testStagefright_cve_2016_3880()
2217 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaPlayer()
2222 mp.setDataSource(uri); in doStagefrightTestMediaPlayer()
2282 mp.setDataSource(fd.getFileDescriptor(), in testStagefright_cve_2019_2129()
2356 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaCodec()
2383 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec()
2391 ex.setDataSource(url); in doStagefrightTestMediaCodec()
2558 mp.setDataSource(fd.getFileDescriptor(), in doStagefrightTestMediaMetadataRetriever()
[all …]
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java142 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
154 mRetriever.setDataSource(ds); in setDataSourceCallback()
215 mRetriever.setDataSource(mediaDataSource); in testExceptionWhileClosingMediaDataSource()
571 mRetriever.setDataSource(file.getAbsolutePath()); in testSetDataSourcePath()
583 mRetriever.setDataSource(getContext(), uri); in testSetDataSourceUri()
592 mRetriever.setDataSource((String)null); in testSetDataSourceNullPath()
602 mRetriever.setDataSource(getContext(), (Uri)null); in testSetDataSourceNullUri()
612 mRetriever.setDataSource((MediaDataSource)null); in testNullMediaDataSourceIsRejected()
631 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceThrows()
642 mRetriever.setDataSource(ds); in testRetrieveFailsIfMediaDataSourceReturnsAnError()
[all …]
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java189 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in loadResource()
230 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
251 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash()
260 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash()
278 mMediaPlayer.setDataSource((String) null); in testPlayNullSourcePath()
304 mediaPlayer.setDataSource(mContext, contentUri); in testPlayContentUri()
368 mp.setDataSource(mContext, uri); in testPlayAudioFromDataURI()
438 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
579 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in runMidiTest()
769 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer()
[all …]
DStreamingMediaPlayerTest.java281 mMediaPlayer.setDataSource(stream_url); in localHttpAudioStreamTest()
333 mMediaPlayer.setDataSource(stream_url); in localHttpsAudioStreamTest()
394 mMediaPlayer.setDataSource(stream_url); in testPlayHlsStreamWithTimedId3()
528 mp.setDataSource(path); in testBlockingReadRelease()
DMediaPlayerSurfaceStubActivity.java60 mMediaPlayer.setDataSource( in onCreate()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java731 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaUsingMuxer()
856 retrieverSrc.setDataSource(testFd.getFileDescriptor(), in verifyAttributesMatch()
860 retrieverTest.setDataSource(testMediaPath); in verifyAttributesMatch()
898 retriever.setDataSource(fileName); in verifyLocationInFile()
938 extractorSrc.setDataSource(testFd.getFileDescriptor(), in verifySamplesMatch()
944 extractorTest.setDataSource(testMediaPath); in verifySamplesMatch()
1003 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in simulateVideoFramesDropIssuesAndMux()
1108 extractorSrc.setDataSource(srcFd.getFileDescriptor(), in verifyAFewSamplesTimestamp()
1111 extractorTest.setDataSource(testMediaPath); in verifyAFewSamplesTimestamp()
1174 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaWithSamplesDropAndStartOffsets()
[all …]
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DReadDefaultUris.java61 mp.setDataSource(mContext, uri); in playUri()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java94 mediaExtractor.setDataSource( in VideoDecodingWrapper()
97 mediaExtractor.setDataSource(filePath); in VideoDecodingWrapper()
DMediaEditingUtil.java266 mediaExtractor.setDataSource(filePath); in getMuxedWidthHeight()
293 mediaExtractor.setDataSource(filePath); in getMuxedOutputProfile()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderSetup.java38 mediaExtractor.setDataSource(filePath); in createMediaExtractor()
DDecoderTest.java502 ex.setDataSource(mInpPrefix + res); in testBFrames()
705 ex.setDataSource(mInpPrefix + res); in testColorAspects()
798 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
827 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
847 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
867 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
898 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
930 ex1.setDataSource(mInpPrefix + res); in testTrackSelection()
978 ex1.setDataSource(mInpPrefix + reference); in testDecodeFragmented()
980 ex2.setDataSource(mInpPrefix + teststream); in testDecodeFragmented()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java271 player.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in testForwardLockAccess()
286 retriever.setDataSource(flFd.getFileDescriptor()); in testForwardLockAccess()
297 ex.setDataSource(flFd.getFileDescriptor()); in testForwardLockAccess()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java111 mMediaPlayer.setDataSource(path); in playVideoWithRetries()
142 mMediaPlayer.setDataSource( in playVideoWithRetries()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java502 ex.setDataSource(resource); in hasCodecsForResourceCombo()
532 ex.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in hasCodecsForResourceCombo()
629 ex.setDataSource(path); in getExtractorForPath()
631 ex.setDataSource(uri.getPath()); in getExtractorForPath()
633 ex.setDataSource(context, uri, null); in getExtractorForPath()
787 extractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getTrackFormatForResource()
799 extractor.setDataSource(resource); in getTrackFormatForResource()
842 extractor.setDataSource( in createMediaExtractorForMimeType()

1234