Searched refs:appendData (Results 1 – 7 of 7) sorted by relevance
/developtools/hdc/src/common/ |
D | usb.h | 33 virtual int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument 37 int SendToHdcStream(HSession hSession, uv_stream_t *stream, uint8_t *appendData, int dataSize); 49 int CheckPacketOption(HSession hSession, uint8_t *appendData, int dataSize);
|
D | usb.cpp | 153 int HdcUSBBase::CheckPacketOption(HSession hSession, uint8_t *appendData, int dataSize) in CheckPacketOption() argument 157 USBHead *header = reinterpret_cast<USBHead *>(appendData); in CheckPacketOption() 180 int HdcUSBBase::SendToHdcStream(HSession hSession, uv_stream_t *stream, uint8_t *appendData, int da… in SendToHdcStream() argument 185 if (IsUsbPacketHeader(appendData, dataSize)) { in SendToHdcStream() 186 return CheckPacketOption(hSession, appendData, dataSize); in SendToHdcStream() 195 if ((childRet = UsbToHdcProtocol(stream, appendData, dataSize)) < 0) { in SendToHdcStream()
|
D | uart.h | 201 virtual int UartToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize);
|
/developtools/hdc/src/daemon/ |
D | daemon_usb.h | 56 int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) override;
|
D | daemon_usb.cpp | 450 int HdcDaemonUSB::UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument 458 if (memcpy_s(data, dataSize, appendData, dataSize)) { in UsbToHdcProtocol()
|
/developtools/hdc/src/host/ |
D | host_usb.h | 58 int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) override;
|
D | host_usb.cpp | 461 int HdcHostUSB::UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument 485 … childRet = send(fd, reinterpret_cast<const char *>(appendData) + index, dataSize - index, 0); in UsbToHdcProtocol()
|