Home
last modified time | relevance | path

Searched refs:serialPort (Results 1 – 5 of 5) sorted by relevance

/developtools/hdc/src/host/
Dhost_uart.cpp246 int HdcHostUART::WinSetSerial(HUART hUART, string serialPort, int byteSize, int eqBaudRate) in EnumSerialPort() argument
261 WRITE_LOG(LOG_WARN, "SetupComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
267 WRITE_LOG(LOG_WARN, "GetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
277 WRITE_LOG(LOG_WARN, "SetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
284 WRITE_LOG(LOG_WARN, "PurgeComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
291 WRITE_LOG(LOG_WARN, "ClearCommError %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
362 uart.serialPort = portName; in EnumSerialPort()
364 ret = WinSetSerial(&uart, uart.serialPort, UART_BIT2, baudRate); in EnumSerialPort()
366 WRITE_LOG(LOG_WARN, "%s WinSetSerial:%s fail.", __FUNCTION__, uart.serialPort.c_str()); in EnumSerialPort()
379 uart.serialPort.c_str(), buf); in EnumSerialPort()
[all …]
Dhost_uart.h96 int WinSetSerial(HUART hUART, string serialPort, int byteSize, int eqBaudRate);
/developtools/integration_verification/DeployDevice/src/aw/poweronoff/
Dserial_power_on_off.py124 serialPort = SocketCon(ip, int(port))
127 if not serialPort.login(user=user, password=password):
145 if serialPort.send(sendMsg):
146 recv = serialPort.receive()
162 serialPort.closeCon()
/developtools/hdc/test/unittest/common/
Dhost_uart_test.cpp101 myUART.serialPort = testSerialPortName; in HdcHostUARTTest()
388 mockHostUART.UpdateUARTDaemonInfo(myUART.serialPort, &mySession, STATUS_UNKNOW);
402 mockHostUART.UpdateUARTDaemonInfo(myUART.serialPort, &mySession, STATUS_CONNECTED);
432 EXPECT_CALL(mockHostUART, UpdateUARTDaemonInfo(myUART.serialPort, nullptr, STATUS_READY))
442 EXPECT_EQ(mockHostUART.ConnectMyNeed(&myUART, myUART.serialPort), true);
445 EXPECT_EQ(newUART.serialPort, testSerialPortName);
457 EXPECT_CALL(mockHostUART, UpdateUARTDaemonInfo(myUART.serialPort, nullptr, STATUS_READY))
470 EXPECT_EQ(newUART.serialPort, testSerialPortName);
/developtools/hdc/src/common/
Ddefine_plus.h355 std::string serialPort; member