Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp424 std::unique_ptr<ServiceDispatcher> dispatcher_; member in ServiceFrameworkTest
429 dispatcher_ = android::pdx::ServiceDispatcher::Create(); in SetUp()
430 ASSERT_NE(nullptr, dispatcher_); in SetUp()
434 std::bind(&ServiceDispatcher::EnterDispatchLoop, dispatcher_.get())); in SetUp()
438 if (dispatcher_) { in TearDown()
442 dispatcher_->SetCanceled(true); in TearDown()
453 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
476 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
515 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
546 ASSERT_EQ(0, dispatcher_->AddService(other_service)); in TEST_F()
[all …]
Dclient_channel_tests.cpp85 dispatcher_ = ServiceDispatcher::Create(); in TestServiceRunner()
86 dispatcher_->AddService(service_); in TestServiceRunner()
88 std::bind(&ServiceDispatcher::EnterDispatchLoop, dispatcher_.get())); in TestServiceRunner()
92 dispatcher_->SetCanceled(true); in ~TestServiceRunner()
94 dispatcher_->RemoveService(service_); in ~TestServiceRunner()
99 std::unique_ptr<ServiceDispatcher> dispatcher_; member in __anonff9ab74c0111::TestServiceRunner
Dremote_method_tests.cpp559 std::unique_ptr<ServiceDispatcher> dispatcher_; member in RemoteMethodTest
564 dispatcher_ = android::pdx::ServiceDispatcher::Create(); in SetUp()
565 ASSERT_NE(nullptr, dispatcher_); in SetUp()
569 std::bind(&ServiceDispatcher::EnterDispatchLoop, dispatcher_.get())); in SetUp()
573 if (dispatcher_) { in TearDown()
579 dispatcher_->SetCanceled(true); in TearDown()
591 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
644 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
688 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
713 ASSERT_EQ(0, dispatcher_->AddService(service)); in TEST_F()
[all …]