Home
last modified time | relevance | path

Searched refs:USBHead (Results 1 – 13 of 13) sorted by relevance

/developtools/smartperf_host/ide/src/hdc/transmission/
DDataProcessing.ts18 import { USBHead } from '../message/USBHead';
60 let ubsHead = new USBHead([-1, -1], -1, -1, -1);
67 public async readUsbHead(): Promise<USBHead | null> {
68 let res = await this.transmissionChannel.readData(USBHead.getUSBHeadLength());
70 let useHead: USBHead = USBHead.parseHeadData(res);
121 let head: USBHead = new USBHead(
/developtools/smartperf_host/ide/src/hdc/message/
DDataMessage.ts16 import { USBHead } from './USBHead';
26 private _usbHead: USBHead;
33 constructor(usbHead: USBHead, body?: DataView) {
75 get usbHead(): USBHead {
79 set usbHead(value: USBHead) {
DUSBHead.ts18 export class USBHead extends Object implements BaseBean { class
65 static parseHeadData(data: DataView): USBHead {
71 return new USBHead([flagZero, flagOne], option, sessionId, dataSize);
/developtools/hdc/src/common/
Dusb.cpp68 USBHead head; in BuildPacketHeader()
75 vecData.insert(vecData.end(), (uint8_t *)&head, (uint8_t *)&head + sizeof(USBHead)); in BuildPacketHeader()
114 USBHead *usbPayloadHeader = reinterpret_cast<struct USBHead *>(ioBuf); in IsUsbPacketHeader()
121 if (ioBytes != sizeof(USBHead)) { in IsUsbPacketHeader()
157 USBHead *header = reinterpret_cast<USBHead *>(appendData); in CheckPacketOption()
Ddefine_plus.h255 struct USBHead { struct
/developtools/smartperf_host/ide/test/trace/component/setting/
DSpWebHdcShell.test.ts27 import { USBHead } from '../../../../src/hdc/message/USBHead';
84 let dataHead = new USBHead([85, 66], 1, 77777, 0);
90 let dataHead = new USBHead([85, 66], 1, 77777, 21);
/developtools/smartperf_host/ide/test/hdc/message/
DUSBHead.test.ts16 import { USBHead } from '../../../src/hdc/message/USBHead';
19 let usbHead = new USBHead();
/developtools/smartperf_host/ide/src/hdc/hdcclient/
DHdcClient.ts30 import { USBHead } from '../message/USBHead';
111 value.putMessageInQueue(new DataMessage(new USBHead([0, 1], -1, -1, -1)));
/developtools/hdc/hdc_rust/src/cffi/
Dusb_util.cpp50 USBHead head; in BuildPacketHeader()
57 vecData.insert(vecData.end(), (uint8_t *)&head, (uint8_t *)&head + sizeof(USBHead)); in BuildPacketHeader()
Dusb_types.h20 struct USBHead { struct
Dserial_struct.cpp127 extern "C" SerializedBuffer SerializeUsbHead(RustStruct::USBHead &value) in SerializeUsbHead()
242 extern "C" uint8_t ParseUsbHead(RustStruct::USBHead &value, SerializedBuffer buf) in ParseUsbHead()
244 (void)memcpy_s(&value, buf.size, reinterpret_cast<struct USBHead *>(buf.ptr), buf.size); in ParseUsbHead()
Dserial_struct.h146 struct USBHead { struct
/developtools/hdc/src/daemon/
Ddaemon_usb.cpp240 USBHead *usbPayloadHeader = reinterpret_cast<struct USBHead *>(ioBuf); in AvailablePacket()