/frameworks/native/include/input/ |
H A D | Input.h | 252 status_t readFromParcel(Parcel* parcel); 253 status_t writeToParcel(Parcel* parcel) const; 590 status_t readFromParcel(Parcel* parcel); 591 status_t writeToParcel(Parcel* parcel) const;
|
H A D | KeyCharacterMap.h | 136 /* Reads a key map from a parcel. */ 137 static sp<KeyCharacterMap> readFromParcel(Parcel* parcel); 139 /* Writes a key map to a parcel. */ 140 void writeToParcel(Parcel* parcel) const;
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 493 status_t Parcel::appendFrom(const Parcel *parcel, size_t offset, size_t len) argument 497 const uint8_t *data = parcel->mData; 498 const binder_size_t *objects = parcel->mObjects; 499 size_t size = parcel->mObjectsSize; 513 // range checks against the source parcel size 514 if ((offset > parcel->mDataSize) 515 || (len > parcel->mDataSize) 516 || (offset + len > parcel->mDataSize)) { 817 status_t writeByteVectorInternal(Parcel* parcel, const std::vector<T>& val) argument 825 status = parcel 841 writeByteVectorInternalPtr(Parcel* parcel, const std::unique_ptr<std::vector<T>>& val) argument 1444 readByteVectorInternal(const Parcel* parcel, std::vector<T>* val) argument 1476 readByteVectorInternalPtr( const Parcel* parcel, std::unique_ptr<std::vector<T>>* val) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 65 // Construct an AMessage from a parcel. 68 // FromParcel() returns NULL on error, which occurs when the input parcel 82 static sp<AMessage> FromParcel(const Parcel &parcel, 85 // Write this AMessage to a parcel. 88 void writeToParcel(Parcel *parcel) const;
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 217 * Unflatten the AppWidgetProviderInfo from a parcel. 387 public AppWidgetProviderInfo createFromParcel(Parcel parcel) 389 return new AppWidgetProviderInfo(parcel);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkUtils.java | 193 * Writes an InetAddress to a parcel. The address may be null. This is likely faster than 196 protected static void parcelInetAddress(Parcel parcel, InetAddress address, int flags) { argument 198 parcel.writeByteArray(addressArray); 202 * Reads an InetAddress from a parcel. Returns null if the address that was written was null
|
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 194 public StatusBarNotification createFromParcel(Parcel parcel) 196 return new StatusBarNotification(parcel);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHelper.java | 202 Parcel parcel = Parcel.obtain(); 203 parcel.unmarshall(data, 0, data.length); 204 parcel.setDataPosition(0); 205 return com.android.internal.os.BatteryStatsImpl.CREATOR.createFromParcel(parcel); 768 Parcel parcel = Parcel.obtain(); 769 parcel.unmarshall(data, 0, data.length); 770 parcel.setDataPosition(0); 772 .createFromParcel(parcel);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 204 const sp<SurfaceControl>& control, Parcel* parcel) 210 return parcel->writeStrongBinder(IInterface::asBinder(bp)); 203 writeSurfaceToParcel( const sp<SurfaceControl>& control, Parcel* parcel) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 663 * Create a request parcel which can be routed to the native media 669 * @return A parcel suitable to hold a request for the native 674 Parcel parcel = Parcel.obtain(); 675 parcel.writeInterfaceToken(IMEDIA_PLAYER); 676 return parcel; 689 * @param reply Output parcel with the data returned by the 1582 // Metadata takes over the parcel, don't recycle it unless 1618 // The parcel starts already with an interface token. There 1994 // TODO: parcel in the full MediaFormat; currently we are using createSubtitleFormat 2993 Parcel parcel [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 83 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 86 status_t status = CursorWindow::createFromParcel(parcel, &window); 113 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 115 status_t status = window->writeToParcel(parcel);
|
H A D | android_hardware_camera2_CameraMetadata.cpp | 486 static void CameraMetadata_readFromParcel(JNIEnv *env, jobject thiz, jobject parcel) { argument 493 Parcel* parcelNative = parcelForJavaObject(env, parcel); 495 jniThrowNullPointerException(env, "parcel"); 502 "Failed to read from parcel (error code %d)", err); 507 static void CameraMetadata_writeToParcel(JNIEnv *env, jobject thiz, jobject parcel) { argument 514 Parcel* parcelNative = parcelForJavaObject(env, parcel); 516 jniThrowNullPointerException(env, "parcel"); 523 "Failed to write to parcel (error code %d)", err);
|
H A D | android_view_MotionEvent.cpp | 718 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 720 status_t status = event->readFromParcel(parcel); 725 jniThrowRuntimeException(env, "Failed to read MotionEvent parcel."); 734 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 736 status_t status = event->writeToParcel(parcel); 738 jniThrowRuntimeException(env, "Failed to write MotionEvent parcel.");
|
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 481 public void writeToParcel(Parcel parcel, int flags) { argument 482 parcel.writeMap(mValues);
|
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 60 private static native long nativeCreateFromParcel(Parcel parcel); argument 62 private static native void nativeWriteToParcel(long windowPtr, Parcel parcel); argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | NavigationView.java | 474 public SavedState createFromParcel(Parcel parcel, ClassLoader loader) { 475 return new SavedState(parcel, loader);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaBrowserServiceCompat.java | 299 Parcel parcel = Parcel.obtain(); 300 item.writeToParcel(parcel, 0); 301 parcelList.add(parcel); 376 Parcel parcel = Parcel.obtain(); 377 item.writeToParcel(parcel, 0); 378 parcelList.add(parcel);
|
/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 167 Parcel parcel = Parcel.obtain(); 168 TextUtils.writeToParcel(newPermPrefix, parcel, 0); 169 parcel.setDataPosition(0); 170 CharSequence newStr = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); 171 parcel.recycle();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 255 Parcel parcel = Parcel.obtain(); 256 savedState.writeToParcel(parcel, 0); 257 parcel.writeString(parcelSuffix); 260 parcel.setDataPosition(0); 262 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel);
|
H A D | StaggeredGridLayoutManagerTest.java | 730 Parcel parcel = Parcel.obtain(); 731 savedState.writeToParcel(parcel, 0); 732 parcel.writeString(parcelSuffix); 735 parcel.setDataPosition(0); 737 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel);
|
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 1241 TechListParcel parcel = null; 1243 parcel = new TechListParcel(techLists); 1247 sService.setForegroundDispatch(intent, filters, parcel);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 947 static jobject Bitmap_createFromParcel(JNIEnv* env, jobject, jobject parcel) { argument 948 if (parcel == NULL) { 949 SkDebugf("-------- unparcel parcel is NULL\n"); 953 android::Parcel* p = android::parcelForJavaObject(env, parcel); 1077 jobject parcel) { 1078 if (parcel == NULL) { 1079 SkDebugf("------- writeToParcel null parcel\n"); 1083 android::Parcel* p = android::parcelForJavaObject(env, parcel); 1142 doThrowRE(env, "Could not copy bitmap to parcel blob."); 1074 Bitmap_writeToParcel(JNIEnv* env, jobject, jlong bitmapHandle, jboolean isMutable, jint density, jobject parcel) argument
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | SetupWizardLayout.java | 471 public SavedState createFromParcel(Parcel parcel) { 472 return new SavedState(parcel);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsServTest.java | 180 Parcel parcel = Parcel.obtain(); 181 orig.writeToParcelLocked(parcel); 183 parcel.setDataPosition(0); 186 serv.readFromParcelLocked(parcel);
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 67 status_t appendFrom(const Parcel *parcel, 123 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel. 170 // Place a native_handle into the parcel (the native_handle's file- 176 // Place a file descriptor into the parcel. The given fd must remain 177 // valid for the lifetime of the parcel. 181 // Place a file descriptor into the parcel. A dup of the fd is made, which 182 // will be closed once the parcel is destroyed. 185 // Place a file descriptor into the parcel. This will not affect the 187 // created, and will be closed when the parcel is destroyed. 191 // Place a vector of file desciptors into the parcel 763 operator <<(TextOutput& to, const Parcel& parcel) argument [all...] |