summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorTim Kilbourn <tkilbourn@google.com>2015-06-03 11:25:56 -0700
committerTim Kilbourn <tkilbourn@google.com>2015-06-04 21:36:21 +0000
commit9e6d2ee0302c6f6108488237821958c42ac380a1 (patch)
tree282a4503236d443c863015942c19e2ceb11b6933 /include/binder
parent2139c7fa37e581f6d2f573003afc16fbef700ad1 (diff)
downloadframeworks_native-9e6d2ee0302c6f6108488237821958c42ac380a1.tar.gz
frameworks_native-9e6d2ee0302c6f6108488237821958c42ac380a1.tar.bz2
frameworks_native-9e6d2ee0302c6f6108488237821958c42ac380a1.zip
DO NOT MERGE Remove unused ParcelFileDescriptor methods in parcel.
Attempts to replicate Java parceling in native code is fraught with peril. Change-Id: I4359036c5dddd1b886d886beef1d060523e53e5f (cherry picked from commit f47a381001d4d4ce66c2e35aac5b96a26acc0730)
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/Parcel.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h
index da960aa0e..ddaf54f04 100644
--- a/include/binder/Parcel.h
+++ b/include/binder/Parcel.h
@@ -130,11 +130,6 @@ public:
// will be closed once the parcel is destroyed.
status_t writeDupFileDescriptor(int fd);
- // Writes a raw fd and optional comm channel fd to the parcel as a ParcelFileDescriptor.
- // A dup's of the fds are made, which will be closed once the parcel is destroyed.
- // Null values are passed as -1.
- status_t writeParcelFileDescriptor(int fd, int commChannel = -1);
-
// Writes a blob to the parcel.
// If the blob is small, then it is stored in-place, otherwise it is
// transferred by way of an anonymous shared memory region.
@@ -198,11 +193,6 @@ public:
// in the parcel, which you do not own -- use dup() to get your own copy.
int readFileDescriptor() const;
- // Reads a ParcelFileDescriptor from the parcel. Returns the raw fd as
- // the result, and the optional comm channel fd in outCommChannel.
- // Null values are returned as -1.
- int readParcelFileDescriptor(int& outCommChannel) const;
-
// Reads a blob from the parcel.
// The caller should call release() on the blob after reading its contents.
status_t readBlob(size_t len, ReadableBlob* outBlob) const;