Searched refs:PrepareNewSession (Results 1 - 5 of 5) sorted by relevance
/developtools/hdc/test/unittest/common/ |
H A D | daemon_uart_test.cpp | 72 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 D | daemon_uart.h | 54 virtual HSession PrepareNewSession(uint32_t sessionId);
|
H A D | daemon_usb.h | 50 HSession PrepareNewSession(uint32_t sessionId, uint8_t *pRecvBuf, int recvBytesIO);
|
H A D | daemon_uart.cpp | 183 hSession = PrepareNewSession(sessionId);
in GetSession() 203 HSession HdcDaemonUART::PrepareNewSession(uint32_t sessionId)
in PrepareNewSession() function in Hdc::HdcDaemonUART
|
H A D | daemon_usb.cpp | 374 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