• Home
  • Raw
  • Download

Lines Matching refs:hChildSession

359     HSession hChildSession = daemon->MallocSession(false, CONN_USB, this, sessionId);  in PrepareNewSession()  local
360 if (!hChildSession) { in PrepareNewSession()
364 …artWorkThread(&daemon->loopMain, daemon->SessionWorkThread, Base::FinishWorkThread, hChildSession); in PrepareNewSession()
366 HSession hChildSession = reinterpret_cast<HSession>(handle->data); in PrepareNewSession() local
367 HdcDaemon *daemon = reinterpret_cast<HdcDaemon *>(hChildSession->classInstance); in PrepareNewSession()
368 if (hChildSession->childLoop.active_handles == 0) { in PrepareNewSession()
371 if (!hChildSession->isDead) { in PrepareNewSession()
373 Base::SendToPollFd(hChildSession->ctrlFd[STREAM_MAIN], ctrl.data(), ctrl.size()); in PrepareNewSession()
378 Base::TimerUvTask(&daemon->loopMain, hChildSession, funcNewSessionUp); in PrepareNewSession()
379 return hChildSession; in PrepareNewSession()
462 HSession hChildSession = nullptr; in DispatchToWorkThread() local
475 hChildSession = daemon->AdminSession(OP_QUERY, sessionId, nullptr); in DispatchToWorkThread()
476 if (!hChildSession) { in DispatchToWorkThread()
477 hChildSession = PrepareNewSession(sessionId, readBuf, readBytes); in DispatchToWorkThread()
478 if (!hChildSession) { in DispatchToWorkThread()
484 if (hChildSession->childCleared || hChildSession->isDead) { in DispatchToWorkThread()
485 …WRITE_LOG(LOG_WARN, "session dead clr:%d - %d", hChildSession->childCleared, hChildSession->isDead… in DispatchToWorkThread()
488 uv_stream_t *stream = reinterpret_cast<uv_stream_t *>(&hChildSession->dataPipe[STREAM_MAIN]); in DispatchToWorkThread()
489 if ((childRet = SendToHdcStream(hChildSession, stream, readBuf, readBytes)) < 0) { in DispatchToWorkThread()