Home
last modified time | relevance | path

Searched refs:dbus (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_dbus.c140 dbus.session_conn = dbus.bus_get_private(DBUS_BUS_SESSION, &err); in SDL_DBus_Init()
147 dbus.connection_set_exit_on_disconnect(dbus.session_conn, 0); in SDL_DBus_Init()
150 dbus.system_conn = dbus.bus_get_private(DBUS_BUS_SYSTEM, &err); in SDL_DBus_Init()
152 dbus.connection_set_exit_on_disconnect(dbus.system_conn, 0); in SDL_DBus_Init()
163 dbus.connection_close(dbus.system_conn); in SDL_DBus_Quit()
164 dbus.connection_unref(dbus.system_conn); in SDL_DBus_Quit()
167 dbus.connection_close(dbus.session_conn); in SDL_DBus_Quit()
168 dbus.connection_unref(dbus.session_conn); in SDL_DBus_Quit()
174 if (dbus.shutdown) { in SDL_DBus_Quit()
178 SDL_zero(dbus); in SDL_DBus_Quit()
[all …]
A DSDL_fcitx.c47 SDL_DBusContext *dbus; member
92 dbus->message_iter_init(msg, &iter); in Fcitx_GetPreeditString()
215 if (dbus->session_conn) { in FcitxCreateInputContext()
227 reply = dbus->connection_send_with_reply_and_block(dbus->session_conn, msg, 300, NULL); in FcitxCreateInputContext()
234 dbus->message_unref(msg); in FcitxCreateInputContext()
245 SDL_DBusContext *dbus = client->dbus; in FcitxClientCreateIC() local
258 dbus->bus_add_match(dbus->session_conn, in FcitxClientCreateIC()
261 dbus->connection_add_filter(dbus->session_conn, in FcitxClientCreateIC()
264 dbus->connection_flush(dbus->session_conn); in FcitxClientCreateIC()
409 SDL_DBusContext *dbus = fcitx_client.dbus; in SDL_Fcitx_PumpEvents() local
[all …]
A DSDL_ibus.c98 dbus->message_iter_next(&sub2); in IBus_GetVariantText()
99 dbus->message_iter_next(&sub2); in IBus_GetVariantText()
207 SDL_DBusContext *dbus; in IBus_GetDBusAddressFilename() local
222 dbus = SDL_DBus_GetContext(); in IBus_GetDBusAddressFilename()
223 if (!dbus) { in IBus_GetDBusAddressFilename()
282 dbus->free(key); in IBus_GetDBusAddressFilename()
356 if (!dbus) return SDL_FALSE; in IBus_CheckConnection()
405 if (dbus) { in SDL_IBus_Init()
448 SDL_DBusContext *dbus; in SDL_IBus_Quit() local
462 if (dbus && ibus_conn) { in SDL_IBus_Quit()
[all …]
A DSDL_threadprio.c57 SDL_DBusContext *dbus = SDL_DBus_GetContext(); in rtkit_initialize() local
60 …if (!dbus || !SDL_DBus_QueryPropertyOnConnection(dbus->system_conn, RTKIT_DBUS_NODE, RTKIT_DBUS_PA… in rtkit_initialize()
66 …if (!dbus || !SDL_DBus_QueryPropertyOnConnection(dbus->system_conn, RTKIT_DBUS_NODE, RTKIT_DBUS_PA… in rtkit_initialize()
137 SDL_DBusContext *dbus = SDL_DBus_GetContext(); in rtkit_setpriority_nice() local
152 if (!dbus || !SDL_DBus_CallMethodOnConnection(dbus->system_conn, in rtkit_setpriority_nice()
166 SDL_DBusContext *dbus = SDL_DBus_GetContext(); in rtkit_setpriority_realtime() local
181 if (!dbus || !SDL_DBus_CallMethodOnConnection(dbus->system_conn, in rtkit_setpriority_realtime()
/AliOS-Things-master/components/SDL2/src/power/linux/
A DSDL_syspower.c619 SDL_DBusContext *dbus = SDL_DBus_GetContext(); in SDL_GetPowerInfo_Linux_org_freedesktop_upower() local
623 …if (!dbus || !SDL_DBus_CallMethodOnConnection(dbus->system_conn, UPOWER_DBUS_NODE, UPOWER_DBUS_PAT… in SDL_GetPowerInfo_Linux_org_freedesktop_upower()
635 check_upower_device(dbus->system_conn, paths[i], state, seconds, percent); in SDL_GetPowerInfo_Linux_org_freedesktop_upower()
638 if (dbus) { in SDL_GetPowerInfo_Linux_org_freedesktop_upower()
639 dbus->free_string_array(paths); in SDL_GetPowerInfo_Linux_org_freedesktop_upower()
/AliOS-Things-master/components/SDL2/
A DCMakeLists.txt1203 pkg_search_module(DBUS dbus-1 dbus)
1208 # Fcitx need only dbus.
A Dconfigure1681 --enable-dbus enable D-Bus support [[default=yes]]

Completed in 35 milliseconds