Searched refs:dispatcher_ (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libvrflinger/ |
D | vr_flinger.cpp | 52 if (dispatcher_) in ~VrFlinger() 53 dispatcher_->SetCanceled(true); in ~VrFlinger() 75 dispatcher_ = android::pdx::ServiceDispatcher::Create(); in Init() 76 CHECK_ERROR(!dispatcher_, error, "Failed to create service dispatcher."); in Init() 81 dispatcher_->AddService(display_service_); in Init() 85 dispatcher_->AddService(service); in Init() 94 int ret = dispatcher_->EnterDispatchLoop(); in Init()
|
D | display_service.h | 97 return dispatcher_.AddEventHandler(fd, events, handler); in AddEventHandler() 100 return dispatcher_.RemoveEventHandler(fd); in RemoveEventHandler() 113 EpollEventDispatcher dispatcher_; variable
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_framework_tests.cpp | 424 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 …]
|
D | client_channel_tests.cpp | 85 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 __anon865c75930111::TestServiceRunner
|
D | remote_method_tests.cpp | 559 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 …]
|
/frameworks/native/libs/vr/libvrflinger/include/dvr/ |
D | vr_flinger.h | 61 std::unique_ptr<android::pdx::ServiceDispatcher> dispatcher_; variable
|