summaryrefslogtreecommitdiffstats
path: root/media/tests
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-01-29 10:32:46 -0800
committerAndreas Huber <andih@google.com>2014-02-04 14:45:28 -0800
commitd2506a506303ed94fd1991cf986b825b870a67c5 (patch)
tree5e5116da8f0ae6a56c93b37d0dd483ded11295d1 /media/tests
parent10586ad2a6996b8f9f84ed47a65ccc2d883fc19f (diff)
downloadframeworks_base-d2506a506303ed94fd1991cf986b825b870a67c5.zip
frameworks_base-d2506a506303ed94fd1991cf986b825b870a67c5.tar.gz
frameworks_base-d2506a506303ed94fd1991cf986b825b870a67c5.tar.bz2
FINAL ATTEMPT: HTTP services are now provided from JAVA and made available to media code
Change-Id: I7f6cdcfd2a28846d36d89dd5180ef20a22b03af8
Diffstat (limited to 'media/tests')
-rw-r--r--media/tests/players/invoke_mock_media_player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/tests/players/invoke_mock_media_player.cpp b/media/tests/players/invoke_mock_media_player.cpp
index a94fedb..d1fed7bb 100644
--- a/media/tests/players/invoke_mock_media_player.cpp
+++ b/media/tests/players/invoke_mock_media_player.cpp
@@ -27,6 +27,7 @@
using android::INVALID_OPERATION;
using android::Surface;
using android::IGraphicBufferProducer;
+using android::IMediaHTTPService;
using android::MediaPlayerBase;
using android::OK;
using android::Parcel;
@@ -57,6 +58,7 @@ class Player: public MediaPlayerBase
virtual bool hardwareOutput() {return true;}
virtual status_t setDataSource(
+ const sp<IMediaHTTPService> &httpService,
const char *url,
const KeyedVector<String8, String8> *) {
ALOGV("setDataSource %s", url);