Home
last modified time | relevance | path

Searched refs:object_path (Results 1 – 25 of 54) sorted by relevance

123

/external/adhd/cras/src/server/
Dcras_bt_manager.c25 const char *object_path, in cras_bt_interface_added() argument
32 adapter = cras_bt_adapter_get(object_path); in cras_bt_interface_added()
37 adapter = cras_bt_adapter_create(object_path); in cras_bt_interface_added()
50 object_path); in cras_bt_interface_added()
57 device = cras_bt_device_get(object_path); in cras_bt_interface_added()
62 device = cras_bt_device_create(conn, object_path); in cras_bt_interface_added()
72 object_path); in cras_bt_interface_added()
80 transport = cras_bt_transport_get(object_path); in cras_bt_interface_added()
85 transport = cras_bt_transport_create(conn, object_path); in cras_bt_interface_added()
97 object_path); in cras_bt_interface_added()
[all …]
Dcras_bt_adapter.c22 char *object_path; member
42 pos = strstr(adapter->object_path, hci_str); in cras_bt_adapter_query_bus_type()
68 struct cras_bt_adapter *cras_bt_adapter_create(const char *object_path) in cras_bt_adapter_create() argument
76 adapter->object_path = strdup(object_path); in cras_bt_adapter_create()
77 if (adapter->object_path == NULL) { in cras_bt_adapter_create()
95 free(adapter->object_path); in cras_bt_adapter_destroy()
111 struct cras_bt_adapter *cras_bt_adapter_get(const char *object_path) in cras_bt_adapter_get() argument
115 if (object_path == NULL) in cras_bt_adapter_get()
119 if (strcmp(adapter->object_path, object_path) == 0) in cras_bt_adapter_get()
152 return adapter->object_path; in cras_bt_adapter_object_path()
Dcras_bt_transport.c24 char *object_path; member
43 const char *object_path) in cras_bt_transport_create() argument
51 transport->object_path = strdup(object_path); in cras_bt_transport_create()
52 if (transport->object_path == NULL) { in cras_bt_transport_create()
82 free(transport->object_path); in cras_bt_transport_destroy()
91 transports->object_path); in cras_bt_transport_reset()
97 struct cras_bt_transport *cras_bt_transport_get(const char *object_path) in cras_bt_transport_get() argument
102 if (strcmp(transport->object_path, object_path) == 0) in cras_bt_transport_get()
137 return transport->object_path; in cras_bt_transport_object_path()
364 transport->object_path, in cras_bt_transport_set_volume()
[all …]
Dcras_bt_profile.c83 const char *profile_path, *object_path; in cras_bt_profile_handle_new_connection() local
92 dbus_message_iter_get_basic(&message_iter, &object_path); in cras_bt_profile_handle_new_connection()
110 device = cras_bt_device_get(object_path); in cras_bt_profile_handle_new_connection()
113 object_path, profile_path); in cras_bt_profile_handle_new_connection()
114 device = cras_bt_device_create(conn, object_path); in cras_bt_profile_handle_new_connection()
155 const char *prpofile_path, *object_path; in cras_bt_profile_handle_request_disconnection() local
162 dbus_message_iter_get_basic(&message_iter, &object_path); in cras_bt_profile_handle_request_disconnection()
169 device = cras_bt_device_get(object_path); in cras_bt_profile_handle_request_disconnection()
305 &profile->object_path); in cras_bt_register_profile()
408 profile->object_path, in cras_bt_add_profile()
[all …]
Dcras_bt_endpoint.c367 &endpoint->object_path); in cras_bt_register_endpoint()
491 &endpoint->object_path, in cras_bt_unregister_endpoint()
547 endpoint->object_path, in cras_bt_endpoint_add()
552 endpoint->object_path, dbus_error.message); in cras_bt_endpoint_add()
576 dbus_connection_unregister_object_path(conn, endpoint->object_path); in cras_bt_endpoint_rm()
589 struct cras_bt_endpoint *cras_bt_endpoint_get(const char *object_path) in cras_bt_endpoint_get() argument
594 if (strcmp(endpoint->object_path, object_path) == 0) in cras_bt_endpoint_get()
Dcras_bt_player.c57 &player->object_path); in cras_bt_add_player()
120 .object_path = CRAS_DEFAULT_PLAYER,
159 player.object_path, in cras_bt_player_create()
163 player.object_path); in cras_bt_player_create()
Dcras_bt_device.c76 char *object_path; member
144 const char *object_path) in cras_bt_device_create() argument
153 device->object_path = strdup(object_path); in cras_bt_device_create()
154 if (device->object_path == NULL) { in cras_bt_device_create()
201 device->object_path, in cras_bt_device_connect_profile()
245 device->object_path, in cras_bt_device_disconnect()
285 free(device->object_path); in cras_bt_device_destroy()
301 struct cras_bt_device *cras_bt_device_get(const char *object_path) in cras_bt_device_get() argument
306 if (strcmp(device->object_path, object_path) == 0) in cras_bt_device_get()
339 return device->object_path; in cras_bt_device_object_path()
Dcras_bt_adapter.h13 struct cras_bt_adapter *cras_bt_adapter_create(const char *object_path);
17 struct cras_bt_adapter *cras_bt_adapter_get(const char *object_path);
Dcras_bt_endpoint.h17 const char *object_path; member
57 struct cras_bt_endpoint *cras_bt_endpoint_get(const char *object_path);
Dcras_bt_transport.h25 const char *object_path);
31 struct cras_bt_transport *cras_bt_transport_get(const char *object_path);
Dcras_bt_device.h30 const char *object_path);
34 struct cras_bt_device *cras_bt_device_get(const char *object_path);
/external/libchrome/dbus/
Dobject_manager.cc33 const ObjectPath& object_path) in ObjectManager() argument
36 object_path_(object_path), in ObjectManager()
115 ObjectProxy* ObjectManager::GetObjectProxy(const ObjectPath& object_path) { in GetObjectProxy() argument
116 ObjectMap::iterator iter = object_map_.find(object_path); in GetObjectProxy()
124 PropertySet* ObjectManager::GetProperties(const ObjectPath& object_path, in GetProperties() argument
126 ObjectMap::iterator iter = object_map_.find(object_path); in GetProperties()
319 const dbus::ObjectPath object_path, in NotifyPropertiesChanged() argument
324 NotifyPropertiesChangedHelper(object_path, signal); in NotifyPropertiesChanged()
333 const dbus::ObjectPath object_path, in NotifyPropertiesChangedHelper() argument
346 PropertySet* properties = GetProperties(object_path, interface); in NotifyPropertiesChangedHelper()
[all …]
Dobject_manager.h158 const dbus::ObjectPath& object_path,
170 virtual void ObjectAdded(const ObjectPath& object_path, in ObjectAdded() argument
182 virtual void ObjectRemoved(const ObjectPath& object_path, in ObjectRemoved() argument
189 const ObjectPath& object_path);
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,
290 void UpdateObject(const ObjectPath& object_path, MessageReader* reader);
301 void AddInterface(const ObjectPath& object_path,
[all …]
Dbus.cc191 const ObjectPath& object_path) { in GetObjectProxy() argument
192 return GetObjectProxyWithOptions(service_name, object_path, in GetObjectProxy()
197 const ObjectPath& object_path, in GetObjectProxyWithOptions() argument
202 const ObjectProxyTable::key_type key(service_name + object_path.value(), in GetObjectProxyWithOptions()
210 new ObjectProxy(this, service_name, object_path, options); in GetObjectProxyWithOptions()
217 const ObjectPath& object_path, in RemoveObjectProxy() argument
219 return RemoveObjectProxyWithOptions(service_name, object_path, in RemoveObjectProxy()
225 const ObjectPath& object_path, in RemoveObjectProxyWithOptions() argument
231 const ObjectProxyTable::key_type key(service_name + object_path.value(), in RemoveObjectProxyWithOptions()
256 ExportedObject* Bus::GetExportedObject(const ObjectPath& object_path) { in GetExportedObject() argument
[all …]
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);
Dmock_bus.h24 const ObjectPath& object_path));
27 const ObjectPath& object_path,
30 const ObjectPath& object_path));
61 MOCK_METHOD4(TryRegisterObjectPath, bool(const ObjectPath& object_path,
65 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path));
Dmock_exported_object.cc10 const ObjectPath& object_path) in MockExportedObject() argument
11 : ExportedObject(bus, object_path) { in MockExportedObject()
Dmock_object_proxy.cc11 const ObjectPath& object_path) in MockObjectProxy() argument
12 : ObjectProxy(bus, service_name, object_path, DEFAULT_OPTIONS) { in MockObjectProxy()
/external/libbrillo/brillo/dbus/
Ddbus_object.cc58 const dbus::ObjectPath& object_path, in ExportAsync() argument
61 << object_path.value() << "'"; in ExportAsync()
83 object_path, in ExportAsync()
94 const dbus::ObjectPath& object_path) { in ExportAndBlock() argument
96 << object_path.value() << "'"; in ExportAndBlock()
112 object_path, in ExportAndBlock()
120 const dbus::ObjectPath& object_path, in ClaimInterface() argument
127 object_manager->ClaimInterface(object_path, interface_name_, writer); in ClaimInterface()
130 object_manager, object_path, interface_name_)); in ClaimInterface()
176 const dbus::ObjectPath& object_path) in DBusObject() argument
[all …]
Dmock_dbus_object.h21 const dbus::ObjectPath& object_path) in MockDBusObject() argument
22 : DBusObject(object_manager, bus, object_path) {} in MockDBusObject()
/external/autotest/client/cros/scripts/
Dprofile72 print_profile_path(path, active_profile.object_path)
89 print_profile_path(profile.object_path, active_profile.object_path)
107 print_profile_path(profile.object_path, active_profile.object_path)
/external/adhd/cras/src/tests/
Dbt_profile_unittest.cc50 fake_profile.object_path = "/fake"; in SetUp()
169 struct cras_bt_transport *cras_bt_transport_get(const char *object_path) in cras_bt_transport_get() argument
172 cras_bt_transport_get_arg_value = object_path; in cras_bt_transport_get()
181 const char *object_path) in cras_bt_transport_create() argument
/external/autotest/client/common_lib/cros/
Ddbus_send.py175 def dbus_send(bus_name, interface, object_path, method_name, args=None, argument
195 object_path, interface, method_name))
208 def get_property(bus_name, interface, object_path, property_name, host=None): argument
218 return dbus_send(bus_name, dbus.PROPERTIES_IFACE, object_path, 'Get',
/external/autotest/client/cros/cellular/pseudomodem/
Ddbus_std_ifaces.py395 def InterfacesAdded(self, object_path, interfaces_and_properties): argument
405 logging.info((self.path + ': InterfacesAdded(' + object_path +
410 def InterfacesRemoved(self, object_path, interfaces): argument
420 logging.info((self.path + ': InterfacesRemoved(' + object_path +
/external/autotest/client/cros/networking/
Dapmanager_proxy.py116 dbus_object.object_path)
145 dbus_object.object_path)
189 return service.object_path

123