Home
last modified time | relevance | path

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

/developtools/hdc/test/unittest/common/
Ddaemon_uart_test.cpp72 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/
Ddaemon_uart.h54 virtual HSession PrepareNewSession(uint32_t sessionId);
Ddaemon_usb.h50 HSession PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO);
Ddaemon_uart.cpp183 hSession = PrepareNewSession(sessionId); in GetSession()
203 HSession HdcDaemonUART::PrepareNewSession(uint32_t sessionId) in PrepareNewSession() function in Hdc::HdcDaemonUART
Ddaemon_usb.cpp360 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()