/frameworks/base/graphics/java/android/graphics/ |
Rect.java | 19 import android.os.Parcel; 546 * Write this rectangle to the specified parcel. To restore a rectangle from 547 * a parcel, use readFromParcel() 548 * @param out The parcel to write the rectangle's coordinates into 550 public void writeToParcel(Parcel out, int flags) { 559 * Return a new rectangle from the data in the specified parcel. 561 public Rect createFromParcel(Parcel in) { 577 * parcel. To write a rectangle to a parcel, call writeToParcel(). 579 * @param in The parcel to read the rectangle's coordinates fro [all...] |
RectF.java | 21 import android.os.Parcel; 546 * Write this rectangle to the specified parcel. To restore a rectangle from 547 * a parcel, use readFromParcel() 548 * @param out The parcel to write the rectangle's coordinates into 550 public void writeToParcel(Parcel out, int flags) { 559 * Return a new rectangle from the data in the specified parcel. 561 public RectF createFromParcel(Parcel in) { 577 * parcel. To write a rectangle to a parcel, call writeToParcel(). 579 * @param in The parcel to read the rectangle's coordinates fro [all...] |
/frameworks/base/tools/aidl/ |
generate_java_binder.cpp | 199 Variable* parcel) 202 addTo->Add(new VariableDeclaration(len, new MethodCall(parcel, "readInt"))); 214 Variable* parcel, int flags) 217 t->WriteToParcel(addTo, v, parcel, flags); 220 t->WriteArrayToParcel(addTo, v, parcel, flags); 226 Variable* parcel, Variable** cl) 229 t->CreateFromParcel(addTo, v, parcel, cl); 232 t->CreateArrayFromParcel(addTo, v, parcel, cl); 238 Variable* parcel, Variable** cl) 241 t->ReadFromParcel(addTo, v, parcel, cl) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
CursorWindowTest.java | 23 import android.os.Parcel; 112 Parcel parcel = Parcel.obtain(); local 118 cursorWindow.writeToParcel(parcel, 0); 120 parcel.setDataPosition(0); 121 cursorWindow = CursorWindow.CREATOR.createFromParcel(parcel);
|
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 21 import android.os.Parcel; 167 Parcel parcel = Parcel.obtain(); local 168 mMotionEvent2.writeToParcel(parcel, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); 169 parcel.setDataPosition(0); 171 MotionEvent motionEvent = MotionEvent.CREATOR.createFromParcel(parcel);
|
/frameworks/base/core/java/android/view/ |
Surface.java | 24 import android.os.Parcel; 46 private static native int nativeReadFromParcel(int nativeObject, Parcel source); 47 private static native void nativeWriteToParcel(int nativeObject, Parcel dest); 52 public Surface createFromParcel(Parcel source) { 58 Log.e(TAG, "Exception creating surface from parcel", e); 357 public void readFromParcel(Parcel source) { 373 public void writeToParcel(Parcel dest, int flags) {
|
DragEvent.java | 21 import android.os.Parcel; 114 * {@link android.view.DragEvent#writeToParcel(Parcel,int)}, and 450 * Returns information about the {@link android.os.Parcel} representation of this DragEvent 452 * @return Information about the {@link android.os.Parcel} representation. 459 * Creates a {@link android.os.Parcel} object from this DragEvent object. 460 * @param dest A {@link android.os.Parcel} object in which to put the DragEvent object. 461 * @param flags Flags to store in the Parcel. 463 public void writeToParcel(Parcel dest, int flags) { 483 * A container for creating a DragEvent from a Parcel. 487 public DragEvent createFromParcel(Parcel in) [all...] |
/frameworks/native/libs/binder/ |
IMemory.cpp | 32 #include <binder/Parcel.h> 181 Parcel data, reply; 212 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 291 Parcel data, reply; 365 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
|
IPCThreadState.cpp | 547 uint32_t code, const Parcel& data, 548 Parcel* reply, uint32_t flags) 583 Parcel fakeReply; 694 status_t IPCThreadState::sendReply(const Parcel& reply, uint32_t flags) 704 status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult) 897 int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) 1025 Parcel buffer; 1060 Parcel reply; [all...] |
/prebuilts/sdk/14/ |
android.jar | |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 30 import android.os.Parcel; 83 // In-memory Parcel magic number, used to detect attempts to unmarshall bad data 86 // Current on-disk Parcel version 176 final Parcel mHistoryBuffer = Parcel.obtain(); 370 Counter(ArrayList<Unpluggable> unpluggables, Parcel in) { 385 public void writeToParcel(Parcel out) { 401 * Writes a possibly null Counter to a Parcel. 403 * @param out the Parcel to be written to. 406 public static void writeCounterToParcel(Parcel out, Counter counter) [all...] |
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 34 import android.os.Parcel; 77 * a parcel, to be used when returning an exception from a transaction. 79 * @param reply Parcel to write to 81 * @see Parcel#writeNoException 82 * @see Parcel#writeException 84 public static final void writeExceptionToParcel(Parcel reply, Exception e) { 113 Log.e(TAG, "Writing exception to parcel", e); 120 Log.e(TAG, "Writing exception to parcel", e); 126 * a parcel, to be used after receiving the result of a transaction. This 127 * will throw the exception for you if it had been written to the Parcel, [all...] |
CursorWindow.java | 25 import android.os.Parcel; 35 * When sent to a remote process (by writing it to a {@link Parcel}), the remote process 63 private static native int nativeCreateFromParcel(Parcel parcel); 65 private static native void nativeWriteToParcel(int windowPtr, Parcel parcel); 129 private CursorWindow(Parcel source) { 680 public CursorWindow createFromParcel(Parcel source) { 689 public static CursorWindow newFromParcel(Parcel p) { 697 public void writeToParcel(Parcel dest, int flags) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowParcel.java | 6 import android.os.Parcel; 25 @Implements(Parcel.class) 53 private Parcel realParcel; 56 public static Parcel obtain() { 57 return Robolectric.newInstanceOf(Parcel.class); 596 "Parcel: unable to marshal value with type" + v.getClass().getName()); 665 "Parcel " + this + ": Unmarshalling unknown type code " + type 750 Log.e("Parcel", "Class not found when unmarshalling: " + name + ", e: " + e); 753 Log.e("Parcel", "Class not found when unmarshalling: " + name + ", e: " + e); 859 // Log.d("Parcel", "Unmarshalling value=" + value) [all...] |
/frameworks/base/core/jni/ |
android_view_MotionEvent.cpp | 703 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 705 status_t status = event->readFromParcel(parcel); 710 jniThrowRuntimeException(env, "Failed to read MotionEvent parcel."); 719 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 721 status_t status = event->writeToParcel(parcel); 723 jniThrowRuntimeException(env, "Failed to write MotionEvent parcel."); 838 "(ILandroid/os/Parcel;)I" [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/ |
missingSinces.txt | 68 NO DOC BLOCK: android.text.style.AbsoluteSizeSpan Constructor (android.os.Parcel) 69 NO DOC BLOCK: android.text.style.AlignmentSpan.Standard Constructor (android.os.Parcel) 70 NO DOC BLOCK: android.text.Annotation Constructor (android.os.Parcel) 71 NO DOC BLOCK: android.text.style.BackgroundColorSpan Constructor (android.os.Parcel) 72 NO DOC BLOCK: android.text.style.BulletSpan Constructor (android.os.Parcel) 74 NO DOC BLOCK: android.text.style.ForegroundColorSpan Constructor (android.os.Parcel) 86 NO DOC BLOCK: android.text.style.LeadingMarginSpan.Standard Constructor (android.os.Parcel) 88 NO DOC BLOCK: android.text.style.QuoteSpan Constructor (android.os.Parcel) 89 NO DOC BLOCK: android.text.style.RelativeSizeSpan Constructor (android.os.Parcel) 92 NO DOC BLOCK: android.text.style.ScaleXSpan Constructor (android.os.Parcel) [all...] |
/cts/tests/src/android/app/cts/ |
LaunchpadActivity.java | 30 import android.os.Parcel; 44 public void writeToParcel(Parcel out, int flags) { 54 public MyBadParcelable createFromParcel(Parcel in) { 63 public MyBadParcelable(Parcel in) { 560 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
|
/frameworks/av/services/audioflinger/ |
AudioFlinger.h | 229 const Parcel& data, 230 Parcel* reply, 419 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags); 434 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags);
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 35 import android.os.Parcel; 301 DeviceAdminInfo(Parcel source) { 443 * Used to package this object into a {@link Parcel}. 445 * @param dest The {@link Parcel} to be written. 448 public void writeToParcel(Parcel dest, int flags) { 458 public DeviceAdminInfo createFromParcel(Parcel source) {
|
/frameworks/base/core/java/android/content/ |
ContentValues.java | 19 import android.os.Parcel; 67 * by the Parcel unmarshalling code. 463 public ContentValues createFromParcel(Parcel in) { 479 public void writeToParcel(Parcel parcel, int flags) { 480 parcel.writeMap(mValues);
|
RestrictionEntry.java | 19 import android.os.Parcel; 354 private String[] readArray(Parcel in) { 363 public RestrictionEntry(Parcel in) { 379 private void writeArray(Parcel dest, String[] values) { 391 public void writeToParcel(Parcel dest, int flags) { 403 public RestrictionEntry createFromParcel(Parcel source) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 33 import android.os.Parcel; 242 InputMethodInfo(Parcel source) { 469 * Used to package this object into a {@link Parcel}. 471 * @param dest The {@link Parcel} to be written. 475 public void writeToParcel(Parcel dest, int flags) { 491 public InputMethodInfo createFromParcel(Parcel source) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LaunchpadActivity.java | 30 import android.os.Parcel; 39 public void writeToParcel(Parcel out, int flags) { 49 public MyBadParcelable createFromParcel(Parcel in) { 58 public MyBadParcelable(Parcel in) { 489 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
RawContactDeltaTests.java | 28 import android.os.Parcel; 44 * focus on passing changes across {@link Parcel}, and verifying that they 87 * any changes through the {@link Parcel} object. This enforces that 106 // Add a new row and pass across parcel, should be same 119 // Update existing row and pass across parcel, should be same 133 // Delete a row and pass across parcel, should be same
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallFlowAnalytics.java | 23 import android.os.Parcel; 153 public InstallFlowAnalytics createFromParcel(Parcel in) { 165 public InstallFlowAnalytics(Parcel in) { 178 public void writeToParcel(Parcel dest, int flags) { 190 private static void writeBoolean(Parcel dest, boolean value) { 194 private static boolean readBoolean(Parcel dest) {
|