Home
last modified time | relevance | path

Searched refs:dispatcher2 (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/mojo/core/
Dshared_buffer_dispatcher_unittest.cc193 scoped_refptr<Dispatcher> dispatcher2; in TEST_F() local
195 dispatcher1->DuplicateBufferHandle(nullptr, &dispatcher2)); in TEST_F()
196 ASSERT_TRUE(dispatcher2); in TEST_F()
197 EXPECT_EQ(Dispatcher::Type::SHARED_BUFFER, dispatcher2->GetType()); in TEST_F()
202 EXPECT_EQ(MOJO_RESULT_OK, dispatcher2->MapBuffer(0, 100, &mapping)); in TEST_F()
205 EXPECT_EQ(MOJO_RESULT_OK, dispatcher2->Close()); in TEST_F()
214 scoped_refptr<SharedBufferDispatcher> dispatcher2; in TEST_F() local
217 nullptr, 100, &dispatcher2)); in TEST_F()
246 dispatcher2->DuplicateBufferHandle(&kReadOnlyOptions, in TEST_F()
258 dispatcher2->DuplicateBufferHandle(nullptr, &writable_duped_dispatcher2)); in TEST_F()
[all …]