Home
last modified time | relevance | path

Searched refs:isDead (Results 1 – 11 of 11) sorted by relevance

/developtools/hdc/src/common/
Dchannel.cpp98 if (!hChannel->isDead) { in ClearChannels()
185 hChannel->channelId, hChannel->isDead, int32_t(hChannel->ref)); in WriteCallback()
187 if (!hChannel->isDead && !hChannel->ref) { in WriteCallback()
303 if (hChannel->isDead) { in SendWithCmd()
349 if (hChannel->isDead) { in Send()
491 if (!hChannel || hChannel->isDead) { in FreeChannel()
497 hChannel->isDead = true; in FreeChannel()
571 if (!hChannel->isDead && hChannel->targetSessionId == targetSessionId) { in EchoToAllChannelsViaSessionId()
Ddefine_plus.h383 bool isDead; member
442 isDead = false; in HdcSession()
497 bool isDead; member
Dsession.cpp178 if (!hSession->isDead) { in ClearSessions()
423 hSession->isDead = false; in MallocSession()
642 if (!hSession || hSession->isDead) { in FreeSession()
646 hSession->isDead = true; in FreeSession()
775 if (hSession->isDead) { in SendByProtocol()
945 while (!hSession->isDead && hSession->availTailIndex > static_cast<int>(sizeof(PayloadHead))) { in FetchIOBuf()
988 status, hSession->sessionId, hSession->isDead, uint32_t(hSession->ref)); in FinishWriteSessionTCP()
990 if (!hSession->isDead && !hSession->ref) { in FinishWriteSessionTCP()
/developtools/hdc/src/daemon/
Ddaemon_uart.cpp226 if (!hSession->isDead) { in PrepareNewSession()
316 if (isAlive and !hSession->isDead and uartHandle >= 0 and !hSession->hUART->resetIO) { in IsSendReady()
321 } else if (hSession->isDead) { in IsSendReady()
Ddaemon_usb.cpp300 while (modRunning && isAlive && !hSession->isDead) { in SendUSBIOSync()
323 length, offset, modRunning, isAlive, hSession->isDead); in SendUSBIOSync()
375 if (!hChildSession->isDead) { in PrepareNewSession()
488 if (hChildSession->childCleared || hChildSession->isDead) { in DispatchToWorkThread()
489 …RITE_LOG(LOG_WARN, "session dead clr:%d - %d", hChildSession->childCleared, hChildSession->isDead); in DispatchToWorkThread()
/developtools/hdc/test/unittest/common/
Dhost_uart_test.cpp533 mySession.isDead = true;
535 mySession.isDead = false;
571 mySession.isDead = false;
576 mySession.isDead = false;
581 mySession.isDead = true;
586 mySession.isDead = true;
591 mySession.isDead = false;
Ddaemon_uart_test.cpp364 mySession.isDead = false;
373 mySession.isDead = true;
375 mySession.isDead = false;
/developtools/hdc/src/host/
Dhost_usb.cpp187 … WRITE_LOG(LOG_WARN, "KickoutZombie devHandle:%p isDead:%d", hUSB->devHandle, hSession->isDead); in KickoutZombie()
585 while (!hSession->isDead) { in BeginUsbRead()
Dhost_uart.cpp46 return (!uartOpened or (hSession->isDead and hSession->ref == 0)); in NeedStop()
612 if (hSession == nullptr or hSession->hUART == nullptr or hSession->isDead) { in EnumSerialPort()
Dserver_for_client.cpp704 if (hdi->hSession->isDead) { in FindAliveSessionFromDaemonMap()
860 if (!hSession || hSession->isDead) { in FindAliveSession()
Dserver.cpp541 if (hChannel->isDead) { in FetchCommand()