Home
last modified time | relevance | path

Searched refs:IsDeviceOpened (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/test/unittest/common/
Dhost_uart_test.cpp86 MOCK_METHOD1(IsDeviceOpened, bool(const HdcUART &));
601 HWTEST_F(HdcHostUARTTest, IsDeviceOpened, TestSize.Level1)
603 EXPECT_CALL(mockHostUART, IsDeviceOpened).WillRepeatedly([&](const HdcUART &uart) { in __anon41276a340c02()
604 return mockHostUART.HdcHostUART::IsDeviceOpened(uart); in __anon41276a340c02()
607 EXPECT_EQ(mockHostUART.IsDeviceOpened(myUART), false);
610 EXPECT_EQ(mockHostUART.IsDeviceOpened(myUART), false);
613 EXPECT_EQ(mockHostUART.IsDeviceOpened(myUART), true);
616 EXPECT_EQ(mockHostUART.IsDeviceOpened(myUART), true);
826 EXPECT_CALL(mockHostUART, IsDeviceOpened(Ref(*mySession.hUART))).WillOnce(Return(true));
/developtools/hdc/src/host/
Dhost_uart.h92 virtual bool IsDeviceOpened(const HdcUART &uart);
Dhost_uart.cpp49 bool HdcHostUART::IsDeviceOpened(const HdcUART &uart) in IsDeviceOpened() function in Hdc::HdcHostUART
647 if (IsDeviceOpened(*session->hUART)) { in EnumSerialPort()