Lines Matching refs:Bus
121 void StartMonitoring(Bus* bus) { in StartMonitoring()
149 Bus::Options::Options() in Options()
154 Bus::Options::~Options() = default;
156 Bus::Bus(const Options& options) in Bus() function in dbus::Bus
177 Bus::~Bus() { in ~Bus()
190 ObjectProxy* Bus::GetObjectProxy(const std::string& service_name, in GetObjectProxy()
196 ObjectProxy* Bus::GetObjectProxyWithOptions(const std::string& service_name, in GetObjectProxyWithOptions()
216 bool Bus::RemoveObjectProxy(const std::string& service_name, in RemoveObjectProxy()
224 bool Bus::RemoveObjectProxyWithOptions(const std::string& service_name, in RemoveObjectProxyWithOptions()
240 base::Bind(&Bus::RemoveObjectProxyInternal, in RemoveObjectProxyWithOptions()
247 void Bus::RemoveObjectProxyInternal(scoped_refptr<ObjectProxy> object_proxy, in RemoveObjectProxyInternal()
256 ExportedObject* Bus::GetExportedObject(const ObjectPath& object_path) { in GetExportedObject()
272 void Bus::UnregisterExportedObject(const ObjectPath& object_path) { in UnregisterExportedObject()
291 base::Bind(&Bus::UnregisterExportedObjectInternal, in UnregisterExportedObject()
295 void Bus::UnregisterExportedObjectInternal( in UnregisterExportedObjectInternal()
302 ObjectManager* Bus::GetObjectManager(const std::string& service_name, in GetObjectManager()
320 bool Bus::RemoveObjectManager(const std::string& service_name, in RemoveObjectManager()
337 base::Bind(&Bus::RemoveObjectManagerInternal, in RemoveObjectManager()
343 void Bus::RemoveObjectManagerInternal( in RemoveObjectManagerInternal()
355 base::Bind(&Bus::RemoveObjectManagerInternalHelper, in RemoveObjectManagerInternal()
359 void Bus::RemoveObjectManagerInternalHelper( in RemoveObjectManagerInternalHelper()
370 bool Bus::Connect() { in Connect()
415 AddFilterFunction(Bus::OnConnectionDisconnectedFilter, this); in Connect()
421 void Bus::ClosePrivateConnection() { in ClosePrivateConnection()
429 void Bus::ShutdownAndBlock() { in ShutdownAndBlock()
476 RemoveFilterFunction(Bus::OnConnectionDisconnectedFilter, this); in ShutdownAndBlock()
489 void Bus::ShutdownOnDBusThreadAndBlock() { in ShutdownOnDBusThreadAndBlock()
495 base::Bind(&Bus::ShutdownOnDBusThreadAndBlockInternal, this)); in ShutdownOnDBusThreadAndBlock()
508 void Bus::RequestOwnership(const std::string& service_name, in RequestOwnership()
515 base::Bind(&Bus::RequestOwnershipInternal, in RequestOwnership()
519 void Bus::RequestOwnershipInternal(const std::string& service_name, in RequestOwnershipInternal()
534 bool Bus::RequestOwnershipAndBlock(const std::string& service_name, in RequestOwnershipAndBlock()
559 bool Bus::ReleaseOwnership(const std::string& service_name) { in ReleaseOwnership()
586 bool Bus::SetUpAsyncOperations() { in SetUpAsyncOperations()
598 connection_, &Bus::OnAddWatchThunk, &Bus::OnRemoveWatchThunk, in SetUpAsyncOperations()
599 &Bus::OnToggleWatchThunk, this, nullptr); in SetUpAsyncOperations()
603 connection_, &Bus::OnAddTimeoutThunk, &Bus::OnRemoveTimeoutThunk, in SetUpAsyncOperations()
604 &Bus::OnToggleTimeoutThunk, this, nullptr); in SetUpAsyncOperations()
608 connection_, &Bus::OnDispatchStatusChangedThunk, this, nullptr); in SetUpAsyncOperations()
615 DBusMessage* Bus::SendWithReplyAndBlock(DBusMessage* request, in SendWithReplyAndBlock()
625 void Bus::SendWithReply(DBusMessage* request, in SendWithReply()
636 void Bus::Send(DBusMessage* request, uint32_t* serial) { in Send()
644 void Bus::AddFilterFunction(DBusHandleMessageFunction filter_function, in AddFilterFunction()
664 void Bus::RemoveFilterFunction(DBusHandleMessageFunction filter_function, in RemoveFilterFunction()
683 void Bus::AddMatch(const std::string& match_rule, DBusError* error) { in AddMatch()
701 bool Bus::RemoveMatch(const std::string& match_rule, DBusError* error) { in RemoveMatch()
721 bool Bus::TryRegisterObjectPath(const ObjectPath& object_path, in TryRegisterObjectPath()
745 void Bus::UnregisterObjectPath(const ObjectPath& object_path) { in UnregisterObjectPath()
763 void Bus::ShutdownOnDBusThreadAndBlockInternal() { in ShutdownOnDBusThreadAndBlockInternal()
770 void Bus::ProcessAllIncomingDataIfAny() { in ProcessAllIncomingDataIfAny()
787 base::TaskRunner* Bus::GetDBusTaskRunner() { in GetDBusTaskRunner()
794 base::TaskRunner* Bus::GetOriginTaskRunner() { in GetOriginTaskRunner()
799 bool Bus::HasDBusThread() { in HasDBusThread()
803 void Bus::AssertOnOriginThread() { in AssertOnOriginThread()
807 void Bus::AssertOnDBusThread() { in AssertOnDBusThread()
817 std::string Bus::GetServiceOwnerAndBlock(const std::string& service_name, in GetServiceOwnerAndBlock()
857 void Bus::GetServiceOwner(const std::string& service_name, in GetServiceOwner()
863 base::Bind(&Bus::GetServiceOwnerInternal, this, service_name, callback)); in GetServiceOwner()
866 void Bus::GetServiceOwnerInternal(const std::string& service_name, in GetServiceOwnerInternal()
877 void Bus::ListenForServiceOwnerChange( in ListenForServiceOwnerChange()
886 base::Bind(&Bus::ListenForServiceOwnerChangeInternal, in ListenForServiceOwnerChange()
890 void Bus::ListenForServiceOwnerChangeInternal( in ListenForServiceOwnerChangeInternal()
901 AddFilterFunction(Bus::OnServiceOwnerChangedFilter, this); in ListenForServiceOwnerChangeInternal()
931 void Bus::UnlistenForServiceOwnerChange( in UnlistenForServiceOwnerChange()
940 base::Bind(&Bus::UnlistenForServiceOwnerChangeInternal, in UnlistenForServiceOwnerChange()
944 void Bus::UnlistenForServiceOwnerChangeInternal( in UnlistenForServiceOwnerChangeInternal()
976 RemoveFilterFunction(Bus::OnServiceOwnerChangedFilter, this); in UnlistenForServiceOwnerChangeInternal()
979 std::string Bus::GetConnectionName() { in GetConnectionName()
985 dbus_bool_t Bus::OnAddWatch(DBusWatch* raw_watch) { in OnAddWatch()
997 void Bus::OnRemoveWatch(DBusWatch* raw_watch) { in OnRemoveWatch()
1005 void Bus::OnToggleWatch(DBusWatch* raw_watch) { in OnToggleWatch()
1015 dbus_bool_t Bus::OnAddTimeout(DBusTimeout* raw_timeout) { in OnAddTimeout()
1027 void Bus::OnRemoveTimeout(DBusTimeout* raw_timeout) { in OnRemoveTimeout()
1035 void Bus::OnToggleTimeout(DBusTimeout* raw_timeout) { in OnToggleTimeout()
1046 void Bus::OnDispatchStatusChanged(DBusConnection* connection, in OnDispatchStatusChanged()
1056 base::Bind(&Bus::ProcessAllIncomingDataIfAny, in OnDispatchStatusChanged()
1060 void Bus::OnServiceOwnerChanged(DBusMessage* message) { in OnServiceOwnerChanged()
1099 dbus_bool_t Bus::OnAddWatchThunk(DBusWatch* raw_watch, void* data) { in OnAddWatchThunk()
1100 Bus* self = static_cast<Bus*>(data); in OnAddWatchThunk()
1105 void Bus::OnRemoveWatchThunk(DBusWatch* raw_watch, void* data) { in OnRemoveWatchThunk()
1106 Bus* self = static_cast<Bus*>(data); in OnRemoveWatchThunk()
1111 void Bus::OnToggleWatchThunk(DBusWatch* raw_watch, void* data) { in OnToggleWatchThunk()
1112 Bus* self = static_cast<Bus*>(data); in OnToggleWatchThunk()
1117 dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) { in OnAddTimeoutThunk()
1118 Bus* self = static_cast<Bus*>(data); in OnAddTimeoutThunk()
1123 void Bus::OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data) { in OnRemoveTimeoutThunk()
1124 Bus* self = static_cast<Bus*>(data); in OnRemoveTimeoutThunk()
1129 void Bus::OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data) { in OnToggleTimeoutThunk()
1130 Bus* self = static_cast<Bus*>(data); in OnToggleTimeoutThunk()
1135 void Bus::OnDispatchStatusChangedThunk(DBusConnection* connection, in OnDispatchStatusChangedThunk()
1138 Bus* self = static_cast<Bus*>(data); in OnDispatchStatusChangedThunk()
1143 DBusHandlerResult Bus::OnConnectionDisconnectedFilter( in OnConnectionDisconnectedFilter()
1157 DBusHandlerResult Bus::OnServiceOwnerChangedFilter( in OnServiceOwnerChangedFilter()
1164 Bus* self = static_cast<Bus*>(data); in OnServiceOwnerChangedFilter()