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
45 Parcel();
46 ~Parcel();
60 status_t appendFrom(const Parcel *parcel,
122 // The Parcel does not take ownership of the given fd unless you ask it to.
137 // Like Parcel.java's writeNoException(). Just writes a zero int32.
170 // Like Parcel.java's readExceptionCode(). Reads the first int32
171 // off of a Parcel's header, returning 0 or the negative error
197 typedef void (*release_func)(Parcel* parcel,
213 Parcel(cons
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp17 #define LOG_TAG "Parcel"
20 #include <binder/Parcel.h>
49 //#define LOG_REFS(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__)
58 // Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER
80 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
91 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get());
117 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
128 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get());
148 const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out)
154 const sp<IBinder>& binder, Parcel* ou
288 Parcel::Parcel() function in class:android::Parcel
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java43 * be sent through an IBinder. A Parcel can contain both flattened data
48 * connected with the original IBinder in the Parcel.
50 * <p class="note">Parcel is <strong>not</strong> a general-purpose
52 * {@link Parcelable} API for placing arbitrary objects into a Parcel) is
54 * appropriate to place any Parcel data in to persistent storage: changes
55 * in the underlying implementation of any of the data in the Parcel can
58 * <p>The bulk of the Parcel API revolves around reading and writing data
109 * methods write both the class type and its data to the Parcel, allowing
132 * data contents into a Parcel. The methods to use are
138 * <p>An unusual feature of Parcel i
179 public final class Parcel { class
2250 private Parcel(int nativePtr) { method in class:Parcel
[all...]

Completed in 184 milliseconds