Searched refs:HdcUART (Results 1 – 10 of 10) sorted by relevance
/developtools/hdc/src/host/ |
D | host_uart.h | 88 virtual bool WaitUartIdle(HdcUART &uart, bool retry = true); 92 virtual bool IsDeviceOpened(const HdcUART &uart);
|
D | host_uart.cpp | 49 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/ |
D | define_plus.h | 356 struct HdcUART { struct 377 HdcUART(); argument 378 ~HdcUART(); 380 using HUART = struct HdcUART *;
|
D | uart.cpp | 230 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()
|
D | uart.h | 226 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);
|
D | session.cpp | 379 HUART hUART = new HdcUART(); in MallocSessionByConnectType()
|
/developtools/hdc/test/unittest/common/ |
D | host_uart_test.cpp | 86 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;
|
D | daemon_uart_test.cpp | 360 HdcUART myUART; 656 HdcUART myUART; 682 HdcUART myUART; 697 HdcUART myUART;
|
D | uart_test.cpp | 42 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/ |
D | daemon_uart.cpp | 240 HdcUART deamonUart; in DeamonReadThread()
|