summaryrefslogtreecommitdiffstats
path: root/services/mediaextractor/MediaExtractorService.cpp
Commit message (Collapse)AuthorAgeFilesLines
* extractor: load extractors on boot, not on request.Dongwon Kang2019-05-081-1/+3
| | | | | | Test: build + dumpsys media.extractor Bug: 131106476 Change-Id: Idbea788340c4849f1286727c159a8eb43d6a7bb0
* Remove unused code path in MediaExtractor(Factory|Service)Dongwon Kang2019-02-251-3/+1
| | | | | | Test: build, boot, dumpsys media.extractor Bug: 125134086 Change-Id: I723570315285d7c2caadffd71cd2d15efde11819
* Export support types from extractorsMarco Nelissen2019-01-101-0/+4
| | | | | | | | Make each extractor plugin export a list of file types it supports, so we no longer need to hardcode such a list in the framework. Test: manual Change-Id: I1e41a5d477ea56960ad3e4bc35f5183c03c3fe3a
* mediaextractor: load extractor plug-ins from apexDongwon Kang2018-12-101-0/+5
| | | | | | | | | Note: media apex is not added in the default build. The new code path will be no-op for now. Test: boot & adb shell dumpsys media.extractor Bug: 112766843 Change-Id: I1bdf2c41cc5f88c80c2fd20677dce1d58420e947
* Move MediaExtractor back to libstagefrightMarco Nelissen2018-08-231-1/+0
| | | | | | | | | | It is no longer needed in libmediaextractor, and moving it back to libstagefright will avoid a circular dependency later. Bug: 111407253 Test: build, boot, play some files Change-Id: I1373a9eedee27998e7733ea23ae1a375e45cc9c3
* Show list of loaded extractors in dumpsysMarco Nelissen2018-01-191-1/+1
| | | | | | Bug: 67908547 Test: build, boot, dumpsys Change-Id: Ib398dd000979b6b5d85db5e446946c0c8ded1793
* Keep the in-use extractor plugins when updating.Dongwon Kang2018-01-111-4/+3
| | | | | | | | | To track usage of extractors and close the so handle when they are destroied, MediaExtractorPlugin/RefBase class is introduced. Test: play MP4 file. install and uninstall media update apk. Bug: 67908547 Change-Id: I24926f943bc7247627e62d38edafd13d9c305a51
* Remove libmedia and libstagefright dependency from extractorsDongwon Kang2017-10-171-7/+10
| | | | | | | | | | | | | | - MediaSource, DataSource and MediaExtractor are moved to libmediaextractor so that they can be used by extractor implementations without depending on libmedia and libstagefright. - XXXFactory classes has been added in order not to expose CreateXXX methods in libmediaextractor. - avc_utils is moved to libstagefright_foundation since most of extractor implementations are relying on that. Test: build + post submit media CTS tests Bug: 65851881 Change-Id: I7d5cf18dd25abc10478ac3f6e7d1828ad023e3fb
* Remove direct dependency on libbinder from extractor implsDongwon Kang2017-09-211-6/+7
| | | | | | | | | | | This change removes dependency on IMediaExtractor/Source binder interfaces from MediaExtractor implementations. Wrapper classes, RemoteXXX and CallbackXXX, have been added to convert the implementations to binder objects or the other way around. Test: build, boot, and play mp4 video file Bug: 65851881 Change-Id: I351fb7bbaf8e0154295ccf258f85b8b2f2a4b8fb
* Allow MediaExtractor to create FileSourceAndy Hung2017-03-291-0/+7
| | | | | | | | Remove binder call to MediaServer for reading files. Test: Photos, Play Music, Play Movies, Youtube Bug: 29125703 Change-Id: Id6abf592bf6d70b81158f6038b1982f0a537b9b9
* Dump local source, not remoteMarco Nelissen2016-05-061-1/+1
| | | | | | | | dumpsys media.extractor was printing the remote source instead of starting at the local source. Bug: 22775369 Change-Id: I5026218515bf7ceb8485005ed7d89638a9c1963b
* Expand mediaextractor dumpsysMarco Nelissen2016-04-061-43/+3
| | | | | Bug: 22775369 Change-Id: I3366a52ba7a00d1685a2211465f2f18f143d0efc
* media.extractor dumpsys to show recent extractorsMarco Nelissen2016-02-291-0/+49
| | | | | Bug: 22775369 Change-Id: Ie68484985567896a00d5c193d1853a8f2e3b3964
* Remove unused methodMarco Nelissen2015-11-041-8/+2
| | | | Change-Id: I1732bf5a011b052588b5fa4f41d4723a1af8d320
* Extractor serviceMarco Nelissen2015-10-281-0/+55
Run extractors in a separate process. Currently all data is copied through a binder transaction, and WVMExtractor is still run in the mediaserver process. Change-Id: Ic5dbce87126dd321ad792f4dd540c2ff6b068d13