Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
test-mpris-backend-client.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <gee.h>
#include <config.h>

Go to the source code of this file.

Classes

struct  _FreeDesktopObjectIface
struct  _MprisRootIface
struct  _MprisPlayerIface
struct  _PlaylistDetails
struct  _ActivePlaylistContainer
struct  _MprisPlaylistsIface
struct  _Mpris2Watcher
struct  _Mpris2WatcherClass
struct  _Mpris2WatcherPrivate
struct  _Mpris2WatcherCheckForActiveClientsData
struct  _Mpris2Controller
struct  _Mpris2ControllerClass
struct  _Mpris2ControllerPrivate
struct  _MprisClient
struct  _MprisClientClass
struct  _MprisClientPrivate
struct  _MprisClientDoTestAsyncGetPlaylistsData
struct  _Block1Data
struct  _MprisClientDoTestAsyncActivatePlaylistData

Defines

#define TYPE_FREE_DESKTOP_OBJECT   (free_desktop_object_get_type ())
#define FREE_DESKTOP_OBJECT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObject))
#define IS_FREE_DESKTOP_OBJECT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_OBJECT))
#define FREE_DESKTOP_OBJECT_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObjectIface))
#define TYPE_FREE_DESKTOP_OBJECT_PROXY   (free_desktop_object_proxy_get_type ())
#define _g_free0(var)   (var = (g_free (var), NULL))
#define TYPE_MPRIS_ROOT   (mpris_root_get_type ())
#define MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_ROOT, MprisRoot))
#define IS_MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_ROOT))
#define MPRIS_ROOT_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_ROOT, MprisRootIface))
#define TYPE_MPRIS_ROOT_PROXY   (mpris_root_proxy_get_type ())
#define TYPE_MPRIS_PLAYER   (mpris_player_get_type ())
#define MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYER, MprisPlayer))
#define IS_MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYER))
#define MPRIS_PLAYER_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYER, MprisPlayerIface))
#define TYPE_MPRIS_PLAYER_PROXY   (mpris_player_proxy_get_type ())
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define TYPE_PLAYLIST_DETAILS   (playlist_details_get_type ())
#define TYPE_ACTIVE_PLAYLIST_CONTAINER   (active_playlist_container_get_type ())
#define TYPE_MPRIS_PLAYLISTS   (mpris_playlists_get_type ())
#define MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylists))
#define IS_MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYLISTS))
#define MPRIS_PLAYLISTS_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylistsIface))
#define TYPE_MPRIS_PLAYLISTS_PROXY   (mpris_playlists_proxy_get_type ())
#define TYPE_MPRIS2_WATCHER   (mpris2_watcher_get_type ())
#define MPRIS2_WATCHER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_WATCHER, Mpris2Watcher))
#define MPRIS2_WATCHER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))
#define IS_MPRIS2_WATCHER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_WATCHER))
#define IS_MPRIS2_WATCHER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_WATCHER))
#define MPRIS2_WATCHER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define TYPE_MPRIS2_CONTROLLER   (mpris2_controller_get_type ())
#define MPRIS2_CONTROLLER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2Controller))
#define MPRIS2_CONTROLLER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))
#define IS_MPRIS2_CONTROLLER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_CONTROLLER))
#define IS_MPRIS2_CONTROLLER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_CONTROLLER))
#define MPRIS2_CONTROLLER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))
#define TYPE_MPRIS_CLIENT   (mpris_client_get_type ())
#define MPRIS_CLIENT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_CLIENT, MprisClient))
#define MPRIS_CLIENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_CLIENT, MprisClientClass))
#define IS_MPRIS_CLIENT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_CLIENT))
#define IS_MPRIS_CLIENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_CLIENT))
#define MPRIS_CLIENT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_CLIENT, MprisClientClass))
#define _g_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _vala_assert(expr, msg)   if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define MPRIS_PREFIX   "org.mpris.MediaPlayer2."
#define MPRIS_MEDIA_PLAYER_PATH   "/org/mpris/MediaPlayer2"
#define FREEDESKTOP_SERVICE   "org.freedesktop.DBus"
#define FREEDESKTOP_OBJECT   "/org/freedesktop/DBus"
#define MPRIS2_WATCHER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_WATCHER, Mpris2WatcherPrivate))
#define MPRIS2_CONTROLLER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerPrivate))
#define MPRIS_CLIENT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_CLIENT, MprisClientPrivate))

Typedefs

typedef struct _FreeDesktopObject
typedef struct _FreeDesktopObjectIface
typedef GDBusProxy FreeDesktopObjectProxy
typedef GDBusProxyClass FreeDesktopObjectProxyClass
typedef struct _MprisRoot
typedef struct _MprisRootIface
typedef GDBusProxy MprisRootProxy
typedef GDBusProxyClass MprisRootProxyClass
typedef struct _MprisPlayer
typedef struct _MprisPlayerIface
typedef GDBusProxy MprisPlayerProxy
typedef GDBusProxyClass MprisPlayerProxyClass
typedef struct _PlaylistDetails
typedef struct _ActivePlaylistContainer
typedef struct _MprisPlaylists
typedef struct _MprisPlaylistsIface
typedef GDBusProxy MprisPlaylistsProxy
typedef GDBusProxyClass MprisPlaylistsProxyClass
typedef struct _Mpris2Watcher
typedef struct _Mpris2WatcherClass
typedef struct _Mpris2WatcherPrivate
typedef struct _Mpris2WatcherCheckForActiveClientsData
typedef struct _Mpris2Controller
typedef struct _Mpris2ControllerClass
typedef struct _Mpris2ControllerPrivate
typedef struct _MprisClient
typedef struct _MprisClientClass
typedef struct _MprisClientPrivate
typedef struct _MprisClientDoTestAsyncGetPlaylistsData
typedef struct _Block1Data
typedef struct _MprisClientDoTestAsyncActivatePlaylistData

Functions

