summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/TestPlayerStub.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with clang in C++11 modeBernhard Rosenkränzer2014-11-271-1/+1
| | | | | | | | | This removes the deprecated register keyword in many places, fixes one instance of passing '\0' where a char* is expected, and 2 switch type narrowing issues. Change-Id: Ie265ac26ff6a61267ad6406dfe237226d97ca9ac Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-2/+4
| | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGESteve Block2012-01-091-1/+1
| | | | | | | See https://android-git.corp.google.com/g/157519 Bug: 5449033 Change-Id: I8ceb2dba1b031a0fd68d15d146960d9ced62bbf3
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* API Extension: Support for optionally specifying a map of extra request ↵Andreas Huber2010-01-281-3/+3
| | | | | | | | headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
* LOG_ASSERT needs a message.Patrick Scott2009-10-291-1/+1
| | | | This fails to build when asserts are turned on.
* New test player stub to load mock native players.Nicolas Catania2009-07-161-0/+196
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.