Searched defs:Parcel (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/include/binder/
H A DParcel.h40 class Parcel class in namespace:android
46 Parcel();
47 ~Parcel();
61 status_t appendFrom(const Parcel *parcel,
119 // The Parcel does not take ownership of the given fd unless you ask it to.
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
192 typedef void (*release_func)(Parcel* parcel,
208 Parcel(cons
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp17 #define LOG_TAG "Parcel"
20 #include <binder/Parcel.h>
47 //#define LOG_REFS(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__)
56 // Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER
78 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
89 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get());
115 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
126 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get());
146 const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out)
152 const sp<IBinder>& binder, Parcel* ou
286 Parcel::Parcel() function in class:android::Parcel
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java42 * be sent through an IBinder. A Parcel can contain both flattened data
47 * connected with the original IBinder in the Parcel.
49 * <p class="note">Parcel is <strong>not</strong> a general-purpose
51 * {@link Parcelable} API for placing arbitrary objects into a Parcel) is
53 * appropriate to place any Parcel data in to persistent storage: changes
54 * in the underlying implementation of any of the data in the Parcel can
57 * <p>The bulk of the Parcel API revolves around reading and writing data
108 * methods write both the class type and its data to the Parcel, allowing
131 * data contents into a Parcel. The methods to use are
137 * <p>An unusual feature of Parcel i
178 public final class Parcel { class
2179 private Parcel(int nativePtr) { method in class:Parcel
[all...]

Completed in 70 milliseconds