GType free_desktop_object_proxy_get_type (void)
Mpris2Watcher * mpris2_watcher_new (void)
Mpris2Watcher * mpris2_watcher_construct (GType object_type)
static void mpris2_watcher_check_for_active_clients_data_free (gpointer _data)
void mpris2_watcher_check_for_active_clients (Mpris2Watcher *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris2_watcher_check_for_active_clients_finish (Mpris2Watcher *self, GAsyncResult *_res_)
static gboolean mpris2_watcher_check_for_active_clients_co (Mpris2WatcherCheckForActiveClientsData *_data_)
static void mpris2_watcher_check_for_active_clients_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static MprisRoot * mpris2_watcher_create_mpris_root (Mpris2Watcher *self, const gchar *name)
static void mpris2_watcher_name_changes_detected (Mpris2Watcher *self, FreeDesktopObject *dbus_obj, const gchar *name, const gchar *previous_owner, const gchar *current_owner)
static GObject * mpris2_watcher_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed (FreeDesktopObject *_sender, const gchar *name, const gchar *old_owner, const gchar *new_owner, gpointer self)
static void mpris2_watcher_finalize (GObject *obj)
GType mpris2_controller_get_type (void)
Mpris2Controller * mpris2_controller_new (const gchar *name)
Mpris2Controller * mpris2_controller_construct (GType object_type, const gchar *name)
static void mpris2_controller_on_playlistdetails_changed (Mpris2Controller *self, PlaylistDetails *details)
GeeHashMap * mpris2_controller_get_name_changed_playlistdetails (Mpris2Controller *self)
const gchar * mpris2_controller_get_dbus_name (Mpris2Controller *self)
static void mpris2_controller_set_dbus_name (Mpris2Controller *self, const gchar *value)
static void mpris2_controller_set_name_changed_playlistdetails (Mpris2Controller *self, GeeHashMap *value)
static GObject * mpris2_controller_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris2_controller_on_playlistdetails_changed_mpris_playlists_playlist_changed (MprisPlaylists *_sender, PlaylistDetails *details, gpointer self)
static void mpris2_controller_finalize (GObject *obj)
static void _vala_mpris2_controller_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_mpris2_controller_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
GType mpris_client_get_type (void)
MprisClient * mpris_client_new (GMainLoop *loop)
MprisClient * mpris_client_construct (GType object_type, GMainLoop *loop)
void mpris_client_on_client_appeared (MprisClient *self)
static gboolean __lambda2_ (MprisClient *self)
gboolean mpris_client_run_tests (void)
gboolean mpris_client_escape (MprisClient *self)
static gboolean ___lambda2__gsource_func (gpointer self)
GMainLoop * mpris_client_get_mainloop (MprisClient *self)
gint mpris_client_main (gchar **args, int args_length1)
void mpris_client_root_identity (void)
static void _mpris_client_root_identity_gtest_data_func (gpointer self)
void mpris_client_root_desktop_entry (void)
static void _mpris_client_root_desktop_entry_gtest_data_func (gpointer self)
void mpris_client_root_can_raise (void)
static void _mpris_client_root_can_raise_gtest_data_func (gpointer self)
void mpris_client_player_current_metadata (void)
static void _mpris_client_player_current_metadata_gtest_data_func (gpointer self)
void mpris_client_player_current_playback_status (void)
static void _mpris_client_player_current_playback_status_gtest_data_func (gpointer self)
void mpris_client_test_blacklist_check (void)
static void _mpris_client_test_blacklist_check_gtest_data_func (gpointer self)
void mpris_client_playlists_current_playlist (void)
static void _mpris_client_playlists_current_playlist_gtest_data_func (gpointer self)
void mpris_client_playlists_test_get_playlists (void)
static void _mpris_client_playlists_test_get_playlists_gtest_data_func (gpointer self)
void mpris_client_playlists_test_playlist_count (void)
static void _mpris_client_playlists_test_playlist_count_gtest_data_func (gpointer self)
void mpris_client_playlists_test_playlist_orderings (void)
static void _mpris_client_playlists_test_playlist_orderings_gtest_data_func (gpointer self)
void mpris_client_playlists_test_activate_playlist (void)
static void _mpris_client_playlists_test_activate_playlist_gtest_data_func (gpointer self)
gboolean mpris_client_test_playbackstatus_change (void)
static gboolean _mpris_client_test_playbackstatus_change_gsource_func (gpointer self)
gboolean mpris_client_test_second_playbackstatus_change (void)
static gboolean _mpris_client_test_second_playbackstatus_change_gsource_func (gpointer self)
void mpris_client_do_test_async_get_playlists (GMainLoop *loop, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_client_do_test_async_get_playlists_finish (GAsyncResult *_res_)
static void mpris_client_do_test_async_get_playlists_data_free (gpointer _data)
static gboolean mpris_client_do_test_async_get_playlists_co (MprisClientDoTestAsyncGetPlaylistsData *_data_)
static void mpris_client_do_test_async_get_playlists_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
void mpris_client_do_test_async_activate_playlist (GMainLoop *loop, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_client_do_test_async_activate_playlist_finish (GAsyncResult *_res_)
static void mpris_client_do_test_async_activate_playlist_data_free (gpointer _data)
static gboolean mpris_client_do_test_async_activate_playlist_co (MprisClientDoTestAsyncActivatePlaylistData *_data_)
static Block1Data * block1_data_ref (Block1Data *_data1_)
static void block1_data_unref (void *_userdata_)
static void mpris_client_do_test_async_activate_playlist_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean ___lambda3_ (Block1Data *_data1_)
static gboolean ____lambda3__gsource_func (gpointer self)
static void mpris_client_set_mainloop (MprisClient *self, GMainLoop *value)
static GObject * mpris_client_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris_client_on_client_appeared_mpris2_watcher_client_appeared (Mpris2Watcher *_sender, gpointer self)
static void mpris_client_finalize (GObject *obj)
static void _vala_mpris_client_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_mpris_client_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func)
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func)
static gint _vala_array_length (gpointer array)
void free_desktop_object_list_names (FreeDesktopObject *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
gchar ** free_desktop_object_list_names_finish (FreeDesktopObject *self, GAsyncResult *_res_, int *result_length1, GError **error)
static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void free_desktop_object_base_init (FreeDesktopObjectIface *iface)
GType free_desktop_object_get_type (void)
static void free_desktop_object_proxy_class_init (FreeDesktopObjectProxyClass *klass)
static void _dbus_handle_free_desktop_object_name_owner_changed (FreeDesktopObject *self, GVariant *parameters)
static void free_desktop_object_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void free_desktop_object_proxy_init (FreeDesktopObjectProxy *self)
static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data)
static void free_desktop_object_proxy_list_names_async (FreeDesktopObject *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gchar ** free_desktop_object_proxy_list_names_finish (FreeDesktopObject *self, GAsyncResult *_res_, int *result_length1, GError **error)
static void free_desktop_object_proxy_free_desktop_object_interface_init (FreeDesktopObjectIface *iface)
static void _dbus_free_desktop_object_list_names (FreeDesktopObject *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_free_desktop_object_list_names_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void free_desktop_object_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * free_desktop_object_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static gboolean free_desktop_object_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _dbus_free_desktop_object_name_owner_changed (GObject *_sender, const gchar *name, const gchar *old_owner, const gchar *new_owner, gpointer *_data)
guint free_desktop_object_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _free_desktop_object_unregister_object (gpointer user_data)
void mpris_root_Quit (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_root_Quit_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
void mpris_root_Raise (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_root_Raise_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
gboolean mpris_root_get_HasTracklist (MprisRoot *self)
void mpris_root_set_HasTracklist (MprisRoot *self, gboolean value)
gboolean mpris_root_get_CanQuit (MprisRoot *self)
void mpris_root_set_CanQuit (MprisRoot *self, gboolean value)
gboolean mpris_root_get_CanRaise (MprisRoot *self)
void mpris_root_set_CanRaise (MprisRoot *self, gboolean value)
gchar * mpris_root_get_Identity (MprisRoot *self)
void mpris_root_set_Identity (MprisRoot *self, const gchar *value)
gchar * mpris_root_get_DesktopEntry (MprisRoot *self)
void mpris_root_set_DesktopEntry (MprisRoot *self, const gchar *value)
static void mpris_root_base_init (MprisRootIface *iface)
GType mpris_root_get_type (void)
static void mpris_root_proxy_class_init (MprisRootProxyClass *klass)
static void mpris_root_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_root_proxy_init (MprisRootProxy *self)
static void mpris_root_proxy_Quit_async (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_root_proxy_Quit_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
static void mpris_root_proxy_Raise_async (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_root_proxy_Raise_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
static gboolean mpris_root_dbus_proxy_get_HasTracklist (MprisRoot *self)
static void mpris_root_dbus_proxy_set_HasTracklist (MprisRoot *self, gboolean value)
static gboolean mpris_root_dbus_proxy_get_CanQuit (MprisRoot *self)
static void mpris_root_dbus_proxy_set_CanQuit (MprisRoot *self, gboolean value)
static gboolean mpris_root_dbus_proxy_get_CanRaise (MprisRoot *self)
static void mpris_root_dbus_proxy_set_CanRaise (MprisRoot *self, gboolean value)
static gchar * mpris_root_dbus_proxy_get_Identity (MprisRoot *self)
static void mpris_root_dbus_proxy_set_Identity (MprisRoot *self, const gchar *value)
static gchar * mpris_root_dbus_proxy_get_DesktopEntry (MprisRoot *self)
static void mpris_root_dbus_proxy_set_DesktopEntry (MprisRoot *self, const gchar *value)
static void mpris_root_proxy_mpris_root_interface_init (MprisRootIface *iface)
static void _dbus_mpris_root_Quit (MprisRoot *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_root_Quit_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_root_Raise (MprisRoot *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_root_Raise_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void mpris_root_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * _dbus_mpris_root_get_HasTracklist (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_CanQuit (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_CanRaise (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_Identity (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_DesktopEntry (MprisRoot *self)
static GVariant * mpris_root_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static void _dbus_mpris_root_set_HasTracklist (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_CanQuit (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_CanRaise (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_Identity (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_DesktopEntry (MprisRoot *self, GVariant *_value)
static gboolean mpris_root_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
guint mpris_root_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_root_unregister_object (gpointer user_data)
void mpris_player_PlayPause (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_PlayPause_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Next (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Next_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Previous (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Previous_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Seek (MprisPlayer *self, gint64 offset, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Seek_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
GHashTable * mpris_player_get_Metadata (MprisPlayer *self)
void mpris_player_set_Metadata (MprisPlayer *self, GHashTable *value)
gint32 mpris_player_get_Position (MprisPlayer *self)
void mpris_player_set_Position (MprisPlayer *self, gint32 value)
gchar * mpris_player_get_PlaybackStatus (MprisPlayer *self)
void mpris_player_set_PlaybackStatus (MprisPlayer *self, const gchar *value)
static void g_cclosure_user_marshal_VOID__INT64 (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void mpris_player_base_init (MprisPlayerIface *iface)
GType mpris_player_get_type (void)
static void mpris_player_proxy_class_init (MprisPlayerProxyClass *klass)
static void _dbus_handle_mpris_player_seeked (MprisPlayer *self, GVariant *parameters)
static void mpris_player_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_player_proxy_init (MprisPlayerProxy *self)
static void mpris_player_proxy_PlayPause_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_PlayPause_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Next_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Next_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Previous_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Previous_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Seek_async (MprisPlayer *self, gint64 offset, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Seek_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static GHashTable * mpris_player_dbus_proxy_get_Metadata (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_Metadata (MprisPlayer *self, GHashTable *value)
static gint32 mpris_player_dbus_proxy_get_Position (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_Position (MprisPlayer *self, gint32 value)
static gchar * mpris_player_dbus_proxy_get_PlaybackStatus (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_PlaybackStatus (MprisPlayer *self, const gchar *value)
static void mpris_player_proxy_mpris_player_interface_init (MprisPlayerIface *iface)
static void _dbus_mpris_player_PlayPause (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_PlayPause_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Next (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Next_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Previous (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Previous_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Seek (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Seek_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void mpris_player_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * _dbus_mpris_player_get_Metadata (MprisPlayer *self)
static GVariant * _dbus_mpris_player_get_Position (MprisPlayer *self)
static GVariant * _dbus_mpris_player_get_PlaybackStatus (MprisPlayer *self)
static GVariant * mpris_player_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static void _dbus_mpris_player_set_Metadata (MprisPlayer *self, GVariant *_value)
static void _dbus_mpris_player_set_Position (MprisPlayer *self, GVariant *_value)
static void _dbus_mpris_player_set_PlaybackStatus (MprisPlayer *self, GVariant *_value)
static gboolean mpris_player_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _dbus_mpris_player_seeked (GObject *_sender, gint64 new_position, gpointer *_data)
guint mpris_player_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_player_unregister_object (gpointer user_data)
void playlist_details_copy (const PlaylistDetails *self, PlaylistDetails *dest)
void playlist_details_destroy (PlaylistDetails *self)
PlaylistDetails * playlist_details_dup (const PlaylistDetails *self)
void playlist_details_free (PlaylistDetails *self)
GType playlist_details_get_type (void)
void active_playlist_container_copy (const ActivePlaylistContainer *self, ActivePlaylistContainer *dest)
void active_playlist_container_destroy (ActivePlaylistContainer *self)
ActivePlaylistContainer * active_playlist_container_dup (const ActivePlaylistContainer *self)
void active_playlist_container_free (ActivePlaylistContainer *self)
GType active_playlist_container_get_type (void)
void mpris_playlists_ActivatePlaylist (MprisPlaylists *self, const char *playlist_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_playlists_ActivatePlaylist_finish (MprisPlaylists *self, GAsyncResult *_res_, GError **error)
void mpris_playlists_GetPlaylists (MprisPlaylists *self, guint32 index, guint32 max_count, const gchar *order, gboolean reverse_order, GAsyncReadyCallback _callback_, gpointer _user_data_)
PlaylistDetails * mpris_playlists_GetPlaylists_finish (MprisPlaylists *self, GAsyncResult *_res_, int *result_length1, GError **error)
gchar ** mpris_playlists_get_Orderings (MprisPlaylists *self, int *result_length1)
void mpris_playlists_set_Orderings (MprisPlaylists *self, gchar **value, int value_length1)
guint32 mpris_playlists_get_PlaylistCount (MprisPlaylists *self)
void mpris_playlists_set_PlaylistCount (MprisPlaylists *self, guint32 value)
void mpris_playlists_get_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *result)
void mpris_playlists_set_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *value)
static void g_cclosure_user_marshal_VOID__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void mpris_playlists_base_init (MprisPlaylistsIface *iface)
GType mpris_playlists_get_type (void)
static void mpris_playlists_proxy_class_init (MprisPlaylistsProxyClass *klass)
static void _dbus_handle_mpris_playlists_playlist_changed (MprisPlaylists *self, GVariant *parameters)
static void mpris_playlists_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_playlists_proxy_init (MprisPlaylistsProxy *self)
static void mpris_playlists_proxy_ActivatePlaylist_async (MprisPlaylists *self, const char *playlist_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_playlists_proxy_ActivatePlaylist_finish (MprisPlaylists *self, GAsyncResult *_res_, GError **error)
static void mpris_playlists_proxy_GetPlaylists_async (MprisPlaylists *self, guint32 index, guint32 max_count, const gchar *order, gboolean reverse_order, GAsyncReadyCallback _callback_, gpointer _user_data_)
static PlaylistDetails * mpris_playlists_proxy_GetPlaylists_finish (MprisPlaylists *self, GAsyncResult *_res_, int *result_length1, GError **error)
static gchar ** mpris_playlists_dbus_proxy_get_Orderings (MprisPlaylists *self, int *result_length1)
static void mpris_playlists_dbus_proxy_set_Orderings (MprisPlaylists *self, gchar **value, int value_length1)
static guint32 mpris_playlists_dbus_proxy_get_PlaylistCount (MprisPlaylists *self)
static void mpris_playlists_dbus_proxy_set_PlaylistCount (MprisPlaylists *self, guint32 value)
static void mpris_playlists_dbus_proxy_get_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *result)
static void mpris_playlists_dbus_proxy_set_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *value)
static void mpris_playlists_proxy_mpris_playlists_interface_init (MprisPlaylistsIface *iface)
static void _dbus_mpris_playlists_ActivatePlaylist (MprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_playlists_ActivatePlaylist_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_playlists_GetPlaylists (MprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _vala_PlaylistDetails_array_free (PlaylistDetails *array, gint array_length)
static void _dbus_mpris_playlists_GetPlaylists_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void mpris_playlists_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * _dbus_mpris_playlists_get_Orderings (MprisPlaylists *self)
static GVariant * _dbus_mpris_playlists_get_PlaylistCount (MprisPlaylists *self)
static GVariant * _dbus_mpris_playlists_get_ActivePlaylist (MprisPlaylists *self)
static GVariant * mpris_playlists_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static void _dbus_mpris_playlists_set_Orderings (MprisPlaylists *self, GVariant *_value)
static void _dbus_mpris_playlists_set_PlaylistCount (MprisPlaylists *self, GVariant *_value)
static void _dbus_mpris_playlists_set_ActivePlaylist (MprisPlaylists *self, GVariant *_value)
static gboolean mpris_playlists_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _dbus_mpris_playlists_playlist_changed (GObject *_sender, PlaylistDetails *details, gpointer *_data)
guint mpris_playlists_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_playlists_unregister_object (gpointer user_data)
static gpointer _g_object_ref0 (gpointer self)
static void mpris2_watcher_class_init (Mpris2WatcherClass *klass)
static void mpris2_watcher_instance_init (Mpris2Watcher *self)
GType mpris2_watcher_get_type (void)
static void mpris2_controller_class_init (Mpris2ControllerClass *klass)
static void mpris2_controller_instance_init (Mpris2Controller *self)
int main (int argc, char **argv)
static gpointer _g_variant_ref0 (gpointer self)
static gpointer _g_main_loop_ref0 (gpointer self)
static void mpris_client_class_init (MprisClientClass *klass)
static void mpris_client_instance_init (MprisClient *self)

Variables

static gpointer mpris2_watcher_parent_class = NULL
static gpointer mpris2_controller_parent_class = NULL
static gpointer mpris_client_parent_class = NULL
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_list_names_result = {-1, "result", "as"}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_list_names_in [] = {NULL}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_list_names_out [] = {&_free_desktop_object_dbus_arg_info_list_names_result, NULL}
static const GDBusMethodInfo _free_desktop_object_dbus_method_info_list_names = {-1, "ListNames", (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_list_names_in), (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_list_names_out)}
static const GDBusMethodInfo *const _free_desktop_object_dbus_method_info [] = {&_free_desktop_object_dbus_method_info_list_names, NULL}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_name = {-1, "name", "s"}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_old_owner = {-1, "old_owner", "s"}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_new_owner = {-1, "new_owner", "s"}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_name_owner_changed [] = {&_free_desktop_object_dbus_arg_info_name_owner_changed_name, &_free_desktop_object_dbus_arg_info_name_owner_changed_old_owner, &_free_desktop_object_dbus_arg_info_name_owner_changed_new_owner, NULL}
static const GDBusSignalInfo _free_desktop_object_dbus_signal_info_name_owner_changed = {-1, "NameOwnerChanged", (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_name_owner_changed)}
static const GDBusSignalInfo *const _free_desktop_object_dbus_signal_info [] = {&_free_desktop_object_dbus_signal_info_name_owner_changed, NULL}
static const GDBusPropertyInfo
*const 
_free_desktop_object_dbus_property_info [] = {NULL}
static const GDBusInterfaceInfo _free_desktop_object_dbus_interface_info = {-1, "org.freedesktop.DBus", (GDBusMethodInfo **) (&_free_desktop_object_dbus_method_info), (GDBusSignalInfo **) (&_free_desktop_object_dbus_signal_info), (GDBusPropertyInfo **) (&_free_desktop_object_dbus_property_info)}
static const GDBusInterfaceVTable _free_desktop_object_dbus_interface_vtable = {free_desktop_object_dbus_interface_method_call, free_desktop_object_dbus_interface_get_property, free_desktop_object_dbus_interface_set_property}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Quit_in [] = {NULL}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Quit_out [] = {NULL}
static const GDBusMethodInfo _mpris_root_dbus_method_info_Quit = {-1, "Quit", (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Quit_in), (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Quit_out)}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Raise_in [] = {NULL}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Raise_out [] = {NULL}
static const GDBusMethodInfo _mpris_root_dbus_method_info_Raise = {-1, "Raise", (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Raise_in), (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Raise_out)}
static const GDBusMethodInfo *const _mpris_root_dbus_method_info [] = {&_mpris_root_dbus_method_info_Quit, &_mpris_root_dbus_method_info_Raise, NULL}
static const GDBusSignalInfo *const _mpris_root_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_HasTracklist = {-1, "HasTracklist", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_CanQuit = {-1, "CanQuit", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_CanRaise = {-1, "CanRaise", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_Identity = {-1, "Identity", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_DesktopEntry = {-1, "DesktopEntry", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_root_dbus_property_info [] = {&_mpris_root_dbus_property_info_HasTracklist, &_mpris_root_dbus_property_info_CanQuit, &_mpris_root_dbus_property_info_CanRaise, &_mpris_root_dbus_property_info_Identity, &_mpris_root_dbus_property_info_DesktopEntry, NULL}
static const GDBusInterfaceInfo _mpris_root_dbus_interface_info = {-1, "org.mpris.MediaPlayer2", (GDBusMethodInfo **) (&_mpris_root_dbus_method_info), (GDBusSignalInfo **) (&_mpris_root_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_root_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_root_dbus_interface_vtable = {mpris_root_dbus_interface_method_call, mpris_root_dbus_interface_get_property, mpris_root_dbus_interface_set_property}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_PlayPause_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_PlayPause_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_PlayPause = {-1, "PlayPause", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_PlayPause_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_PlayPause_out)}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Next_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Next_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Next = {-1, "Next", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Next_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Next_out)}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Previous_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Previous_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Previous = {-1, "Previous", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Previous_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Previous_out)}
static const GDBusArgInfo _mpris_player_dbus_arg_info_Seek_offset = {-1, "offset", "x"}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Seek_in [] = {&_mpris_player_dbus_arg_info_Seek_offset, NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Seek_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Seek = {-1, "Seek", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Seek_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Seek_out)}
static const GDBusMethodInfo *const _mpris_player_dbus_method_info [] = {&_mpris_player_dbus_method_info_PlayPause, &_mpris_player_dbus_method_info_Next, &_mpris_player_dbus_method_info_Previous, &_mpris_player_dbus_method_info_Seek, NULL}
static const GDBusArgInfo _mpris_player_dbus_arg_info_seeked_new_position = {-1, "new_position", "x"}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_seeked [] = {&_mpris_player_dbus_arg_info_seeked_new_position, NULL}
static const GDBusSignalInfo _mpris_player_dbus_signal_info_seeked = {-1, "Seeked", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_seeked)}
static const GDBusSignalInfo *const _mpris_player_dbus_signal_info [] = {&_mpris_player_dbus_signal_info_seeked, NULL}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_Metadata = {-1, "Metadata", "a{sv}", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_Position = {-1, "Position", "i", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_PlaybackStatus = {-1, "PlaybackStatus", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_player_dbus_property_info [] = {&_mpris_player_dbus_property_info_Metadata, &_mpris_player_dbus_property_info_Position, &_mpris_player_dbus_property_info_PlaybackStatus, NULL}
static const GDBusInterfaceInfo _mpris_player_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Player", (GDBusMethodInfo **) (&_mpris_player_dbus_method_info), (GDBusSignalInfo **) (&_mpris_player_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_player_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_player_dbus_interface_vtable = {mpris_player_dbus_interface_method_call, mpris_player_dbus_interface_get_property, mpris_player_dbus_interface_set_property}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_ActivatePlaylist_playlist_id = {-1, "playlist_id", "o"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_ActivatePlaylist_in [] = {&_mpris_playlists_dbus_arg_info_ActivatePlaylist_playlist_id, NULL}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_ActivatePlaylist_out [] = {NULL}
static const GDBusMethodInfo _mpris_playlists_dbus_method_info_ActivatePlaylist = {-1, "ActivatePlaylist", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_ActivatePlaylist_in), (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_ActivatePlaylist_out)}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_index = {-1, "index", "u"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_max_count = {-1, "max_count", "u"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_order = {-1, "order", "s"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_reverse_order = {-1, "reverse_order", "b"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_result = {-1, "result", "a(oss)"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_GetPlaylists_in [] = {&_mpris_playlists_dbus_arg_info_GetPlaylists_index, &_mpris_playlists_dbus_arg_info_GetPlaylists_max_count, &_mpris_playlists_dbus_arg_info_GetPlaylists_order, &_mpris_playlists_dbus_arg_info_GetPlaylists_reverse_order, NULL}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_GetPlaylists_out [] = {&_mpris_playlists_dbus_arg_info_GetPlaylists_result, NULL}
static const GDBusMethodInfo _mpris_playlists_dbus_method_info_GetPlaylists = {-1, "GetPlaylists", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_GetPlaylists_in), (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_GetPlaylists_out)}
static const GDBusMethodInfo *const _mpris_playlists_dbus_method_info [] = {&_mpris_playlists_dbus_method_info_ActivatePlaylist, &_mpris_playlists_dbus_method_info_GetPlaylists, NULL}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_playlist_changed_details = {-1, "details", "(oss)"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_playlist_changed [] = {&_mpris_playlists_dbus_arg_info_playlist_changed_details, NULL}
static const GDBusSignalInfo _mpris_playlists_dbus_signal_info_playlist_changed = {-1, "PlaylistChanged", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_playlist_changed)}
static const GDBusSignalInfo *const _mpris_playlists_dbus_signal_info [] = {&_mpris_playlists_dbus_signal_info_playlist_changed, NULL}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_Orderings = {-1, "Orderings", "as", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_PlaylistCount = {-1, "PlaylistCount", "u", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_ActivePlaylist = {-1, "ActivePlaylist", "(b(oss))", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_playlists_dbus_property_info [] = {&_mpris_playlists_dbus_property_info_Orderings, &_mpris_playlists_dbus_property_info_PlaylistCount, &_mpris_playlists_dbus_property_info_ActivePlaylist, NULL}
static const GDBusInterfaceInfo _mpris_playlists_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Playlists", (GDBusMethodInfo **) (&_mpris_playlists_dbus_method_info), (GDBusSignalInfo **) (&_mpris_playlists_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_playlists_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_playlists_dbus_interface_vtable = {mpris_playlists_dbus_interface_method_call, mpris_playlists_dbus_interface_get_property, mpris_playlists_dbus_interface_set_property}

Class Documentation

struct _PlaylistDetails

Definition at line 154 of file test-mpris-backend-client.c.

Class Members
gchar * icon_name
gchar * name
char * path
struct _ActivePlaylistContainer

Definition at line 160 of file test-mpris-backend-client.c.

Class Members
PlaylistDetails details
gboolean valid
struct _Mpris2Watcher

Definition at line 179 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2Watcher:
Class Members
GObject parent_instance
Mpris2WatcherPrivate * priv
struct _Mpris2WatcherClass

Definition at line 184 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _Mpris2WatcherPrivate

Definition at line 188 of file test-mpris-backend-client.c.

Class Members
FreeDesktopObject * fdesktop_obj
struct _Mpris2WatcherCheckForActiveClientsData

Definition at line 192 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2WatcherCheckForActiveClientsData:
Class Members
gint __tmp3__size_
gint _address_collection_size_
GSimpleAsyncResult * _async_result
GError * _inner_error_
gint _interfaces_size_
GAsyncResult * _res_
GObject * _source_object_
int _state_
FreeDesktopObject * _tmp0_
const gchar * _tmp10_
MprisRoot * _tmp11_
MprisRoot * _tmp12_
gint _tmp1_
gchar ** _tmp2_
gchar ** _tmp3_
gint _tmp3__length1
GError * _tmp4_
const gchar * _tmp5_
gchar ** _tmp6_
gint _tmp6__length1
gchar * _tmp7_
const gchar * _tmp8_
gboolean _tmp9_
gchar * address
gchar ** address_collection
gint address_collection_length1
gint address_it
GError * e
gchar ** interfaces
gint interfaces_length1
MprisRoot * mpris2_root
Mpris2Watcher * self
struct _Mpris2Controller

Definition at line 227 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2Controller:
Class Members
MprisRoot * mpris2_root
GObject parent_instance
MprisPlayer * player
MprisPlaylists * playlists
Mpris2ControllerPrivate * priv
FreeDesktopProperties * properties_interface
GeeArrayList * received_prop_updates_for_active_playlists
GeeArrayList * received_prop_updates_for_metadata_change
GeeArrayList * received_prop_updates_for_playback_status
struct _Mpris2ControllerClass

Definition at line 235 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _Mpris2ControllerPrivate

Definition at line 239 of file test-mpris-backend-client.c.

Class Members
gchar * _dbus_name
GeeHashMap * _name_changed_playlistdetails
struct _MprisClient

Definition at line 244 of file test-mpris-backend-client.c.

Collaboration diagram for _MprisClient:
Class Members
GObject parent_instance
MprisClientPrivate * priv
Mpris2Watcher * watcher
struct _MprisClientClass

Definition at line 250 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _MprisClientPrivate

Definition at line 254 of file test-mpris-backend-client.c.

Class Members
GMainLoop * _mainloop
struct _MprisClientDoTestAsyncGetPlaylistsData

Definition at line 258 of file test-mpris-backend-client.c.

Collaboration diagram for _MprisClientDoTestAsyncGetPlaylistsData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
gint _pls_size_
GAsyncResult * _res_
GObject * _source_object_
int _state_
Mpris2Controller * _tmp0_
PlaylistDetails _tmp10_
const gchar * _tmp11_
PlaylistDetails _tmp12_
const gchar * _tmp13_
PlaylistDetails _tmp14_
const gchar * _tmp15_
GMainLoop * _tmp16_
MprisPlaylists * _tmp1_
gint _tmp2_
PlaylistDetails * _tmp3_
PlaylistDetails _tmp4_
const char * _tmp5_
PlaylistDetails _tmp6_
const char * _tmp7_
PlaylistDetails _tmp8_
const gchar * _tmp9_
Mpris2Controller * controller
GError * e
GMainLoop * loop
PlaylistDetails * pls
gint pls_length1
struct _Block1Data

Definition at line 224 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolApplicationPreview * _result_
Mpris2Controller * contr
Mpris2Controller * controller
gchar * desc
gboolean got_generate_preview_signal
gboolean got_search_changed
GMainLoop * ml
UnityScopeProxy * scope
UnityLensImpl * self
gboolean timeout_reached
gchar * title
gboolean was_changed
struct _MprisClientDoTestAsyncActivatePlaylistData

Definition at line 295 of file test-mpris-backend-client.c.

Collaboration diagram for _MprisClientDoTestAsyncActivatePlaylistData:
Class Members
GSimpleAsyncResult * _async_result
Block1Data * _data1_
GError * _inner_error_
gint _pls_size_
GAsyncResult * _res_
GObject * _source_object_
int _state_
Mpris2Controller * _tmp0_
MprisPlaylists * _tmp1_
gint _tmp2_
PlaylistDetails * _tmp3_
MprisPlaylists * _tmp4_
PlaylistDetails _tmp5_
const char * _tmp6_
GMainLoop * _tmp7_
GError * e
GMainLoop * loop
PlaylistDetails * pls
gint pls_length1

Define Documentation

#define _g_error_free0 (   var)    ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

Definition at line 81 of file test-mpris-backend-client.c.

#define _g_free0 (   var)    (var = (g_free (var), NULL))

Definition at line 25 of file test-mpris-backend-client.c.

#define _g_hash_table_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

Definition at line 50 of file test-mpris-backend-client.c.

#define _g_main_loop_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))

Definition at line 105 of file test-mpris-backend-client.c.

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 80 of file test-mpris-backend-client.c.

#define _g_variant_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

Definition at line 106 of file test-mpris-backend-client.c.

#define _vala_assert (   expr,
  msg 
)    if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

Definition at line 110 of file test-mpris-backend-client.c.

#define FREE_DESKTOP_OBJECT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObject))

Definition at line 15 of file test-mpris-backend-client.c.

#define FREE_DESKTOP_OBJECT_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObjectIface))

Definition at line 17 of file test-mpris-backend-client.c.

#define FREEDESKTOP_OBJECT   "/org/freedesktop/DBus"

Definition at line 325 of file test-mpris-backend-client.c.

#define FREEDESKTOP_SERVICE   "org.freedesktop.DBus"

Definition at line 324 of file test-mpris-backend-client.c.

#define IS_FREE_DESKTOP_OBJECT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_OBJECT))

Definition at line 16 of file test-mpris-backend-client.c.

#define IS_MPRIS2_CONTROLLER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_CONTROLLER))

Definition at line 87 of file test-mpris-backend-client.c.

#define IS_MPRIS2_CONTROLLER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_CONTROLLER))

Definition at line 88 of file test-mpris-backend-client.c.

#define IS_MPRIS2_WATCHER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_WATCHER))

Definition at line 73 of file test-mpris-backend-client.c.

#define IS_MPRIS2_WATCHER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_WATCHER))

Definition at line 74 of file test-mpris-backend-client.c.

#define IS_MPRIS_CLIENT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_CLIENT))

Definition at line 98 of file test-mpris-backend-client.c.

#define IS_MPRIS_CLIENT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_CLIENT))

Definition at line 99 of file test-mpris-backend-client.c.

#define IS_MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYER))

Definition at line 41 of file test-mpris-backend-client.c.

#define IS_MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYLISTS))

Definition at line 60 of file test-mpris-backend-client.c.

#define IS_MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_ROOT))

Definition at line 29 of file test-mpris-backend-client.c.

#define MPRIS2_CONTROLLER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2Controller))

Definition at line 85 of file test-mpris-backend-client.c.

#define MPRIS2_CONTROLLER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))

Definition at line 86 of file test-mpris-backend-client.c.

#define MPRIS2_CONTROLLER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))

Definition at line 89 of file test-mpris-backend-client.c.

#define MPRIS2_CONTROLLER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerPrivate))
#define MPRIS2_WATCHER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_WATCHER, Mpris2Watcher))

Definition at line 71 of file test-mpris-backend-client.c.

#define MPRIS2_WATCHER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))

Definition at line 72 of file test-mpris-backend-client.c.

#define MPRIS2_WATCHER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))

Definition at line 75 of file test-mpris-backend-client.c.

#define MPRIS2_WATCHER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_WATCHER, Mpris2WatcherPrivate))
#define MPRIS_CLIENT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_CLIENT, MprisClient))

Definition at line 96 of file test-mpris-backend-client.c.

#define MPRIS_CLIENT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_CLIENT, MprisClientClass))

Definition at line 97 of file test-mpris-backend-client.c.

#define MPRIS_CLIENT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_CLIENT, MprisClientClass))

Definition at line 100 of file test-mpris-backend-client.c.

#define MPRIS_CLIENT_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_CLIENT, MprisClientPrivate))
#define MPRIS_MEDIA_PLAYER_PATH   "/org/mpris/MediaPlayer2"

Definition at line 323 of file test-mpris-backend-client.c.

#define MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYER, MprisPlayer))

Definition at line 40 of file test-mpris-backend-client.c.

#define MPRIS_PLAYER_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYER, MprisPlayerIface))

Definition at line 42 of file test-mpris-backend-client.c.

#define MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylists))

Definition at line 59 of file test-mpris-backend-client.c.

#define MPRIS_PLAYLISTS_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylistsIface))

Definition at line 61 of file test-mpris-backend-client.c.

#define MPRIS_PREFIX   "org.mpris.MediaPlayer2."

Definition at line 322 of file test-mpris-backend-client.c.

#define MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_ROOT, MprisRoot))

Definition at line 28 of file test-mpris-backend-client.c.

#define MPRIS_ROOT_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_ROOT, MprisRootIface))

Definition at line 30 of file test-mpris-backend-client.c.

Definition at line 55 of file test-mpris-backend-client.c.

Definition at line 14 of file test-mpris-backend-client.c.

Definition at line 22 of file test-mpris-backend-client.c.

Definition at line 84 of file test-mpris-backend-client.c.

Definition at line 70 of file test-mpris-backend-client.c.

Definition at line 95 of file test-mpris-backend-client.c.

Definition at line 39 of file test-mpris-backend-client.c.

#define TYPE_MPRIS_PLAYER_PROXY   (mpris_player_proxy_get_type ())

Definition at line 47 of file test-mpris-backend-client.c.

Definition at line 58 of file test-mpris-backend-client.c.

#define TYPE_MPRIS_PLAYLISTS_PROXY   (mpris_playlists_proxy_get_type ())

Definition at line 66 of file test-mpris-backend-client.c.

Definition at line 27 of file test-mpris-backend-client.c.

#define TYPE_MPRIS_ROOT_PROXY   (mpris_root_proxy_get_type ())

Definition at line 35 of file test-mpris-backend-client.c.

Definition at line 52 of file test-mpris-backend-client.c.


Typedef Documentation

typedef struct _ActivePlaylistContainer

Definition at line 56 of file test-mpris-backend-client.c.

typedef struct _Block1Data

Definition at line 108 of file test-mpris-backend-client.c.

typedef struct _FreeDesktopObject

Definition at line 19 of file test-mpris-backend-client.c.

typedef struct _FreeDesktopObjectIface

Definition at line 20 of file test-mpris-backend-client.c.

typedef struct _Mpris2Controller

Definition at line 91 of file test-mpris-backend-client.c.

typedef struct _Mpris2ControllerClass

Definition at line 92 of file test-mpris-backend-client.c.

typedef struct _Mpris2ControllerPrivate

Definition at line 93 of file test-mpris-backend-client.c.

typedef struct _Mpris2Watcher

Definition at line 77 of file test-mpris-backend-client.c.

Definition at line 82 of file test-mpris-backend-client.c.

typedef struct _Mpris2WatcherClass

Definition at line 78 of file test-mpris-backend-client.c.

typedef struct _Mpris2WatcherPrivate

Definition at line 79 of file test-mpris-backend-client.c.

typedef struct _MprisClient

Definition at line 102 of file test-mpris-backend-client.c.

typedef struct _MprisClientClass

Definition at line 103 of file test-mpris-backend-client.c.

Definition at line 109 of file test-mpris-backend-client.c.

Definition at line 107 of file test-mpris-backend-client.c.

typedef struct _MprisClientPrivate

Definition at line 104 of file test-mpris-backend-client.c.

typedef struct _MprisPlayer

Definition at line 44 of file test-mpris-backend-client.c.

typedef struct _MprisPlayerIface

Definition at line 45 of file test-mpris-backend-client.c.

typedef struct _MprisPlaylists

Definition at line 63 of file test-mpris-backend-client.c.

typedef struct _MprisPlaylistsIface

Definition at line 64 of file test-mpris-backend-client.c.

typedef struct _MprisRoot

Definition at line 32 of file test-mpris-backend-client.c.

typedef struct _MprisRootIface

Definition at line 33 of file test-mpris-backend-client.c.

typedef struct _PlaylistDetails

Definition at line 53 of file test-mpris-backend-client.c.

typedef GDBusProxy FreeDesktopObjectProxy

Definition at line 23 of file test-mpris-backend-client.c.

typedef GDBusProxyClass FreeDesktopObjectProxyClass

Definition at line 24 of file test-mpris-backend-client.c.

typedef GDBusProxy MprisPlayerProxy

Definition at line 48 of file test-mpris-backend-client.c.

typedef GDBusProxyClass MprisPlayerProxyClass

Definition at line 49 of file test-mpris-backend-client.c.

typedef GDBusProxy MprisPlaylistsProxy

Definition at line 67 of file test-mpris-backend-client.c.

typedef GDBusProxyClass MprisPlaylistsProxyClass

Definition at line 68 of file test-mpris-backend-client.c.

typedef GDBusProxy MprisRootProxy

Definition at line 36 of file test-mpris-backend-client.c.

typedef GDBusProxyClass MprisRootProxyClass

Definition at line 37 of file test-mpris-backend-client.c.


Function Documentation

static gboolean ____lambda3__gsource_func ( gpointer  self) [static]

Definition at line 4711 of file test-mpris-backend-client.c.

                                                          {
       gboolean result;
       result = ___lambda3_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda2__gsource_func ( gpointer  self) [static]

Definition at line 3847 of file test-mpris-backend-client.c.

                                                         {
       gboolean result;
       result = __lambda2_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda3_ ( Block1Data *  _data1_) [static]

Definition at line 4650 of file test-mpris-backend-client.c.

                                                  {
       gboolean result = FALSE;
       MprisPlaylists* _tmp0_;
       ActivePlaylistContainer _tmp1_;
       ActivePlaylistContainer _tmp2_;
       ActivePlaylistContainer _tmp3_;
       gboolean _tmp4_;
       MprisPlaylists* _tmp5_;
       ActivePlaylistContainer _tmp6_;
       ActivePlaylistContainer _tmp7_;
       ActivePlaylistContainer _tmp8_;
       PlaylistDetails _tmp9_;
       const char* _tmp10_;
       MprisPlaylists* _tmp11_;
       ActivePlaylistContainer _tmp12_;
       ActivePlaylistContainer _tmp13_;
       ActivePlaylistContainer _tmp14_;
       PlaylistDetails _tmp15_;
       const gchar* _tmp16_;
       MprisPlaylists* _tmp17_;
       ActivePlaylistContainer _tmp18_;
       ActivePlaylistContainer _tmp19_;
       ActivePlaylistContainer _tmp20_;
       PlaylistDetails _tmp21_;
       const gchar* _tmp22_;
       _tmp0_ = _data1_->contr->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp0_, &_tmp1_);
       _tmp2_ = _tmp1_;
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_.valid;
       _vala_assert (_tmp4_ == TRUE, "contr.playlists.ActivePlaylist.valid == true");
       active_playlist_container_destroy (&_tmp3_);
       _tmp5_ = _data1_->contr->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp5_, &_tmp6_);
       _tmp7_ = _tmp6_;
       _tmp8_ = _tmp7_;
       _tmp9_ = _tmp8_.details;
       _tmp10_ = _tmp9_.path;
       _vala_assert (g_strcmp0 (_tmp10_, "/fake/pl2/id") == 0, "contr.playlists.ActivePlaylist.details.path == \"/fake/pl2/id\"");
       active_playlist_container_destroy (&_tmp8_);
       _tmp11_ = _data1_->contr->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp11_, &_tmp12_);
       _tmp13_ = _tmp12_;
       _tmp14_ = _tmp13_;
       _tmp15_ = _tmp14_.details;
       _tmp16_ = _tmp15_.name;
       _vala_assert (g_strcmp0 (_tmp16_, "another playlist") == 0, "contr.playlists.ActivePlaylist.details.name == \"another playlist\"");
       active_playlist_container_destroy (&_tmp14_);
       _tmp17_ = _data1_->contr->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp17_, &_tmp18_);
       _tmp19_ = _tmp18_;
       _tmp20_ = _tmp19_;
       _tmp21_ = _tmp20_.details;
       _tmp22_ = _tmp21_.icon_name;
       _vala_assert (g_strcmp0 (_tmp22_, "audio-volume-high") == 0, "contr.playlists.ActivePlaylist.details.icon_name == \"audio-volume-high\"");
       active_playlist_container_destroy (&_tmp20_);
       result = FALSE;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda2_ ( MprisClient *  self) [static]

Definition at line 3837 of file test-mpris-backend-client.c.

                                               {
       gboolean result = FALSE;
       gboolean _tmp0_ = FALSE;
       mpris_client_run_tests ();
       _tmp0_ = mpris_client_escape (self);
       result = _tmp0_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_free_desktop_object_list_names ( FreeDesktopObject *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 854 of file test-mpris-backend-client.c.

                                                                                                                                    {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       free_desktop_object_list_names (self, (GAsyncReadyCallback) _dbus_free_desktop_object_list_names_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_free_desktop_object_list_names_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 861 of file test-mpris-backend-client.c.

                                                                                                                             {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       gchar** result;
       int result_length1 = 0;
       gchar** _tmp7_;
       GVariantBuilder _tmp8_;
       int _tmp9_;
       invocation = _user_data_;
       result = free_desktop_object_list_names_finish ((FreeDesktopObject*) source_object, _res_, &result_length1, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _tmp7_ = result;
       g_variant_builder_init (&_tmp8_, G_VARIANT_TYPE ("as"));
       for (_tmp9_ = 0; _tmp9_ < result_length1; _tmp9_++) {
              g_variant_builder_add_value (&_tmp8_, g_variant_new_string (*_tmp7_));
              _tmp7_++;
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp8_));
       result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_free_desktop_object_name_owner_changed ( GObject *  _sender,
const gchar *  name,
const gchar *  old_owner,
const gchar *  new_owner,
gpointer *  _data 
) [static]

Definition at line 927 of file test-mpris-backend-client.c.

                                                                                                                                                                {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (name));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (old_owner));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (new_owner));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus", "NameOwnerChanged", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_handle_free_desktop_object_name_owner_changed ( FreeDesktopObject *  self,
GVariant *  parameters 
) [static]

Definition at line 743 of file test-mpris-backend-client.c.

                                                                                                                {
       GVariantIter _arguments_iter;
       gchar* name = NULL;
       GVariant* _tmp0_;
       gchar* old_owner = NULL;
       GVariant* _tmp1_;
       gchar* new_owner = NULL;
       GVariant* _tmp2_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp0_ = g_variant_iter_next_value (&_arguments_iter);
       name = g_variant_dup_string (_tmp0_, NULL);
       g_variant_unref (_tmp0_);
       _tmp1_ = g_variant_iter_next_value (&_arguments_iter);
       old_owner = g_variant_dup_string (_tmp1_, NULL);
       g_variant_unref (_tmp1_);
       _tmp2_ = g_variant_iter_next_value (&_arguments_iter);
       new_owner = g_variant_dup_string (_tmp2_, NULL);
       g_variant_unref (_tmp2_);
       g_signal_emit_by_name (self, "name-owner-changed", name, old_owner, new_owner);
       _g_free0 (name);
       _g_free0 (old_owner);
       _g_free0 (new_owner);
}

Here is the caller graph for this function:

static void _dbus_handle_mpris_player_seeked ( MprisPlayer *  self,
GVariant *  parameters 
) [static]

Definition at line 1736 of file test-mpris-backend-client.c.

                                                                                       {
       GVariantIter _arguments_iter;
       gint64 new_position = 0LL;
       GVariant* _tmp10_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp10_ = g_variant_iter_next_value (&_arguments_iter);
       new_position = g_variant_get_int64 (_tmp10_);
       g_variant_unref (_tmp10_);
       g_signal_emit_by_name (self, "seeked", new_position);
}

Here is the caller graph for this function:

static void _dbus_handle_mpris_playlists_playlist_changed ( MprisPlaylists *  self,
GVariant *  parameters 
) [static]

Definition at line 2538 of file test-mpris-backend-client.c.

                                                                                                       {
       GVariantIter _arguments_iter;
       PlaylistDetails details = {0};
       GVariant* _tmp28_;
       PlaylistDetails _tmp29_;
       GVariantIter _tmp30_;
       GVariant* _tmp31_;
       GVariant* _tmp32_;
       GVariant* _tmp33_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp28_ = g_variant_iter_next_value (&_arguments_iter);
       g_variant_iter_init (&_tmp30_, _tmp28_);
       _tmp31_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.path = g_variant_dup_string (_tmp31_, NULL);
       g_variant_unref (_tmp31_);
       _tmp32_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.name = g_variant_dup_string (_tmp32_, NULL);
       g_variant_unref (_tmp32_);
       _tmp33_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.icon_name = g_variant_dup_string (_tmp33_, NULL);
       g_variant_unref (_tmp33_);
       details = _tmp29_;
       g_variant_unref (_tmp28_);
       g_signal_emit_by_name (self, "playlist-changed", &details);
       playlist_details_destroy (&details);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_Metadata ( MprisPlayer *  self) [static]

Definition at line 2184 of file test-mpris-backend-client.c.

                                                                     {
       GHashTable* result;
       GVariantBuilder _tmp20_;
       GHashTableIter _tmp21_;
       gpointer _tmp22_;
       gpointer _tmp23_;
       GVariant* _reply;
       result = mpris_player_get_Metadata (self);
       g_hash_table_iter_init (&_tmp21_, result);
       g_variant_builder_init (&_tmp20_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp21_, &_tmp22_, &_tmp23_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp22_;
              _value = (GVariant*) _tmp23_;
              g_variant_builder_add (&_tmp20_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       _reply = g_variant_builder_end (&_tmp20_);
       _g_hash_table_unref0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_PlaybackStatus ( MprisPlayer *  self) [static]

Definition at line 2216 of file test-mpris-backend-client.c.

                                                                           {
       gchar* result;
       GVariant* _reply;
       result = mpris_player_get_PlaybackStatus (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_Position ( MprisPlayer *  self) [static]

Definition at line 2207 of file test-mpris-backend-client.c.

                                                                     {
       gint32 result;
       GVariant* _reply;
       result = mpris_player_get_Position (self);
       _reply = g_variant_new_int32 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Next ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2073 of file test-mpris-backend-client.c.

                                                                                                                 {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_Next (self, (GAsyncReadyCallback) _dbus_mpris_player_Next_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Next_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2080 of file test-mpris-backend-client.c.

                                                                                                                {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Next_finish ((MprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_PlayPause ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2044 of file test-mpris-backend-client.c.

                                                                                                                      {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_PlayPause (self, (GAsyncReadyCallback) _dbus_mpris_player_PlayPause_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_PlayPause_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2051 of file test-mpris-backend-client.c.

                                                                                                                     {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_PlayPause_finish ((MprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Previous ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2102 of file test-mpris-backend-client.c.

                                                                                                                     {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_Previous (self, (GAsyncReadyCallback) _dbus_mpris_player_Previous_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Previous_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2109 of file test-mpris-backend-client.c.

                                                                                                                    {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Previous_finish ((MprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Seek ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2131 of file test-mpris-backend-client.c.

                                                                                                                 {
       GVariantIter _arguments_iter;
       gint64 offset = 0LL;
       GVariant* _tmp19_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp19_ = g_variant_iter_next_value (&_arguments_iter);
       offset = g_variant_get_int64 (_tmp19_);
       g_variant_unref (_tmp19_);
       mpris_player_Seek (self, offset, (GAsyncReadyCallback) _dbus_mpris_player_Seek_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Seek_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2143 of file test-mpris-backend-client.c.

                                                                                                                {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Seek_finish ((MprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_seeked ( GObject *  _sender,
gint64  new_position,
gpointer *  _data 
) [static]

Definition at line 2293 of file test-mpris-backend-client.c.

                                                                                               {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_int64 (new_position));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.mpris.MediaPlayer2.Player", "Seeked", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_mpris_player_set_Metadata ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2242 of file test-mpris-backend-client.c.

                                                                                  {
       GHashTable* value = NULL;
       GHashTable* _tmp24_;
       GVariantIter _tmp25_;
       GVariant* _tmp26_;
       GVariant* _tmp27_;
       _tmp24_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp25_, _value);
       while (g_variant_iter_loop (&_tmp25_, "{?*}", &_tmp26_, &_tmp27_)) {
              g_hash_table_insert (_tmp24_, g_variant_dup_string (_tmp26_, NULL), g_variant_get_variant (_tmp27_));
       }
       value = _tmp24_;
       mpris_player_set_Metadata (self, value);
       _g_hash_table_unref0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_set_PlaybackStatus ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2266 of file test-mpris-backend-client.c.

                                                                                        {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_player_set_PlaybackStatus (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_set_Position ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2259 of file test-mpris-backend-client.c.

                                                                                  {
       gint32 value = 0;
       value = g_variant_get_int32 (_value);
       mpris_player_set_Position (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_ActivatePlaylist ( MprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2899 of file test-mpris-backend-client.c.

                                                                                                                                   {
       GVariantIter _arguments_iter;
       char* playlist_id = NULL;
       GVariant* _tmp60_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp60_ = g_variant_iter_next_value (&_arguments_iter);
       playlist_id = g_variant_dup_string (_tmp60_, NULL);
       g_variant_unref (_tmp60_);
       mpris_playlists_ActivatePlaylist (self, playlist_id, (GAsyncReadyCallback) _dbus_mpris_playlists_ActivatePlaylist_ready, invocation);
       _g_free0 (playlist_id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_ActivatePlaylist_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2912 of file test-mpris-backend-client.c.

                                                                                                                               {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_playlists_ActivatePlaylist_finish ((MprisPlaylists*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_playlists_get_ActivePlaylist ( MprisPlaylists *  self) [static]

Definition at line 3057 of file test-mpris-backend-client.c.

                                                                                 {
       ActivePlaylistContainer result = {0};
       GVariantBuilder _tmp72_;
       GVariantBuilder _tmp73_;
       GVariant* _reply;
       mpris_playlists_get_ActivePlaylist (self, &result);
       g_variant_builder_init (&_tmp72_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp72_, g_variant_new_boolean (result.valid));
       g_variant_builder_init (&_tmp73_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp73_, g_variant_new_object_path (result.details.path));
       g_variant_builder_add_value (&_tmp73_, g_variant_new_string (result.details.name));
       g_variant_builder_add_value (&_tmp73_, g_variant_new_string (result.details.icon_name));
       g_variant_builder_add_value (&_tmp72_, g_variant_builder_end (&_tmp73_));
       _reply = g_variant_builder_end (&_tmp72_);
       active_playlist_container_destroy (&result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_playlists_get_Orderings ( MprisPlaylists *  self) [static]

Definition at line 3028 of file test-mpris-backend-client.c.

                                                                            {
       gchar** result;
       int result_length1;
       gchar** _tmp69_;
       GVariantBuilder _tmp70_;
       int _tmp71_;
       GVariant* _reply;
       result = mpris_playlists_get_Orderings (self, &result_length1);
       _tmp69_ = result;
       g_variant_builder_init (&_tmp70_, G_VARIANT_TYPE ("as"));
       for (_tmp71_ = 0; _tmp71_ < result_length1; _tmp71_++) {
              g_variant_builder_add_value (&_tmp70_, g_variant_new_string (*_tmp69_));
              _tmp69_++;
       }
       _reply = g_variant_builder_end (&_tmp70_);
       result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_playlists_get_PlaylistCount ( MprisPlaylists *  self) [static]

Definition at line 3048 of file test-mpris-backend-client.c.

                                                                                {
       guint32 result;
       GVariant* _reply;
       result = mpris_playlists_get_PlaylistCount (self);
       _reply = g_variant_new_uint32 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_GetPlaylists ( MprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2934 of file test-mpris-backend-client.c.

                                                                                                                               {
       GVariantIter _arguments_iter;
       guint32 index = 0U;
       GVariant* _tmp61_;
       guint32 max_count = 0U;
       GVariant* _tmp62_;
       gchar* order = NULL;
       GVariant* _tmp63_;
       gboolean reverse_order = FALSE;
       GVariant* _tmp64_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp61_ = g_variant_iter_next_value (&_arguments_iter);
       index = g_variant_get_uint32 (_tmp61_);
       g_variant_unref (_tmp61_);
       _tmp62_ = g_variant_iter_next_value (&_arguments_iter);
       max_count = g_variant_get_uint32 (_tmp62_);
       g_variant_unref (_tmp62_);
       _tmp63_ = g_variant_iter_next_value (&_arguments_iter);
       order = g_variant_dup_string (_tmp63_, NULL);
       g_variant_unref (_tmp63_);
       _tmp64_ = g_variant_iter_next_value (&_arguments_iter);
       reverse_order = g_variant_get_boolean (_tmp64_);
       g_variant_unref (_tmp64_);
       mpris_playlists_GetPlaylists (self, index, max_count, order, reverse_order, (GAsyncReadyCallback) _dbus_mpris_playlists_GetPlaylists_ready, invocation);
       _g_free0 (order);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_GetPlaylists_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2973 of file test-mpris-backend-client.c.

                                                                                                                           {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       PlaylistDetails* result;
       int result_length1 = 0;
       PlaylistDetails* _tmp65_;
       GVariantBuilder _tmp66_;
       int _tmp67_;
       invocation = _user_data_;
       result = mpris_playlists_GetPlaylists_finish ((MprisPlaylists*) source_object, _res_, &result_length1, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _tmp65_ = result;
       g_variant_builder_init (&_tmp66_, G_VARIANT_TYPE ("a(oss)"));
       for (_tmp67_ = 0; _tmp67_ < result_length1; _tmp67_++) {
              GVariantBuilder _tmp68_;
              g_variant_builder_init (&_tmp68_, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_tmp68_, g_variant_new_object_path ((*_tmp65_).path));
              g_variant_builder_add_value (&_tmp68_, g_variant_new_string ((*_tmp65_).name));
              g_variant_builder_add_value (&_tmp68_, g_variant_new_string ((*_tmp65_).icon_name));
              g_variant_builder_add_value (&_tmp66_, g_variant_builder_end (&_tmp68_));
              _tmp65_++;
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp66_));
       result = (_vala_PlaylistDetails_array_free (result, result_length1), NULL);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_playlist_changed ( GObject *  _sender,
PlaylistDetails *  details,
gpointer *  _data 
) [static]

Definition at line 3182 of file test-mpris-backend-client.c.

                                                                                                                 {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp86_;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_init (&_tmp86_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp86_, g_variant_new_object_path ((*details).path));
       g_variant_builder_add_value (&_tmp86_, g_variant_new_string ((*details).name));
       g_variant_builder_add_value (&_tmp86_, g_variant_new_string ((*details).icon_name));
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp86_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.mpris.MediaPlayer2.Playlists", "PlaylistChanged", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_ActivePlaylist ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3129 of file test-mpris-backend-client.c.

                                                                                              {
       ActivePlaylistContainer value = {0};
       ActivePlaylistContainer _tmp77_;
       GVariantIter _tmp78_;
       GVariant* _tmp79_;
       GVariant* _tmp80_;
       PlaylistDetails _tmp81_;
       GVariantIter _tmp82_;
       GVariant* _tmp83_;
       GVariant* _tmp84_;
       GVariant* _tmp85_;
       g_variant_iter_init (&_tmp78_, _value);
       _tmp79_ = g_variant_iter_next_value (&_tmp78_);
       _tmp77_.valid = g_variant_get_boolean (_tmp79_);
       g_variant_unref (_tmp79_);
       _tmp80_ = g_variant_iter_next_value (&_tmp78_);
       g_variant_iter_init (&_tmp82_, _tmp80_);
       _tmp83_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.path = g_variant_dup_string (_tmp83_, NULL);
       g_variant_unref (_tmp83_);
       _tmp84_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.name = g_variant_dup_string (_tmp84_, NULL);
       g_variant_unref (_tmp84_);
       _tmp85_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.icon_name = g_variant_dup_string (_tmp85_, NULL);
       g_variant_unref (_tmp85_);
       _tmp77_.details = _tmp81_;
       g_variant_unref (_tmp80_);
       value = _tmp77_;
       mpris_playlists_set_ActivePlaylist (self, &value);
       active_playlist_container_destroy (&value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_Orderings ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3092 of file test-mpris-backend-client.c.

                                                                                         {
       gchar** value = NULL;
       int value_length1;
       gchar** _tmp74_;
       int _tmp74__length;
       int _tmp74__size;
       int _tmp74__length1;
       GVariantIter _tmp75_;
       GVariant* _tmp76_;
       _tmp74_ = g_new (gchar*, 5);
       _tmp74__length = 0;
       _tmp74__size = 4;
       _tmp74__length1 = 0;
       g_variant_iter_init (&_tmp75_, _value);
       for (; (_tmp76_ = g_variant_iter_next_value (&_tmp75_)) != NULL; _tmp74__length1++) {
              if (_tmp74__size == _tmp74__length) {
                     _tmp74__size = 2 * _tmp74__size;
                     _tmp74_ = g_renew (gchar*, _tmp74_, _tmp74__size + 1);
              }
              _tmp74_[_tmp74__length++] = g_variant_dup_string (_tmp76_, NULL);
              g_variant_unref (_tmp76_);
       }
       value_length1 = _tmp74__length1;
       _tmp74_[_tmp74__length] = NULL;
       value = _tmp74_;
       mpris_playlists_set_Orderings (self, value, value_length1);
       value = (_vala_array_free (value, value_length1, (GDestroyNotify) g_free), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_PlaylistCount ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3122 of file test-mpris-backend-client.c.

                                                                                             {
       guint32 value = 0U;
       value = g_variant_get_uint32 (_value);
       mpris_playlists_set_PlaylistCount (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_CanQuit ( MprisRoot *  self) [static]

Definition at line 1464 of file test-mpris-backend-client.c.

                                                                {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_CanQuit (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_CanRaise ( MprisRoot *  self) [static]

Definition at line 1473 of file test-mpris-backend-client.c.

                                                                 {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_CanRaise (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_DesktopEntry ( MprisRoot *  self) [static]

Definition at line 1492 of file test-mpris-backend-client.c.

                                                                     {
       gchar* result;
       GVariant* _reply;
       result = mpris_root_get_DesktopEntry (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_HasTracklist ( MprisRoot *  self) [static]

Definition at line 1455 of file test-mpris-backend-client.c.

                                                                     {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_HasTracklist (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_Identity ( MprisRoot *  self) [static]

Definition at line 1482 of file test-mpris-backend-client.c.

                                                                 {
       gchar* result;
       GVariant* _reply;
       result = mpris_root_get_Identity (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_Quit ( MprisRoot *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1382 of file test-mpris-backend-client.c.

                                                                                                             {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_root_Quit (self, (GAsyncReadyCallback) _dbus_mpris_root_Quit_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_Quit_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1389 of file test-mpris-backend-client.c.

                                                                                                              {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_root_Quit_finish ((MprisRoot*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_Raise ( MprisRoot *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1411 of file test-mpris-backend-client.c.

                                                                                                              {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_root_Raise (self, (GAsyncReadyCallback) _dbus_mpris_root_Raise_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_Raise_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1418 of file test-mpris-backend-client.c.

                                                                                                               {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_root_Raise_finish ((MprisRoot*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_CanQuit ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1529 of file test-mpris-backend-client.c.

                                                                             {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_CanQuit (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_CanRaise ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1536 of file test-mpris-backend-client.c.

                                                                              {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_CanRaise (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_DesktopEntry ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1551 of file test-mpris-backend-client.c.

                                                                                  {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_root_set_DesktopEntry (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_HasTracklist ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1522 of file test-mpris-backend-client.c.

                                                                                  {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_HasTracklist (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_Identity ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1543 of file test-mpris-backend-client.c.

                                                                              {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_root_set_Identity (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _free_desktop_object_unregister_object ( gpointer  user_data) [static]

Definition at line 959 of file test-mpris-backend-client.c.

                                                                        {
       gpointer* data;
       data = user_data;
       g_signal_handlers_disconnect_by_func (data[0], _dbus_free_desktop_object_name_owner_changed, data);
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gpointer _g_main_loop_ref0 ( gpointer  self) [static]

Definition at line 4469 of file test-mpris-backend-client.c.

                                                  {
       return self ? g_main_loop_ref (self) : NULL;
}

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 3248 of file test-mpris-backend-client.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 4077 of file test-mpris-backend-client.c.

                                                {
       return self ? g_variant_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _mpris2_controller_on_playlistdetails_changed_mpris_playlists_playlist_changed ( MprisPlaylists *  _sender,
PlaylistDetails *  details,
gpointer  self 
) [static]

Definition at line 3655 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed ( FreeDesktopObject *  _sender,
const gchar *  name,
const gchar *  old_owner,
const gchar *  new_owner,
gpointer  self 
) [static]

Definition at line 3492 of file test-mpris-backend-client.c.

                                                                                                                                                                                                        {
       mpris2_watcher_name_changes_detected (self, _sender, name, old_owner, new_owner);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_on_client_appeared_mpris2_watcher_client_appeared ( Mpris2Watcher *  _sender,
gpointer  self 
) [static]

Definition at line 4815 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_player_current_metadata_gtest_data_func ( gpointer  self) [static]

Definition at line 3886 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_player_current_playback_status_gtest_data_func ( gpointer  self) [static]

Definition at line 3891 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_playlists_current_playlist_gtest_data_func ( gpointer  self) [static]

Definition at line 3901 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_playlists_test_activate_playlist_gtest_data_func ( gpointer  self) [static]

Definition at line 3921 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_playlists_test_get_playlists_gtest_data_func ( gpointer  self) [static]

Definition at line 3906 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_playlists_test_playlist_count_gtest_data_func ( gpointer  self) [static]

Definition at line 3911 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_playlists_test_playlist_orderings_gtest_data_func ( gpointer  self) [static]

Definition at line 3916 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_root_can_raise_gtest_data_func ( gpointer  self) [static]

Definition at line 3881 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_root_desktop_entry_gtest_data_func ( gpointer  self) [static]

Definition at line 3876 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_root_identity_gtest_data_func ( gpointer  self) [static]

Definition at line 3871 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_test_blacklist_check_gtest_data_func ( gpointer  self) [static]

Definition at line 3896 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _mpris_client_test_playbackstatus_change_gsource_func ( gpointer  self) [static]

Definition at line 4175 of file test-mpris-backend-client.c.

                                                                                      {
       gboolean result;
       result = mpris_client_test_playbackstatus_change ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _mpris_client_test_second_playbackstatus_change_gsource_func ( gpointer  self) [static]

Definition at line 4205 of file test-mpris-backend-client.c.

                                                                                             {
       gboolean result;
       result = mpris_client_test_second_playbackstatus_change ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_player_unregister_object ( gpointer  user_data) [static]

Definition at line 2323 of file test-mpris-backend-client.c.

                                                                 {
       gpointer* data;
       data = user_data;
       g_signal_handlers_disconnect_by_func (data[0], _dbus_mpris_player_seeked, data);
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_playlists_unregister_object ( gpointer  user_data) [static]

Definition at line 3217 of file test-mpris-backend-client.c.

                                                                    {
       gpointer* data;
       data = user_data;
       g_signal_handlers_disconnect_by_func (data[0], _dbus_mpris_playlists_playlist_changed, data);
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_root_unregister_object ( gpointer  user_data) [static]

Definition at line 1599 of file test-mpris-backend-client.c.

                                                               {
       gpointer* data;
       data = user_data;
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the caller graph for this function:

static void _vala_array_destroy ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 4906 of file test-mpris-backend-client.c.

                                                                                                 {
       if ((array != NULL) && (destroy_func != NULL)) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     if (((gpointer*) array)[i] != NULL) {
                            destroy_func (((gpointer*) array)[i]);
                     }
              }
       }
}

Here is the caller graph for this function:

static void _vala_array_free ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 4918 of file test-mpris-backend-client.c.

                                                                                              {
       _vala_array_destroy (array, array_length, destroy_func);
       g_free (array);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gint _vala_array_length ( gpointer  array) [static]

Definition at line 4924 of file test-mpris-backend-client.c.

                                                {
       int length;
       length = 0;
       if (array) {
              while (((gpointer*) array)[length]) {
                     length++;
              }
       }
       return length;
}

Here is the caller graph for this function:

static void _vala_g_async_ready_callback ( GObject *  source_object,
GAsyncResult *  res,
void *  user_data 
) [static]

Definition at line 779 of file test-mpris-backend-client.c.

                                                                                                      {
       g_simple_async_result_set_op_res_gpointer (user_data, g_object_ref (res), g_object_unref);
       g_simple_async_result_complete (user_data);
       g_object_unref (user_data);
}

Here is the caller graph for this function:

static void _vala_mpris2_controller_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3788 of file test-mpris-backend-client.c.

                                                                                                                           {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       switch (property_id) {
              case MPRIS2_CONTROLLER_DBUS_NAME:
              g_value_set_string (value, mpris2_controller_get_dbus_name (self));
              break;
              case MPRIS2_CONTROLLER_NAME_CHANGED_PLAYLISTDETAILS:
              g_value_set_object (value, mpris2_controller_get_name_changed_playlistdetails (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_mpris2_controller_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3805 of file test-mpris-backend-client.c.

                                                                                                                                 {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       switch (property_id) {
              case MPRIS2_CONTROLLER_DBUS_NAME:
              mpris2_controller_set_dbus_name (self, g_value_get_string (value));
              break;
              case MPRIS2_CONTROLLER_NAME_CHANGED_PLAYLISTDETAILS:
              mpris2_controller_set_name_changed_playlistdetails (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_mpris_client_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 4878 of file test-mpris-backend-client.c.

                                                                                                                      {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_CLIENT, MprisClient);
       switch (property_id) {
              case MPRIS_CLIENT_MAINLOOP:
              g_value_set_pointer (value, mpris_client_get_mainloop (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_mpris_client_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 4892 of file test-mpris-backend-client.c.

                                                                                                                            {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_CLIENT, MprisClient);
       switch (property_id) {
              case MPRIS_CLIENT_MAINLOOP:
              mpris_client_set_mainloop (self, g_value_get_pointer (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_PlaylistDetails_array_free ( PlaylistDetails *  array,
gint  array_length 
) [static]

Definition at line 2962 of file test-mpris-backend-client.c.

                                                                                         {
       if (array != NULL) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     playlist_details_destroy (&array[i]);
              }
       }
       g_free (array);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void active_playlist_container_copy ( const ActivePlaylistContainer *  self,
ActivePlaylistContainer *  dest 
)

Definition at line 2388 of file test-mpris-backend-client.c.

                                                                                                         {
       gboolean _tmp0_;
       PlaylistDetails _tmp1_;
       PlaylistDetails _tmp2_ = {0};
       _tmp0_ = (*self).valid;
       (*dest).valid = _tmp0_;
       _tmp1_ = (*self).details;
       playlist_details_copy (&_tmp1_, &_tmp2_);
       playlist_details_destroy (&(*dest).details);
       (*dest).details = _tmp2_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void active_playlist_container_destroy ( ActivePlaylistContainer *  self)

Definition at line 2401 of file test-mpris-backend-client.c.

                                                                       {
       playlist_details_destroy (&(*self).details);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ActivePlaylistContainer* active_playlist_container_dup ( const ActivePlaylistContainer *  self)

Definition at line 2406 of file test-mpris-backend-client.c.

                                                                                             {
       ActivePlaylistContainer* dup;
       dup = g_new0 (ActivePlaylistContainer, 1);
       active_playlist_container_copy (self, dup);
       return dup;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void active_playlist_container_free ( ActivePlaylistContainer *  self)

Definition at line 2414 of file test-mpris-backend-client.c.

                                                                    {
       active_playlist_container_destroy (self);
       g_free (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2420 of file test-mpris-backend-client.c.

                                                {
       static volatile gsize active_playlist_container_type_id__volatile = 0;
       if (g_once_init_enter (&active_playlist_container_type_id__volatile)) {
              GType active_playlist_container_type_id;
              active_playlist_container_type_id = g_boxed_type_register_static ("ActivePlaylistContainer", (GBoxedCopyFunc) active_playlist_container_dup, (GBoxedFreeFunc) active_playlist_container_free);
              g_once_init_leave (&active_playlist_container_type_id__volatile, active_playlist_container_type_id);
       }
       return active_playlist_container_type_id__volatile;
}

Here is the call graph for this function:

static Block1Data * block1_data_ref ( Block1Data *  _data1_) [static]

Definition at line 4625 of file test-mpris-backend-client.c.

                                                         {
       g_atomic_int_inc (&_data1_->_ref_count_);
       return _data1_;
}

Here is the caller graph for this function:

static void block1_data_unref ( void *  _userdata_) [static]

Definition at line 4631 of file test-mpris-backend-client.c.

                                                  {
       Block1Data* _data1_;
       _data1_ = (Block1Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
              _g_object_unref0 (_data1_->contr);
              g_slice_free (Block1Data, _data1_);
       }
}

Here is the caller graph for this function:

static void free_desktop_object_base_init ( FreeDesktopObjectIface *  iface) [static]

Definition at line 712 of file test-mpris-backend-client.c.

                                                                           {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("name_owner_changed", TYPE_FREE_DESKTOP_OBJECT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING, G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* free_desktop_object_dbus_interface_get_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 909 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                           {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return NULL;
}
static void free_desktop_object_dbus_interface_method_call ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  method_name,
GVariant *  parameters,
GDBusMethodInvocation *  invocation,
gpointer  user_data 
) [static]

Definition at line 896 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                                                            {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "ListNames") == 0) {
              _dbus_free_desktop_object_list_names (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean free_desktop_object_dbus_interface_set_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GVariant *  value,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 918 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                                           {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return FALSE;
}
GType free_desktop_object_get_type ( void  )

Definition at line 721 of file test-mpris-backend-client.c.

                                          {
       static volatile gsize free_desktop_object_type_id__volatile = 0;
       if (g_once_init_enter (&free_desktop_object_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (FreeDesktopObjectIface), (GBaseInitFunc) free_desktop_object_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType free_desktop_object_type_id;
              free_desktop_object_type_id = g_type_register_static (G_TYPE_INTERFACE, "FreeDesktopObject", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (free_desktop_object_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) free_desktop_object_proxy_get_type);
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.DBus");
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) free_desktop_object_register_object);
              g_once_init_leave (&free_desktop_object_type_id__volatile, free_desktop_object_type_id);
       }
       return free_desktop_object_type_id__volatile;
}

Here is the call graph for this function:

void free_desktop_object_list_names ( FreeDesktopObject *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 682 of file test-mpris-backend-client.c.

                                                                                                                    {
       FREE_DESKTOP_OBJECT_GET_INTERFACE (self)->list_names (self, _callback_, _user_data_);
}

Here is the caller graph for this function:

gchar** free_desktop_object_list_names_finish ( FreeDesktopObject *  self,
GAsyncResult *  _res_,
int *  result_length1,
GError **  error 
)

Definition at line 687 of file test-mpris-backend-client.c.

                                                                                                                                  {
       return FREE_DESKTOP_OBJECT_GET_INTERFACE (self)->list_names_finish (self, _res_, result_length1, error);
}

Here is the caller graph for this function:

Definition at line 738 of file test-mpris-backend-client.c.

                                                                                      {
       G_DBUS_PROXY_CLASS (klass)->g_signal = free_desktop_object_proxy_g_signal;
}

Here is the call graph for this function:

static void free_desktop_object_proxy_free_desktop_object_interface_init ( FreeDesktopObjectIface *  iface) [static]

Definition at line 848 of file test-mpris-backend-client.c.

Here is the call graph for this function:

static void free_desktop_object_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

Definition at line 768 of file test-mpris-backend-client.c.

                                                                                                                                             {
       if (strcmp (signal_name, "NameOwnerChanged") == 0) {
              _dbus_handle_free_desktop_object_name_owner_changed ((FreeDesktopObject*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 326 of file test-mpris-backend-client.c.

      {
       MPRIS2_WATCHER_DUMMY_PROPERTY
};

Here is the caller graph for this function:

static void free_desktop_object_proxy_init ( FreeDesktopObjectProxy self) [static]

Definition at line 775 of file test-mpris-backend-client.c.

                                                                          {
}
static void free_desktop_object_proxy_list_names_async ( FreeDesktopObject *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 786 of file test-mpris-backend-client.c.

                                                                                                                                       {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.DBus", "ListNames");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar** free_desktop_object_proxy_list_names_finish ( FreeDesktopObject *  self,
GAsyncResult *  _res_,
int *  result_length1,
GError **  error 
) [static]

Definition at line 800 of file test-mpris-backend-client.c.

                                                                                                                                               {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       gchar** _result;
       int _result_length1;
       GVariant* _tmp3_;
       gchar** _tmp4_;
       int _tmp4__length;
       int _tmp4__size;
       int _tmp4__length1;
       GVariantIter _tmp5_;
       GVariant* _tmp6_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return NULL;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return NULL;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _result_length1 = 0;
       _tmp3_ = g_variant_iter_next_value (&_reply_iter);
       _tmp4_ = g_new (gchar*, 5);
       _tmp4__length = 0;
       _tmp4__size = 4;
       _tmp4__length1 = 0;
       g_variant_iter_init (&_tmp5_, _tmp3_);
       for (; (_tmp6_ = g_variant_iter_next_value (&_tmp5_)) != NULL; _tmp4__length1++) {
              if (_tmp4__size == _tmp4__length) {
                     _tmp4__size = 2 * _tmp4__size;
                     _tmp4_ = g_renew (gchar*, _tmp4_, _tmp4__size + 1);
              }
              _tmp4_[_tmp4__length++] = g_variant_dup_string (_tmp6_, NULL);
              g_variant_unref (_tmp6_);
       }
       _result_length1 = _tmp4__length1;
       _tmp4_[_tmp4__length] = NULL;
       _result = _tmp4_;
       g_variant_unref (_tmp3_);
       *result_length1 = _result_length1;
       g_object_unref (_reply_message);
       return _result;
}

Here is the caller graph for this function:

guint free_desktop_object_register_object ( gpointer  object,
GDBusConnection *  connection,
const gchar *  path,
GError **  error 
)

Definition at line 943 of file test-mpris-backend-client.c.

                                                                                                                            {
       guint result;
       gpointer *data;
       data = g_new (gpointer, 3);
       data[0] = g_object_ref (object);
       data[1] = g_object_ref (connection);
       data[2] = g_strdup (path);
       result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_free_desktop_object_dbus_interface_info), &_free_desktop_object_dbus_interface_vtable, data, _free_desktop_object_unregister_object, error);
       if (!result) {
              return 0;
       }
       g_signal_connect (object, "name-owner-changed", (GCallback) _dbus_free_desktop_object_name_owner_changed, data);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void g_cclosure_user_marshal_VOID__BOXED ( GClosure *  closure,
GValue *  return_value,
guint  n_param_values,
const GValue *  param_values,
gpointer  invocation_hint,
gpointer  marshal_data 
) [static]

Definition at line 2487 of file test-mpris-backend-client.c.

                                                                                                                                                                                                {
       typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1, gpointer arg_1, gpointer data2);
       register GMarshalFunc_VOID__BOXED callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_boxed (param_values + 1), data2);
}

Here is the caller graph for this function:

static void g_cclosure_user_marshal_VOID__INT64 ( GClosure *  closure,
GValue *  return_value,
guint  n_param_values,
const GValue *  param_values,
gpointer  invocation_hint,
gpointer  marshal_data 
) [static]

Definition at line 1685 of file test-mpris-backend-client.c.

                                                                                                                                                                                                {
       typedef void (*GMarshalFunc_VOID__INT64) (gpointer data1, gint64 arg_1, gpointer data2);
       register GMarshalFunc_VOID__INT64 callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__INT64) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_int64 (param_values + 1), data2);
}

Here is the caller graph for this function:

static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING ( GClosure *  closure,
GValue *  return_value,
guint  n_param_values,
const GValue *  param_values,
gpointer  invocation_hint,
gpointer  marshal_data 
) [static]

Definition at line 692 of file test-mpris-backend-client.c.

                                                                                                                                                                                                               {
       typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer data1, const char* arg_1, const char* arg_2, const char* arg_3, gpointer data2);
       register GMarshalFunc_VOID__STRING_STRING_STRING callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 4);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), data2);
}

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 3979 of file test-mpris-backend-client.c.

                                  {
       g_type_init ();
       return mpris_client_main (argv, argc);
}

Here is the call graph for this function:

static void mpris2_controller_class_init ( Mpris2ControllerClass *  klass) [static]

Definition at line 3747 of file test-mpris-backend-client.c.

                                                                         {
       mpris2_controller_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (Mpris2ControllerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_mpris2_controller_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_mpris2_controller_set_property;
       G_OBJECT_CLASS (klass)->constructor = mpris2_controller_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris2_controller_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS2_CONTROLLER_DBUS_NAME, g_param_spec_string ("dbus-name", "dbus-name", "dbus-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS2_CONTROLLER_NAME_CHANGED_PLAYLISTDETAILS, g_param_spec_object ("name-changed-playlistdetails", "name-changed-playlistdetails", "name-changed-playlistdetails", GEE_TYPE_HASH_MAP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

Mpris2Controller * mpris2_controller_construct ( GType  object_type,
const gchar *  name 
)

Definition at line 3581 of file test-mpris-backend-client.c.

                                                                                     {
       Mpris2Controller * self = NULL;
       const gchar* _tmp0_;
       g_return_val_if_fail (name != NULL, NULL);
       _tmp0_ = name;
       self = (Mpris2Controller*) g_object_new (object_type, "dbus-name", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

static GObject * mpris2_controller_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 3660 of file test-mpris-backend-client.c.

                                                                                                                                        {
       GObject * obj;
       GObjectClass * parent_class;
       Mpris2Controller * self;
       GError * _inner_error_ = NULL;
       parent_class = G_OBJECT_CLASS (mpris2_controller_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       {
              GeeHashMap* _tmp0_;
              GeeHashMap* _tmp1_;
              const gchar* _tmp2_;
              MprisRoot* _tmp3_ = NULL;
              MprisRoot* _tmp4_;
              const gchar* _tmp5_;
              MprisPlayer* _tmp6_ = NULL;
              MprisPlayer* _tmp7_;
              const gchar* _tmp8_;
              MprisPlaylists* _tmp9_ = NULL;
              MprisPlaylists* _tmp10_;
              MprisPlaylists* _tmp11_;
              _tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, TYPE_PLAYLIST_DETAILS, (GBoxedCopyFunc) playlist_details_dup, playlist_details_free, NULL, NULL, NULL);
              _tmp1_ = _tmp0_;
              mpris2_controller_set_name_changed_playlistdetails (self, _tmp1_);
              _g_object_unref0 (_tmp1_);
              _tmp2_ = self->priv->_dbus_name;
              _tmp3_ = g_initable_new (TYPE_MPRIS_ROOT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp2_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2", NULL);
              _tmp4_ = (MprisRoot*) _tmp3_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
              }
              _g_object_unref0 (self->mpris2_root);
              self->mpris2_root = _tmp4_;
              _tmp5_ = self->priv->_dbus_name;
              _tmp6_ = g_initable_new (TYPE_MPRIS_PLAYER_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp5_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2.Player", NULL);
              _tmp7_ = (MprisPlayer*) _tmp6_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
              }
              _g_object_unref0 (self->player);
              self->player = _tmp7_;
              _tmp8_ = self->priv->_dbus_name;
              _tmp9_ = g_initable_new (TYPE_MPRIS_PLAYLISTS_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp8_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2.Playlists", NULL);
              _tmp10_ = (MprisPlaylists*) _tmp9_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
              }
              _g_object_unref0 (self->playlists);
              self->playlists = _tmp10_;
              _tmp11_ = self->playlists;
              g_signal_connect_object (_tmp11_, "playlist-changed", (GCallback) _mpris2_controller_on_playlistdetails_changed_mpris_playlists_playlist_changed, self, 0);
       }
       goto __finally3;
       __catch3_g_io_error:
       {
              GError* e = NULL;
              GError* _tmp12_;
              const gchar* _tmp13_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp12_ = e;
              _tmp13_ = _tmp12_->message;
              g_critical ("test-mpris-backend-client.vala:184: Can't create our DBus interfaces -" \
" %s", _tmp13_);
              _g_error_free0 (e);
       }
       __finally3:
       if (_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
              g_clear_error (&_inner_error_);
       }
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_controller_finalize ( GObject *  obj) [static]

Definition at line 3764 of file test-mpris-backend-client.c.

                                                      {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       _g_free0 (self->priv->_dbus_name);
       _g_object_unref0 (self->mpris2_root);
       _g_object_unref0 (self->player);
       _g_object_unref0 (self->playlists);
       _g_object_unref0 (self->priv->_name_changed_playlistdetails);
       G_OBJECT_CLASS (mpris2_controller_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

const gchar * mpris2_controller_get_dbus_name ( Mpris2Controller *  self)

Definition at line 3611 of file test-mpris-backend-client.c.

                                                                      {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_dbus_name;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GeeHashMap * mpris2_controller_get_name_changed_playlistdetails ( Mpris2Controller *  self)

Definition at line 3633 of file test-mpris-backend-client.c.

                                                                                        {
       GeeHashMap* result;
       GeeHashMap* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_name_changed_playlistdetails;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType mpris2_controller_get_type ( void  )

Definition at line 520 of file test-mpris-backend-client.c.

      {
       MPRIS2_CONTROLLER_DUMMY_PROPERTY,
       MPRIS2_CONTROLLER_DBUS_NAME,
       MPRIS2_CONTROLLER_NAME_CHANGED_PLAYLISTDETAILS
};
static void mpris2_controller_instance_init ( Mpris2Controller *  self) [static]

Definition at line 3759 of file test-mpris-backend-client.c.

                                                                      {
       self->priv = MPRIS2_CONTROLLER_GET_PRIVATE (self);
}
Mpris2Controller * mpris2_controller_new ( const gchar *  name)

Definition at line 3591 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_controller_on_playlistdetails_changed ( Mpris2Controller *  self,
PlaylistDetails *  details 
) [static]

Definition at line 3596 of file test-mpris-backend-client.c.

                                                                                                            {
       GeeHashMap* _tmp0_;
       PlaylistDetails _tmp1_;
       const gchar* _tmp2_;
       PlaylistDetails _tmp3_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (details != NULL);
       _tmp0_ = self->priv->_name_changed_playlistdetails;
       _tmp1_ = *details;
       _tmp2_ = _tmp1_.name;
       _tmp3_ = *details;
       gee_abstract_map_set ((GeeAbstractMap*) _tmp0_, _tmp2_, &_tmp3_);
}

Here is the caller graph for this function:

static void mpris2_controller_set_dbus_name ( Mpris2Controller *  self,
const gchar *  value 
) [static]

Definition at line 3621 of file test-mpris-backend-client.c.

                                                                                         {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_dbus_name);
       self->priv->_dbus_name = _tmp1_;
       g_object_notify ((GObject *) self, "dbus-name");
}

Here is the caller graph for this function:

static void mpris2_controller_set_name_changed_playlistdetails ( Mpris2Controller *  self,
GeeHashMap *  value 
) [static]

Definition at line 3643 of file test-mpris-backend-client.c.

                                                                                                           {
       GeeHashMap* _tmp0_;
       GeeHashMap* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_name_changed_playlistdetails);
       self->priv->_name_changed_playlistdetails = _tmp1_;
       g_object_notify ((GObject *) self, "name-changed-playlistdetails");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris2_watcher_check_for_active_clients ( Mpris2Watcher *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 3253 of file test-mpris-backend-client.c.

                                                                                                                         {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       Mpris2Watcher* _tmp0_;
       _data_ = g_slice_new0 (Mpris2WatcherCheckForActiveClientsData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, mpris2_watcher_check_for_active_clients);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, mpris2_watcher_check_for_active_clients_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       mpris2_watcher_check_for_active_clients_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean mpris2_watcher_check_for_active_clients_co ( Mpris2WatcherCheckForActiveClientsData *  _data_) [static]

Definition at line 3280 of file test-mpris-backend-client.c.

                                                                                                            {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->interfaces_length1 = 0;
       _data_->_interfaces_size_ = 0;
       {
              _data_->_tmp0_ = _data_->self->priv->fdesktop_obj;
              _data_->_tmp1_ = 0;
              _data_->_state_ = 1;
              free_desktop_object_list_names (_data_->_tmp0_, mpris2_watcher_check_for_active_clients_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp2_ = NULL;
              _data_->_tmp2_ = free_desktop_object_list_names_finish (_data_->_tmp0_, _data_->_res_, &_data_->_tmp1_, &_data_->_inner_error_);
              _data_->_tmp3_ = _data_->_tmp2_;
              _data_->_tmp3__length1 = _data_->_tmp1_;
              _data_->__tmp3__size_ = _data_->_tmp3__length1;
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch0_g_io_error;
                     }
                     _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              _data_->interfaces = _data_->_tmp3_;
              _data_->interfaces_length1 = _data_->_tmp3__length1;
              _data_->_interfaces_size_ = _data_->interfaces_length1;
       }
       goto __finally0;
       __catch0_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp4_ = _data_->e;
              _data_->_tmp5_ = _data_->_tmp4_->message;
              g_warning ("test-mpris-backend-client.vala:110: Mpris2watcher could fetch active i" \
"nterfaces at startup: %s", _data_->_tmp5_);
              _g_error_free0 (_data_->e);
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              if (_data_->_state_ == 0) {
                     g_simple_async_result_complete_in_idle (_data_->_async_result);
              } else {
                     g_simple_async_result_complete (_data_->_async_result);
              }
              g_object_unref (_data_->_async_result);
              return FALSE;
       }
       __finally0:
       if (_data_->_inner_error_ != NULL) {
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       _data_->_tmp6_ = _data_->interfaces;
       _data_->_tmp6__length1 = _data_->interfaces_length1;
       {
              _data_->address_collection_length1 = 0;
              _data_->_address_collection_size_ = 0;
              _data_->address_collection = _data_->_tmp6_;
              _data_->address_collection_length1 = _data_->_tmp6__length1;
              for (_data_->address_it = 0; _data_->address_it < _data_->_tmp6__length1; _data_->address_it = _data_->address_it + 1) {
                     _data_->_tmp7_ = g_strdup (_data_->address_collection[_data_->address_it]);
                     _data_->address = _data_->_tmp7_;
                     {
                            _data_->_tmp8_ = _data_->address;
                            _data_->_tmp9_ = FALSE;
                            _data_->_tmp9_ = g_str_has_prefix (_data_->_tmp8_, MPRIS_PREFIX);
                            if (_data_->_tmp9_) {
                                   _data_->_tmp10_ = _data_->address;
                                   _data_->_tmp11_ = NULL;
                                   _data_->_tmp11_ = mpris2_watcher_create_mpris_root (_data_->self, _data_->_tmp10_);
                                   _data_->mpris2_root = _data_->_tmp11_;
                                   _data_->_tmp12_ = _data_->mpris2_root;
                                   if (_data_->_tmp12_ == NULL) {
                                          _g_object_unref0 (_data_->mpris2_root);
                                          _g_free0 (_data_->address);
                                          _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
                                          if (_data_->_state_ == 0) {
                                                 g_simple_async_result_complete_in_idle (_data_->_async_result);
                                          } else {
                                                 g_simple_async_result_complete (_data_->_async_result);
                                          }
                                          g_object_unref (_data_->_async_result);
                                          return FALSE;
                                   }
                                   g_signal_emit_by_name (_data_->self, "client-appeared");
                                   _g_object_unref0 (_data_->mpris2_root);
                            }
                            _g_free0 (_data_->address);
                     }
              }
       }
       _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_watcher_check_for_active_clients_data_free ( gpointer  _data) [static]

Definition at line 3240 of file test-mpris-backend-client.c.

                                                                               {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (Mpris2WatcherCheckForActiveClientsData, _data_);
}

Here is the caller graph for this function:

void mpris2_watcher_check_for_active_clients_finish ( Mpris2Watcher *  self,
GAsyncResult *  _res_ 
)

Definition at line 3265 of file test-mpris-backend-client.c.

                                                                                               {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void mpris2_watcher_check_for_active_clients_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 3271 of file test-mpris-backend-client.c.

                                                                                                                              {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       mpris2_watcher_check_for_active_clients_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_watcher_class_init ( Mpris2WatcherClass *  klass) [static]

Definition at line 3546 of file test-mpris-backend-client.c.

                                                                   {
       mpris2_watcher_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (Mpris2WatcherPrivate));
       G_OBJECT_CLASS (klass)->constructor = mpris2_watcher_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris2_watcher_finalize;
       g_signal_new ("client_appeared", TYPE_MPRIS2_WATCHER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
       g_signal_new ("client_disappeared", TYPE_MPRIS2_WATCHER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Mpris2Watcher * mpris2_watcher_construct ( GType  object_type)

Definition at line 3228 of file test-mpris-backend-client.c.

                                                            {
       Mpris2Watcher * self = NULL;
       self = (Mpris2Watcher*) g_object_new (object_type, NULL);
       return self;
}

Here is the caller graph for this function:

static GObject * mpris2_watcher_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 3497 of file test-mpris-backend-client.c.

                                                                                                                                     {
       GObject * obj;
       GObjectClass * parent_class;
       Mpris2Watcher * self;
       GError * _inner_error_ = NULL;
       parent_class = G_OBJECT_CLASS (mpris2_watcher_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_WATCHER, Mpris2Watcher);
       {
              FreeDesktopObject* _tmp0_ = NULL;
              FreeDesktopObject* _tmp1_;
              FreeDesktopObject* _tmp2_;
              _tmp0_ = g_initable_new (TYPE_FREE_DESKTOP_OBJECT_PROXY, NULL, &_inner_error_, "g-flags", G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, "g-name", FREEDESKTOP_SERVICE, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", FREEDESKTOP_OBJECT, "g-interface-name", "org.freedesktop.DBus", NULL);
              _tmp1_ = (FreeDesktopObject*) _tmp0_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch2_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
              }
              _g_object_unref0 (self->priv->fdesktop_obj);
              self->priv->fdesktop_obj = _tmp1_;
              _tmp2_ = self->priv->fdesktop_obj;
              g_signal_connect_object (_tmp2_, "name-owner-changed", (GCallback) _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed, self, 0);
       }
       goto __finally2;
       __catch2_g_io_error:
       {
              GError* e = NULL;
              GError* _tmp3_;
              const gchar* _tmp4_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp3_ = e;
              _tmp4_ = _tmp3_->message;
              g_warning ("test-mpris-backend-client.vala:97: Mpris2watcher could not set up a wa" \
"tch for mpris clients appearing on the bus: %s", _tmp4_);
              _g_error_free0 (e);
       }
       __finally2:
       if (_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
              g_clear_error (&_inner_error_);
       }
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static MprisRoot * mpris2_watcher_create_mpris_root ( Mpris2Watcher *  self,
const gchar *  name 
) [static]

Definition at line 3434 of file test-mpris-backend-client.c.

                                                                                            {
       MprisRoot* result = NULL;
       MprisRoot* mpris2_root;
       const gchar* _tmp0_;
       gboolean _tmp1_ = FALSE;
       GError * _inner_error_ = NULL;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (name != NULL, NULL);
       mpris2_root = NULL;
       _tmp0_ = name;
       _tmp1_ = g_str_has_prefix (_tmp0_, MPRIS_PREFIX);
       if (_tmp1_) {
              {
                     const gchar* _tmp2_;
                     MprisRoot* _tmp3_ = NULL;
                     MprisRoot* _tmp4_;
                     _tmp2_ = name;
                     _tmp3_ = g_initable_new (TYPE_MPRIS_ROOT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp2_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", MPRIS_MEDIA_PLAYER_PATH, "g-interface-name", "org.mpris.MediaPlayer2", NULL);
                     _tmp4_ = (MprisRoot*) _tmp3_;
                     if (_inner_error_ != NULL) {
                            if (_inner_error_->domain == G_IO_ERROR) {
                                   goto __catch1_g_io_error;
                            }
                            _g_object_unref0 (mpris2_root);
                            g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                            g_clear_error (&_inner_error_);
                            return NULL;
                     }
                     _g_object_unref0 (mpris2_root);
                     mpris2_root = _tmp4_;
              }
              goto __finally1;
              __catch1_g_io_error:
              {
                     GError* e = NULL;
                     GError* _tmp5_;
                     const gchar* _tmp6_;
                     e = _inner_error_;
                     _inner_error_ = NULL;
                     _tmp5_ = e;
                     _tmp6_ = _tmp5_->message;
                     g_warning ("test-mpris-backend-client.vala:147: Mpris2watcher could not create a r" \
"oot interface: %s", _tmp6_);
                     _g_error_free0 (e);
              }
              __finally1:
              if (_inner_error_ != NULL) {
                     _g_object_unref0 (mpris2_root);
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
                     return NULL;
              }
       }
       result = mpris2_root;
       return result;
}

Here is the caller graph for this function:

static void mpris2_watcher_finalize ( GObject *  obj) [static]

Definition at line 3561 of file test-mpris-backend-client.c.

                                                   {
       Mpris2Watcher * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_WATCHER, Mpris2Watcher);
       _g_object_unref0 (self->priv->fdesktop_obj);
       G_OBJECT_CLASS (mpris2_watcher_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GType mpris2_watcher_get_type ( void  )

Definition at line 3569 of file test-mpris-backend-client.c.

                                     {
       static volatile gsize mpris2_watcher_type_id__volatile = 0;
       if (g_once_init_enter (&mpris2_watcher_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (Mpris2WatcherClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) mpris2_watcher_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Mpris2Watcher), 0, (GInstanceInitFunc) mpris2_watcher_instance_init, NULL };
              GType mpris2_watcher_type_id;
              mpris2_watcher_type_id = g_type_register_static (G_TYPE_OBJECT, "Mpris2Watcher", &g_define_type_info, 0);
              g_once_init_leave (&mpris2_watcher_type_id__volatile, mpris2_watcher_type_id);
       }
       return mpris2_watcher_type_id__volatile;
}

Here is the call graph for this function:

static void mpris2_watcher_instance_init ( Mpris2Watcher *  self) [static]

Definition at line 3556 of file test-mpris-backend-client.c.

                                                                {
       self->priv = MPRIS2_WATCHER_GET_PRIVATE (self);
}

Here is the caller graph for this function:

static void mpris2_watcher_name_changes_detected ( Mpris2Watcher *  self,
FreeDesktopObject *  dbus_obj,
const gchar *  name,
const gchar *  previous_owner,
const gchar *  current_owner 
) [static]

Definition at line 3394 of file test-mpris-backend-client.c.

                                                                                                                                                                                {
       const gchar* _tmp0_;
       MprisRoot* _tmp1_ = NULL;
       MprisRoot* mpris2_root;
       MprisRoot* _tmp2_;
       gboolean _tmp3_ = FALSE;
       const gchar* _tmp4_;
       gboolean _tmp6_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (dbus_obj != NULL);
       g_return_if_fail (name != NULL);
       g_return_if_fail (previous_owner != NULL);
       g_return_if_fail (current_owner != NULL);
       _tmp0_ = name;
       _tmp1_ = mpris2_watcher_create_mpris_root (self, _tmp0_);
       mpris2_root = _tmp1_;
       _tmp2_ = mpris2_root;
       if (_tmp2_ == NULL) {
              _g_object_unref0 (mpris2_root);
              return;
       }
       _tmp4_ = previous_owner;
       if (g_strcmp0 (_tmp4_, "") == 0) {
              const gchar* _tmp5_;
              _tmp5_ = current_owner;
              _tmp3_ = g_strcmp0 (_tmp5_, "") != 0;
       } else {
              _tmp3_ = FALSE;
       }
       _tmp6_ = _tmp3_;
       if (_tmp6_) {
              const gchar* _tmp7_;
              _tmp7_ = name;
              g_debug ("test-mpris-backend-client.vala:133: Client '%s' has appeared", _tmp7_);
              g_signal_emit_by_name (self, "client-appeared");
       }
       _g_object_unref0 (mpris2_root);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Mpris2Watcher * mpris2_watcher_new ( void  )

Definition at line 3235 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_client_class_init ( MprisClientClass *  klass) [static]

Definition at line 4841 of file test-mpris-backend-client.c.

                                                               {
       mpris_client_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (MprisClientPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_mpris_client_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_mpris_client_set_property;
       G_OBJECT_CLASS (klass)->constructor = mpris_client_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris_client_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS_CLIENT_MAINLOOP, g_param_spec_pointer ("mainloop", "mainloop", "mainloop", G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

MprisClient * mpris_client_construct ( GType  object_type,
GMainLoop *  loop 
)

Definition at line 3822 of file test-mpris-backend-client.c.

                                                                         {
       MprisClient * self = NULL;
       GMainLoop* _tmp0_;
       g_return_val_if_fail (loop != NULL, NULL);
       _tmp0_ = loop;
       self = (MprisClient*) g_object_new (object_type, "mainloop", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

static GObject * mpris_client_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 4820 of file test-mpris-backend-client.c.

                                                                                                                                   {
       GObject * obj;
       GObjectClass * parent_class;
       MprisClient * self;
       Mpris2Watcher* _tmp0_;
       Mpris2Watcher* _tmp1_;
       Mpris2Watcher* _tmp2_;
       parent_class = G_OBJECT_CLASS (mpris_client_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_CLIENT, MprisClient);
       _tmp0_ = mpris2_watcher_new ();
       _g_object_unref0 (self->watcher);
       self->watcher = _tmp0_;
       _tmp1_ = self->watcher;
       g_signal_connect_object (_tmp1_, "client-appeared", (GCallback) _mpris_client_on_client_appeared_mpris2_watcher_client_appeared, self, 0);
       _tmp2_ = self->watcher;
       mpris2_watcher_check_for_active_clients (_tmp2_, NULL, NULL);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_do_test_async_activate_playlist ( GMainLoop *  loop,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 4605 of file test-mpris-backend-client.c.

                                                                                                                          {
       MprisClientDoTestAsyncActivatePlaylistData* _data_;
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       _data_ = g_slice_new0 (MprisClientDoTestAsyncActivatePlaylistData);
       _data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, mpris_client_do_test_async_activate_playlist);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, mpris_client_do_test_async_activate_playlist_data_free);
       _tmp0_ = loop;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _data_->loop = _tmp1_;
       mpris_client_do_test_async_activate_playlist_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean mpris_client_do_test_async_activate_playlist_co ( MprisClientDoTestAsyncActivatePlaylistData *  _data_) [static]

Definition at line 4718 of file test-mpris-backend-client.c.

                                                                                                                     {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_data1_ = g_slice_new0 (Block1Data);
       _data_->_data1_->_ref_count_ = 1;
       _data_->_data1_->_async_data_ = _data_;
       _data_->_tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       _data_->_data1_->contr = _data_->_tmp0_;
       {
              _data_->_tmp1_ = _data_->_data1_->contr->playlists;
              _data_->_tmp2_ = 0;
              _data_->_state_ = 1;
              mpris_playlists_GetPlaylists (_data_->_tmp1_, (guint32) 0, (guint32) 10, "alphabetical", FALSE, mpris_client_do_test_async_activate_playlist_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = mpris_playlists_GetPlaylists_finish (_data_->_tmp1_, _data_->_res_, &_data_->_tmp2_, &_data_->_inner_error_);
              _data_->pls = _data_->_tmp3_;
              _data_->pls_length1 = _data_->_tmp2_;
              _data_->_pls_size_ = _data_->pls_length1;
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch5_g_io_error;
                     }
                     block1_data_unref (_data_->_data1_);
                     _data_->_data1_ = NULL;
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _data_->_tmp4_ = _data_->_data1_->contr->playlists;
              _data_->_tmp5_ = _data_->pls[1];
              _data_->_tmp6_ = _data_->_tmp5_.path;
              mpris_playlists_ActivatePlaylist (_data_->_tmp4_, _data_->_tmp6_, NULL, NULL);
              g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 2, ____lambda3__gsource_func, block1_data_ref (_data_->_data1_), block1_data_unref);
              _data_->pls = (_vala_PlaylistDetails_array_free (_data_->pls, _data_->pls_length1), NULL);
       }
       goto __finally5;
       __catch5_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              g_warning ("test-mpris-backend-client.vala:426: do_test_async_activate_playlist: F" \
"ailed to activate playlist asynchronously");
              _g_error_free0 (_data_->e);
       }
       __finally5:
       if (_data_->_inner_error_ != NULL) {
              block1_data_unref (_data_->_data1_);
              _data_->_data1_ = NULL;
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       _data_->_tmp7_ = _data_->loop;
       g_main_loop_quit (_data_->_tmp7_);
       block1_data_unref (_data_->_data1_);
       _data_->_data1_ = NULL;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_client_do_test_async_activate_playlist_data_free ( gpointer  _data) [static]

Definition at line 4597 of file test-mpris-backend-client.c.

                                                                                    {
       MprisClientDoTestAsyncActivatePlaylistData* _data_;
       _data_ = _data;
       _g_main_loop_unref0 (_data_->loop);
       g_slice_free (MprisClientDoTestAsyncActivatePlaylistData, _data_);
}

Here is the caller graph for this function:

Definition at line 4619 of file test-mpris-backend-client.c.

                                                                               {
       MprisClientDoTestAsyncActivatePlaylistData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void mpris_client_do_test_async_activate_playlist_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4641 of file test-mpris-backend-client.c.

                                                                                                                                   {
       MprisClientDoTestAsyncActivatePlaylistData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       mpris_client_do_test_async_activate_playlist_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_do_test_async_get_playlists ( GMainLoop *  loop,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 4474 of file test-mpris-backend-client.c.

                                                                                                                      {
       MprisClientDoTestAsyncGetPlaylistsData* _data_;
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       _data_ = g_slice_new0 (MprisClientDoTestAsyncGetPlaylistsData);
       _data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, mpris_client_do_test_async_get_playlists);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, mpris_client_do_test_async_get_playlists_data_free);
       _tmp0_ = loop;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _data_->loop = _tmp1_;
       mpris_client_do_test_async_get_playlists_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean mpris_client_do_test_async_get_playlists_co ( MprisClientDoTestAsyncGetPlaylistsData *  _data_) [static]

Definition at line 4503 of file test-mpris-backend-client.c.

                                                                                                             {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       _data_->controller = _data_->_tmp0_;
       {
              _data_->_tmp1_ = _data_->controller->playlists;
              _data_->_tmp2_ = 0;
              _data_->_state_ = 1;
              mpris_playlists_GetPlaylists (_data_->_tmp1_, (guint32) 0, (guint32) 10, "alphabetical", FALSE, mpris_client_do_test_async_get_playlists_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = mpris_playlists_GetPlaylists_finish (_data_->_tmp1_, _data_->_res_, &_data_->_tmp2_, &_data_->_inner_error_);
              _data_->pls = _data_->_tmp3_;
              _data_->pls_length1 = _data_->_tmp2_;
              _data_->_pls_size_ = _data_->pls_length1;
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch4_g_io_error;
                     }
                     _g_object_unref0 (_data_->controller);
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _vala_assert (_data_->pls_length1 == 2, "pls.length == 2");
              _data_->_tmp4_ = _data_->pls[0];
              _data_->_tmp5_ = _data_->_tmp4_.path;
              _vala_assert (g_strcmp0 ((const gchar*) _data_->_tmp5_, "/fake/pl/id") == 0, "(string)pls[0].path == \"/fake/pl/id\"");
              _data_->_tmp6_ = _data_->pls[1];
              _data_->_tmp7_ = _data_->_tmp6_.path;
              _vala_assert (g_strcmp0 ((const gchar*) _data_->_tmp7_, "/fake/pl2/id") == 0, "(string)pls[1].path == \"/fake/pl2/id\"");
              _data_->_tmp8_ = _data_->pls[0];
              _data_->_tmp9_ = _data_->_tmp8_.name;
              _vala_assert (g_strcmp0 (_data_->_tmp9_, "yellow swans like") == 0, "pls[0].name == \"yellow swans like\"");
              _data_->_tmp10_ = _data_->pls[1];
              _data_->_tmp11_ = _data_->_tmp10_.name;
              _vala_assert (g_strcmp0 (_data_->_tmp11_, "another playlist") == 0, "pls[1].name == \"another playlist\"");
              _data_->_tmp12_ = _data_->pls[0];
              _data_->_tmp13_ = _data_->_tmp12_.icon_name;
              _vala_assert (g_strcmp0 (_data_->_tmp13_, "audio-volume-high") == 0, "pls[0].icon_name == \"audio-volume-high\"");
              _data_->_tmp14_ = _data_->pls[1];
              _data_->_tmp15_ = _data_->_tmp14_.icon_name;
              _vala_assert (g_strcmp0 (_data_->_tmp15_, "audio-volume-high") == 0, "pls[1].icon_name == \"audio-volume-high\"");
              _data_->pls = (_vala_PlaylistDetails_array_free (_data_->pls, _data_->pls_length1), NULL);
       }
       goto __finally4;
       __catch4_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              g_warning ("test-mpris-backend-client.vala:395: do_test_async_get_playlists: Faile" \
"d to get the playlists asynchronously");
              _g_error_free0 (_data_->e);
       }
       __finally4:
       if (_data_->_inner_error_ != NULL) {
              _g_object_unref0 (_data_->controller);
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       _data_->_tmp16_ = _data_->loop;
       g_main_loop_quit (_data_->_tmp16_);
       _g_object_unref0 (_data_->controller);
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_client_do_test_async_get_playlists_data_free ( gpointer  _data) [static]

Definition at line 4461 of file test-mpris-backend-client.c.

                                                                                {
       MprisClientDoTestAsyncGetPlaylistsData* _data_;
       _data_ = _data;
       _g_main_loop_unref0 (_data_->loop);
       g_slice_free (MprisClientDoTestAsyncGetPlaylistsData, _data_);
}

Here is the caller graph for this function:

void mpris_client_do_test_async_get_playlists_finish ( GAsyncResult *  _res_)

Definition at line 4488 of file test-mpris-backend-client.c.

                                                                           {
       MprisClientDoTestAsyncGetPlaylistsData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void mpris_client_do_test_async_get_playlists_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4494 of file test-mpris-backend-client.c.

                                                                                                                               {
       MprisClientDoTestAsyncGetPlaylistsData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       mpris_client_do_test_async_get_playlists_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_client_escape ( MprisClient *  self)

Definition at line 3860 of file test-mpris-backend-client.c.

                                                 {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->_mainloop;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void mpris_client_finalize ( GObject *  obj) [static]

Definition at line 4857 of file test-mpris-backend-client.c.

                                                 {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_CLIENT, MprisClient);
       _g_main_loop_unref0 (self->priv->_mainloop);
       _g_object_unref0 (self->watcher);
       G_OBJECT_CLASS (mpris_client_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GMainLoop * mpris_client_get_mainloop ( MprisClient *  self)

Definition at line 4793 of file test-mpris-backend-client.c.

                                                         {
       GMainLoop* result;
       GMainLoop* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_mainloop;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType mpris_client_get_type ( void  )

Definition at line 539 of file test-mpris-backend-client.c.

      {
       MPRIS_CLIENT_DUMMY_PROPERTY,
       MPRIS_CLIENT_MAINLOOP
};
static void mpris_client_instance_init ( MprisClient *  self) [static]

Definition at line 4852 of file test-mpris-backend-client.c.

                                                            {
       self->priv = MPRIS_CLIENT_GET_PRIVATE (self);
}
gint mpris_client_main ( gchar **  args,
int  args_length1 
)

Definition at line 3926 of file test-mpris-backend-client.c.

                                                        {
       gint result = 0;
       GMainContext* _tmp0_ = NULL;
       GMainLoop* _tmp1_;
       GMainLoop* mainloop;
       GMainLoop* _tmp2_;
       MprisClient* _tmp3_;
       MprisClient* client;
       GMainLoop* _tmp9_;
       g_setenv ("XDG_DATA_HOME", TESTDIR "/data", TRUE);
       _tmp0_ = g_main_context_default ();
       _tmp1_ = g_main_loop_new (_tmp0_, FALSE);
       mainloop = _tmp1_;
       g_test_init (&args_length1, &args, NULL);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Root/Identity", NULL, _mpris_client_root_identity_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Root/DesktopEntry", NULL, _mpris_client_root_desktop_entry_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Root/CanRaise", NULL, _mpris_client_root_can_raise_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Player/CurrentTrack", NULL, _mpris_client_player_current_metadata_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Player/PlaybackStatus", NULL, _mpris_client_player_current_playback_status_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Blacklisting", NULL, _mpris_client_test_blacklist_check_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Playlist/CurrentPlaylist", NULL, _mpris_client_playlists_current_playlist_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Playlist/GetPlaylists", NULL, _mpris_client_playlists_test_get_playlists_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Playlist/PlaylistCount", NULL, _mpris_client_playlists_test_playlist_count_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Playlist/Orderings", NULL, _mpris_client_playlists_test_playlist_orderings_gtest_data_func);
       g_test_add_data_func ("/Integration/SoundMenu/Mpris/Backend/Playlist/ActivatePlaylist", NULL, _mpris_client_playlists_test_activate_playlist_gtest_data_func);
       _tmp2_ = mainloop;
       _tmp3_ = mpris_client_new (_tmp2_);
       client = _tmp3_;
       while (TRUE) {
              GMainLoop* _tmp4_;
              GMainContext* _tmp5_ = NULL;
              gboolean _tmp6_ = FALSE;
              GMainLoop* _tmp7_;
              GMainContext* _tmp8_ = NULL;
              _tmp4_ = mainloop;
              _tmp5_ = g_main_loop_get_context (_tmp4_);
              _tmp6_ = g_main_context_pending (_tmp5_);
              if (!(_tmp6_ == TRUE)) {
                     break;
              }
              _tmp7_ = mainloop;
              _tmp8_ = g_main_loop_get_context (_tmp7_);
              g_main_context_iteration (_tmp8_, TRUE);
       }
       _tmp9_ = mainloop;
       g_main_loop_run (_tmp9_);
       result = 0;
       _g_object_unref0 (client);
       _g_main_loop_unref0 (mainloop);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

MprisClient * mpris_client_new ( GMainLoop *  loop)

Definition at line 3832 of file test-mpris-backend-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_on_client_appeared ( MprisClient *  self)

Definition at line 3854 of file test-mpris-backend-client.c.

                                                         {
       g_return_if_fail (self != NULL);
       g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4082 of file test-mpris-backend-client.c.

                                                 {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlayer* _tmp1_;
       GHashTable* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       gconstpointer _tmp5_ = NULL;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       GVariant* v_artist;
       MprisPlayer* _tmp8_;
       GHashTable* _tmp9_;
       GHashTable* _tmp10_;
       GHashTable* _tmp11_;
       gconstpointer _tmp12_ = NULL;
       GVariant* _tmp13_;
       GVariant* _tmp14_;
       GVariant* v_album;
       MprisPlayer* _tmp15_;
       GHashTable* _tmp16_;
       GHashTable* _tmp17_;
       GHashTable* _tmp18_;
       gconstpointer _tmp19_ = NULL;
       GVariant* _tmp20_;
       GVariant* _tmp21_;
       GVariant* v_title;
       MprisPlayer* _tmp22_;
       GHashTable* _tmp23_;
       GHashTable* _tmp24_;
       GHashTable* _tmp25_;
       gconstpointer _tmp26_ = NULL;
       GVariant* _tmp27_;
       GVariant* _tmp28_;
       GVariant* v_art;
       const gchar* _tmp29_ = NULL;
       const gchar* _tmp30_ = NULL;
       const gchar* _tmp31_ = NULL;
       const gchar* _tmp32_ = NULL;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->player;
       _tmp2_ = mpris_player_get_Metadata (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _tmp5_ = g_hash_table_lookup (_tmp4_, "xesam:artist");
       _tmp6_ = _g_variant_ref0 ((GVariant*) _tmp5_);
       _tmp7_ = _tmp6_;
       _g_hash_table_unref0 (_tmp4_);
       v_artist = _tmp7_;
       _tmp8_ = controller->player;
       _tmp9_ = mpris_player_get_Metadata (_tmp8_);
       _tmp10_ = _tmp9_;
       _tmp11_ = _tmp10_;
       _tmp12_ = g_hash_table_lookup (_tmp11_, "xesam:album");
       _tmp13_ = _g_variant_ref0 ((GVariant*) _tmp12_);
       _tmp14_ = _tmp13_;
       _g_hash_table_unref0 (_tmp11_);
       v_album = _tmp14_;
       _tmp15_ = controller->player;
       _tmp16_ = mpris_player_get_Metadata (_tmp15_);
       _tmp17_ = _tmp16_;
       _tmp18_ = _tmp17_;
       _tmp19_ = g_hash_table_lookup (_tmp18_, "xesam:title");
       _tmp20_ = _g_variant_ref0 ((GVariant*) _tmp19_);
       _tmp21_ = _tmp20_;
       _g_hash_table_unref0 (_tmp18_);
       v_title = _tmp21_;
       _tmp22_ = controller->player;
       _tmp23_ = mpris_player_get_Metadata (_tmp22_);
       _tmp24_ = _tmp23_;
       _tmp25_ = _tmp24_;
       _tmp26_ = g_hash_table_lookup (_tmp25_, "mpris:artUrl");
       _tmp27_ = _g_variant_ref0 ((GVariant*) _tmp26_);
       _tmp28_ = _tmp27_;
       _g_hash_table_unref0 (_tmp25_);
       v_art = _tmp28_;
       _tmp29_ = g_variant_get_string (v_artist, NULL);
       _vala_assert (g_strcmp0 (_tmp29_, "Autechre") == 0, "v_artist.get_string() == \"Autechre\"");
       _tmp30_ = g_variant_get_string (v_album, NULL);
       _vala_assert (g_strcmp0 (_tmp30_, "LP5") == 0, "v_album.get_string() == \"LP5\"");
       _tmp31_ = g_variant_get_string (v_title, NULL);
       _vala_assert (g_strcmp0 (_tmp31_, "Rae") == 0, "v_title.get_string() == \"Rae\"");
       _tmp32_ = g_variant_get_string (v_art, NULL);
       _vala_assert (g_strcmp0 (_tmp32_, "file:///home/user/download/ae_lp5.jpg") == 0, "v_art.get_string() == \"file:///home/user/download/ae_lp5.jpg\"");
       _g_variant_unref0 (v_art);
       _g_variant_unref0 (v_title);
       _g_variant_unref0 (v_album);
       _g_variant_unref0 (v_artist);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4182 of file test-mpris-backend-client.c.

                                                        {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlayer* _tmp1_;
       gchar* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       MprisPlayer* _tmp5_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->player;
       _tmp2_ = mpris_player_get_PlaybackStatus (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "Paused") == 0, "controller.player.PlaybackStatus == \"Paused\"");
       _g_free0 (_tmp4_);
       _tmp5_ = controller->player;
       mpris_player_PlayPause (_tmp5_, NULL, NULL);
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2, _mpris_client_test_playbackstatus_change_gsource_func, NULL, NULL);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4330 of file test-mpris-backend-client.c.

                                                    {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlaylists* _tmp1_;
       ActivePlaylistContainer _tmp2_;
       ActivePlaylistContainer _tmp3_;
       ActivePlaylistContainer _tmp4_;
       gboolean _tmp5_;
       MprisPlaylists* _tmp6_;
       ActivePlaylistContainer _tmp7_;
       ActivePlaylistContainer _tmp8_;
       ActivePlaylistContainer _tmp9_;
       PlaylistDetails _tmp10_;
       const char* _tmp11_;
       MprisPlaylists* _tmp12_;
       ActivePlaylistContainer _tmp13_;
       ActivePlaylistContainer _tmp14_;
       ActivePlaylistContainer _tmp15_;
       PlaylistDetails _tmp16_;
       const gchar* _tmp17_;
       MprisPlaylists* _tmp18_;
       ActivePlaylistContainer _tmp19_;
       ActivePlaylistContainer _tmp20_;
       ActivePlaylistContainer _tmp21_;
       PlaylistDetails _tmp22_;
       const gchar* _tmp23_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp1_, &_tmp2_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _tmp5_ = _tmp4_.valid;
       _vala_assert (_tmp5_ == TRUE, "controller.playlists.ActivePlaylist.valid == true");
       active_playlist_container_destroy (&_tmp4_);
       _tmp6_ = controller->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp6_, &_tmp7_);
       _tmp8_ = _tmp7_;
       _tmp9_ = _tmp8_;
       _tmp10_ = _tmp9_.details;
       _tmp11_ = _tmp10_.path;
       _vala_assert (g_strcmp0 (_tmp11_, "/fake/pl/id") == 0, "controller.playlists.ActivePlaylist.details.path == \"/fake/pl/id\"");
       active_playlist_container_destroy (&_tmp9_);
       _tmp12_ = controller->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp12_, &_tmp13_);
       _tmp14_ = _tmp13_;
       _tmp15_ = _tmp14_;
       _tmp16_ = _tmp15_.details;
       _tmp17_ = _tmp16_.name;
       _vala_assert (g_strcmp0 (_tmp17_, "yellow swans like") == 0, "controller.playlists.ActivePlaylist.details.name == \"yellow swans like\"");
       active_playlist_container_destroy (&_tmp15_);
       _tmp18_ = controller->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp18_, &_tmp19_);
       _tmp20_ = _tmp19_;
       _tmp21_ = _tmp20_;
       _tmp22_ = _tmp21_.details;
       _tmp23_ = _tmp22_.icon_name;
       _vala_assert (g_strcmp0 (_tmp23_, "audio-volume-high") == 0, "controller.playlists.ActivePlaylist.details.icon_name == \"audio-volume-high\"");
       active_playlist_container_destroy (&_tmp21_);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4586 of file test-mpris-backend-client.c.

                                                          {
       GMainLoop* _tmp0_;
       GMainLoop* loop;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       loop = _tmp0_;
       mpris_client_do_test_async_activate_playlist (loop, NULL, NULL);
       g_main_loop_run (loop);
       _g_main_loop_unref0 (loop);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4450 of file test-mpris-backend-client.c.

                                                      {
       GMainLoop* _tmp0_;
       GMainLoop* loop;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       loop = _tmp0_;
       mpris_client_do_test_async_get_playlists (loop, NULL, NULL);
       g_main_loop_run (loop);
       _g_main_loop_unref0 (loop);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4393 of file test-mpris-backend-client.c.

                                                       {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlaylists* _tmp1_;
       guint32 _tmp2_;
       guint32 _tmp3_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->playlists;
       _tmp2_ = mpris_playlists_get_PlaylistCount (_tmp1_);
       _tmp3_ = _tmp2_;
       _vala_assert (_tmp3_ == ((guint32) 2), "controller.playlists.PlaylistCount == 2");
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4409 of file test-mpris-backend-client.c.

                                                           {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlaylists* _tmp1_;
       gchar** _tmp2_;
       gint _tmp2__length1;
       gchar** _tmp3_;
       gint _tmp3__length1;
       gchar** _tmp4_;
       gint _tmp4__length1;
       MprisPlaylists* _tmp5_;
       gchar** _tmp6_;
       gint _tmp6__length1;
       gchar** _tmp7_;
       gint _tmp7__length1;
       gchar** _tmp8_;
       gint _tmp8__length1;
       const gchar* _tmp9_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->playlists;
       _tmp2_ = mpris_playlists_get_Orderings (_tmp1_, &_tmp2__length1);
       _tmp3_ = _tmp2_;
       _tmp3__length1 = _tmp2__length1;
       _tmp4_ = _tmp3_;
       _tmp4__length1 = _tmp3__length1;
       _vala_assert (_tmp3__length1 == 1, "controller.playlists.Orderings.length == 1");
       _tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL);
       _tmp5_ = controller->playlists;
       _tmp6_ = mpris_playlists_get_Orderings (_tmp5_, &_tmp6__length1);
       _tmp7_ = _tmp6_;
       _tmp7__length1 = _tmp6__length1;
       _tmp8_ = _tmp7_;
       _tmp8__length1 = _tmp7__length1;
       _tmp9_ = _tmp8_[0];
       _vala_assert (g_strcmp0 (_tmp9_, "alphabetical") == 0, "controller.playlists.Orderings[0] == \"alphabetical\"");
       _tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_root_can_raise ( void  )

Definition at line 4061 of file test-mpris-backend-client.c.

                                        {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisRoot* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->mpris2_root;
       _tmp2_ = mpris_root_get_CanRaise (_tmp1_);
       _tmp3_ = _tmp2_;
       _vala_assert (_tmp3_ == TRUE, "controller.mpris2_root.CanRaise == true");
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4042 of file test-mpris-backend-client.c.

                                            {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisRoot* _tmp1_;
       gchar* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->mpris2_root;
       _tmp2_ = mpris_root_get_DesktopEntry (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "rhythmbox") == 0, "controller.mpris2_root.DesktopEntry == \"rhythmbox\"");
       _g_free0 (_tmp4_);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_root_identity ( void  )

Definition at line 3993 of file test-mpris-backend-client.c.

                                       {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       Mpris2Controller* _tmp1_;
       MprisRoot* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       gchar* _tmp5_;
       gboolean _tmp6_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller;
       _tmp2_ = _tmp1_->mpris2_root;
       _tmp3_ = mpris_root_get_Identity (_tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = _tmp4_;
       _tmp6_ = g_strcmp0 (_tmp5_, "Rhythmbox") != 0;
       _g_free0 (_tmp5_);
       if (_tmp6_) {
              Mpris2Controller* _tmp7_;
              MprisRoot* _tmp8_;
              gchar* _tmp9_;
              gchar* _tmp10_;
              gchar* _tmp11_;
              Mpris2Controller* _tmp12_;
              MprisRoot* _tmp13_;
              gchar* _tmp14_;
              gchar* _tmp15_;
              gchar* _tmp16_;
              _tmp7_ = controller;
              _tmp8_ = _tmp7_->mpris2_root;
              _tmp9_ = mpris_root_get_Identity (_tmp8_);
              _tmp10_ = _tmp9_;
              _tmp11_ = _tmp10_;
              g_critical ("test-mpris-backend-client.vala:275: Expected 'Rhythmbox', but found '%" \
"s'", _tmp11_);
              _g_free0 (_tmp11_);
              _tmp12_ = controller;
              _tmp13_ = _tmp12_->mpris2_root;
              _tmp14_ = mpris_root_get_Identity (_tmp13_);
              _tmp15_ = _tmp14_;
              _tmp16_ = _tmp15_;
              _vala_assert (g_strcmp0 (_tmp16_, "Rhythmbox") == 0, "controller.mpris2_root.Identity == \"Rhythmbox\"");
              _g_free0 (_tmp16_);
       }
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_client_run_tests ( void  )

Definition at line 3985 of file test-mpris-backend-client.c.

                                       {
       gboolean result = FALSE;
       g_test_run ();
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void mpris_client_set_mainloop ( MprisClient *  self,
GMainLoop *  value 
) [static]

Definition at line 4803 of file test-mpris-backend-client.c.

                                                                            {
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _g_main_loop_unref0 (self->priv->_mainloop);
       self->priv->_mainloop = _tmp1_;
       g_object_notify ((GObject *) self, "mainloop");
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4260 of file test-mpris-backend-client.c.

                                              {
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       GSettings* _tmp1_;
       GSettings* settings;
       GSettings* _tmp2_;
       gchar** _tmp3_;
       gchar** _tmp4_ = NULL;
       gchar** blacklist;
       gint blacklist_length1;
       gint _blacklist_size_;
       gboolean present;
       gchar** _tmp5_;
       gint _tmp5__length1;
       gboolean _tmp14_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = g_settings_new ("com.canonical.indicator.sound");
       settings = _tmp1_;
       _tmp2_ = settings;
       _tmp4_ = _tmp3_ = g_settings_get_strv (_tmp2_, "blacklisted-media-players");
       blacklist = _tmp4_;
       blacklist_length1 = _vala_array_length (_tmp3_);
       _blacklist_size_ = blacklist_length1;
       present = FALSE;
       _tmp5_ = blacklist;
       _tmp5__length1 = blacklist_length1;
       {
              gchar** s_collection = NULL;
              gint s_collection_length1 = 0;
              gint _s_collection_size_ = 0;
              gint s_it = 0;
              s_collection = _tmp5_;
              s_collection_length1 = _tmp5__length1;
              for (s_it = 0; s_it < _tmp5__length1; s_it = s_it + 1) {
                     gchar* _tmp6_;
                     gchar* s = NULL;
                     _tmp6_ = g_strdup (s_collection[s_it]);
                     s = _tmp6_;
                     {
                            const gchar* _tmp7_;
                            Mpris2Controller* _tmp8_;
                            MprisRoot* _tmp9_;
                            gchar* _tmp10_;
                            gchar* _tmp11_;
                            gchar* _tmp12_;
                            gboolean _tmp13_;
                            _tmp7_ = s;
                            _tmp8_ = controller;
                            _tmp9_ = _tmp8_->mpris2_root;
                            _tmp10_ = mpris_root_get_DesktopEntry (_tmp9_);
                            _tmp11_ = _tmp10_;
                            _tmp12_ = _tmp11_;
                            _tmp13_ = g_strcmp0 (_tmp7_, _tmp12_) == 0;
                            _g_free0 (_tmp12_);
                            if (_tmp13_) {
                                   present = TRUE;
                            }
                            _g_free0 (s);
                     }
              }
       }
       _tmp14_ = present;
       _vala_assert (_tmp14_ == FALSE, "present == false");
       blacklist = (_vala_array_free (blacklist, blacklist_length1, (GDestroyNotify) g_free), NULL);
       _g_object_unref0 (settings);
       _g_object_unref0 (controller);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4212 of file test-mpris-backend-client.c.

                                                        {
       gboolean result = FALSE;
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlayer* _tmp1_;
       gchar* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       MprisPlayer* _tmp5_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->player;
       _tmp2_ = mpris_player_get_PlaybackStatus (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "Playing") == 0, "controller.player.PlaybackStatus == \"Playing\"");
       _g_free0 (_tmp4_);
       _tmp5_ = controller->player;
       mpris_player_PlayPause (_tmp5_, NULL, NULL);
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2, _mpris_client_test_second_playbackstatus_change_gsource_func, NULL, NULL);
       result = FALSE;
       _g_object_unref0 (controller);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4238 of file test-mpris-backend-client.c.

                                                               {
       gboolean result = FALSE;
       Mpris2Controller* _tmp0_;
       Mpris2Controller* controller;
       MprisPlayer* _tmp1_;
       gchar* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       controller = _tmp0_;
       _tmp1_ = controller->player;
       _tmp2_ = mpris_player_get_PlaybackStatus (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "Paused") == 0, "controller.player.PlaybackStatus == \"Paused\"");
       _g_free0 (_tmp4_);
       result = FALSE;
       _g_object_unref0 (controller);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_base_init ( MprisPlayerIface *  iface) [static]

Definition at line 1705 of file test-mpris-backend-client.c.

                                                              {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("seeked", TYPE_MPRIS_PLAYER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* mpris_player_dbus_interface_get_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 2226 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                    {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Metadata") == 0) {
              return _dbus_mpris_player_get_Metadata (object);
       } else if (strcmp (property_name, "Position") == 0) {
              return _dbus_mpris_player_get_Position (object);
       } else if (strcmp (property_name, "PlaybackStatus") == 0) {
              return _dbus_mpris_player_get_PlaybackStatus (object);
       }
       return NULL;
}

Here is the call graph for this function:

static void mpris_player_dbus_interface_method_call ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  method_name,
GVariant *  parameters,
GDBusMethodInvocation *  invocation,
gpointer  user_data 
) [static]

Definition at line 2165 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                                                     {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "PlayPause") == 0) {
              _dbus_mpris_player_PlayPause (object, parameters, invocation);
       } else if (strcmp (method_name, "Next") == 0) {
              _dbus_mpris_player_Next (object, parameters, invocation);
       } else if (strcmp (method_name, "Previous") == 0) {
              _dbus_mpris_player_Previous (object, parameters, invocation);
       } else if (strcmp (method_name, "Seek") == 0) {
              _dbus_mpris_player_Seek (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean mpris_player_dbus_interface_set_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GVariant *  value,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 2274 of file test-mpris-backend-client.c.

                                                                                                                                                                                                                                                    {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Metadata") == 0) {
              _dbus_mpris_player_set_Metadata (object, value);
              return TRUE;
       } else if (strcmp (property_name, "Position") == 0) {
              _dbus_mpris_player_set_Position (object, value);
              return TRUE;
       } else if (strcmp (property_name, "PlaybackStatus") == 0) {
              _dbus_mpris_player_set_PlaybackStatus (object, value);
              return TRUE;
       }
       return FALSE;
}

Here is the call graph for this function:

static GHashTable* mpris_player_dbus_proxy_get_Metadata ( MprisPlayer *  self) [static]

Definition at line 1872 of file test-mpris-backend-client.c.

                                                                            {
       GVariant *_inner_reply;
       GHashTable* _result;
       GHashTable* _tmp11_;
       GVariantIter _tmp12_;
       GVariant* _tmp13_;
       GVariant* _tmp14_;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Metadata");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Metadata"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return NULL;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _tmp11_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp12_, _inner_reply);
       while (g_variant_iter_loop (&_tmp12_, "{?*}", &_tmp13_, &_tmp14_)) {
              g_hash_table_insert (_tmp11_, g_variant_dup_string (_tmp13_, NULL), g_variant_get_variant (_tmp14_));
       }
       _result = _tmp11_;
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static gchar* mpris_player_dbus_proxy_get_PlaybackStatus ( MprisPlayer *  self) [static]

Definition at line 1982 of file test-mpris-backend-client.c.

                                                                             {
       GVariant *_inner_reply;
       gchar* _result;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "PlaybackStatus");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("PlaybackStatus"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return NULL;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _result = g_variant_dup_string (_inner_reply, NULL);
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static gint32 mpris_player_dbus_proxy_get_Position ( MprisPlayer *  self) [static]

Definition at line 1938 of file test-mpris-backend-client.c.

                                                                       {
       GVariant *_inner_reply;
       gint32 _result;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Position");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Position"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return 0;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _result = g_variant_get_int32 (_inner_reply);
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_Metadata ( MprisPlayer *  self,
GHashTable *  value 
) [static]

Definition at line 1906 of file test-mpris-backend-client.c.

                                                                                        {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp15_;
       GHashTableIter _tmp16_;
       gpointer _tmp17_;
       gpointer _tmp18_;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Metadata"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_hash_table_iter_init (&_tmp16_, value);
       g_variant_builder_init (&_tmp15_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp16_, &_tmp17_, &_tmp18_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp17_;
              _value = (GVariant*) _tmp18_;
              g_variant_builder_add (&_tmp15_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp15_));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_PlaybackStatus ( MprisPlayer *  self,
const gchar *  value 
) [static]

Definition at line 2007 of file test-mpris-backend-client.c.

                                                                                               {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("PlaybackStatus"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (value));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_Position ( MprisPlayer *  self,
gint32  value 
) [static]

Definition at line 1963 of file test-mpris-backend-client.c.

                                                                                   {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Position"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_int32 (value));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

GHashTable* mpris_player_get_Metadata ( MprisPlayer *  self)

Definition at line 1649 of file test-mpris-backend-client.c.

                                                          {
       g_return_val_if_fail (self != NULL, NULL);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_Metadata (self);
}

Here is the caller graph for this function:

gchar* mpris_player_get_PlaybackStatus ( MprisPlayer *  self)

Definition at line 1673 of file test-mpris-backend-client.c.

                                                           {
       g_return_val_if_fail (self != NULL, NULL);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_PlaybackStatus (self);
}

Here is the caller graph for this function:

gint32 mpris_player_get_Position ( MprisPlayer *  self)

Definition at line 1661 of file test-mpris-backend-client.c.

                                                     {
       g_return_val_if_fail (self != NULL, 0);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_Position (self);
}

Here is the caller graph for this function:

GType mpris_player_get_type ( void  )

Definition at line 1714 of file test-mpris-backend-client.c.

                                   {
       static volatile gsize mpris_player_type_id__volatile = 0;
       if (g_once_init_enter (&mpris_player_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (MprisPlayerIface), (GBaseInitFunc) mpris_player_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType mpris_player_type_id;
              mpris_player_type_id = g_type_register_static (G_TYPE_INTERFACE, "MprisPlayer", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (mpris_player_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) mpris_player_proxy_get_type);
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.mpris.MediaPlayer2.Player");
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) mpris_player_register_object);
              g_once_init_leave (&mpris_player_type_id__volatile, mpris_player_type_id);
       }
       return mpris_player_type_id__volatile;
}

Here is the call graph for this function:

void mpris_player_Next ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1619 of file test-mpris-backend-client.c.

                                                                                                 {
       MPRIS_PLAYER_GET_INTERFACE (self)->Next (self, _callback_, _user_data_);
}

Here is the caller graph for this function:

void mpris_player_Next_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1624 of file test-mpris-backend-client.c.

                                                                                       {
       MPRIS_PLAYER_GET_INTERFACE (self)->Next_finish (self, _res_, error);
}

Here is the caller graph for this function:

void mpris_player_PlayPause ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1609 of file test-mpris-backend-client.c.

                                                                                                      {
       MPRIS_PLAYER_GET_INTERFACE (self)->PlayPause (self, _callback_, _user_data_);
}

Here is the caller graph for this function:

void mpris_player_PlayPause_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1614 of file test-mpris-backend-client.c.

                                                                                            {
       MPRIS_PLAYER_GET_INTERFACE (self)->PlayPause_finish (self, _res_, error);
}

Here is the caller graph for this function:

void mpris_player_Previous ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1629 of file test-mpris-backend-client.c.

                                                                                                     {
       MPRIS_PLAYER_GET_INTERFACE (self)->Previous (self, _callback_, _user_data_);
}

Here is the caller graph for this function:

void mpris_player_Previous_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1634 of file test-mpris-backend-client.c.

                                                                                           {
       MPRIS_PLAYER_GET_INTERFACE (self)->Previous_finish (self, _res_, error);
}

Here is the caller graph for this function:

static void mpris_player_proxy_class_init ( MprisPlayerProxyClass klass) [static]

Definition at line 1731 of file test-mpris-backend-client.c.

                                                                         {
       G_DBUS_PROXY_CLASS (klass)->g_signal = mpris_player_proxy_g_signal;
}

Here is the call graph for this function:

static void mpris_player_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

Definition at line 1748 of file test-mpris-backend-client.c.

                                                                                                                                      {
       if (strcmp (signal_name, "Seeked") == 0) {
              _dbus_handle_mpris_player_seeked ((MprisPlayer*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_init ( MprisPlayerProxy self) [static]

Definition at line 1755 of file test-mpris-backend-client.c.

                                                             {
}
static void mpris_player_proxy_mpris_player_interface_init ( MprisPlayerIface *  iface) [static]

Definition at line 2026 of file test-mpris-backend-client.c.

                                                                                     {
       iface->PlayPause = mpris_player_proxy_PlayPause_async;
       iface->PlayPause_finish = mpris_player_proxy_PlayPause_finish;
       iface->Next = mpris_player_proxy_Next_async;
       iface->Next_finish = mpris_player_proxy_Next_finish;
       iface->Previous = mpris_player_proxy_Previous_async;
       iface->Previous_finish = mpris_player_proxy_Previous_finish;
       iface->Seek = mpris_player_proxy_Seek_async;
       iface->Seek_finish = mpris_player_proxy_Seek_finish;
       iface->get_Metadata = mpris_player_dbus_proxy_get_Metadata;
       iface->set_Metadata = mpris_player_dbus_proxy_set_Metadata;
       iface->get_Position = mpris_player_dbus_proxy_get_Position;
       iface->set_Position = mpris_player_dbus_proxy_set_Position;
       iface->get_PlaybackStatus = mpris_player_dbus_proxy_get_PlaybackStatus;
       iface->set_PlaybackStatus = mpris_player_dbus_proxy_set_PlaybackStatus;
}

Here is the call graph for this function:

static void mpris_player_proxy_Next_async ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1787 of file test-mpris-backend-client.c.

                                                                                                                    {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "Next");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_Next_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1801 of file test-mpris-backend-client.c.

                                                                                                    {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void mpris_player_proxy_PlayPause_async ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1759 of file test-mpris-backend-client.c.

                                                                                                                         {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "PlayPause");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function: