/developtools/hdc/src/common/ |
D | serial_struct.h | 77 template<> struct Descriptor<Hdc::HdcSessionBase::SessionHandShake> { 80 … return Message(Field<fieldOne, &Hdc::HdcSessionBase::SessionHandShake::banner>("banner"), 81 … Field<fieldTwo, &Hdc::HdcSessionBase::SessionHandShake::authType>("authType"), 82 … Field<fieldThree, &Hdc::HdcSessionBase::SessionHandShake::sessionId>("sessionId"), 83 … Field<fieldFour, &Hdc::HdcSessionBase::SessionHandShake::connectKey>("connectKey"), 84 Field<fieldFive, &Hdc::HdcSessionBase::SessionHandShake::buf>("buf"), 85 … Field<fieldSix, &Hdc::HdcSessionBase::SessionHandShake::version>("version")); 89 template<> struct Descriptor<Hdc::HdcSessionBase::PayloadProtect> { 92 … return Message(Field<fieldOne, &Hdc::HdcSessionBase::PayloadProtect::channelId>("channelId"), 93 … Field<fieldTwo, &Hdc::HdcSessionBase::PayloadProtect::commandFlag>("commandFlag"), [all …]
|
D | session.cpp | 22 HdcSessionBase::HdcSessionBase(bool serverOrDaemonIn, size_t uvThreadSize) in HdcSessionBase() function in Hdc::HdcSessionBase 63 HdcSessionBase::~HdcSessionBase() in ~HdcSessionBase() 80 bool HdcSessionBase::TryRemoveTask(HTaskInfo hTask) in TryRemoveTask() 98 void HdcSessionBase::BeginRemoveTask(HTaskInfo hTask) in BeginRemoveTask() 115 HdcSessionBase *thisClass = (HdcSessionBase *)hTask->ownerSessionClass; in BeginRemoveTask() 143 void HdcSessionBase::ClearOwnTasks(HSession hSession, const uint32_t channelIDInput) in ClearOwnTasks() 172 void HdcSessionBase::ClearSessions() in ClearSessions() 184 void HdcSessionBase::ReMainLoopForInstanceClear() in ReMainLoopForInstanceClear() 188 HdcSessionBase *thisClass = (HdcSessionBase *)handle->data; in ReMainLoopForInstanceClear() 201 void HdcSessionBase::EnumUARTDeviceRegister(UartKickoutZombie kickOut) in EnumUARTDeviceRegister() [all …]
|
D | task.cpp | 67 … HdcSessionBase *sessionBase = reinterpret_cast<HdcSessionBase *>(taskInfo->ownerSessionClass); in SendToAnother() 95 HdcSessionBase *sessionBase = reinterpret_cast<HdcSessionBase *>(clsSession); in LogMsg() 102 HdcSessionBase *hSession = (HdcSessionBase *)taskInfo->ownerSessionClass; in ServerCommand() 109 HdcSessionBase *sessionBase = (HdcSessionBase *)taskInfo->ownerSessionClass; in ThreadCtrlCommunicate()
|
D | usb.cpp | 33 HdcSessionBase *hSessionBase = (HdcSessionBase *)hSession->classInstance; in ReadUSB() 50 HdcSessionBase *pSession = (HdcSessionBase *)hSession->classInstance; in ReadyForWorkThread()
|
D | tcp.cpp | 74 HdcSessionBase *hSessionBase = (HdcSessionBase *)thisClass->clsMainBase; in ReadStream()
|
D | session.h | 23 class HdcSessionBase { 60 HdcSessionBase(bool serverOrDaemonIn, size_t uvThreadSize = SIZE_THREAD_POOL); 61 virtual ~HdcSessionBase();
|
D | uart.h | 158 class HdcSessionBase; variable 162 HdcUARTBase(HdcSessionBase&, ExternInterface& = defaultInterface); 270 HdcSessionBase &sessionBase;
|
D | uart.cpp | 87 HdcUARTBase::HdcUARTBase(HdcSessionBase &sessionBaseIn, ExternInterface &interfaceIn) in HdcUARTBase() 960 HdcSessionBase *hSessionBase = (HdcSessionBase *)hSession->classInstance; in ReadDataFromUARTStream() 987 HdcSessionBase *pSession = (HdcSessionBase *)hSession->classInstance; in ReadyForWorkThread()
|
D | channel.cpp | 464 … auto ctrl = HdcSessionBase::BuildCtrlString(SP_DEATCH_CHANNEL, hChannel->channelId, nullptr, 0); in FreeChannelOpeate()
|
/developtools/hdc/src/daemon/ |
D | daemon_tcp.cpp | 74 HdcSessionBase *ptrConnect = reinterpret_cast<HdcSessionBase *>(thisClass->clsMainBase); in AcceptClient() 75 HdcSessionBase *daemon = reinterpret_cast<HdcSessionBase *>(thisClass->clsMainBase); in AcceptClient() 111 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in SetUDPListen() 124 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in SetTCPListen()
|
D | daemon_bridge.cpp | 66 HdcSessionBase *ptrConnect = reinterpret_cast<HdcSessionBase *>(thisClass->clsMainBase); in AcceptClient() 114 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in SetBridgeListen()
|
D | daemon.h | 26 HdcSessionBase::AuthType authtype; 31 class HdcDaemon : public HdcSessionBase {
|
D | daemon.cpp | 31 : HdcSessionBase(serverOrDaemonIn, uvThreadSize) in HdcDaemon() 34 : HdcSessionBase(serverOrDaemonIn, -1) in HdcDaemon() 896 HdcSessionBase::AuthType HdcDaemon::GetSessionAuthStatus(uint32_t sessionid) in InitMod()
|
D | jdwp.cpp | 530 HdcSessionBase *sessionBase = static_cast<HdcSessionBase *>(clsSession); in SendProcessList()
|
/developtools/hdc/src/host/ |
D | host_tcp.cpp | 100 HdcSessionBase *ptrConnect = (HdcSessionBase *)hSession->classInstance; in Connect() 134 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in ConnectDaemon()
|
D | server.h | 20 class HdcServer : public HdcSessionBase { 60 void UpdateHdiInfo(Hdc::HdcSessionBase::SessionHandShake &handshake, const string &connectKey);
|
D | host_updater.cpp | 319 HdcSessionBase *sessionBase = (HdcSessionBase *)clsSession; in SendRawData()
|
D | server.cpp | 21 : HdcSessionBase(serverOrDaemonIn) in HdcServer() 453 void HdcServer::UpdateHdiInfo(Hdc::HdcSessionBase::SessionHandShake &handshake, const string &conne… in UpdateHdiInfo() 497 Hdc::HdcSessionBase::SessionHandShake handshake; in ServerSessionHandshake()
|
D | host_usb.cpp | 646 HdcSessionBase *server = reinterpret_cast<HdcSessionBase *>(hSession->classInstance); in SendUSBRaw()
|
D | server_for_client.cpp | 751 … auto ctrl = HdcSessionBase::BuildCtrlString(SP_ATTACH_CHANNEL, hChannel->channelId, nullptr, 0); in BindChannelToSession()
|
/developtools/hdc/test/unittest/common/include/ |
D | HdcJdwpTest.h | 34 class HdcSessionTest : public Hdc::HdcSessionBase {
|
/developtools/hdc/test/unittest/common/ |
D | HdcJdwpTest.cpp | 62 HdcSessionBase HdcSessionTest(false);
|
D | uart_test.cpp | 48 class MockHdcSessionBase : public HdcSessionBase { 49 explicit MockHdcSessionBase(bool serverOrDaemon) : HdcSessionBase(serverOrDaemon) {}; in MockHdcSessionBase() 77 MockHdcUARTBase(HdcSessionBase &mockSessionBaseIn, MockBaseInterface &interfaceIn) in MockHdcUARTBase() 417 HdcSessionBase sessionBase(true); 455 class MockHdcSessionBase : public HdcSessionBase { 458 explicit MockHdcSessionBase(bool server) : HdcSessionBase(server) {} in MockHdcSessionBase()
|