Home
last modified time | relevance | path

Searched refs:ObjectPath (Results 1 – 25 of 58) sorted by relevance

123

/external/libchrome/dbus/
Dobject_manager.h158 const dbus::ObjectPath& object_path,
170 virtual void ObjectAdded(const ObjectPath& object_path, in ObjectAdded()
182 virtual void ObjectRemoved(const ObjectPath& object_path, in ObjectRemoved()
189 const ObjectPath& object_path);
205 virtual std::vector<ObjectPath> GetObjects();
209 virtual std::vector<ObjectPath> GetObjectsWithInterface(
215 virtual ObjectProxy* GetObjectProxy(const ObjectPath& object_path);
222 virtual PropertySet* GetProperties(const ObjectPath& object_path,
264 void NotifyPropertiesChanged(const dbus::ObjectPath object_path,
266 void NotifyPropertiesChangedHelper(const dbus::ObjectPath object_path,
[all …]
Dobject_path.cc13 bool ObjectPath::IsValid() const { in IsValid()
17 bool ObjectPath::operator<(const ObjectPath& that) const { in operator <()
21 bool ObjectPath::operator==(const ObjectPath& that) const { in operator ==()
25 bool ObjectPath::operator!=(const ObjectPath& that) const { in operator !=()
29 void PrintTo(const ObjectPath& path, std::ostream* out) { in PrintTo()
Dobject_path.h19 class CHROME_DBUS_EXPORT ObjectPath {
28 ObjectPath() {} in ObjectPath() function
29 explicit ObjectPath(const std::string& value) : value_(value) {} in ObjectPath() function
39 bool operator<(const ObjectPath&) const;
43 bool operator==(const ObjectPath&) const;
44 bool operator!=(const ObjectPath&) const;
51 CHROME_DBUS_EXPORT void PrintTo(const ObjectPath& path, std::ostream* out);
Dmock_object_manager.h23 const ObjectPath& object_path);
28 MOCK_METHOD0(GetObjects, std::vector<ObjectPath>());
30 std::vector<ObjectPath>(const std::string&));
31 MOCK_METHOD1(GetObjectProxy, ObjectProxy*(const ObjectPath&));
32 MOCK_METHOD2(GetProperties, PropertySet*(const ObjectPath&,
Dbus.h258 const ObjectPath& object_path);
264 const ObjectPath& object_path,
292 const ObjectPath& object_path,
299 const ObjectPath& object_path,
317 virtual ExportedObject* GetExportedObject(const ObjectPath& object_path);
326 virtual void UnregisterExportedObject(const ObjectPath& object_path);
340 const ObjectPath& object_path);
356 const ObjectPath& object_path,
518 virtual bool TryRegisterObjectPath(const ObjectPath& object_path,
526 virtual void UnregisterObjectPath(const ObjectPath& object_path);
[all …]
Dmock_bus.h24 const ObjectPath& object_path));
27 const ObjectPath& object_path,
30 const ObjectPath& object_path));
32 const ObjectPath&));
61 MOCK_METHOD4(TryRegisterObjectPath, bool(const ObjectPath& object_path,
65 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path));
Dobject_manager.cc33 const ObjectPath& object_path) in ObjectManager()
88 std::vector<ObjectPath> ObjectManager::GetObjects() { in GetObjects()
89 std::vector<ObjectPath> object_paths; in GetObjects()
98 std::vector<ObjectPath> ObjectManager::GetObjectsWithInterface( in GetObjectsWithInterface()
100 std::vector<ObjectPath> object_paths; in GetObjectsWithInterface()
115 ObjectProxy* ObjectManager::GetObjectProxy(const ObjectPath& object_path) { in GetObjectProxy()
124 PropertySet* ObjectManager::GetProperties(const ObjectPath& object_path, in GetProperties()
295 const ObjectPath path = signal->GetPath(); in HandleMessage()
319 const dbus::ObjectPath object_path, in NotifyPropertiesChanged()
333 const dbus::ObjectPath object_path, in NotifyPropertiesChangedHelper()
[all …]
Dmessage.h99 bool SetPath(const ObjectPath& path);
111 ObjectPath GetPath();
282 void AppendObjectPath(const ObjectPath& value);
332 void AppendArrayOfObjectPaths(const std::vector<ObjectPath>& object_paths);
356 void AppendVariantOfObjectPath(const ObjectPath& value);
404 bool PopObjectPath(ObjectPath* value);
452 bool PopArrayOfObjectPaths(std::vector<ObjectPath>* object_paths);
479 bool PopVariantOfObjectPath(ObjectPath* value);
Dmessage.cc174 ObjectPath value; in ToStringInternal()
269 bool Message::SetPath(const ObjectPath& path) { in SetPath()
302 ObjectPath Message::GetPath() { in GetPath()
304 return ObjectPath(path ? path : ""); in GetPath()
501 void MessageWriter::AppendObjectPath(const ObjectPath& value) { in AppendObjectPath()
625 const std::vector<ObjectPath>& object_paths) { in AppendArrayOfObjectPaths()
690 void MessageWriter::AppendVariantOfObjectPath(const ObjectPath& value) { in AppendVariantOfObjectPath()
787 bool MessageReader::PopObjectPath(ObjectPath* value) { in PopObjectPath()
791 *value = ObjectPath(tmp_value); in PopObjectPath()
903 std::vector<ObjectPath>* object_paths) { in PopArrayOfObjectPaths()
[all …]
Dproperty.h560 CHROME_DBUS_EXPORT bool Property<ObjectPath>::PopValueFromReader(
563 CHROME_DBUS_EXPORT void Property<ObjectPath>::AppendSetValueToWriter(
565 extern template class CHROME_DBUS_EXPORT Property<ObjectPath>;
576 CHROME_DBUS_EXPORT bool Property<std::vector<ObjectPath>>::PopValueFromReader(
580 std::vector<ObjectPath>>::AppendSetValueToWriter(MessageWriter* writer);
581 extern template class CHROME_DBUS_EXPORT Property<std::vector<ObjectPath>>;
Dbus.cc191 const ObjectPath& object_path) { in GetObjectProxy()
197 const ObjectPath& object_path, in GetObjectProxyWithOptions()
217 const ObjectPath& object_path, in RemoveObjectProxy()
225 const ObjectPath& object_path, in RemoveObjectProxyWithOptions()
256 ExportedObject* Bus::GetExportedObject(const ObjectPath& object_path) { in GetExportedObject()
272 void Bus::UnregisterExportedObject(const ObjectPath& object_path) { in UnregisterExportedObject()
303 const ObjectPath& object_path) { in GetObjectManager()
321 const ObjectPath& object_path, in RemoveObjectManager()
721 bool Bus::TryRegisterObjectPath(const ObjectPath& object_path, in TryRegisterObjectPath()
745 void Bus::UnregisterObjectPath(const ObjectPath& object_path) { in UnregisterObjectPath()
[all …]
Dobject_proxy.h51 const ObjectPath& object_path,
213 const ObjectPath& object_path() const { return object_path_; } in object_path()
336 ObjectPath object_path_;
Dexported_object.h40 ExportedObject(Bus* bus, const ObjectPath& object_path);
172 ObjectPath object_path_;
/external/libbrillo/brillo/dbus/
Dexported_object_manager.h83 std::map<dbus::ObjectPath, std::map<std::string, VariantDictionary>>;
88 const dbus::ObjectPath& path);
101 const dbus::ObjectPath& path,
106 virtual void ReleaseInterface(const dbus::ObjectPath& path,
124 std::map<dbus::ObjectPath, InterfaceProperties> registered_objects_;
127 DBusSignal<dbus::ObjectPath, std::map<std::string, VariantDictionary>>;
129 DBusSignal<dbus::ObjectPath, std::vector<std::string>>;
Ddbus_param_writer_unittest.cc14 using dbus::ObjectPath;
34 DBusParamWriter::Append(&writer, ObjectPath{"/o"}); in TEST()
39 ObjectPath path_value; in TEST()
48 EXPECT_EQ(ObjectPath{"/o"}, path_value); in TEST()
83 ObjectPath path_value_in{"/obj/path"}; in TEST()
94 ObjectPath path_value; in TEST()
103 EXPECT_EQ(ObjectPath{"/obj/path"}, path_value); in TEST()
142 ObjectPath path_value_in{"/obj"}; in TEST()
153 ObjectPath path_value; in TEST()
162 EXPECT_EQ(ObjectPath{"/obj"}, path_value); in TEST()
Ddata_serialization_unittest.cc18 using dbus::ObjectPath;
35 EXPECT_TRUE(IsTypeSupported<ObjectPath>::value); in TEST()
92 EXPECT_EQ("o", GetDBusSignature<ObjectPath>()); in TEST()
109 EXPECT_EQ("ao", GetDBusSignature<std::vector<ObjectPath>>()); in TEST()
188 AppendValueToWriter(&writer, ObjectPath{"/object/path"}); in TEST()
202 ObjectPath object_path_value; in TEST()
230 EXPECT_EQ(ObjectPath{"/object/path"}, object_path_value); in TEST()
274 AppendValueToWriterAsVariant(&writer, ObjectPath{"/obj/path"}); in TEST()
291 ObjectPath object_path_value; in TEST()
323 EXPECT_EQ(ObjectPath{"/obj/path"}, object_path_value); in TEST()
[all …]
Dexported_object_manager.cc19 const dbus::ObjectPath& path) in ExportedObjectManager()
41 const dbus::ObjectPath& path, in ClaimInterface()
59 const dbus::ObjectPath& path, in ReleaseInterface()
Dmock_exported_object_manager.h30 void(const dbus::ObjectPath& path,
34 void(const dbus::ObjectPath& path,
Dexported_object_manager_unittest.cc28 const dbus::ObjectPath kTestPath(std::string("/test/om_path"));
29 const dbus::ObjectPath kClaimedTestPath(std::string("/test/claimed_path"));
63 dbus::ObjectPath path; in VerifyInterfaceClaimSignal()
85 dbus::ObjectPath path; in VerifyInterfaceDropSignal()
176 dbus::ObjectPath path; in TEST_F()
Ddbus_object.cc58 const dbus::ObjectPath& object_path, in ExportAsync()
94 const dbus::ObjectPath& object_path) { in ExportAndBlock()
120 const dbus::ObjectPath& object_path, in ClaimInterface()
176 const dbus::ObjectPath& object_path) in DBusObject()
185 const dbus::ObjectPath& object_path, in DBusObject()
Ddbus_object.h472 const dbus::ObjectPath& object_path,
485 const dbus::ObjectPath& object_path);
489 const dbus::ObjectPath& object_path,
522 const dbus::ObjectPath& object_path);
531 const dbus::ObjectPath& object_path,
598 dbus::ObjectPath object_path_;
Dexported_property_set_unittest.cc55 const dbus::ObjectPath kMethodsExportedOnPath(std::string("/export"));
56 const dbus::ObjectPath kTestObjectPathInit(std::string("/path_init"));
57 const dbus::ObjectPath kTestObjectPathUpdate(std::string("/path_update"));
75 ExportedProperty<dbus::ObjectPath> path_prop_;
77 ExportedProperty<std::vector<dbus::ObjectPath>> pathlist_prop_;
80 Properties(scoped_refptr<dbus::Bus> bus, const dbus::ObjectPath& path) in Properties()
434 dbus::ObjectPath value; in TEST_F()
454 std::vector<dbus::ObjectPath> value; in TEST_F()
Ddbus_method_invoker_unittest.cc82 bus_.get(), kTestServiceName, dbus::ObjectPath(kTestPath)); in SetUp()
84 GetObjectProxy(kTestServiceName, dbus::ObjectPath(kTestPath))) in SetUp()
241 bus_.get(), kTestServiceName, dbus::ObjectPath(kTestPath)); in SetUp()
243 GetObjectProxy(kTestServiceName, dbus::ObjectPath(kTestPath))) in SetUp()
/external/libbrillo/brillo/daemons/
Ddbus_daemon.h62 const dbus::ObjectPath& object_manager_path);
79 dbus::ObjectPath object_manager_path_;
Ddbus_daemon.cc38 const dbus::ObjectPath& object_manager_path) in DBusServiceDaemon()
45 dbus::ObjectPath(object_manager_path.as_string())) { in DBusServiceDaemon()

123