Home
last modified time | relevance | path

Searched refs:authType (Results 1 – 11 of 11) sorted by relevance

/developtools/smartperf_host/ide/src/hdc/message/
DSessionHandShake.ts28 …constructor(banner: string, authType: number, sessionId: number, connectKey: string, buf: string) {
31 this._authType = authType;
50 get authType(): number { method in SessionHandShake
54 set authType(value: number) { method in SessionHandShake
/developtools/smartperf_host/ide/test/hdc/message/
DSessionHandShake.test.ts34 expect(sessionHandShake.authType).toBeUndefined();
38 sessionHandShake.authType = true;
39 expect(sessionHandShake.authType).toBeTruthy();
/developtools/hdc/hdc_rust/src/cffi/
Dserial_struct.h29 uint8_t authType; member
40 oss << " authType:" << unsigned(authType); in ToDebugString()
93 uint8_t authType; member
223 Field<fieldTwo, &BaseStruct::SessionHandShake::authType>("authType"),
Dserial_struct.cpp38 .authType = value.authType, in SerializeSessionHandShake()
157 .authType = shs.authType, in ParseSessionHandShake()
/developtools/hdc/src/daemon/
Ddaemon.cpp204 switch (handshake.authType) { in HandDaemonAuth()
207 handshake.authType = AUTH_TOKEN; in HandDaemonAuth()
227 handshake.authType = AUTH_TOKEN; in HandDaemonAuth()
265 if (handshake.authType == AUTH_NONE) { in DaemonSessionHandshake()
317 handshake.authType = AUTH_OK; in DaemonSessionHandshake()
/developtools/smartperf_host/ide/test/hdc/common/
DSerialize.test.ts22 authType: 1,
/developtools/hdc/src/common/
Dsession.h29 uint8_t authType; member
40 oss << " authType:" << unsigned(authType); in ToDebugString()
Dserial_struct.h81 … Field<fieldTwo, &Hdc::HdcSessionBase::SessionHandShake::authType>("authType"),
Dsession.cpp1089 handshake.authType = AUTH_NONE; in WorkThreadStartSession()
1093 hSession->sessionId, handshake.authType, hs.c_str()); in WorkThreadStartSession()
/developtools/smartperf_host/ide/src/hdc/common/
DSerialize.ts28 let authTypeValue = this.serializeU8(2, handShake.authType);
219 let authType = this.parseU8(authTypeDataView, 1);
245 return new SessionHandShake(banner, authType, sessionId, connectKey, buf);
/developtools/hdc/src/host/
Dserver.cpp432 switch (handshake.authType) { in HandServerAuth()
439 handshake.authType = AUTH_PUBLICKEY; in HandServerAuth()
453 handshake.authType = AUTH_SIGNATURE; in HandServerAuth()
461 WRITE_LOG(LOG_FATAL, "invalid auth type %d", handshake.authType); in HandServerAuth()
485 if (handshake.authType != AUTH_OK) { in ServerSessionHandshake()