Lines Matching refs:PrepareBufForRead
67 MOCK_METHOD0(PrepareBufForRead, int(void));
191 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
203 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
214 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
258 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
268 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(0);
278 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1).WillOnce(Return(-1));
288 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(1);
391 HWTEST_F(HdcDaemonUARTTest, PrepareBufForRead, TestSize.Level1)
393 ON_CALL(mockDaemonUART, PrepareBufForRead).WillByDefault([&]() { in __anond4864eb80702()
394 return mockDaemonUART.HdcDaemonUART::PrepareBufForRead(); in __anond4864eb80702()
396 EXPECT_CALL(mockDaemonUART, PrepareBufForRead).Times(AtLeast(1));
398 mockDaemonUART.PrepareBufForRead();
399 EXPECT_EQ(mockDaemonUART.PrepareBufForRead(), RET_SUCCESS);