Lines Matching refs:ObjectManager
25 ObjectManager::Object::Object()
29 ObjectManager::Object::~Object() {
32 ObjectManager::ObjectManager(Bus* bus,
41 DVLOG(1) << "Creating ObjectManager for " << service_name_
47 base::Bind(&ObjectManager::NameOwnerChanged,
57 base::Bind(&ObjectManager::SetupMatchRuleAndFilter, this),
58 base::Bind(&ObjectManager::OnSetupMatchRuleAndFilterComplete, this));
61 ObjectManager::~ObjectManager() {
77 void ObjectManager::RegisterInterface(const std::string& interface_name,
82 void ObjectManager::UnregisterInterface(const std::string& interface_name) {
88 std::vector<ObjectPath> ObjectManager::GetObjects() {
98 std::vector<ObjectPath> ObjectManager::GetObjectsWithInterface(
115 ObjectProxy* ObjectManager::GetObjectProxy(const ObjectPath& object_path) {
124 PropertySet* ObjectManager::GetProperties(const ObjectPath& object_path,
139 void ObjectManager::GetManagedObjects() {
146 base::Bind(&ObjectManager::OnGetManagedObjects,
150 void ObjectManager::CleanUp() {
160 bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this);
170 void ObjectManager::InitializeObjects() {
183 base::Bind(&ObjectManager::InterfacesAddedReceived,
185 base::Bind(&ObjectManager::InterfacesAddedConnected,
191 base::Bind(&ObjectManager::InterfacesRemovedReceived,
193 base::Bind(&ObjectManager::InterfacesRemovedConnected,
199 bool ObjectManager::SetupMatchRuleAndFilter() {
220 bus_->AddFilterFunction(&ObjectManager::HandleMessageThunk, this);
225 LOG(ERROR) << "ObjectManager failed to add match rule \"" << match_rule
227 bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this);
237 void ObjectManager::OnSetupMatchRuleAndFilterComplete(bool success) {
245 DBusHandlerResult ObjectManager::HandleMessageThunk(DBusConnection* connection,
248 ObjectManager* self = reinterpret_cast<ObjectManager*>(user_data);
252 DBusHandlerResult ObjectManager::HandleMessage(DBusConnection* /* connection */,
286 // Handle the signal only if it is from the service that the ObjectManager
304 base::Bind(&ObjectManager::NotifyPropertiesChanged,
319 void ObjectManager::NotifyPropertiesChanged(
333 void ObjectManager::NotifyPropertiesChangedHelper(
352 void ObjectManager::OnGetManagedObjects(Response* response) {
375 void ObjectManager::InterfacesAddedReceived(Signal* signal) {
389 void ObjectManager::InterfacesAddedConnected(
397 void ObjectManager::InterfacesRemovedReceived(Signal* signal) {
414 void ObjectManager::InterfacesRemovedConnected(
423 void ObjectManager::UpdateObject(const ObjectPath& object_path,
442 void ObjectManager::AddInterface(const ObjectPath& object_path,
475 void ObjectManager::RemoveInterface(const ObjectPath& object_path,
504 void ObjectManager::NameOwnerChanged(const std::string& old_owner,