summaryrefslogtreecommitdiffstats
path: root/include/binder/Parcel.h
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2010-06-21 15:31:01 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-06-21 15:31:01 -0700
commitef8f96a717554a85aa63a60f8c61be2afbd12a5c (patch)
tree0a6550aabca59a3e91a5a3d88bdd5351ce14d043 /include/binder/Parcel.h
parentd91ac98a8ead216b12af6df61d90229b74c7f0f6 (diff)
parent27b3a7a75960d026655f3acd1de8a672e80a5776 (diff)
downloadframeworks_base-ef8f96a717554a85aa63a60f8c61be2afbd12a5c.zip
frameworks_base-ef8f96a717554a85aa63a60f8c61be2afbd12a5c.tar.gz
frameworks_base-ef8f96a717554a85aa63a60f8c61be2afbd12a5c.tar.bz2
Merge "Start of work on passing around StrictMode policy over Binder calls." into gingerbread
Diffstat (limited to 'include/binder/Parcel.h')
-rw-r--r--include/binder/Parcel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h
index 66c34b2..2cc4db9 100644
--- a/include/binder/Parcel.h
+++ b/include/binder/Parcel.h
@@ -56,9 +56,12 @@ public:
bool hasFileDescriptors() const;
+ // Writes the RPC header.
status_t writeInterfaceToken(const String16& interface);
+ // Parses the RPC header, returning true if the interface name
+ // in the header matches the expected interface from the caller.
bool enforceInterface(const String16& interface) const;
- bool checkInterface(IBinder*) const;
+ bool checkInterface(IBinder*) const;
void freeData();