summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-07-08 09:29:18 +0900
committerseungha.son <seungha.son@samsung.com>2016-07-08 09:30:34 +0900
commita924210e2d1668cb8705f8b4b2dc08b1cff3fb62 (patch)
tree8a708cdfe02f508cd97f20a492fe650bfb72a87c
parent133d89f067b19ba123f4226218716e47ba40dca2 (diff)
downloadnotification-a924210e2d1668cb8705f8b4b2dc08b1cff3fb62.tar.gz
notification-a924210e2d1668cb8705f8b4b2dc08b1cff3fb62.tar.bz2
notification-a924210e2d1668cb8705f8b4b2dc08b1cff3fb62.zip
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I4ec56e8e9e64a4f80f72af0d7e718d81cefcf534
-rwxr-xr-xsrc/notification_internal.c4
-rw-r--r--src/notification_setting_service.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/notification_internal.c b/src/notification_internal.c
index 0647f72..28d6fb8 100755
--- a/src/notification_internal.c
+++ b/src/notification_internal.c
@@ -58,19 +58,23 @@ struct _notification_cb_info {
static GHashTable *_noti_cb_hash = NULL;
+/* LCOV_EXCL_START */
static void __free_changed_cb_info(gpointer data)
{
notification_cb_info_s *noti_cb_info = (notification_cb_info_s *)data;
if (noti_cb_info)
free(noti_cb_info);
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __free_changed_cb_hash(gpointer data)
{
GList *changed_cb_list = (GList *)data;
if (changed_cb_list)
g_list_free_full(changed_cb_list, __free_changed_cb_info);
}
+/* LCOV_EXCL_STOP */
void notification_call_changed_cb_for_uid(notification_op *op_list, int op_num, uid_t uid)
{
diff --git a/src/notification_setting_service.c b/src/notification_setting_service.c
index 2da4c87..3ce82fe 100644
--- a/src/notification_setting_service.c
+++ b/src/notification_setting_service.c
@@ -490,6 +490,7 @@ return_close_db:
return err;
}
+/* LCOV_EXCL_START */
EXPORT_API
int notification_setting_db_update_do_not_disturb(int do_not_disturb, uid_t uid)
{
@@ -523,6 +524,7 @@ return_close_db:
return err;
}
+/* LCOV_EXCL_STOP */
EXPORT_API
int noti_system_setting_set_alarm(int week_flag, int hour, int min, alarm_cb_t handler, alarm_id_t *dnd_schedule_alarm_id)