Lines Matching refs:packetHandle
87 const std::shared_ptr<MemHandle>& packetHandle) { in DispatchSemanticData() argument
94 Status status = ToAidlPacketType(packetHandle->getType(), &desc.type); in DispatchSemanticData()
98 desc.data = std::vector(reinterpret_cast<const signed char*>(packetHandle->getData()), in DispatchSemanticData()
99 reinterpret_cast<const signed char*>(packetHandle->getData() + packetHandle->getSize())); in DispatchSemanticData()
100 desc.size = packetHandle->getSize(); in DispatchSemanticData()
105 desc.sourceTimeStampMillis = packetHandle->getTimeStamp(); in DispatchSemanticData()
115 const std::shared_ptr<MemHandle>& packetHandle) { in DispatchPixelData() argument
122 Status status = ToAidlPacketType(packetHandle->getType(), &desc.type); in DispatchPixelData()
130 AHardwareBuffer_getNativeHandle(packetHandle->getHardwareBuffer()); in DispatchPixelData()
140 AHardwareBuffer_describe(packetHandle->getHardwareBuffer(), &bufferDesc); in DispatchPixelData()
150 desc.bufId = packetHandle->getBufferId(); in DispatchPixelData()
151 desc.sourceTimeStampMillis = packetHandle->getTimeStamp(); in DispatchPixelData()
163 const std::shared_ptr<MemHandle>& packetHandle) { in dispatchPacketToClient() argument
165 if (!packetHandle) { in dispatchPacketToClient()
169 proto::PacketType packetType = packetHandle->getType(); in dispatchPacketToClient()
172 return DispatchSemanticData(streamId, packetHandle); in dispatchPacketToClient()
174 return DispatchPixelData(streamId, packetHandle); in dispatchPacketToClient()
176 LOG(ERROR) << "Unsupported packet type " << packetHandle->getType(); in dispatchPacketToClient()