/frameworks/native/include/binder/ |
IPCThreadState.h | 21 #include <binder/Parcel.h> 64 uint32_t code, const Parcel& data, 65 Parcel* reply, uint32_t flags); 91 status_t sendReply(const Parcel& reply, uint32_t flags); 92 status_t waitForResponse(Parcel *reply, 99 const Parcel& data, 108 static void freeBuffer(Parcel* parcel, 118 Parcel mIn; 119 Parcel mOut [all...] |
Parcel.h | 39 class Parcel { 45 Parcel(); 46 ~Parcel(); 60 status_t appendFrom(const Parcel *parcel, 116 // Place a native_handle into the parcel (the native_handle's file- 122 // Place a file descriptor into the parcel. The given fd must remain 123 // valid for the lifetime of the parcel. 124 // The Parcel does not take ownership of the given fd unless you ask it to. 127 // Place a file descriptor into the parcel. A dup of the fd is made, whic [all...] |
/frameworks/native/include/input/ |
Input.h | 138 class Parcel; 221 status_t readFromParcel(Parcel* parcel); 222 status_t writeToParcel(Parcel* parcel) const; 552 status_t readFromParcel(Parcel* parcel); 553 status_t writeToParcel(Parcel* parcel) const;
|
KeyCharacterMap.h | 128 /* Reads a key map from a parcel. */ 129 static sp<KeyCharacterMap> readFromParcel(Parcel* parcel); 131 /* Writes a key map to a parcel. */ 132 void writeToParcel(Parcel* parcel) const;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
StaggeredGridLayoutManagerTest.java | 23 import android.os.Parcel; 667 Parcel parcel = Parcel.obtain(); local 668 savedState.writeToParcel(parcel, 0); 669 parcel.writeString(parcelSuffix); 672 parcel.setDataPosition(0); 674 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); 786 Parcel parcel = Parcel.obtain(); local 828 Parcel parcel = Parcel.obtain(); local [all...] |
LinearLayoutManagerTest.java | 21 import android.os.Parcel; 744 Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 25 import android.os.Parcel; 217 * Unflatten the AppWidgetProviderInfo from a parcel. 220 public AppWidgetProviderInfo(Parcel in) { 308 public void writeToParcel(android.os.Parcel out, int flags) { 387 public AppWidgetProviderInfo createFromParcel(Parcel parcel) 389 return new AppWidgetProviderInfo(parcel);
|
/frameworks/base/core/java/android/net/ |
NetworkUtils.java | 26 import android.os.Parcel; 208 * Writes an InetAddress to a parcel. The address may be null. This is likely faster than 211 protected static void parcelInetAddress(Parcel parcel, InetAddress address, int flags) { 213 parcel.writeByteArray(addressArray); 217 * Reads an InetAddress from a parcel. Returns null if the address that was written was null 220 protected static InetAddress unparcelInetAddress(Parcel in) {
|
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 20 import android.os.Parcel; 71 public StatusBarNotification(Parcel in) { 107 public void writeToParcel(Parcel out, int flags) { 133 public StatusBarNotification createFromParcel(Parcel parcel) 135 return new StatusBarNotification(parcel);
|
ZenModeConfig.java | 22 import android.os.Parcel; 112 public ZenModeConfig(Parcel source) { 139 public void writeToParcel(Parcel dest, int flags) { 432 final Parcel parcel = Parcel.obtain(); local 434 writeToParcel(parcel, 0); 435 parcel.setDataPosition(0); 436 return new ZenModeConfig(parcel); 438 parcel.recycle() [all...] |
/frameworks/native/libs/gui/ |
SurfaceControl.cpp | 173 const sp<SurfaceControl>& control, Parcel* parcel) 179 return parcel->writeStrongBinder(bp->asBinder());
|
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/ |
Linker.java | 8 import android.os.Parcel; 482 Parcel parcel = Parcel.obtain(); local 483 bundle.writeToParcel(parcel, 0); 484 parcel.setDataPosition(0); 485 clonedBundle.readFromParcel(parcel); 486 parcel.recycle(); [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupIncomingFragment.java | 24 import android.os.Parcel; 405 final Parcel parcel = Parcel.obtain(); local 406 parcel.writeParcelable(recvAuth, recvAuth.describeContents()); 407 parcel.setDataPosition(0); 408 mLoadedRecvAuth = parcel.readParcelable(HostAuth.class.getClassLoader()); 409 parcel.recycle();
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 78 Parcelable parcel = intent.getParcelableExtra(Intent.EXTRA_INTENT); local 79 if (parcel instanceof Intent) { 80 mBaseIntent = (Intent) parcel;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
IntentTest.java | 19 import android.os.Parcel; 421 Parcel p = Parcel.obtain(); 431 Parcel parcel = Parcel.obtain(); local 432 expected.writeToParcel(parcel, 0); 433 parcel.setDataPosition(0); 435 actual.readFromParcel(parcel);
|
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 81 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 84 status_t status = CursorWindow::createFromParcel(parcel, &window); 86 ALOGE("Could not create CursorWindow from Parcel due to error %d.", status); 111 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 113 status_t status = window->writeToParcel(parcel); 116 msg.appendFormat("Could not write CursorWindow to Parcel due to error %d.", status); 483 { "nativeCreateFromParcel", "(Landroid/os/Parcel;)J", 487 { "nativeWriteToParcel", "(JLandroid/os/Parcel;)V" [all...] |
android_hardware_camera2_CameraMetadata.cpp | 470 static void CameraMetadata_readFromParcel(JNIEnv *env, jobject thiz, jobject parcel) { 477 Parcel* parcelNative = parcelForJavaObject(env, parcel); 479 jniThrowNullPointerException(env, "parcel"); 486 "Failed to read from parcel (error code %d)", err); 491 static void CameraMetadata_writeToParcel(JNIEnv *env, jobject thiz, jobject parcel) { 498 Parcel* parcelNative = parcelForJavaObject(env, parcel); 500 jniThrowNullPointerException(env, "parcel"); 507 "Failed to write to parcel (error code %d)", err) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ContainerEncryptionParamsTest.java | 19 import android.os.Parcel; 58 Parcel parcel = Parcel.obtain(); local 59 expected.writeToParcel(parcel, 0); 60 parcel.setDataPosition(0); 63 .createFromParcel(parcel);
|
/frameworks/native/include/gui/ |
IGraphicBufferProducer.h | 267 inline QueueBufferInput(const Parcel& parcel); 460 const Parcel& data, 461 Parcel* reply,
|
/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);
|
/frameworks/base/core/java/android/database/ |
CursorWindow.java | 25 import android.os.Parcel; 36 * When sent to a remote process (by writing it to a {@link Parcel}), the remote process 60 private static native long nativeCreateFromParcel(Parcel parcel); 62 private static native void nativeWriteToParcel(long windowPtr, Parcel parcel); 133 private CursorWindow(Parcel source) { 684 public CursorWindow createFromParcel(Parcel source) { 693 public static CursorWindow newFromParcel(Parcel p) { 701 public void writeToParcel(Parcel dest, int flags) [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsHelper.java | 34 import android.os.Parcel; 149 Parcel hist = Parcel.obtain(); 177 Parcel parcel = Parcel.obtain(); local 178 parcel.unmarshall(data, 0, data.length); 179 parcel.setDataPosition(0); 180 return com.android.internal.os.BatteryStatsImpl.CREATOR.createFromParcel(parcel); 982 Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 12 #include <binder/Parcel.h> 553 static jobject Bitmap_createFromParcel(JNIEnv* env, jobject, jobject parcel) { 554 if (parcel == NULL) { 555 SkDebugf("-------- unparcel parcel is NULL\n"); 559 android::Parcel* p = android::parcelForJavaObject(env, parcel); 603 android::Parcel::ReadableBlob blob; 606 doThrowRE(env, "Could not read bitmap from parcel blob."); 624 jobject parcel) { 626 if (parcel == NULL) [all...] |
/frameworks/base/media/java/android/media/ |
MediaPlayer.java | 34 import android.os.Parcel; 655 * Create a request parcel which can be routed to the native media 656 * player using {@link #invoke(Parcel, Parcel)}. The Parcel 666 Parcel parcel = Parcel.obtain(); local 2609 Parcel parcel = (Parcel)msg.obj; local 2622 Parcel parcel = (Parcel) msg.obj; local [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | 20 import android.os.Parcel; 533 Parcel parcel = Parcel.obtain(); local 534 mKeyEvent.writeToParcel(parcel, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); 535 parcel.setDataPosition(0); 537 KeyEvent keyEvent = KeyEvent.CREATOR.createFromParcel(parcel); 538 parcel.recycle();
|