Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dnative_buffer.cpp78 MessageParcel &messageParcel = static_cast<MessageParcel &>(parcel); in Marshalling() local
80 if (!messageParcel.WriteBool(isValid)) { in Marshalling()
90 …if (!messageParcel.WriteUint32(handle_->reserveFds) || !messageParcel.WriteUint32(handle_->reserve… in Marshalling()
91 !messageParcel.WriteInt32(handle_->width) || !messageParcel.WriteInt32(handle_->stride) || in Marshalling()
92 !messageParcel.WriteInt32(handle_->height) || !messageParcel.WriteInt32(handle_->size) || in Marshalling()
93 !messageParcel.WriteInt32(handle_->format) || !messageParcel.WriteUint64(handle_->usage)) { in Marshalling()
99 if (!messageParcel.WriteBool(validFd)) { in Marshalling()
103 if (validFd && !messageParcel.WriteFileDescriptor(handle_->fd)) { in Marshalling()
108 if (!WriteReserveData(messageParcel, *handle_)) { in Marshalling()
200 MessageParcel &messageParcel = static_cast<MessageParcel &>(parcel); in ExtractFromParcel() local
[all …]
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dnative_buffer.h143 static bool WriteReserveData(MessageParcel &messageParcel, const BufferHandle &handle);
144 static bool ReadReserveData(MessageParcel &messageParcel, BufferHandle &handle);