Home
last modified time | relevance | path

Searched refs:HdcUART (Results 1 – 10 of 10) sorted by relevance

/developtools/hdc/src/host/
Dhost_uart.h88 virtual bool WaitUartIdle(HdcUART &uart, bool retry = true);
92 virtual bool IsDeviceOpened(const HdcUART &uart);
Dhost_uart.cpp49 bool HdcHostUART::IsDeviceOpened(const HdcUART &uart) in IsDeviceOpened()
304 bool HdcHostUART::WaitUartIdle(HdcUART &uart, bool retry) in EnumSerialPort()
326 HdcUART uart; in EnumSerialPort()
331 if (memset_s(&uart, sizeof(HdcUART), 0, sizeof(HdcUART)) != EOK) { in EnumSerialPort()
/developtools/hdc/src/common/
Ddefine_plus.h356 struct HdcUART { struct
377 HdcUART(); argument
378 ~HdcUART();
380 using HUART = struct HdcUART *;
Duart.cpp230 ssize_t HdcUARTBase::ReadUartDev(std::vector<uint8_t> &readBuf, size_t expectedSize, HdcUART &uart) in ReadUartDev()
345 ssize_t HdcUARTBase::WriteUartDev(uint8_t *data, const size_t length, HdcUART &uart) in WriteUartDev()
530 HdcUART deamonUart; in SendUARTRaw()
1037 HdcUART::HdcUART() in HdcUART() function in Hdc::HdcUART
1047 HdcUART::~HdcUART() in ~HdcUART()
Duart.h226 virtual ssize_t ReadUartDev(std::vector<uint8_t> &readBuf, size_t expectedSize, HdcUART &uart);
228 virtual ssize_t WriteUartDev(uint8_t *data, const size_t length, HdcUART &uart);
Dsession.cpp379 HUART hUART = new HdcUART(); in MallocSessionByConnectType()
/developtools/hdc/test/unittest/common/
Dhost_uart_test.cpp86 MOCK_METHOD1(IsDeviceOpened, bool(const HdcUART &));
87 MOCK_METHOD3(ReadUartDev, ssize_t(std::vector<uint8_t> &, size_t, HdcUART &));
95 HdcUART myUART;
430 HdcUART newUART;
455 HdcUART newUART;
603 EXPECT_CALL(mockHostUART, IsDeviceOpened).WillRepeatedly([&](const HdcUART &uart) { in __anonf147a4620c02()
676 .WillOnce(Invoke([&](std::vector<uint8_t> &readBuf, size_t expectedSize, HdcUART &uart) { in __anonf147a4620f02()
690 .WillOnce(Invoke([&](std::vector<uint8_t> &readBuf, size_t expectedSize, HdcUART &uart) { in __anonf147a4621002()
742 HdcUART myUART;
Ddaemon_uart_test.cpp360 HdcUART myUART;
656 HdcUART myUART;
682 HdcUART myUART;
697 HdcUART myUART;
Duart_test.cpp42 std::unique_ptr<HdcUART> serverHdcUart;
44 std::unique_ptr<HdcUART> daemonHdcUart;
116 serverHdcUart = std::make_unique<HdcUART>(); in SetUp()
122 daemonHdcUart = std::make_unique<HdcUART>(); in SetUp()
448 HdcUART uart;
/developtools/hdc/src/daemon/
Ddaemon_uart.cpp240 HdcUART deamonUart; in DeamonReadThread()