summaryrefslogtreecommitdiffstats
path: root/media/tests/players
Commit message (Collapse)AuthorAgeFilesLines
* API Extension: Support for optionally specifying a map of extra request ↵Andreas Huber2010-01-281-1/+5
| | | | | | | | headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
* Fix typo: test -> tests in makefile tagsJean-Baptiste Queru2010-01-061-1/+1
| | | | Change-Id: Icf23b5ae5d84f6ba9032d1707635a75352f920d2
* Added native metadata support.niko2009-07-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | Metadata.java: Fixed typo 8k != 8092. The comment was correct though. In Metadata.h, the new Metadata class is declared in the ns android::media to limit the chances of conflict with other packages. The MetadataType in MediaPlayerInterface is gone and moved to Metadata as an inner typedef. Similarly the SortedVector<MetadataType> instance have been replace by a new type Metadata::Filter. All the keys declared in the java counterpart are also in Metadata.h. Metadata.cpp: Contains the implementation of the native metadata packing. There an associated change in the opencore package that should go in at the same time as this one.
* Added method to get metadata out of the player.niko2009-07-171-3/+9
| | | | | | | The method passes a list of metadata ids to be retrieved and a parcel where the metadata records should be appended. If the list of ids is empty, all the metadata should be returned.
* New test player stub to load mock native players.Nicolas Catania2009-07-163-0/+155
Added a new class TestPlayerStub that takes a magic url in the setDataSource call. Based on the value of the url, the stub is going to load a DL and create the concrete player used during the test. After these initialization steps TestPlayerStub is just a wrapper. Added a new functional test MediaPlayerInvokeTest to demonstrate how a new mock player to test the invoke method can be loaded. Added a new mock player for the invoke test: invoke_mock_media_player.cpp.