Home
last modified time | relevance | path

Searched refs:DBusConnection (Results 1 – 25 of 112) sorted by relevance

12345

/external/dbus/dbus/
Ddbus-connection.h51 typedef struct DBusConnection DBusConnection; typedef
128 typedef void (* DBusDispatchStatusFunction) (DBusConnection *connection,
143 typedef dbus_bool_t (* DBusAllowUnixUserFunction) (DBusConnection *connection,
153 typedef dbus_bool_t (* DBusAllowWindowsUserFunction) (DBusConnection *connection,
169 typedef DBusHandlerResult (* DBusHandleMessageFunction) (DBusConnection *connection,
173 DBusConnection* dbus_connection_open (const char *addres…
176 DBusConnection* dbus_connection_open_private (const char *addres…
179 DBusConnection* dbus_connection_ref (DBusConnection *connec…
181 void dbus_connection_unref (DBusConnection *connec…
183 void dbus_connection_close (DBusConnection *connec…
[all …]
Ddbus-connection-internal.h47 void _dbus_connection_lock (DBusConnection *connection);
48 void _dbus_connection_unlock (DBusConnection *connection);
49 DBusConnection * _dbus_connection_ref_unlocked (DBusConnection *connection);
50 void _dbus_connection_unref_unlocked (DBusConnection *connection);
51 void _dbus_connection_queue_received_message_link (DBusConnection *connection,
53 dbus_bool_t _dbus_connection_has_messages_to_send_unlocked (DBusConnection *connection);
54 DBusMessage* _dbus_connection_get_message_to_send (DBusConnection *connection);
55 void _dbus_connection_message_sent_unlocked (DBusConnection *connection,
57 dbus_bool_t _dbus_connection_add_watch_unlocked (DBusConnection *connection,
59 void _dbus_connection_remove_watch_unlocked (DBusConnection *connection,
[all …]
Ddbus-bus.h40 DBusConnection *dbus_bus_get (DBusBusType type,
43 DBusConnection *dbus_bus_get_private (DBusBusType type,
47 dbus_bool_t dbus_bus_register (DBusConnection *connection,
50 dbus_bool_t dbus_bus_set_unique_name (DBusConnection *connection,
53 const char* dbus_bus_get_unique_name (DBusConnection *connection);
55 unsigned long dbus_bus_get_unix_user (DBusConnection *connection,
59 char* dbus_bus_get_id (DBusConnection *connection,
62 int dbus_bus_request_name (DBusConnection *connection,
67 int dbus_bus_release_name (DBusConnection *connection,
71 dbus_bool_t dbus_bus_name_has_owner (DBusConnection *connection,
[all …]
Ddbus-connection.c209 _dbus_connection_trace_ref (DBusConnection *connection, in _dbus_connection_trace_ref()
250 DBusConnection *connection; /**< Connection we'd send the message to */
264 struct DBusConnection struct
346 static DBusDispatchStatus _dbus_connection_get_dispatch_status_unlocked (DBusConnection *c… argument
347 static void _dbus_connection_update_dispatch_status_and_unlock (DBusConnection *c…
349 static void _dbus_connection_last_unref (DBusConnection *c…
350 static void _dbus_connection_acquire_dispatch (DBusConnection *c…
351 static void _dbus_connection_release_dispatch (DBusConnection *c…
352 static DBusDispatchStatus _dbus_connection_flush_unlocked (DBusConnection *c…
353 static void _dbus_connection_close_possibly_shared_and_unlock (DBusConnection *c…
[all …]
Ddbus-bus.c78 DBusConnection *connection; /**< Connection we're associated with */
91 static DBusConnection *bus_connections[N_BUS_TYPES];
357 ensure_bus_data (DBusConnection *connection) in ensure_bus_data()
401 _dbus_bus_notify_shared_connection_disconnected_unlocked (DBusConnection *connection) in _dbus_bus_notify_shared_connection_disconnected_unlocked()
424 static DBusConnection *
430 DBusConnection *connection; in internal_bus_get()
559 DBusConnection *
591 DBusConnection *
648 dbus_bus_register (DBusConnection *connection, in dbus_bus_register()
763 dbus_bus_set_unique_name (DBusConnection *connection, in dbus_bus_set_unique_name()
[all …]
Ddbus-pending-call-internal.h41 DBusConnection * _dbus_pending_call_get_connection_and_lock (DBusPendingCall *pending);
42 DBusConnection * _dbus_pending_call_get_connection_unlocked (DBusPendingCall *pending);
48 DBusConnection *connection);
54 DBusPendingCall* _dbus_pending_call_new_unlocked (DBusConnection *connection,
/external/dbus/bus/
Dconnection.h31 typedef dbus_bool_t (* BusConnectionForeachFunction) (DBusConnection *connection,
39 DBusConnection *connection);
48 BusContext* bus_connection_get_context (DBusConnection *connection);
49 BusConnections* bus_connection_get_connections (DBusConnection *connection);
50 BusRegistry* bus_connection_get_registry (DBusConnection *connection);
51 BusActivation* bus_connection_get_activation (DBusConnection *connection);
52 BusMatchmaker* bus_connection_get_matchmaker (DBusConnection *connection);
53 const char * bus_connection_get_loginfo (DBusConnection *connection);
54 BusSELinuxID* bus_connection_get_selinux_id (DBusConnection *connection);
56DBusConnection *requesting_completion,
[all …]
Dconnection.c40 static void bus_connection_remove_transactions (DBusConnection *connection);
46 DBusConnection *will_get_reply;
47 DBusConnection *will_send_reply;
83 DBusConnection *connection;
112 DBusConnection *connection);
119 connection_get_loop (DBusConnection *connection) in connection_get_loop()
188 bus_connection_disconnected (DBusConnection *connection) in bus_connection_disconnected()
316 DBusConnection *connection = data; in add_connection_watch()
325 DBusConnection *connection = data; in remove_connection_watch()
334 DBusConnection *connection = data; in toggle_connection_watch()
[all …]
Dservices.h43 DBusConnection *owner_connection_if_created,
54 DBusConnection *connection,
61 DBusConnection *connection,
72 DBusConnection *connection,
77 DBusConnection *connection,
81 DBusConnection *connection,
85 DBusConnection *connection);
93 DBusConnection* bus_service_get_primary_owners_connection (BusService *service);
Ddispatch.h30 dbus_bool_t bus_dispatch_add_connection (DBusConnection *connection);
31 void bus_dispatch_remove_connection (DBusConnection *connection);
33 DBusConnection *sender,
34 DBusConnection *recipient,
Dsignals.h45 BusMatchRule* bus_match_rule_new (DBusConnection *matches_go_to);
76 BusMatchRule* bus_match_rule_parse (DBusConnection *matches_go_to,
92 DBusConnection *connection);
95 DBusConnection *sender,
96 DBusConnection *addressed_recipient,
Ddriver.h30 void bus_driver_remove_connection (DBusConnection *connection);
31 dbus_bool_t bus_driver_handle_message (DBusConnection *connection,
35 dbus_bool_t bus_driver_send_service_lost (DBusConnection *connection,
39 dbus_bool_t bus_driver_send_service_acquired (DBusConnection *connection,
Dselinux.h52 dbus_bool_t bus_selinux_allows_acquire_service (DBusConnection *connection,
57 dbus_bool_t bus_selinux_allows_send (DBusConnection *sender,
58 DBusConnection *proposed_recipient,
66 BusSELinuxID* bus_selinux_init_connection_id (DBusConnection *connection,
Ddriver.c41 static dbus_bool_t bus_driver_send_welcome_message (DBusConnection *connection,
99 bus_driver_send_service_lost (DBusConnection *connection, in bus_driver_send_service_lost()
142 bus_driver_send_service_acquired (DBusConnection *connection, in bus_driver_send_service_acquired()
245 bus_driver_handle_hello (DBusConnection *connection, in bus_driver_handle_hello()
327 bus_driver_send_welcome_message (DBusConnection *connection, in bus_driver_send_welcome_message()
372 bus_driver_handle_list_services (DBusConnection *connection, in bus_driver_handle_list_services()
465 bus_driver_handle_list_activatable_services (DBusConnection *connection, in bus_driver_handle_list_activatable_services()
558 bus_driver_handle_acquire_service (DBusConnection *connection, in bus_driver_handle_acquire_service()
622 bus_driver_handle_release_service (DBusConnection *connection, in bus_driver_handle_release_service()
683 bus_driver_handle_service_exists (DBusConnection *connection, in bus_driver_handle_service_exists()
[all …]
Ddispatch.c50 send_one_message (DBusConnection *connection, in send_one_message()
52 DBusConnection *sender, in send_one_message()
53 DBusConnection *addressed_recipient, in send_one_message()
83 DBusConnection *sender, in bus_dispatch_matches()
84 DBusConnection *addressed_recipient, in bus_dispatch_matches()
151 DBusConnection *dest; in bus_dispatch_matches()
174 bus_dispatch (DBusConnection *connection, in bus_dispatch()
182 DBusConnection *addressed_recipient; in bus_dispatch()
402 bus_dispatch_message_filter (DBusConnection *connection, in bus_dispatch_message_filter()
410 bus_dispatch_add_connection (DBusConnection *connection) in bus_dispatch_add_connection()
[all …]
Dpolicy.h117 DBusConnection *connection,
146 DBusConnection *receiver,
153 DBusConnection *sender,
154 DBusConnection *addressed_recipient,
155 DBusConnection *proposed_recipient,
/external/avahi/avahi-daemon/
Ddbus-util.h32 DBusHandlerResult avahi_dbus_respond_error(DBusConnection *c, DBusMessage *m, int error, const char…
33 DBusHandlerResult avahi_dbus_respond_string(DBusConnection *c, DBusMessage *m, const char *text);
34 DBusHandlerResult avahi_dbus_respond_int32(DBusConnection *c, DBusMessage *m, int32_t i);
35 DBusHandlerResult avahi_dbus_respond_uint32(DBusConnection *c, DBusMessage *m, uint32_t u);
36 DBusHandlerResult avahi_dbus_respond_boolean(DBusConnection *c, DBusMessage *m, int b);
37 DBusHandlerResult avahi_dbus_respond_ok(DBusConnection *c, DBusMessage *m);
38 DBusHandlerResult avahi_dbus_respond_path(DBusConnection *c, DBusMessage *m, const char *path);
46 DBusHandlerResult avahi_dbus_handle_introspect(DBusConnection *c, DBusMessage *m, const char *fname…
Ddbus-internal.h170 DBusConnection *bus;
189 DBusHandlerResult avahi_dbus_msg_entry_group_impl(DBusConnection *c, DBusMessage *m, void *userdata…
196 DBusHandlerResult avahi_dbus_msg_async_host_name_resolver_impl(DBusConnection *c, DBusMessage *m, v…
203 DBusHandlerResult avahi_dbus_msg_async_address_resolver_impl(DBusConnection *c, DBusMessage *m, voi…
206 DBusHandlerResult avahi_dbus_msg_domain_browser_impl(DBusConnection *c, DBusMessage *m, void *userd…
210 DBusHandlerResult avahi_dbus_msg_service_type_browser_impl(DBusConnection *c, DBusMessage *m, void …
214 DBusHandlerResult avahi_dbus_msg_service_browser_impl(DBusConnection *c, DBusMessage *m, void *user…
250 DBusHandlerResult avahi_dbus_msg_async_service_resolver_impl(DBusConnection *c, DBusMessage *m, voi…
253 DBusHandlerResult avahi_dbus_msg_record_browser_impl(DBusConnection *c, DBusMessage *m, void *userd…
Ddbus-util.c45 DBusHandlerResult avahi_dbus_respond_error(DBusConnection *c, DBusMessage *m, int error, const char… in avahi_dbus_respond_error()
69 DBusHandlerResult avahi_dbus_respond_string(DBusConnection *c, DBusMessage *m, const char *text) { in avahi_dbus_respond_string()
86 DBusHandlerResult avahi_dbus_respond_int32(DBusConnection *c, DBusMessage *m, int32_t i) { in avahi_dbus_respond_int32()
103 DBusHandlerResult avahi_dbus_respond_uint32(DBusConnection *c, DBusMessage *m, uint32_t u) { in avahi_dbus_respond_uint32()
120 DBusHandlerResult avahi_dbus_respond_boolean(DBusConnection *c, DBusMessage *m, int b) { in avahi_dbus_respond_boolean()
137 DBusHandlerResult avahi_dbus_respond_ok(DBusConnection *c, DBusMessage *m) { in avahi_dbus_respond_ok()
153 DBusHandlerResult avahi_dbus_respond_path(DBusConnection *c, DBusMessage *m, const char *path) { in avahi_dbus_respond_path()
260 DBusHandlerResult avahi_dbus_handle_introspect(DBusConnection *c, DBusMessage *m, const char *fname… in avahi_dbus_handle_introspect()
/external/libbrillo/brillo/dbus/
Ddbus_connection.cc18 DBusConnection::DBusConnection() { in DBusConnection() function in brillo::DBusConnection
21 DBusConnection::~DBusConnection() { in ~DBusConnection()
26 scoped_refptr<dbus::Bus> DBusConnection::Connect() { in Connect()
30 scoped_refptr<dbus::Bus> DBusConnection::ConnectWithTimeout( in ConnectWithTimeout()
Ddbus_connection.h17 class BRILLO_EXPORT DBusConnection final {
19 DBusConnection();
20 ~DBusConnection();
35 DISALLOW_COPY_AND_ASSIGN(DBusConnection);
/external/dbus/test/
Dtest-utils.h14 DBusConnection *connection);
16 DBusConnection *connection);
17 void test_connection_dispatch_all_messages (DBusConnection *connection);
18 dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection);
Dtest-shell-service.c33 handle_echo (DBusConnection *connection, in handle_echo()
70 path_unregistered_func (DBusConnection *connection, in path_unregistered_func()
77 path_message_func (DBusConnection *connection, in path_message_func()
104 filter_func (DBusConnection *connection, in filter_func()
125 DBusConnection *connection; in main()
Dtest-service.c36 DBusConnection *connection; in check_hello_from_self_reply()
126 handle_run_hello_from_self (DBusConnection *connection, in handle_run_hello_from_self()
180 handle_echo (DBusConnection *connection, in handle_echo()
231 handle_delay_echo (DBusConnection *connection, in handle_delay_echo()
287 path_unregistered_func (DBusConnection *connection, in path_unregistered_func()
294 path_message_func (DBusConnection *connection, in path_message_func()
378 filter_func (DBusConnection *connection, in filter_func()
401 DBusConnection *connection; in main()
Drelay.c50 DBusConnection *left_client_conn;
51 DBusConnection *left_server_conn;
53 DBusConnection *right_server_conn;
54 DBusConnection *right_client_conn;
67 server_message_cb (DBusConnection *server_conn, in server_message_cb()
82 right_client_message_cb (DBusConnection *client_conn, in right_client_message_cb()
96 DBusConnection *server_conn, in new_conn_cb()

12345