Searched refs:mySession (Results 1 – 2 of 2) sorted by relevance
/developtools/hdc/test/unittest/common/ |
D | host_uart_test.cpp | 94 HdcSession mySession; member in Hdc::HdcHostUARTTest 103 mySession.hUART = &myUART; in HdcHostUARTTest() 104 mySession.classModule = &mockHostUART; in HdcHostUARTTest() 105 mySession.classInstance = &mockServer; in HdcHostUARTTest() 210 EXPECT_CALL(mockHostUART, UpdateUARTDaemonInfo(mySession.connectKey, &mySession, STATUS_READY)) 212 EXPECT_CALL(mockHostUART, StartUartReadThread(&mySession)).Times(1).WillOnce(Return(true)); 214 Base::FinishWorkThread, &mySession)) 218 SendToPollFd(mySession.ctrlFd[STREAM_MAIN], _, _)) 220 mySession.childLoop.active_handles = 1; 221 EXPECT_EQ(mockHostUART.ConnectDaemonByUart(&mySession), &mySession); [all …]
|
D | daemon_uart_test.cpp | 110 HdcSession mySession; member in Hdc::HdcDaemonUARTTest 359 HdcSession mySession; variable 361 mySession.hUART = &myUART; 364 mySession.isDead = false; 365 mySession.hUART->resetIO = false; 367 EXPECT_EQ(mockDaemonUART.IsSendReady(&mySession), true); 370 EXPECT_EQ(mockDaemonUART.IsSendReady(&mySession), false); 373 mySession.isDead = true; 374 EXPECT_EQ(mockDaemonUART.IsSendReady(&mySession), false); 375 mySession.isDead = false; [all …]
|