Lines Matching full:accessmode
31 void CreateStream(Stream::AccessMode mode) { in CreateStream()
70 CreateStream(Stream::AccessMode::READ); in TEST_F()
82 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
94 CreateStream(Stream::AccessMode::READ_WRITE); in TEST_F()
106 CreateStream(Stream::AccessMode::READ); in TEST_F()
115 CreateStream(Stream::AccessMode::READ); in TEST_F()
129 CreateStream(Stream::AccessMode::READ); in TEST_F()
147 CreateStream(Stream::AccessMode::READ); in TEST_F()
180 CreateStream(Stream::AccessMode::READ); in TEST_F()
205 CreateStream(Stream::AccessMode::READ); in TEST_F()
235 CreateStream(Stream::AccessMode::READ); in TEST_F()
240 auto callback = base::Bind([](int* call_count, Stream::AccessMode mode) { in TEST_F()
242 EXPECT_EQ(Stream::AccessMode::READ, mode); in TEST_F()
245 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
251 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
261 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
268 CreateStream(Stream::AccessMode::READ); in TEST_F()
305 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
310 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
320 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
336 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
355 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
372 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
394 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
399 auto callback = base::Bind([](int* call_count, Stream::AccessMode mode) { in TEST_F()
401 EXPECT_EQ(Stream::AccessMode::WRITE, mode); in TEST_F()
404 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
410 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
420 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
427 CreateStream(Stream::AccessMode::WRITE); in TEST_F()
462 CreateStream(Stream::AccessMode::READ_WRITE); in TEST_F()
468 Stream::AccessMode mode, in TEST_F()
469 Stream::AccessMode expected_mode) { in TEST_F()
478 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
481 Stream::AccessMode::READ), in TEST_F()
490 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
493 Stream::AccessMode::WRITE), in TEST_F()
501 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
504 Stream::AccessMode::READ_WRITE), in TEST_F()
515 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
518 Stream::AccessMode::READ_WRITE), in TEST_F()