summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/RemoteDisplay.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-09-05 10:26:52 -0700
committerAndreas Huber <andih@google.com>2012-09-05 10:26:52 -0700
commit0b73d4730202fcad53aefc4314a06e7b95f442f0 (patch)
tree49f1e28def31a204301280175e731cd82aebc203 /media/libmediaplayerservice/RemoteDisplay.h
parente104596061b219e9bce6d4db49a9d15242f8d2e5 (diff)
downloadframeworks_av-0b73d4730202fcad53aefc4314a06e7b95f442f0.zip
frameworks_av-0b73d4730202fcad53aefc4314a06e7b95f442f0.tar.gz
frameworks_av-0b73d4730202fcad53aefc4314a06e7b95f442f0.tar.bz2
Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.
Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
Diffstat (limited to 'media/libmediaplayerservice/RemoteDisplay.h')
-rw-r--r--media/libmediaplayerservice/RemoteDisplay.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/media/libmediaplayerservice/RemoteDisplay.h b/media/libmediaplayerservice/RemoteDisplay.h
index 3607d06..63c5286 100644
--- a/media/libmediaplayerservice/RemoteDisplay.h
+++ b/media/libmediaplayerservice/RemoteDisplay.h
@@ -18,6 +18,7 @@
#define REMOTE_DISPLAY_H_
+#include <media/IRemoteDisplay.h>
#include <media/stagefright/foundation/ABase.h>
#include <utils/Errors.h>
#include <utils/RefBase.h>
@@ -26,20 +27,18 @@ namespace android {
struct ALooper;
struct ANetworkSession;
+struct IRemoteDisplayClient;
struct WifiDisplaySource;
-struct RemoteDisplay : public RefBase {
- RemoteDisplay();
+struct RemoteDisplay : public BnRemoteDisplay {
+ RemoteDisplay(const sp<IRemoteDisplayClient> &client, const char *iface);
- status_t start(const char *iface);
- status_t stop();
+ virtual status_t disconnect();
protected:
virtual ~RemoteDisplay();
private:
- status_t mInitCheck;
-
sp<ALooper> mNetLooper;
sp<ALooper> mLooper;
sp<ANetworkSession> mNetSession;