/developtools/smartperf_host/ide/src/hdc/message/ |
D | PayloadProtect.ts | 25 constructor(channelId: number, commandFlag: number, checkSum: number, vCode: number) { 28 this._commandFlag = commandFlag; 45 get commandFlag(): number { method in PayloadProtect 49 set commandFlag(value: number) { method in PayloadProtect
|
D | DataMessage.ts | 50 this._commandFlag = payloadProtect.commandFlag; 51 if (payloadProtect.commandFlag === HdcCommand.CMD_KERNEL_CHANNEL_CLOSE) { 52 log(`commandFlag: ${payloadProtect.commandFlag}`); 115 get commandFlag(): number { 119 set commandFlag(value: number) {
|
/developtools/smartperf_host/ide/test/hdc/message/ |
D | PayloadProtect.test.ts | 34 expect(payloadProtect.commandFlag).toBeUndefined(); 38 payloadProtect.commandFlag = true; 39 expect(payloadProtect.commandFlag).toBeTruthy();
|
D | DataMessage.test.ts | 63 expect(dataMessage.commandFlag).toBe(-1); 67 dataMessage.commandFlag = true; 68 expect(dataMessage.commandFlag).toBeTruthy();
|
/developtools/smartperf_host/ide/src/hdc/common/ |
D | Serialize.ts | 45 let commandFlag = this.serializeU32(2, payloadProtect.commandFlag); 48 …let mergedArray = new Uint8Array(channelId.length + commandFlag.length + checkSum.length + vCode.l… 50 mergedArray.set(commandFlag, channelId.length); 51 mergedArray.set(checkSum, channelId.length + commandFlag.length); 52 mergedArray.set(vCode, channelId.length + commandFlag.length + checkSum.length); 274 let commandFlag = this.parseU32(commandDataView, 1); 290 return new PayloadProtect(channelId, commandFlag, checkSum, vCode);
|
/developtools/hdc/src/common/ |
D | channel.cpp | 271 void HdcChannelBase::SendChannelWithCmd(HChannel hChannel, const uint16_t commandFlag, uint8_t *buf… in SendChannelWithCmd() argument 274 auto data = new uint8_t[size + sizeof(commandFlag)](); in SendChannelWithCmd() 279 if (memcpy_s(data, size + sizeof(commandFlag), &commandFlag, sizeof(commandFlag))) { in SendChannelWithCmd() 284 if (size > 0 && memcpy_s(data + sizeof(commandFlag), size, bufPtr, size)) { in SendChannelWithCmd() 289 SendChannel(hChannel, data, size + sizeof(commandFlag)); in SendChannelWithCmd() 293 void HdcChannelBase::SendWithCmd(const uint32_t channelId, const uint16_t commandFlag, uint8_t *buf… in SendWithCmd() argument 306 SendChannelWithCmd(hChannel, commandFlag, bufPtr, size); in SendWithCmd()
|
D | channel.h | 32 …void SendWithCmd(const uint32_t channelId, const uint16_t commandFlag, uint8_t *bufPtr, const int … 51 …void SendChannelWithCmd(HChannel hChannel, const uint16_t commandFlag, uint8_t *bufPtr, const int …
|
D | session.h | 55 uint32_t commandFlag; member 93 …int Send(const uint32_t sessionId, const uint32_t channelId, const uint16_t commandFlag, const uin…
|
D | serial_struct.h | 93 … Field<fieldTwo, &Hdc::HdcSessionBase::PayloadProtect::commandFlag>("commandFlag"),
|
D | session.cpp | 815 …dcSessionBase::Send(const uint32_t sessionId, const uint32_t channelId, const uint16_t commandFlag, in Send() argument 826 protectBuf.commandFlag = commandFlag; in Send() 867 if (CMD_KERNEL_ECHO == commandFlag) { in Send() 891 if (!FetchCommand(hSession, protectBuf.channelId, protectBuf.commandFlag, data, dataSize)) { in DecryptPayload() 893 protectBuf.channelId, protectBuf.commandFlag); in DecryptPayload()
|
/developtools/hdc/src/host/ |
D | server_for_client.h | 28 void SendCommandToClient(const HChannel hChannel, const uint16_t commandFlag, uint8_t *payload, 43 …bool SendToDaemon(HChannel hChannel, const uint16_t commandFlag, uint8_t *bufPtr, const int bufSiz…
|
D | server_for_client.cpp | 195 void HdcServerForClient::SendCommandToClient(const HChannel hChannel, const uint16_t commandFlag, in SendCommandToClient() argument 198 SendChannelWithCmd(hChannel, commandFlag, payload, payloadSize); in SendCommandToClient() 201 bool HdcServerForClient::SendToDaemon(HChannel hChannel, const uint16_t commandFlag, uint8_t *bufPt… in SendToDaemon() argument 220 …if (ptrServer->Send(hdi->hSession->sessionId, hChannel->channelId, commandFlag, bufPtr, bufSize) <… in SendToDaemon()
|
/developtools/smartperf_host/ide/src/hdc/transmission/ |
D | DataProcessing.ts | 84 commandFlag: number, 90 commandFlag,
|
/developtools/hdc/hdc_rust/src/cffi/ |
D | serial_struct.cpp | 54 .commandFlag = value.commandFlag, in SerializePayloadProtect() 174 .commandFlag = pp.commandFlag, in ParsePayloadProtect()
|
D | serial_struct.h | 51 uint32_t commandFlag; member 102 uint32_t commandFlag; member 235 Field<fieldTwo, &BaseStruct::PayloadProtect::commandFlag>("commandFlag"),
|
/developtools/smartperf_host/ide/test/hdc/common/ |
D | Serialize.test.ts | 32 commandFlag: 1,
|
/developtools/smartperf_host/ide/src/hdc/hdcclient/ |
D | HdcStream.ts | 121 if (fileCheckPayloadProtect.commandFlag === HdcCommand.CMD_FILE_CHECK) {
|
/developtools/smartperf_host/ide/src/hdc/ |
D | HdcDeviceManager.ts | 317 if (dataMessage.commandFlag === HdcCommand.CMD_FILE_FINISH) {
|