Home
last modified time | relevance | path

Searched refs:dataParcel (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/
DParcelUtils.java46 Parcel dataParcel = Parcel.obtain(); in getParcelForSharedMemoryIfRequired() local
50 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() argument
65 byte[] data = dataParcel.marshall(); in getSharedMemoryForParcel()
79 final Parcel dataParcel = Parcel.obtain(); in putToRequiredMemory() local
81 parcelRunnable.writeToParcel(dataParcel); in putToRequiredMemory()
82 final int dataParcelSize = dataParcel.dataSize(); in putToRequiredMemory()
85 ParcelUtils.getSharedMemoryForParcel(dataParcel, dataParcelSize)) { in putToRequiredMemory()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/
DLargeParcelable.java197 Parcel dataParcel = Parcel.obtain(); in toLargeParcelable() local
198 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()
DLargeParcelableBase.java138 Parcel dataParcel = Parcel.obtain(); in writeToParcel() local
139 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()