diff options
author | Andreas Huber <andih@google.com> | 2012-09-20 16:00:17 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-09-21 09:24:08 -0700 |
commit | 207e18540fefbaf530a4fdf506d266f34ddec84f (patch) | |
tree | d8e7d7db4c874aabfe35c5fdd4a5dcf7bf72047d /media/libmedia | |
parent | 086f958a7e539acffb637b42f5a6998184544179 (diff) | |
download | frameworks_av-207e18540fefbaf530a4fdf506d266f34ddec84f.zip frameworks_av-207e18540fefbaf530a4fdf506d266f34ddec84f.tar.gz frameworks_av-207e18540fefbaf530a4fdf506d266f34ddec84f.tar.bz2 |
Remove legacy code and APIs in wifi display related code.
Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
Diffstat (limited to 'media/libmedia')
-rw-r--r-- | media/libmedia/IMediaPlayerService.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/media/libmedia/IMediaPlayerService.cpp b/media/libmedia/IMediaPlayerService.cpp index c702d76..c0a0260 100644 --- a/media/libmedia/IMediaPlayerService.cpp +++ b/media/libmedia/IMediaPlayerService.cpp @@ -43,7 +43,6 @@ enum { GET_OMX, MAKE_CRYPTO, MAKE_HDCP, - ENABLE_REMOTE_DISPLAY, ADD_BATTERY_DATA, PULL_BATTERY_DATA, LISTEN_FOR_REMOTE_DISPLAY, @@ -134,21 +133,6 @@ public: return interface_cast<IHDCP>(reply.readStrongBinder()); } - virtual status_t enableRemoteDisplay(const char *iface) { - Parcel data, reply; - data.writeInterfaceToken(IMediaPlayerService::getInterfaceDescriptor()); - - if (iface != NULL) { - data.writeInt32(1); - data.writeCString(iface); - } else { - data.writeInt32(0); - } - - remote()->transact(ENABLE_REMOTE_DISPLAY, data, &reply); - return reply.readInt32(); - } - virtual void addBatteryData(uint32_t params) { Parcel data, reply; data.writeInterfaceToken(IMediaPlayerService::getInterfaceDescriptor()); @@ -252,15 +236,6 @@ status_t BnMediaPlayerService::onTransact( reply->writeStrongBinder(hdcp->asBinder()); return NO_ERROR; } break; - case ENABLE_REMOTE_DISPLAY: { - CHECK_INTERFACE(IMediaPlayerService, data, reply); - const char *iface = NULL; - if (data.readInt32()) { - iface = data.readCString(); - } - reply->writeInt32(enableRemoteDisplay(iface)); - return NO_ERROR; - } break; case ADD_BATTERY_DATA: { CHECK_INTERFACE(IMediaPlayerService, data, reply); uint32_t params = data.readInt32(); |