extern int app_control_create_event(bundle *data, struct app_control_s **app_control);
static int __sys_do(struct agent_appcore *ac, void *event_info, enum sys_event event);
+/* LCOV_EXCL_START */
static int appcore_agent_flush_memory(void)
{
int (*flush_fn) (int);
return 0;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static int _appcore_agent_request_to_suspend(int pid)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
#endif
return 0;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __prepare_to_suspend(void *data)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
}
#endif
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __exit_from_suspend(void *data)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
}
#endif
}
+/* LCOV_EXCL_START */
+/* LCOV_EXCL_START */
static gboolean __flush_memory(gpointer data)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
#endif
return FALSE;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __add_suspend_timer(struct agent_appcore *ac)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
ac->tid = g_timeout_add_seconds(5, __flush_memory, ac);
#endif
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __remove_suspend_timer(struct agent_appcore *ac)
{
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
}
#endif
}
+/* LCOV_EXCL_STOP */
static void __exit_loop(void *data)
{
return 0;
}
+/* LCOV_EXCL_START */
static int __agent_terminate(void *data)
{
struct agent_appcore *ac = data;
return 0;
}
+/* LCOV_EXCL_STOP */
static int __sys_do_default(struct agent_appcore *ac, enum sys_event event)
{
return 0;
}
+/* LCOV_EXCL_START */
#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
static void __suspend_dbus_signal_handler(GDBusConnection *connection,
const gchar *sender_name,
}
}
}
+/* LCOV_EXCL_STOP */
int _appcore_agent_init_suspend_dbus_handler(void *data)
{