/external/libchrome/dbus/ |
D | object_manager_unittest.cc | 41 Property<std::vector<ObjectPath>> objects; 55 const ObjectPath& object_path, in CreateProperties() 92 ObjectPath("/org/chromium/TestService")); in SetUp() 131 void ObjectAdded(const ObjectPath& object_path, in ObjectAdded() 138 void ObjectRemoved(const ObjectPath& object_path, in ObjectRemoved() 145 void OnPropertyChanged(const ObjectPath& object_path, in OnPropertyChanged() 191 void PerformAction(const std::string& action, const ObjectPath& object_path) { in PerformAction() 194 ObjectPath("/org/chromium/TestObject")); in PerformAction() 218 std::vector<std::pair<ObjectPath, std::string>> added_objects_; 219 std::vector<std::pair<ObjectPath, std::string>> removed_objects_; [all …]
|
D | object_manager.h | 158 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 …]
|
D | object_path.cc | 13 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()
|
D | object_path.h | 19 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);
|
D | bus_unittest.cc | 78 ObjectPath("/org/chromium/TestObject")); in TEST() 84 ObjectPath("/org/chromium/TestObject")); in TEST() 92 ObjectPath("/org/chromium/DifferentTestObject")); in TEST() 106 ObjectPath("/org/chromium/TestObject"), in TEST() 114 ObjectPath("/org/chromium/TestObject"), in TEST() 123 ObjectPath("/org/chromium/DifferentTestObject"), in TEST() 149 ObjectPath("/org/chromium/TestObject"), in TEST() 154 ObjectPath("/org/chromium/TestObject")); in TEST() 165 ObjectPath("/org/chromium/TestObject"), in TEST() 172 ObjectPath("/org/chromium/TestObject")); in TEST() [all …]
|
D | mock_object_manager.h | 23 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&,
|
D | bus.h | 258 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 …]
|
D | mock_bus.h | 24 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));
|
D | object_manager.cc | 33 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 …]
|
D | message_unittest.cc | 61 writer.AppendObjectPath(ObjectPath("/object/path")); in TEST() 73 ObjectPath object_path_value; in TEST() 113 EXPECT_EQ(ObjectPath("/object/path"), object_path_value); in TEST() 167 writer.AppendVariantOfObjectPath(ObjectPath("/object/path")); in TEST() 179 ObjectPath object_path_value; in TEST() 219 EXPECT_EQ(ObjectPath("/object/path"), object_path_value); in TEST() 347 std::vector<ObjectPath> object_paths; in TEST() 348 object_paths.push_back(ObjectPath("/object/path/1")); in TEST() 349 object_paths.push_back(ObjectPath("/object/path/2")); in TEST() 350 object_paths.push_back(ObjectPath("/object/path/3")); in TEST() [all …]
|
D | message.h | 99 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);
|
D | mock_unittest.cc | 43 ObjectPath("/org/chromium/TestObject")); in SetUp() 64 ObjectPath("/org/chromium/TestObject"))) in SetUp() 147 ObjectPath("/org/chromium/TestObject")); in TEST_F() 171 ObjectPath("/org/chromium/TestObject")); in TEST_F() 196 ObjectPath("/org/chromium/TestObject")); in TEST_F()
|
D | message.cc | 174 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 …]
|
D | object_proxy_unittest.cc | 59 test_service.service_name(), ObjectPath("/org/chromium/TestObject")); in TEST_F() 96 test_service.service_name(), ObjectPath("/org/chromium/TestObject")); in TEST_F() 120 test_service.service_name(), ObjectPath("/org/chromium/TestObject")); in TEST_F()
|
D | property.h | 560 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>>;
|
/external/libbrillo/brillo/dbus/ |
D | exported_object_manager.h | 84 std::map<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>; 89 const ::dbus::ObjectPath& path); 102 const ::dbus::ObjectPath& path, 107 virtual void ReleaseInterface(const ::dbus::ObjectPath& path, 118 std::map<::dbus::ObjectPath, InterfaceProperties> registered_objects_; 121 DBusSignal<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>; 123 DBusSignal<::dbus::ObjectPath, std::vector<std::string>>;
|
D | dbus_param_writer_test.cc | 15 using dbus::ObjectPath; 35 DBusParamWriter::Append(&writer, ObjectPath{"/o"}); in TEST() 40 ObjectPath path_value; in TEST() 49 EXPECT_EQ(ObjectPath{"/o"}, path_value); in TEST() 84 ObjectPath path_value_in{"/obj/path"}; in TEST() 95 ObjectPath path_value; in TEST() 104 EXPECT_EQ(ObjectPath{"/obj/path"}, path_value); in TEST() 143 ObjectPath path_value_in{"/obj"}; in TEST() 154 ObjectPath path_value; in TEST() 163 EXPECT_EQ(ObjectPath{"/obj"}, path_value); in TEST()
|
D | data_serialization_test.cc | 19 using dbus::ObjectPath; 36 EXPECT_TRUE(IsTypeSupported<ObjectPath>::value); in TEST() 93 EXPECT_EQ("o", GetDBusSignature<ObjectPath>()); in TEST() 110 EXPECT_EQ("ao", GetDBusSignature<std::vector<ObjectPath>>()); in TEST() 189 AppendValueToWriter(&writer, ObjectPath{"/object/path"}); in TEST() 203 ObjectPath object_path_value; in TEST() 231 EXPECT_EQ(ObjectPath{"/object/path"}, object_path_value); in TEST() 275 AppendValueToWriterAsVariant(&writer, ObjectPath{"/obj/path"}); in TEST() 292 ObjectPath object_path_value; in TEST() 324 EXPECT_EQ(ObjectPath{"/obj/path"}, object_path_value); in TEST() [all …]
|
D | dbus_object.cc | 62 const dbus::ObjectPath& object_path, in ExportAsync() 98 const dbus::ObjectPath& object_path) { in ExportAndBlock() 125 const dbus::ObjectPath& object_path, in UnexportAsync() 150 const dbus::ObjectPath& object_path) { in UnexportAndBlock() 168 const dbus::ObjectPath& object_path, in ClaimInterface() 225 const dbus::ObjectPath& object_path) in DBusObject() 234 const dbus::ObjectPath& object_path, in DBusObject()
|
D | exported_object_manager.cc | 19 const dbus::ObjectPath& path) in ExportedObjectManager() 41 const dbus::ObjectPath& path, in ClaimInterface() 59 const dbus::ObjectPath& path, in ReleaseInterface()
|
D | exported_object_manager_test.cc | 30 const dbus::ObjectPath kTestPath(std::string("/test/om_path")); 31 const dbus::ObjectPath kClaimedTestPath(std::string("/test/claimed_path")); 65 dbus::ObjectPath path; in VerifyInterfaceClaimSignal() 87 dbus::ObjectPath path; in VerifyInterfaceDropSignal() 178 dbus::ObjectPath path; in TEST_F()
|
D | dbus_object.h | 478 const ::dbus::ObjectPath& object_path, 490 const ::dbus::ObjectPath& object_path); 495 const ::dbus::ObjectPath& object_path, 500 const ::dbus::ObjectPath& object_path); 504 const ::dbus::ObjectPath& object_path, 537 const ::dbus::ObjectPath& object_path); 546 const ::dbus::ObjectPath& object_path, 635 ::dbus::ObjectPath object_path_;
|
D | mock_exported_object_manager.h | 30 (const ::dbus::ObjectPath&, 36 (const ::dbus::ObjectPath&, const std::string&),
|
D | data_serialization_fuzzer.cc | 155 AppendValue(&writer, variant, dbus::ObjectPath(object_path)); in LLVMFuzzerTestOneInput() 201 std::tuple<double, int32_t, dbus::ObjectPath>{ in LLVMFuzzerTestOneInput() 204 dbus::ObjectPath(object_path)}); in LLVMFuzzerTestOneInput() 287 dbus::ObjectPath value; in LLVMFuzzerTestOneInput() 316 std::tuple<double, int32_t, dbus::ObjectPath> value; in LLVMFuzzerTestOneInput()
|
/external/libchrome/libchrome_tools/patches/ |
D | dbus-Add-TryRegisterFallback.patch | 26 @@ -722,6 +722,25 @@ bool Bus::TryRegisterObjectPath(const ObjectPath& object_path, 35 +bool Bus::TryRegisterFallback(const ObjectPath& object_path, 44 + const ObjectPath& object_path, 52 @@ -731,12 +750,8 @@ bool Bus::TryRegisterObjectPath(const ObjectPath& object_path, 88 + virtual bool TryRegisterFallback(const ObjectPath& object_path, 110 + const ObjectPath& object_path, 128 + bool(const ObjectPath& object_path, 132 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path));
|