Home | History | Annotate | Download | only in dbus

Lines Matching defs:ObjectManager

23 ObjectManager::Object::Object()
27 ObjectManager::Object::~Object() {
30 ObjectManager::ObjectManager(Bus* bus,
39 DVLOG(1) << "Creating ObjectManager for " << service_name_
45 base::Bind(&ObjectManager::NameOwnerChanged,
55 base::Bind(&ObjectManager::SetupMatchRuleAndFilter, this),
56 base::Bind(&ObjectManager::OnSetupMatchRuleAndFilterComplete, this));
59 ObjectManager::~ObjectManager() {
75 void ObjectManager::RegisterInterface(const std::string& interface_name,
80 void ObjectManager::UnregisterInterface(const std::string& interface_name) {
86 std::vector<ObjectPath> ObjectManager::GetObjects() {
96 std::vector<ObjectPath> ObjectManager::GetObjectsWithInterface(
113 ObjectProxy* ObjectManager::GetObjectProxy(const ObjectPath& object_path) {
122 PropertySet* ObjectManager::GetProperties(const ObjectPath& object_path,
137 void ObjectManager::GetManagedObjects() {
144 base::Bind(&ObjectManager::OnGetManagedObjects,
148 void ObjectManager::CleanUp() {
158 if (!bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this))
169 void ObjectManager::InitializeObjects() {
182 base::Bind(&ObjectManager::InterfacesAddedReceived,
184 base::Bind(&ObjectManager::InterfacesAddedConnected,
190 base::Bind(&ObjectManager::InterfacesRemovedReceived,
192 base::Bind(&ObjectManager::InterfacesRemovedConnected,
198 bool ObjectManager::SetupMatchRuleAndFilter() {
219 if (!bus_->AddFilterFunction(&ObjectManager::HandleMessageThunk, this)) {
220 LOG(ERROR) << "ObjectManager failed to add filter function";
227 LOG(ERROR) << "ObjectManager failed to add match rule \"" << match_rule
229 bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this);
239 void ObjectManager::OnSetupMatchRuleAndFilterComplete(bool success) {
247 DBusHandlerResult ObjectManager::HandleMessageThunk(DBusConnection* connection,
250 ObjectManager* self = reinterpret_cast<ObjectManager*>(user_data);
254 DBusHandlerResult ObjectManager::HandleMessage(DBusConnection* connection,
299 base::Bind(&ObjectManager::NotifyPropertiesChanged,
314 void ObjectManager::NotifyPropertiesChanged(
328 void ObjectManager::NotifyPropertiesChangedHelper(
347 void ObjectManager::OnGetManagedObjects(Response* response) {
370 void ObjectManager::InterfacesAddedReceived(Signal* signal) {
384 void ObjectManager::InterfacesAddedConnected(const std::string& interface_name,
391 void ObjectManager::InterfacesRemovedReceived(Signal* signal) {
408 void ObjectManager::InterfacesRemovedConnected(
417 void ObjectManager::UpdateObject(const ObjectPath& object_path,
436 void ObjectManager::AddInterface(const ObjectPath& object_path,
469 void ObjectManager::RemoveInterface(const ObjectPath& object_path,
497 void ObjectManager::NameOwnerChanged(const std::string& old_owner,