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

/frameworks/native/include/binder/
H A DParcel.h39 class Parcel { class in namespace:android
45 Parcel();
46 ~Parcel();
60 status_t appendFrom(const Parcel *parcel,
124 // The Parcel does not take ownership of the given fd unless you ask it to.
144 // Like Parcel.java's writeNoException(). Just writes a zero int32.
177 // Like Parcel.java's readExceptionCode(). Reads the first int32
178 // off of a Parcel's header, returning 0 or the negative error
214 typedef void (*release_func)(Parcel* parcel,
231 Parcel(cons
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp17 #define LOG_TAG "Parcel"
20 #include <binder/Parcel.h>
51 //#define LOG_REFS(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__)
53 //#define LOG_ALLOC(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__)
62 // Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER
88 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
99 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get());
125 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
136 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get());
156 const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* ou
299 Parcel::Parcel() function in class:android::Parcel
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java46 * be sent through an IBinder. A Parcel can contain both flattened data
51 * connected with the original IBinder in the Parcel.
53 * <p class="note">Parcel is <strong>not</strong> a general-purpose
55 * {@link Parcelable} API for placing arbitrary objects into a Parcel) is
57 * appropriate to place any Parcel data in to persistent storage: changes
58 * in the underlying implementation of any of the data in the Parcel can
61 * <p>The bulk of the Parcel API revolves around reading and writing data
112 * methods write both the class type and its data to the Parcel, allowing
135 * data contents into a Parcel. The methods to use are
141 * <p>An unusual feature of Parcel i
182 public final class Parcel { class
2421 private Parcel(long nativePtr) { method in class:Parcel
[all...]

Completed in 139 milliseconds