Searched refs:dataParcel (Results 1 – 3 of 3) sorted by relevance
46 Parcel dataParcel = Parcel.obtain(); in getParcelForSharedMemoryIfRequired() local50 dataParcel.unmarshall(payload, 0, payload.length); in getParcelForSharedMemoryIfRequired()51 dataParcel.setDataPosition(0); in getParcelForSharedMemoryIfRequired()52 return dataParcel; in getParcelForSharedMemoryIfRequired()60 public static SharedMemory getSharedMemoryForParcel(Parcel dataParcel, int dataParcelSize) { in getSharedMemoryForParcel() argument65 byte[] data = dataParcel.marshall(); in getSharedMemoryForParcel()79 final Parcel dataParcel = Parcel.obtain(); in putToRequiredMemory() local81 parcelRunnable.writeToParcel(dataParcel); in putToRequiredMemory()82 final int dataParcelSize = dataParcel.dataSize(); in putToRequiredMemory()85 ParcelUtils.getSharedMemoryForParcel(dataParcel, dataParcelSize)) { in putToRequiredMemory()[all …]
197 Parcel dataParcel = Parcel.obtain(); in toLargeParcelable() local198 p.writeToParcel(dataParcel, 0); in toLargeParcelable()199 int payloadSize = dataParcel.dataSize(); in toLargeParcelable()207 SharedMemory memory = LargeParcelableBase.serializeParcelToSharedMemory(dataParcel); in toLargeParcelable()208 dataParcel.recycle(); in toLargeParcelable()
138 Parcel dataParcel = Parcel.obtain(); in writeToParcel() local139 totalPayloadSize = serializeMemoryFdOrPayloadToParcel(dataParcel, flags, null); in writeToParcel()147 dest.appendFrom(dataParcel, 0, totalPayloadSize); in writeToParcel()148 dataParcel.recycle(); in writeToParcel()153 sharedMemory = serializeParcelToSharedMemory(dataParcel); in writeToParcel()154 dataParcel.recycle(); in writeToParcel()