Lines Matching refs:AccessMode
35 using AccessMode = Stream::AccessMode; typedef
73 MOCK_METHOD3(WaitForData, bool(AccessMode,
74 const base::Callback<void(AccessMode)>&,
77 bool(AccessMode, base::TimeDelta, AccessMode*, ErrorPtr*));
120 base::Callback<void(AccessMode)> data_callback; in TEST()
128 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
152 data_callback.Run(AccessMode::READ); in TEST()
205 base::Callback<void(AccessMode)> data_callback; in TEST()
213 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
230 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
232 data_callback.Run(AccessMode::READ); in TEST()
241 data_callback.Run(AccessMode::READ); in TEST()
258 base::Callback<void(AccessMode)> data_callback; in TEST()
264 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
275 data_callback.Run(AccessMode::READ); in TEST()
305 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _)) in TEST()
311 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _)) in TEST()
327 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _)) in TEST()
367 base::Callback<void(AccessMode)> data_callback; in TEST()
374 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
391 data_callback.Run(AccessMode::WRITE); in TEST()
404 base::Callback<void(AccessMode)> data_callback; in TEST()
409 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
421 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
423 data_callback.Run(AccessMode::WRITE); in TEST()
430 data_callback.Run(AccessMode::WRITE); in TEST()
449 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _)) in TEST()
453 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _)) in TEST()
465 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _)) in TEST()