| /developtools/hdc/src/common/ |
| D | session.cpp | 156 void HdcSessionBase::ClearOwnTasks(HSession hSession, const uint32_t channelIDInput) in ClearOwnTasks() 191 HSession hSession = (HSession)v.second; in ClearSessions() local 231 void HdcSessionBase::EnumUSBDeviceRegister(void (*pCallBack)(HSession hSession)) in EnumUSBDeviceRegister() 373 int HdcSessionBase::MallocSessionByConnectType(HSession hSession) in MallocSessionByConnectType() 431 HSession hSession = new(std::nothrow) HdcSession(); in MallocSession() local 522 void HdcSessionBase::FreeSessionByConnectType(HSession hSession) in FreeSessionByConnectType() 579 HSession hSession = (HSession)handle->data; in FreeSessionFinally() local 609 void HdcSessionBase::FreeSessionContinue(HSession hSession) in FreeSessionContinue() 612 HSession hSession = (HSession)handle->data; in FreeSessionContinue() local 646 HSession hSession = (HSession)handle->data; in FreeSessionOpeate() local [all …]
|
| D | usb.cpp | 32 HSession hSession = (HSession)stream->data; in ReadUSB() local 41 bool HdcUSBBase::ReadyForWorkThread(HSession hSession) in ReadyForWorkThread() 83 int HdcUSBBase::SendUSBBlock(HSession hSession, uint8_t *data, const int length) in SendUSBBlock() 139 void HdcUSBBase::PreSendUsbSoftReset(HSession hSession, uint32_t sessionIdOld) in PreSendUsbSoftReset() 155 int HdcUSBBase::CheckPacketOption(HSession hSession, uint8_t *appendData, int dataSize) in CheckPacketOption() 182 int HdcUSBBase::SendToHdcStream(HSession hSession, uv_stream_t *stream, uint8_t *appendData, int da… in SendToHdcStream()
|
| D | usb.h | 25 virtual void CancelUsbIo(HSession hSession) {}; in CancelUsbIo() 29 virtual int SendUSBRaw(HSession hSession, uint8_t *data, const int length) in SendUSBRaw()
|
| D | uart.cpp | 397 HSession hSession = (HSession)stream->data; in UartToHdcProtocol() local 441 RetErrCode HdcUARTBase::DispatchToWorkThread(HSession hSession, uint8_t *readBuf, int readBytes) in DispatchToWorkThread() 452 size_t HdcUARTBase::PackageProcess(vector<uint8_t> &data, HSession hSession) in PackageProcess() 525 bool HdcUARTBase::SendUARTRaw(HSession hSession, uint8_t *data, const size_t length) in SendUARTRaw() 567 bool HdcUARTBase::UartSendToHdcStream(HSession hSession, uint8_t *data, size_t size) in UartSendToHdcStream() 895 int HdcUARTBase::SendUARTData(HSession hSession, uint8_t *data, const size_t length) in SendUARTData() 948 HSession hSession = (HSession)stream->data; in ReadDataFromUARTStream() local 979 bool HdcUARTBase::ReadyForWorkThread(HSession hSession) in ReadyForWorkThread() 1007 void HdcUARTBase::StopSession(HSession hSession) in StopSession()
|
| D | task.cpp | 112 HdcSessionBase *hSession = (HdcSessionBase *)taskInfo->ownerSessionClass; in ServerCommand() local 120 HSession hSession = sessionBase->AdminSession(OP_QUERY, taskInfo->sessionId, nullptr); in ThreadCtrlCommunicate() local
|
| D | session.h | 69 virtual void AttachChannel(HSession hSession, const uint32_t channelId) in AttachChannel() 72 virtual void DeatchChannel(HSession hSession, const uint32_t channelId) in DeatchChannel() 75 virtual void NotifyInstanceSessionFree(HSession hSession, bool freeOrClear) in NotifyInstanceSessionFree() 78 virtual bool RedirectToTask(HTaskInfo hTaskInfo, HSession hSession, const uint32_t channelId, in RedirectToTask() 122 …virtual bool FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, uin… in FetchCommand()
|
| D | tcp.cpp | 74 HSession hSession = (HSession)tcp->data; in ReadStream() local 120 HSession hSession = reinterpret_cast<HSession>(tcp->data); in WriteUvSslFd() local
|
| D | debug.cpp | 81 void DetermineThread(HSession hSession) in DetermineThread()
|
| D | hdc_ssl.cpp | 56 void HdcSSLBase::SetSSLInfo(SSLInfoPtr hSSLInfo, HSession hSession) in SetSSLInfo() 360 bool HdcSSLBase::SetHandshakeLabel(HSession hSession) in SetHandshakeLabel()
|
| /developtools/hdc/src/host/ |
| D | server.cpp | 414 void HdcServer::NotifyInstanceSessionFree(HSession hSession, bool freeOrClear) in NotifyInstanceSessionFree() 448 void HdcServer::GetDaemonAuthType(HSession hSession, SessionHandShake &handshake) in GetDaemonAuthType() 472 bool HdcServer::HandServerAuth(HSession hSession, SessionHandShake &handshake) in HandServerAuth() 520 void HdcServer::UpdateHdiInfo(Hdc::HdcSessionBase::SessionHandShake &handshake, HSession &hSession) in UpdateHdiInfo() 575 bool HdcServer::ServerSSLHandshake(HSession hSession, SessionHandShake &handshake) in ServerSSLHandshake() 619 bool HdcServer::ServerSessionSSLInit(HSession hSession, SessionHandShake &handshake) in ServerSessionSSLInit() 670 bool HdcServer::ServerSessionHandshake(HSession hSession, uint8_t *payload, int payloadSize) in ServerSessionHandshake() 703 bool HdcServer::FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, u… in FetchCommand() 909 HSession hSession = (HSession)handle->data; in UsbPreConnect() local 937 HSession hSession = (HSession)handle->data; in UartPreConnect() local [all …]
|
| D | host_usb.cpp | 187 HSession hSession = hdcServer->MallocSession(true, CONN_USB, this); in DetectMyNeed() local 210 void HdcHostUSB::KickoutZombie(HSession hSession) in KickoutZombie() 373 void HdcHostUSB::UpdateUSBDaemonInfo(HUSB hUSB, HSession hSession, uint8_t connStatus) in UpdateUSBDaemonInfo() 487 void HdcHostUSB::CancelUsbIo(HSession hSession) in CancelUsbIo() 514 HSession hSession = (HSession)stream->data; in UsbToHdcProtocol() local 590 int HdcHostUSB::SubmitUsbBio(HSession hSession, bool sendOrRecv, uint8_t *buf, int bufSize) in SubmitUsbBio() 636 void HdcHostUSB::BeginUsbRead(HSession hSession) in BeginUsbRead() 712 int HdcHostUSB::SendUSBRaw(HSession hSession, uint8_t *data, const int length) in SendUSBRaw() 782 bool HdcHostUSB::ReadyForWorkThread(HSession hSession) in ReadyForWorkThread() 789 HSession HdcHostUSB::ConnectDetectDaemon(const HSession hSession, const HDaemonInfo pdi) in ConnectDetectDaemon() [all …]
|
| D | host_uart.cpp | 44 bool HdcHostUART::NeedStop(const HSession hSession) in NeedStop() 75 void HdcHostUART::UartReadThread(HSession hSession) in UartReadThread() 417 void HdcHostUART::UpdateUARTDaemonInfo(const std::string &connectKey, HSession hSession, in EnumSerialPort() 452 bool HdcHostUART::StartUartReadThread(HSession hSession) in EnumSerialPort() 483 HSession HdcHostUART::ConnectDaemonByUart(const HSession hSession, const HDaemonInfo) in EnumSerialPort() 578 HSession hSession = server.MallocSession(true, CONN_SERIAL, this); in EnumSerialPort() local 614 void HdcHostUART::KickoutZombie(HSession hSession) in EnumSerialPort() 691 void HdcHostUART::StopSession(HSession hSession) in EnumSerialPort() 770 void HdcHostUART::SendUartSoftReset(HSession hSession, uint32_t sessionId) in EnumSerialPort()
|
| D | host_tcp.cpp | 100 HSession hSession = (HSession)connection->data; in Connect() local 142 HSession hSession = ptrConnect->MallocSession(true, CONN_TCP, this); in ConnectDaemon() local
|
| D | host_usb.h | 22 HSession hSession = nullptr; member
|
| D | server_for_client.cpp | 521 HSession hSession = ptrServer->AdminSession(OP_QUERY, hfi->sessionId, nullptr); in RemoveFportkey() local 766 HSession hSession = FindAliveSession(hChannel->targetSessionId); in TaskCommand() local 925 HSession hSession = nullptr; in FindAliveSessionFromDaemonMap() local 1000 HSession hSession = nullptr; in BindChannelToSession() local 1037 HSession hSession = nullptr; in BindChannelToSession() local 1182 HSession hSession = ptrServer->AdminSession(OP_QUERY, sessionId, nullptr); in FindAliveSession() local 1193 HSession hSession = FindAliveSession(sessionId); in ChannelSendSessionCtrlMsg() local
|
| /developtools/hdc/src/daemon/ |
| D | daemon.cpp | 227 bool HdcDaemon::RedirectToTask(HTaskInfo hTaskInfo, HSession hSession, const uint32_t channelId, in InitMod() 462 bool HdcDaemon::HandDaemonAuthInit(HSession hSession, const uint32_t channelId, SessionHandShake &h… in InitMod() 485 bool HdcDaemon::HandDaemonAuthPubkey(HSession hSession, const uint32_t channelId, SessionHandShake … in InitMod() 539 bool HdcDaemon::RsaSignVerify(HSession hSession, EVP_PKEY_CTX *ctx, const string &tokenSignBase64, … in InitMod() 565 bool HdcDaemon::AuthVerifyRsaSign(HSession hSession, const string &tokenSign, const string &token, … in InitMod() 616 bool HdcDaemon::AuthVerify(HSession hSession, const string &encryptToken, const string &token, cons… in InitMod() 656 bool HdcDaemon::AuthVerifyRsa(HSession hSession, const string &encryptToken, const string &token, R… in InitMod() 689 bool HdcDaemon::HandDaemonAuthSignature(HSession hSession, const uint32_t channelId, SessionHandSha… in InitMod() 722 bool HdcDaemon::HandDaemonAuth(HSession hSession, const uint32_t channelId, SessionHandShake &hands… in InitMod() 760 void HdcDaemon::GetServerCapability(HSession &hSession, SessionHandShake &handshake) in InitMod() [all …]
|
| D | daemon_uart.cpp | 167 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession() local 181 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in GetSession() local 206 HSession hSession = daemon.MallocSession(false, CONN_SERIAL, this, sessionId); in PrepareNewSession() local 220 HSession hSession = reinterpret_cast<HSession>(handle->data); in PrepareNewSession() local 314 bool HdcDaemonUART::IsSendReady(HSession hSession) in IsSendReady()
|
| D | daemon_usb.cpp | 227 HSession hSession = daemon->AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession() local 264 bool HdcDaemonUSB::ReadyForWorkThread(HSession hSession) in ReadyForWorkThread() 305 int HdcDaemonUSB::SendUSBIOSync(HSession hSession, HUSB hMainUSB, const uint8_t *data, const int le… in SendUSBIOSync() 340 int HdcDaemonUSB::SendUSBRaw(HSession hSession, uint8_t *data, const int length) in SendUSBRaw() 367 void HdcDaemonUSB::OnSessionFreeFinally(const HSession hSession) in OnSessionFreeFinally()
|
| D | daemon_bridge.cpp | 77 HSession hSession = ptrConnect->MallocSession(false, CONN_TCP, thisClass); in AcceptClient() local
|
| D | daemon_tcp.cpp | 76 HSession hSession = ptrConnect->MallocSession(false, CONN_TCP, thisClass); in AcceptClient() local
|
| /developtools/hdc/test/unittest/common/ |
| D | hdc_ssl_ut.cpp | 157 HSession hSession = new HdcSession(); variable 176 HSession hSession = new HdcSession(); variable 198 HSession hSession = new HdcSession(); variable 220 HSession hSession = new HdcSession(); variable 244 HSession hSession = new HdcSession(); variable 322 HSession hSession = new HdcSession(); variable 488 HSession hSession = new HdcSession(); variable 506 HSession hSession = new HdcSession(); variable 601 HSession hSession = new HdcSession(); variable
|
| D | host_uart_test.cpp | 376 [&](const std::string &connectKey, HSession hSession, ConnStatus connStatus) { in __anonee5ad5f70702() 412 EXPECT_CALL(mockHostUART, StartUartReadThread).WillOnce(Invoke([&](HSession hSession) { in __anonee5ad5f70802() 567 EXPECT_CALL(mockHostUART, NeedStop).WillRepeatedly([&](const HSession hSession) { in __anonee5ad5f70b02() 648 EXPECT_CALL(mockHostUART, UartReadThread).WillRepeatedly(Invoke([&](HSession hSession) { in __anonee5ad5f70e02()
|
| D | uart_test.cpp | 186 HSession hSession = nullptr; variable 220 HSession hSession = nullptr; variable
|
| D | daemon_uart_test.cpp | 354 ON_CALL(mockDaemonUART, IsSendReady).WillByDefault([&](HSession hSession) { in __anon632c398d0602()
|
| /developtools/hdc/test/unittest/host/ |
| D | host_uds_server_test.cpp | 57 HSession hSession = server.MallocSession(true, CONN_USB, nullptr); variable
|