Home
last modified time | relevance | path

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

/developtools/hdc/test/unittest/common/
H A Ddaemon_uart_test.cpp72 MOCK_METHOD1(PrepareNewSession, HSession(uint32_t));
403 * @tc.name: PrepareNewSession
404 * @tc.desc: Check the behavior of the PrepareNewSession function
407 HWTEST_F(HdcDaemonUARTTest, PrepareNewSession, TestSize.Level1) in HWTEST_F()
410 ON_CALL(mockDaemonUART, PrepareNewSession).WillByDefault([&](uint32_t sessionId) { in HWTEST_F()
411 return mockDaemonUART.HdcDaemonUART::PrepareNewSession(sessionId); in HWTEST_F()
413 EXPECT_CALL(mockDaemonUART, PrepareNewSession).Times(AnyNumber()); in HWTEST_F()
421 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestId), &mySession); in HWTEST_F()
428 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestId), &mySession); in HWTEST_F()
432 EXPECT_EQ(mockDaemonUART.PrepareNewSession(sessionTestI in HWTEST_F()
[all...]
/developtools/hdc/src/daemon/
H A Ddaemon_uart.h54 virtual HSession PrepareNewSession(uint32_t sessionId);
H A Ddaemon_usb.h50 HSession PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO);
H A Ddaemon_uart.cpp183 hSession = PrepareNewSession(sessionId); in GetSession()
203 HSession HdcDaemonUART::PrepareNewSession(uint32_t sessionId) in PrepareNewSession() function in Hdc::HdcDaemonUART
H A Ddaemon_usb.cpp374 HSession HdcDaemonUSB::PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO) in PrepareNewSession() function in Hdc::HdcDaemonUSB
377 StartTraceScope("HdcDaemonUSB::PrepareNewSession"); in PrepareNewSession()
388 WRITE_LOG(LOG_FATAL, "PrepareNewSession new hSessionInfo failed"); in PrepareNewSession()
551 hChildSession = PrepareNewSession(sessionId, readBuf, readBytes); in DispatchToWorkThread()

Completed in 3 milliseconds