Searched refs:handShake (Results 1 – 5 of 5) sorted by relevance
| /developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/ |
| D | HdcClient.ts | 57 let handShake: SessionHandShake = new SessionHandShake( 65 let hs = Serialize.serializeSessionHandShake(handShake); 68 handShake.sessionId, 75 let handShake = await this.readDataProcessing.readUsbHead(); 76 let handBody = await this.readDataProcessing.readBody(handShake!.dataSize); 77 if (this.sessionId == handShake!.sessionId) { 78 debug('handShake: ', handShake); 98 …'session is not eq handShake?.sessionId is : ' + handShake?.sessionId + ' now session is ' + this.…
|
| /developtools/smartperf_host/ide/src/hdc/hdcclient/ |
| D | HdcClient.ts | 57 let handShake: SessionHandShake = new SessionHandShake( 65 let hs = Serialize.serializeSessionHandShake(handShake); 68 handShake.sessionId, 75 let handShake = await this.readDataProcessing.readUsbHead(); 76 let handBody = await this.readDataProcessing.readBody(handShake!.dataSize); 77 if (this.sessionId == handShake!.sessionId) { 78 debug('handShake: ', handShake); 98 …'session is not eq handShake?.sessionId is : ' + handShake?.sessionId + ' now session is ' + this.…
|
| /developtools/hdc/src/host/ |
| D | server_for_client.cpp | 77 struct ChannelHandShake handShake = {}; in AcceptClient() local 78 if (EOK == strcpy_s(handShake.banner, sizeof(handShake.banner), HANDSHAKE_MESSAGE.c_str())) { in AcceptClient() 79 handShake.channelId = htonl(hChannel->channelId); in AcceptClient() 82 if (EOK != strcpy_s(handShake.version, sizeof(handShake.version), ver.c_str())) { in AcceptClient() 87 thisClass->Send(hChannel->channelId, (uint8_t *)&handShake, sizeof(struct ChannelHandShake)); in AcceptClient() 90 thisClass->Send(hChannel->channelId, reinterpret_cast<uint8_t *>(&handShake), in AcceptClient() 760 …struct ChannelHandShake *handShake = reinterpret_cast<struct ChannelHandShake *>(rebuildHandshake.… in ChannelHandShake() local 761 if (strncmp(handShake->banner, HANDSHAKE_MESSAGE.c_str(), HANDSHAKE_MESSAGE.size())) { in ChannelHandShake() 766 if (strlen(handShake->connectKey) > sizeof(handShake->connectKey)) { in ChannelHandShake() 773 hChannel->connectKey = handShake->connectKey; in ChannelHandShake()
|
| /developtools/profiler/host/smartperf/ide/src/hdc/common/ |
| D | Serialize.ts | 26 static serializeSessionHandShake(handShake: SessionHandShake): Uint8Array { 27 let bannerValue = this.serializeToString(1, handShake.banner); 28 let authTypeValue = this.serializeU8(2, handShake.authType); 29 let sessionIdValue = this.serializeU32(3, handShake.sessionId); 30 let connectKey = this.serializeToString(4, handShake.connectKey); 31 let buf = this.serializeToString(5, handShake.buf);
|
| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | Serialize.ts | 26 static serializeSessionHandShake(handShake: SessionHandShake): Uint8Array { 27 let bannerValue = this.serializeToString(1, handShake.banner); 28 let authTypeValue = this.serializeU8(2, handShake.authType); 29 let sessionIdValue = this.serializeU32(3, handShake.sessionId); 30 let connectKey = this.serializeToString(4, handShake.connectKey); 31 let buf = this.serializeToString(5, handShake.buf);
|