Searched refs:IsDeviceOpened (Results 1 – 3 of 3) sorted by relevance
86 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));
92 virtual bool IsDeviceOpened(const HdcUART &uart);
49 bool HdcHostUART::IsDeviceOpened(const HdcUART &uart) in IsDeviceOpened() function in Hdc::HdcHostUART647 if (IsDeviceOpened(*session->hUART)) { in EnumSerialPort()