Lines Matching refs:HdcDaemon

31 HdcDaemon::HdcDaemon(bool serverOrDaemonIn, size_t uvThreadSize)
34 HdcDaemon::HdcDaemon(bool serverOrDaemonIn)
50 HdcDaemon::~HdcDaemon()
52 WRITE_LOG(LOG_DEBUG, "~HdcDaemon");
55 void HdcDaemon::ClearInstanceResource()
58 Base::TryCloseLoop(&loopMain, "HdcDaemon::~HdcDaemon");
82 WRITE_LOG(LOG_DEBUG, "~HdcDaemon finish");
85 void HdcDaemon::TryStopInstance()
115 void HdcDaemon::InitMod(bool bEnableTCP, bool bEnableUSB, [[maybe_unused]] bool bEnableUART)
117 void HdcDaemon::InitMod(bool bEnableTCP, bool bEnableUSB)
120 WRITE_LOG(LOG_DEBUG, "HdcDaemon InitMod");
172 void HdcDaemon::InitMod(bool bEnableTCP, bool bEnableUSB, bool bEnableBridge, [[maybe_unused]] bool bEnableUART)
176 void HdcDaemon::InitMod(bool bEnableTCP, bool bEnableUSB, bool bEnableBridge)
192 bool HdcDaemon::RedirectToTask(HTaskInfo hTaskInfo, HSession hSession, const uint32_t channelId,
195 StartTraceScope("HdcDaemon::RedirectToTask");
246 bool HdcDaemon::ShowPermitDialog()
283 UserPermit HdcDaemon::PostUIConfirm(string hostname, string pubkey)
331 bool HdcDaemon::GetHostPubkeyInfo(const string& buf, string& hostname, string& pubkey)
344 void HdcDaemon::ClearKnownHosts()
380 void HdcDaemon::UpdateKnownHosts(const string& key)
400 bool HdcDaemon::AlreadyInKnownHosts(const string& key)
422 bool HdcDaemon::HandDaemonAuthInit(HSession hSession, const uint32_t channelId, SessionHandShake &handshake)
445 bool HdcDaemon::HandDaemonAuthPubkey(HSession hSession, const uint32_t channelId, SessionHandShake &handshake)
499 bool HdcDaemon::RsaSignVerify(HSession hSession, EVP_PKEY_CTX *ctx, const string &tokenSignBase64, const string &token)
525 bool HdcDaemon::AuthVerifyRsaSign(HSession hSession, const string &tokenSign, const string &token, RSA *rsa)
576 bool HdcDaemon::AuthVerify(HSession hSession, const string &encryptToken, const string &token, const string &pubkey)
616 bool HdcDaemon::AuthVerifyRsa(HSession hSession, const string &encryptToken, const string &token, RSA *rsa)
645 bool HdcDaemon::HandDaemonAuthSignature(HSession hSession, const uint32_t channelId, SessionHandShake &handshake)
670 bool HdcDaemon::HandDaemonAuthBypass(void)
678 bool HdcDaemon::HandDaemonAuth(HSession hSession, const uint32_t channelId, SessionHandShake &handshake)
715 void HdcDaemon::GetServerCapability(HSession &hSession, SessionHandShake &handshake)
734 void HdcDaemon::DaemonSessionHandshakeInit(HSession &hSession, SessionHandShake &handshake)
744 WRITE_LOG(LOG_DEBUG, " HdcDaemon::DaemonSessionHandshake %s",
761 bool HdcDaemon::DaemonSessionHandshake(HSession hSession, const uint32_t channelId, uint8_t *payload, int payloadSize)
763 StartTraceScope("HdcDaemon::DaemonSessionHandshake");
813 bool HdcDaemon::IsExpectedParam(const string& param, const string& expect)
820 bool HdcDaemon::CheckControl(const uint16_t command)
867 bool HdcDaemon::FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, uint8_t *payload,
870 StartTraceScope("HdcDaemon::FetchCommand");
920 bool HdcDaemon::RemoveInstanceTask(const uint8_t op, HTaskInfo hTask)
952 bool HdcDaemon::ServerCommand(const uint32_t sessionId, const uint32_t channelId, const uint16_t command,
958 void HdcDaemon::JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO)
985 void HdcDaemon::NotifyInstanceSessionFree(HSession hSession, bool freeOrClear)
997 void HdcDaemon::InitSessionAuthInfo(uint32_t sessionid, string token)
1009 void HdcDaemon::UpdateSessionAuthOk(uint32_t sessionid)
1020 void HdcDaemon::UpdateSessionAuthPubkey(uint32_t sessionid, string pubkey)
1030 void HdcDaemon::UpdateSessionAuthmsg(uint32_t sessionid, string authmsg)
1040 void HdcDaemon::DeleteSessionAuthStatus(uint32_t sessionid)
1046 HdcSessionBase::AuthType HdcDaemon::GetSessionAuthStatus(uint32_t sessionid)
1056 string HdcDaemon::GetSessionAuthToken(uint32_t sessionid)
1066 string HdcDaemon::GetSessionAuthPubkey(uint32_t sessionid)
1076 string HdcDaemon::GetSessionAuthmsg(uint32_t sessionid)
1086 void HdcDaemon::SendAuthOkMsg(SessionHandShake &handshake, uint32_t channelid,
1113 void HdcDaemon::SendAuthSignMsg(SessionHandShake &handshake,
1123 void HdcDaemon::EchoHandshakeMsg(SessionHandShake &handshake, uint32_t channelid, uint32_t sessionid, string msg)
1129 void HdcDaemon::AuthRejectLowClient(SessionHandShake &handshake, uint32_t channelid, uint32_t sessionid)