Home
last modified time | relevance | path

Searched refs:bus_proxy (Results 1 – 25 of 35) sorted by relevance

12

/dports/sysutils/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5/plugins/datetime/
H A Dcsd-datetime-mechanism-main.c47 DBusGProxy *bus_proxy; in get_bus_proxy() local
49 bus_proxy = dbus_g_proxy_new_for_name (connection, in get_bus_proxy()
53 return bus_proxy; in get_bus_proxy()
59 acquire_name_on_proxy (DBusGProxy *bus_proxy) in acquire_name_on_proxy() argument
68 if (bus_proxy == NULL) { in acquire_name_on_proxy()
73 res = dbus_g_proxy_call (bus_proxy, in acquire_name_on_proxy()
127 DBusGProxy *bus_proxy; in main() local
140 bus_proxy = get_bus_proxy (connection); in main()
141 if (bus_proxy == NULL) { in main()
146 if (!acquire_name_on_proxy (bus_proxy) ) { in main()
/dports/sysutils/mate-settings-daemon/mate-settings-daemon-1.26.0/plugins/datetime/
H A Dmsd-datetime-mechanism-main.c48 DBusGProxy *bus_proxy; in get_bus_proxy() local
50 bus_proxy = dbus_g_proxy_new_for_name (connection, in get_bus_proxy()
54 return bus_proxy; in get_bus_proxy()
60 acquire_name_on_proxy (DBusGProxy *bus_proxy) in acquire_name_on_proxy() argument
69 if (bus_proxy == NULL) { in acquire_name_on_proxy()
74 res = dbus_g_proxy_call (bus_proxy, in acquire_name_on_proxy()
128 DBusGProxy *bus_proxy; in main() local
141 bus_proxy = get_bus_proxy (connection); in main()
142 if (bus_proxy == NULL) { in main()
147 if (!acquire_name_on_proxy (bus_proxy) ) { in main()
/dports/devel/gconf2/GConf-3.2.6/defaults/
H A Dgconf-defaults-main.c45 DBusGProxy *bus_proxy; in get_bus_proxy() local
47 bus_proxy = dbus_g_proxy_new_for_name (connection, in get_bus_proxy()
51 return bus_proxy; in get_bus_proxy()
57 acquire_name_on_proxy (DBusGProxy *bus_proxy) in acquire_name_on_proxy() argument
66 if (bus_proxy == NULL) { in acquire_name_on_proxy()
71 res = dbus_g_proxy_call (bus_proxy, in acquire_name_on_proxy()
153 DBusGProxy *bus_proxy; in main() local
186 bus_proxy = get_bus_proxy (connection); in main()
187 if (bus_proxy == NULL) { in main()
198 if (!acquire_name_on_proxy (bus_proxy)) { in main()
/dports/sysutils/mate-settings-daemon/mate-settings-daemon-1.26.0/mate-settings-daemon/
H A Dmain.c83 DBusGProxy *bus_proxy; in get_bus_proxy() local
85 bus_proxy = dbus_g_proxy_new_for_name (connection, in get_bus_proxy()
90 return bus_proxy; in get_bus_proxy()
94 acquire_name_on_proxy (DBusGProxy *bus_proxy) in acquire_name_on_proxy() argument
109 res = dbus_g_proxy_call (bus_proxy, in acquire_name_on_proxy()
196 DBusGProxy *bus_proxy; in bus_register() local
203 bus_proxy = get_bus_proxy (bus); in bus_register()
205 if (bus_proxy == NULL) { in bus_register()
210 ret = acquire_name_on_proxy (bus_proxy); in bus_register()
211 g_object_unref (bus_proxy); in bus_register()
/dports/x11/mate-session-manager/mate-session-manager-1.26.0/mate-session/
H A Dgsm-systemd.c51 DBusGProxy *bus_proxy; member
202 if (priv->bus_proxy == NULL) { in gsm_systemd_ensure_sd_connection()
203 priv->bus_proxy = in gsm_systemd_ensure_sd_connection()
210 if (priv->bus_proxy == NULL) { in gsm_systemd_ensure_sd_connection()
216 dbus_g_proxy_add_signal (priv->bus_proxy, in gsm_systemd_ensure_sd_connection()
254 if (priv->bus_proxy != NULL) { in gsm_systemd_ensure_sd_connection()
256 priv->bus_proxy = NULL; in gsm_systemd_ensure_sd_connection()
263 } else if (priv->bus_proxy == NULL) { in gsm_systemd_ensure_sd_connection()
316 if (priv->bus_proxy != NULL) { in gsm_systemd_free_dbus()
317 g_object_unref (priv->bus_proxy); in gsm_systemd_free_dbus()
[all …]
H A Dgsm-consolekit.c50 DBusGProxy *bus_proxy; member
202 if (priv->bus_proxy == NULL) { in gsm_consolekit_ensure_ck_connection()
203 priv->bus_proxy = in gsm_consolekit_ensure_ck_connection()
210 if (priv->bus_proxy == NULL) { in gsm_consolekit_ensure_ck_connection()
216 dbus_g_proxy_add_signal (priv->bus_proxy, in gsm_consolekit_ensure_ck_connection()
254 if (priv->bus_proxy != NULL) { in gsm_consolekit_ensure_ck_connection()
256 priv->bus_proxy = NULL; in gsm_consolekit_ensure_ck_connection()
263 } else if (priv->bus_proxy == NULL) { in gsm_consolekit_ensure_ck_connection()
317 if (priv->bus_proxy != NULL) { in gsm_consolekit_free_dbus()
318 g_object_unref (priv->bus_proxy); in gsm_consolekit_free_dbus()
[all …]
H A Dmain.c109 static void on_bus_name_lost(DBusGProxy* bus_proxy, const char* name, gpointer data) in on_bus_name_lost() argument
115 static gboolean acquire_name_on_proxy(DBusGProxy* bus_proxy, const char* name) in acquire_name_on_proxy() argument
124 if (bus_proxy == NULL) in acquire_name_on_proxy()
130 …res = dbus_g_proxy_call(bus_proxy, "RequestName", &error, G_TYPE_STRING, name, G_TYPE_UINT, 0, G_T… in acquire_name_on_proxy()
163 dbus_g_proxy_add_signal(bus_proxy, "NameLost", G_TYPE_STRING, G_TYPE_INVALID); in acquire_name_on_proxy()
164 dbus_g_proxy_connect_signal(bus_proxy, "NameLost", G_CALLBACK(on_bus_name_lost), NULL, NULL); in acquire_name_on_proxy()
175 DBusGProxy* bus_proxy; in acquire_name() local
188bus_proxy = dbus_g_proxy_new_for_name(connection, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS, DBUS_INTERFAC… in acquire_name()
190 if (!acquire_name_on_proxy(bus_proxy, GSM_DBUS_NAME)) in acquire_name()
196 g_object_unref(bus_proxy); in acquire_name()
H A Dgsm-dbus-client.c270 DBusGProxy *bus_proxy; in get_caller_info() local
273 bus_proxy = NULL; in get_caller_info()
289 bus_proxy = dbus_g_proxy_new_for_name (connection, in get_caller_info()
295 if (! dbus_g_proxy_call (bus_proxy, "GetConnectionUnixUser", &error, in get_caller_info()
306 if (! dbus_g_proxy_call (bus_proxy, "GetConnectionUnixProcessID", &error, in get_caller_info()
322 if (bus_proxy != NULL) { in get_caller_info()
323 g_object_unref (bus_proxy); in get_caller_info()
H A Dgsm-presence.c55 DBusGProxy *bus_proxy; member
214 on_bus_name_owner_changed (DBusGProxy *bus_proxy, in on_bus_name_owner_changed() argument
307 priv->bus_proxy = dbus_g_proxy_new_for_name (priv->bus_connection, in gsm_presence_constructor()
311 if (priv->bus_proxy != NULL) { in gsm_presence_constructor()
312 dbus_g_proxy_add_signal (priv->bus_proxy, in gsm_presence_constructor()
318 dbus_g_proxy_connect_signal (priv->bus_proxy, in gsm_presence_constructor()
/dports/net/netatalk3/netatalk-3.1.12/etc/afpd/
H A Dafpstats.c45 DBusGProxy *bus_proxy; in afpstats_thread() local
66 if (!(bus_proxy = dbus_g_proxy_new_for_name(bus, "org.freedesktop.DBus", in afpstats_thread()
73 if (!dbus_g_proxy_call(bus_proxy, "RequestName", &error, in afpstats_thread()
/dports/sysutils/mate-power-manager/mate-power-manager-1.26.0/src/
H A Dgpm-main.c61 DBusGProxy *bus_proxy = NULL; in gpm_object_register() local
66 bus_proxy = dbus_g_proxy_new_for_name (connection, in gpm_object_register()
71 ret = dbus_g_proxy_call (bus_proxy, "RequestName", &error, in gpm_object_register()
88 g_object_unref (G_OBJECT (bus_proxy)); in gpm_object_register()
/dports/devel/dbus-glib/dbus-glib-0.112/dbus/examples/
H A Dexample-signal-emitter.c99 DBusGProxy *bus_proxy; in main() local
115 bus_proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.DBus", in main()
119 if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, in main()
H A Dexample-service.c112 DBusGProxy *bus_proxy; in main() local
136 bus_proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.DBus", in main()
140 if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, in main()
/dports/devel/py-jeepney/jeepney-0.7.1/examples/
H A Dblocking_subscribe.py38 bus_proxy = Proxy(message_bus, connection) variable
39 print("Match added?", bus_proxy.AddMatch(match_rule) == ())
H A Dtrio_recv_fd.py45 bus_proxy = Proxy(message_bus, router)
47 reply, = await bus_proxy.RequestName(SERVER_NAME)
H A Dthreading_recv_fd.py47 bus_proxy = Proxy(message_bus, router, timeout=10) variable
48 if bus_proxy.RequestName(SERVER_NAME) == (1,):
H A Dthreading_server.py71 bus_proxy = Proxy(message_bus, router, timeout=10) variable
72 if bus_proxy.RequestName(SERVER_NAME) == (1,):
/dports/x11/mate-applets/mate-applets-1.26.0/cpufreq/src/cpufreq-selector/
H A Dcpufreq-selector-service.c161 DBusGProxy *bus_proxy; in cpufreq_selector_service_register() local
186 bus_proxy = dbus_g_proxy_new_for_name (connection, in cpufreq_selector_service_register()
190 if (!bus_proxy) { in cpufreq_selector_service_register()
198 res = dbus_g_proxy_call (bus_proxy, in cpufreq_selector_service_register()
206 g_object_unref (bus_proxy); in cpufreq_selector_service_register()
/dports/devel/dbus-glib/dbus-glib-0.112/dbus/examples/statemachine/
H A Dstatemachine-server.c195 DBusGProxy *bus_proxy; in main() local
213 bus_proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.DBus", in main()
217 if (!dbus_g_proxy_call (bus_proxy, "RequestName", &error, in main()
/dports/devel/d-feet/d-feet-0.3.15/src/dfeet/
H A Dbus_watch.py158 self.bus_proxy = Gio.DBusProxy.new_sync(self.connection,
166 self.bus_proxy.ListActivatableNames('()',
171 self.bus_proxy.ListNames('()',
263 self.bus_proxy.GetConnectionUnixProcessID(
291 self.bus_proxy.GetNameOwner('(s)', n,
/dports/devel/libappindicator/libappindicator-12.10.1.2010202007061.01/tests/
H A Dtest-libappindicator-status-client.c119 …DBusGProxy * bus_proxy = dbus_g_proxy_new_for_name(session_bus, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS,… in main() local
122 …if (!org_freedesktop_DBus_request_name(bus_proxy, NOTIFICATION_WATCHER_DBUS_ADDR, 0, &nameret, &er… in main()
H A Dtest-libappindicator-fallback-item.c118 …DBusGProxy * bus_proxy = dbus_g_proxy_new_for_name(session_bus, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS,… in main() local
122 if (!org_freedesktop_DBus_request_name(bus_proxy, "org.test", 0, &nameret, NULL)) { in main()
H A Dtest-libappindicator-dbus-client.c214 …DBusGProxy * bus_proxy = dbus_g_proxy_new_for_name(session_bus, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS,… in main() local
217 …if (!org_freedesktop_DBus_request_name(bus_proxy, NOTIFICATION_WATCHER_DBUS_ADDR, 0, &nameret, &er… in main()
/dports/net-im/telepathy-glib/telepathy-glib-0.24.1/telepathy-glib/
H A Dbase-connection.c427 TpDBusDaemon *bus_proxy; member
456 if (self->priv->bus_proxy == NULL) in tp_base_connection_ensure_dbus()
458 self->priv->bus_proxy = tp_dbus_daemon_dup (error); in tp_base_connection_ensure_dbus()
460 if (self->priv->bus_proxy == NULL) in tp_base_connection_ensure_dbus()
499 g_value_set_object (value, self->priv->bus_proxy); in tp_base_connection_get_property()
543 self->priv->bus_proxy = g_object_ref (dbus_daemon); in tp_base_connection_set_property()
569 if (priv->bus_proxy != NULL) in tp_base_connection_unregister()
612 tp_clear_object (&priv->bus_proxy); in tp_base_connection_dispose()
3442 g_return_if_fail (self->priv->bus_proxy != NULL); in tp_base_connection_dbus_add_client_interest()
3469 g_return_if_fail (self->priv->bus_proxy != NULL); in tp_base_connection_dbus_remove_client_interest()
[all …]
H A Ddbus.c159 static DBusGProxy *bus_proxy = NULL; in tp_get_bus_proxy() local
161 if (bus_proxy == NULL) in tp_get_bus_proxy()
172 bus_proxy = dbus_g_proxy_new_for_name (bus, in tp_get_bus_proxy()
177 if (bus_proxy == NULL) in tp_get_bus_proxy()
181 return bus_proxy; in tp_get_bus_proxy()

12