Searched refs:PrepareNewSession (Results 1 – 5 of 5) sorted by relevance
/developtools/hdc/test/unittest/common/ |
D | daemon_uart_test.cpp | 72 MOCK_METHOD1(PrepareNewSession, HSession(uint32_t)); 407 HWTEST_F(HdcDaemonUARTTest, PrepareNewSession, TestSize.Level1) 410 ON_CALL(mockDaemonUART, PrepareNewSession).WillByDefault([&](uint32_t sessionId) { in __anond4864eb80802() 411 return mockDaemonUART.HdcDaemonUART::PrepareNewSession(sessionId); in __anond4864eb80802() 413 EXPECT_CALL(mockDaemonUART, PrepareNewSession).Times(AnyNumber()); 421 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestId), &mySession); 428 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestId), &mySession); 432 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestId), nullptr);
|
/developtools/hdc/src/daemon/ |
D | daemon_uart.h | 54 virtual HSession PrepareNewSession(uint32_t sessionId);
|
D | daemon_usb.h | 50 HSession PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO);
|
D | daemon_uart.cpp | 183 hSession = PrepareNewSession(sessionId); in GetSession() 203 HSession HdcDaemonUART::PrepareNewSession(uint32_t sessionId) in PrepareNewSession() function in Hdc::HdcDaemonUART
|
D | daemon_usb.cpp | 360 HSession HdcDaemonUSB::PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO) in PrepareNewSession() function in Hdc::HdcDaemonUSB 483 hChildSession = PrepareNewSession(sessionId, readBuf, readBytes); in DispatchToWorkThread()
|