Home | History | Annotate | Download | only in streams

Lines Matching refs:AccessMode

26 using AccessMode = Stream::AccessMode;
64 MOCK_METHOD3(WaitForData, bool(AccessMode,
65 const base::Callback<void(AccessMode)>&,
68 bool(AccessMode, base::TimeDelta, AccessMode*, ErrorPtr*));
112 base::Callback<void(AccessMode)> data_callback;
120 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
156 data_callback.Run(AccessMode::READ);
220 base::Callback<void(AccessMode)> data_callback;
228 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
249 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
251 data_callback.Run(AccessMode::READ);
260 data_callback.Run(AccessMode::READ);
276 base::Callback<void(AccessMode)> data_callback;
282 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
297 data_callback.Run(AccessMode::READ);
327 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _))
333 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _))
349 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::READ, _, _, _))
391 base::Callback<void(AccessMode)> data_callback;
398 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _))
423 data_callback.Run(AccessMode::WRITE);
437 base::Callback<void(AccessMode)> data_callback;
442 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _))
458 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _))
460 data_callback.Run(AccessMode::WRITE);
467 data_callback.Run(AccessMode::WRITE);
486 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _))
490 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _))
502 EXPECT_CALL(stream_mock, WaitForDataBlocking(AccessMode::WRITE, _, _, _))