Home | History | Annotate | Download | only in binder

Lines Matching defs:Parcel

40 class Parcel
46 Parcel();
47 ~Parcel();
61 status_t appendFrom(const Parcel *parcel,
111 // Place a native_handle into the parcel (the native_handle's file-
117 // Place a file descriptor into the parcel. The given fd must remain
118 // valid for the lifetime of the parcel.
119 // The Parcel does not take ownership of the given fd unless you ask it to.
122 // Place a file descriptor into the parcel. A dup of the fd is made, which
123 // will be closed once the parcel is destroyed.
126 // Writes a blob to the parcel.
134 // Like Parcel.java's writeNoException(). Just writes a zero int32.
165 // Like Parcel.java's readExceptionCode(). Reads the first int32
166 // off of a Parcel's header, returning 0 or the negative error
172 // Retrieve native_handle from the parcel. This returns a copy of the
173 // parcel's native_handle (the caller takes ownership). The caller
179 // Retrieve a file descriptor from the parcel. This returns the raw fd
180 // in the parcel, which you do not own -- use dup() to get your own copy.
183 // Reads a blob from the parcel.
189 // Explicitly close all file descriptors in the parcel.
192 typedef void (*release_func)(Parcel* parcel,
208 Parcel(const Parcel& o);
209 Parcel& operator=(const Parcel& o);
265 friend class Parcel;
271 friend class Parcel;
280 status_t Parcel::write(const LightFlattenable<T>& val) {
297 status_t Parcel::read(LightFlattenable<T>& val) const {
319 inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel)
321 parcel.print(to);