Home
last modified time | relevance | path

Searched refs:HdcSessionBase (Results 1 – 23 of 23) sorted by relevance

/developtools/hdc/src/common/
Dserial_struct.h77 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 …]
Dsession.cpp22 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 …]
Dtask.cpp67HdcSessionBase *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()
Dusb.cpp33 HdcSessionBase *hSessionBase = (HdcSessionBase *)hSession->classInstance; in ReadUSB()
50 HdcSessionBase *pSession = (HdcSessionBase *)hSession->classInstance; in ReadyForWorkThread()
Dtcp.cpp74 HdcSessionBase *hSessionBase = (HdcSessionBase *)thisClass->clsMainBase; in ReadStream()
Dsession.h23 class HdcSessionBase {
60 HdcSessionBase(bool serverOrDaemonIn, size_t uvThreadSize = SIZE_THREAD_POOL);
61 virtual ~HdcSessionBase();
Duart.h158 class HdcSessionBase; variable
162 HdcUARTBase(HdcSessionBase&, ExternInterface& = defaultInterface);
270 HdcSessionBase &sessionBase;
Duart.cpp87 HdcUARTBase::HdcUARTBase(HdcSessionBase &sessionBaseIn, ExternInterface &interfaceIn) in HdcUARTBase()
960 HdcSessionBase *hSessionBase = (HdcSessionBase *)hSession->classInstance; in ReadDataFromUARTStream()
987 HdcSessionBase *pSession = (HdcSessionBase *)hSession->classInstance; in ReadyForWorkThread()
Dchannel.cpp464 … auto ctrl = HdcSessionBase::BuildCtrlString(SP_DEATCH_CHANNEL, hChannel->channelId, nullptr, 0); in FreeChannelOpeate()
/developtools/hdc/src/daemon/
Ddaemon_tcp.cpp74 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()
Ddaemon_bridge.cpp66 HdcSessionBase *ptrConnect = reinterpret_cast<HdcSessionBase *>(thisClass->clsMainBase); in AcceptClient()
114 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in SetBridgeListen()
Ddaemon.h26 HdcSessionBase::AuthType authtype;
31 class HdcDaemon : public HdcSessionBase {
Ddaemon.cpp31 : HdcSessionBase(serverOrDaemonIn, uvThreadSize) in HdcDaemon()
34 : HdcSessionBase(serverOrDaemonIn, -1) in HdcDaemon()
896 HdcSessionBase::AuthType HdcDaemon::GetSessionAuthStatus(uint32_t sessionid) in InitMod()
Djdwp.cpp530 HdcSessionBase *sessionBase = static_cast<HdcSessionBase *>(clsSession); in SendProcessList()
/developtools/hdc/src/host/
Dhost_tcp.cpp100 HdcSessionBase *ptrConnect = (HdcSessionBase *)hSession->classInstance; in Connect()
134 HdcSessionBase *ptrConnect = (HdcSessionBase *)clsMainBase; in ConnectDaemon()
Dserver.h20 class HdcServer : public HdcSessionBase {
60 void UpdateHdiInfo(Hdc::HdcSessionBase::SessionHandShake &handshake, const string &connectKey);
Dhost_updater.cpp319 HdcSessionBase *sessionBase = (HdcSessionBase *)clsSession; in SendRawData()
Dserver.cpp21 : HdcSessionBase(serverOrDaemonIn) in HdcServer()
453 void HdcServer::UpdateHdiInfo(Hdc::HdcSessionBase::SessionHandShake &handshake, const string &conne… in UpdateHdiInfo()
497 Hdc::HdcSessionBase::SessionHandShake handshake; in ServerSessionHandshake()
Dhost_usb.cpp646 HdcSessionBase *server = reinterpret_cast<HdcSessionBase *>(hSession->classInstance); in SendUSBRaw()
Dserver_for_client.cpp751 … auto ctrl = HdcSessionBase::BuildCtrlString(SP_ATTACH_CHANNEL, hChannel->channelId, nullptr, 0); in BindChannelToSession()
/developtools/hdc/test/unittest/common/include/
DHdcJdwpTest.h34 class HdcSessionTest : public Hdc::HdcSessionBase {
/developtools/hdc/test/unittest/common/
DHdcJdwpTest.cpp62 HdcSessionBase HdcSessionTest(false);
Duart_test.cpp48 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()