Home
last modified time | relevance | path

Searched refs:totalPayloadSize (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/
DLargeParcelableBase.java97 int totalPayloadSize = in.readInt(); in LargeParcelableBase() local
110 in.setDataPosition(startPosition + totalPayloadSize); in LargeParcelableBase()
112 Slog.d(TAG, "Read, start:" + startPosition + " totalPayloadSize:" + totalPayloadSize in LargeParcelableBase()
125 int totalPayloadSize = 0; in writeToParcel() local
129 totalPayloadSize = serializeMemoryFdOrPayloadToParcel(dest, flags, sharedMemory); in writeToParcel()
132 + " totalPayloadSize:" + totalPayloadSize); in writeToParcel()
139 totalPayloadSize = serializeMemoryFdOrPayloadToParcel(dataParcel, flags, null); in writeToParcel()
141 boolean noSharedMemory = totalPayloadSize <= MAX_DIRECT_PAYLOAD_SIZE; in writeToParcel()
147 dest.appendFrom(dataParcel, 0, totalPayloadSize); in writeToParcel()
163 totalPayloadSize = serializeMemoryFdOrPayloadToParcel(dest, flags, sharedMemory); in writeToParcel()
[all …]
/packages/services/Car/cpp/car_binder_lib/largeParcelable/
DLargeParcelableBase.cpp69 int32_t totalPayloadSize; in readFromParcel() local
70 if (binder_status_t status = AParcel_readInt32(in, &totalPayloadSize); status != STATUS_OK) { in readFromParcel()
96 startPosition, totalPayloadSize, sharedMemoryPosition, hasSharedMemory); in readFromParcel()
148 int32_t totalPayloadSize = AParcel_getDataPosition(dest) - startPosition; in writeToParcel() local
151 totalPayloadSize, needSharedMemory); in writeToParcel()
296 int32_t totalPayloadSize = lastPosition - startPosition; in updatePayloadSize() local
298 AParcel_writeInt32(dest, totalPayloadSize); in updatePayloadSize()
300 return totalPayloadSize; in updatePayloadSize()