Lines Matching refs:Times
100 EXPECT_CALL(mockDaemonUART, DeamonReadThread).Times(AnyNumber()); in PrepareDeamonReadThreadData()
159 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(1);
169 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(1);
171 EXPECT_CALL(mockInterface, TryCloseHandle).Times(1);
189 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(0);
190 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(0);
191 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
192 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(0);
193 EXPECT_CALL(mockDaemonUART, LoopUARTWrite).Times(0);
201 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(0);
202 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(1);
203 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
204 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(1);
205 EXPECT_CALL(mockDaemonUART, LoopUARTWrite).Times(1);
212 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1);
213 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(1);
214 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
215 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(1);
216 EXPECT_CALL(mockDaemonUART, LoopUARTWrite).Times(1);
229 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(0);
232 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(0);
236 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(1);
251 EXPECT_CALL(mockDaemonUART, WatcherTimerCallBack).Times(AnyNumber());
256 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1).WillOnce(Return(-1));
257 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(0);
258 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
259 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(0);
266 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1);
267 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(1).WillOnce(Return(-1));
268 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
269 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(0);
276 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1);
277 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(1);
278 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1).WillOnce(Return(-1));
279 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(0);
286 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1);
287 EXPECT_CALL(mockDaemonUART, OpenUartDevice).Times(1);
288 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
289 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(1).WillOnce(Return(-1));
323 EXPECT_CALL(mockDaemonUART, LoopUARTRead).Times(AnyNumber());
324 EXPECT_CALL(mockDaemonUART, DeamonReadThread).Times(1);
340 EXPECT_CALL(mockDaemonUART, LoopUARTWrite).Times(AnyNumber());
341 EXPECT_CALL(mockDaemonUART, DeamonWriteThread).Times(1);
357 EXPECT_CALL(mockDaemonUART, IsSendReady).Times(AtLeast(1));
396 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(AtLeast(1));
413 EXPECT_CALL(mockDaemonUART, PrepareNewSession).Times(AnyNumber());
418 EXPECT_CALL(mockDaemon, MallocSession).Times(1).WillOnce(Return(&mySession));
419 EXPECT_CALL(mockInterface, StartWorkThread).Times(1);
420 EXPECT_CALL(mockInterface, TimerUvTask).Times(1);
424 EXPECT_CALL(mockDaemon, MallocSession).Times(1).WillOnce(Return(&mySession));
425 EXPECT_CALL(mockDaemon, PushAsyncMessage).Times(1);
426 EXPECT_CALL(mockInterface, StartWorkThread).Times(1);
427 EXPECT_CALL(mockInterface, TimerUvTask).Times(1);
431 EXPECT_CALL(mockDaemon, MallocSession).Times(1).WillOnce(Return(nullptr));
448 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(1).WillOnce(Return(sizeof(UartHead)));
474 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(1).WillOnce(Return(sizeof(UartHead)));
499 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(1).WillOnce(Return(sizeof(UartHead)));
527 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(1).WillOnce(Return(sizeof(UartHead)));
551 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(4);
578 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(AnyNumber());
608 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(1).WillOnce(Return(sizeof(UartHead)));
634 EXPECT_CALL(mockDaemonUART, PackageProcess).Times(0);
660 .Times(1)
662 EXPECT_CALL(mockDaemon, FreeSession).Times(1);
668 .Times(1)
684 EXPECT_CALL(mockDaemon, FreeSession).Times(1);
700 .Times(1)
732 .Times(1);
733 EXPECT_CALL(mockDaemonUART, CloseUartDevice).Times(1);