/cts/hostsidetests/securitybulletin/securityPatch/CVE-2015-6616/ |
D | poc.cpp | 60 sp < DataSource > dataSource = new FileSource(argv[1]); in main() local 61 if (dataSource == nullptr) { in main() 71 creator = (void*) getDef().u.v2.sniff(dataSource->wrap(), &confidence, in main() 74 creator = (void*) getDef().u.v3.sniff(dataSource->wrap(), &confidence, in main() 82 CMediaExtractor *ret = ((CreatorFunc) creator)(dataSource->wrap(), meta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0697/ |
D | poc.cpp | 62 sp<DataSource> dataSource = dsf->CreateFromURI(NULL, argv[1]); in main() local 63 if (dataSource == nullptr) { in main() 73 creator = (void *)getDef().u.v2.sniff(dataSource->wrap(), &confidence, in main() 76 creator = (void *)getDef().u.v3.sniff(dataSource->wrap(), &confidence, in main() 84 CMediaExtractor *ret = ((CreatorFunc)creator)(dataSource->wrap(), meta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2126/ |
D | poc.cpp | 88 sp<DataSource> dataSource = dsf->CreateFromURI(NULL, TMP_FILE); in main() local 89 if (dataSource == nullptr) { in main() 100 creator = (void *)getDef().u.v2.sniff(dataSource->wrap(), &confidence, in main() 103 creator = (void *)getDef().u.v3.sniff(dataSource->wrap(), &confidence, in main() 112 CMediaExtractor *ret = ((CreatorFunc)creator)(dataSource->wrap(), meta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2015-3873/ |
D | poc.cpp | 60 sp<DataSource> dataSource = new FileSource(argv[1]); in main() local 61 if (!dataSource) { in main() 71 creator = (void *)getDef().u.v2.sniff(dataSource->wrap(), &confidence, in main() 74 creator = (void *)getDef().u.v3.sniff(dataSource->wrap(), &confidence, in main() 83 ((CreatorFunc)creator)(dataSource->wrap(), meta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0726/ |
D | poc.cpp | 96 sp<DataSource> dataSource = in main() local 98 if (dataSource == nullptr) { in main() 109 creator = (void *)getDef().u.v2.sniff(dataSource->wrap(), &confidence, in main() 112 creator = (void *)getDef().u.v3.sniff(dataSource->wrap(), &confidence, in main() 121 CMediaExtractor *ret = ((CreatorFunc)creator)(dataSource->wrap(), meta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0383/ |
D | poc.cpp | 114 sp<DataSource> dataSource = (sp<DataSource>)new XMFDataSource(fdData, fdInfo); in main() local 115 FAIL_CHECK(dataSource); in main() 124 getDef().u.v2.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main() 126 getDef().u.v3.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0385/ |
D | poc.cpp | 114 sp<DataSource> dataSource = (sp<DataSource>)new XMFDataSource(fdData, fdInfo); in main() local 115 FAIL_CHECK(dataSource); in main() 124 getDef().u.v2.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main() 126 getDef().u.v3.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0381/ |
D | poc.cpp | 114 sp<DataSource> dataSource = (sp<DataSource>)new XMFDataSource(fdData, fdInfo); in main() local 115 FAIL_CHECK(dataSource); in main() 124 getDef().u.v2.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main() 126 getDef().u.v3.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0384/ |
D | poc.cpp | 114 sp<DataSource> dataSource = (sp<DataSource>)new XMFDataSource(fdData, fdInfo); in main() local 115 FAIL_CHECK(dataSource); in main() 124 getDef().u.v2.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main() 126 getDef().u.v3.sniff(dataSource->wrap(), &confidence, &meta, &freeMeta); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-39623/ |
D | poc.cpp | 67 sp<DataSource> dataSource = DataSourceFactory::getInstance()->CreateFromURI( in main() local 69 FAIL_CHECK(dataSource); in main() 71 sp<IMediaExtractor> extractor = MediaExtractorFactory::Create(dataSource); in main()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 131 TestMediaDataSource dataSource = getDataSourceFor("testvideo.3gp"); in testExtractorFailsIfMediaDataSourceReturnsAnError() local 132 dataSource.returnFromReadAt(-2); in testExtractorFailsIfMediaDataSourceReturnsAnError() 134 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceReturnsAnError() 163 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_30fps_dvhe_04.mp4"); in testDolbyVisionMediaExtractorProfileDvheDtr() local 212 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_60fps_dvhe_08.mp4"); in testDolbyVisionMediaExtractorProfileDvheSt() local 261 TestMediaDataSource dataSource = setDataSource("video_dovi_1920x1080_60fps_dvav_09.mp4"); in testDolbyVisionMediaExtractorProfileDvavSe() local 311 TestMediaDataSource dataSource = setDataSource("video_dovi_3840x2160_30fps_dav1_10.mp4"); in testDolbyVisionMediaExtractorProfileDvav1() local 337 TestMediaDataSource dataSource = setDataSource("video_dovi_3840x2160_30fps_dav1_10_2.mp4"); in testDolbyVisionMediaExtractorProfileDvav1_2() local 385 TestMediaDataSource dataSource = setDataSource("sample_mpegh_mha1.mp4"); in testMpegh3dAudioMediaExtractorMha1() local 405 TestMediaDataSource dataSource = setDataSource("sample_mpegh_mhm1.mp4"); in testMpegh3dAudioMediaExtractorMhm1() local [all …]
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 525 AMediaDataSource* dataSource = nullptr; in nativeReadAllData() local 529 isPass = createExtractorFromUrl(env, jkeys, jvalues, &extractor, &dataSource, csrcPath); in nativeReadAllData() 542 if (dataSource) AMediaDataSource_delete(dataSource); in nativeReadAllData() 640 if (dataSource) AMediaDataSource_delete(dataSource); in nativeReadAllData() 818 AMediaDataSource* dataSource = nullptr; in nativeTestDataSource() local 820 if (createExtractorFromUrl(env, nullptr, nullptr, &testExtractor, &dataSource, csrcUrl)) { in nativeTestDataSource() 829 if (dataSource) AMediaDataSource_delete(dataSource); in nativeTestDataSource()
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerTest.java | 2570 TestMediaDataSource dataSource = in testPlaybackFromAMediaDataSource() local 2573 dataSource.returnFromGetSize(-1); in testPlaybackFromAMediaDataSource() 2574 mMediaPlayer.setDataSource(dataSource); in testPlaybackFromAMediaDataSource() 2588 mMediaPlayer.setDataSource(dataSource); in testPlaybackFromAMediaDataSource() 2615 TestMediaDataSource dataSource = new TestMediaDataSource(new byte[0]); in testMediaDataSourceIsClosedOnReset() local 2616 mMediaPlayer.setDataSource(dataSource); in testMediaDataSourceIsClosedOnReset() 2618 assertTrue(dataSource.isClosed()); in testMediaDataSourceIsClosedOnReset() 2631 TestMediaDataSource dataSource = in testPlaybackFailsIfMediaDataSourceThrows() local 2633 mMediaPlayer.setDataSource(dataSource); in testPlaybackFailsIfMediaDataSourceThrows() 2636 dataSource.throwFromReadAt(); in testPlaybackFailsIfMediaDataSourceThrows() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/ |
D | PerfettoTests.java | 240 TraceConfig.DataSource dataSource = in getBasePerfettoConfigBuilder() local 242 builder.addDataSources(dataSource); in getBasePerfettoConfigBuilder()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorUnitTest.java | 754 TestMediaDataSource dataSource = in testIfInvalidDataSourceIsRejectedBySetDataSource() local 757 extractor.setDataSource(dataSource); in testIfInvalidDataSourceIsRejectedBySetDataSource() 762 assertTrue(dataSource.isClosed()); in testIfInvalidDataSourceIsRejectedBySetDataSource()
|
D | ExtractorTest.java | 670 TestMediaDataSource dataSource = 673 testExtractor.setDataSource(dataSource); 681 assertTrue(dataSource.isClosed());
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaMetadataRetrieverTest.java | 621 TestMediaDataSource dataSource = setDataSourceCallback("testvideo.3gp"); in testMediaDataSourceIsClosedOnRelease() local 624 assertTrue(dataSource.isClosed()); in testMediaDataSourceIsClosedOnRelease()
|