Home
last modified time | relevance | path

Searched refs:CloseUartDevice (Results 1 - 3 of 3) sorted by relevance

/developtools/hdc/test/unittest/common/
H A Ddaemon_uart_test.cpp63 MOCK_METHOD0(CloseUartDevice, int(void));
189 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(0); in HWTEST_F()
201 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(0); in HWTEST_F()
212 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1); in HWTEST_F()
253 // case 1 CloseUartDevice failed in HWTEST_F()
256 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1).WillOnce(Return(-1)); in HWTEST_F()
266 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1); in HWTEST_F()
276 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1); in HWTEST_F()
286 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1); in HWTEST_F()
295 * @tc.name: CloseUartDevice
[all...]
/developtools/hdc/src/daemon/
H A Ddaemon_uart.h48 virtual int CloseUartDevice();
H A Ddaemon_uart.cpp97 if (CloseUartDevice() != RET_SUCCESS) { in WatcherTimerCallBack()
125 int HdcDaemonUART::CloseUartDevice() in CloseUartDevice() function in Hdc::HdcDaemonUART
129 WRITE_LOG(LOG_FATAL, "CloseUartDevice failed ret: %d", ret); in CloseUartDevice()
354 CloseUartDevice(); in Stop()

Completed in 2 milliseconds