Searched refs:IPCManager (Results 1 – 14 of 14) sorted by relevance
/system/bt/service/ipc/ |
D | ipc_manager.cc | 28 IPCManager::IPCManager(bluetooth::Adapter* adapter) : adapter_(adapter) { in IPCManager() function in ipc::IPCManager 32 IPCManager::~IPCManager() { in ~IPCManager() 40 bool IPCManager::Start(Type type, Delegate* delegate) { in Start() 90 bool IPCManager::BinderStarted() const { return binder_handler_.get(); } in BinderStarted() 92 bool IPCManager::LinuxStarted() const { return linux_handler_.get(); } in LinuxStarted() 94 bool IPCManager::DBusStarted() const { return dbus_handler_.get(); } in DBusStarted()
|
D | ipc_manager.h | 36 class IPCManager { 64 explicit IPCManager(bluetooth::Adapter* adapter); 65 ~IPCManager(); 88 IPCManager() = default; 100 DISALLOW_COPY_AND_ASSIGN(IPCManager);
|
D | ipc_handler.h | 34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate); 48 IPCManager::Delegate* delegate() const { return delegate_; } in delegate() 57 IPCManager::Delegate* delegate_;
|
D | ipc_handler_linux.cc | 32 IPCManager::Delegate* delegate) in IPCHandlerLinux() 192 if (delegate()) delegate()->OnIPCHandlerStarted(IPCManager::TYPE_LINUX); in NotifyStartedOnCurrentThread() 204 if (delegate()) delegate()->OnIPCHandlerStopped(IPCManager::TYPE_LINUX); in NotifyStoppedOnCurrentThread()
|
D | ipc_handler.cc | 24 IPCManager::Delegate* delegate) in IPCHandler()
|
D | ipc_handler_linux.h | 37 IPCHandlerLinux(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
/system/bt/service/ |
D | daemon.cc | 40 class DaemonImpl : public Daemon, public ipc::IPCManager::Delegate { 60 void OnIPCHandlerStarted(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStarted() 65 void OnIPCHandlerStopped(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStopped() 107 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, this)) { in SetUpIPC() 115 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_BINDER, this)) { in SetUpIPC() 120 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_DBUS, this)) { in SetUpIPC() 145 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init() 162 std::unique_ptr<ipc::IPCManager> ipc_manager_;
|
D | daemon.h | 23 class IPCManager; variable
|
/system/bt/service/test/ |
D | ipc_linux_unittest.cc | 66 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp() 108 std::unique_ptr<ipc::IPCManager> ipc_manager_; 129 class TestDelegate : public ipc::IPCManager::Delegate, 134 void OnIPCHandlerStarted(ipc::IPCManager::Type type) override { in OnIPCHandlerStarted() 135 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStarted() 140 void OnIPCHandlerStopped(ipc::IPCManager::Type type) override { in OnIPCHandlerStopped() 141 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStopped() 158 EXPECT_FALSE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F() 166 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F() 187 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
|
D | stub_ipc_handler_binder.cc | 26 IPCManager::Delegate* delegate) in IPCHandlerBinder()
|
/system/bt/service/ipc/binder/ |
D | ipc_handler_binder.cc | 39 IPCManager::Delegate* delegate) in IPCHandlerBinder() 76 if (delegate()) delegate()->OnIPCHandlerStarted(IPCManager::TYPE_BINDER); in NotifyStarted()
|
D | ipc_handler_binder.h | 29 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
/system/bt/service/ipc/dbus/ |
D | ipc_handler_dbus.h | 31 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
D | ipc_handler_dbus.cc | 30 IPCManager::Delegate* delegate) in IPCHandlerDBus()
|