Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I9e92d2bbfbf584e0b9ab42655e7b824f355bd559
- noti_err = notifiacation_setting_get_visibility_class(setting, &value);
+ noti_err = notification_setting_get_visibility_class(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_set_visibility_class(setting, value);
+ noti_err = notification_setting_set_visibility_class(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_update_setting(setting);
+ noti_err = notification_setting_update_setting(setting);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_free_notification(setting);
+ noti_err = notification_setting_free_notification(setting);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
int noti_err = 0;
notification_setting_h setting = NULL;
int noti_err = 0;
notification_setting_h setting = NULL;
- noti_err = notifiacation_setting_get_setting_by_package_name(PACKAGE_NAME, &setting);
+ noti_err = notification_setting_get_setting_by_package_name(PACKAGE_NAME, &setting);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_get_package_name(setting, &package_name);
+ noti_err = notification_setting_get_package_name(setting, &package_name);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_set_package_name(setting, package_name);
+ noti_err = notification_setting_set_package_name(setting, package_name);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_get_allow_to_notify(setting, &value);
+ noti_err = notification_setting_get_allow_to_notify(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_set_allow_to_notify(setting, value);
+ noti_err = notification_setting_set_allow_to_notify(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_get_do_not_disturb_except(setting, &value);
+ noti_err = notification_setting_get_do_not_disturb_except(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_set_do_not_disturb_except(setting, value);
+ noti_err = notification_setting_set_do_not_disturb_except(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_get_pop_up_notification(setting, value);
+ noti_err = notification_setting_get_pop_up_notification(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_get_pop_up_notification(setting, value);
+ noti_err = notification_setting_get_pop_up_notification(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_setting_get_lock_screen_content(setting, &level);
+ noti_err = notification_setting_get_lock_screen_content(setting, &level);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
level = SHOW_ALL_CONTENT; // or HIDE_SENSITIVE_CONTENT or DO_NOT_SHOW_NOTIFICATIONS;
level = SHOW_ALL_CONTENT; // or HIDE_SENSITIVE_CONTENT or DO_NOT_SHOW_NOTIFICATIONS;
- noti_err = notifiacation_setting_get_lock_screen_content(setting, level);
+ noti_err = notification_setting_get_lock_screen_content(setting, level);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_update_system_setting(setting);
+ noti_err = notification_system_setting_update_system_setting(setting);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_free_system_setting(setting);
+ noti_err = notification_system_setting_free_system_setting(setting);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_get_do_not_disturb_except(setting, &value);
+ noti_err = notification_system_setting_get_do_not_disturb_except(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_set_do_not_disturb_except(setting, value);
+ noti_err = notification_setting_set_do_not_disturb_except(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_get_visibility_class(setting, &value);
+ noti_err = notification_system_setting_get_visibility_class(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_setting_set_visibility_class(setting, value);
+ noti_err = notification_setting_set_visibility_class(setting, value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_dnd_schedule_get_enabled(setting, &value);
+ noti_err = notification_system_setting_dnd_schedule_get_enabled(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
value = true; // or false
value = true; // or false
- noti_err = notifiacation_system_setting_dnd_schedule_set_enabled(setting, &value);
+ noti_err = notification_system_setting_dnd_schedule_set_enabled(setting, &value);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_dnd_schedule_get_day(setting, &day);
+ noti_err = notification_system_setting_dnd_schedule_get_day(setting, &day);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
day = DND_SCHEDULE_WEEK_FLAG_SUNDAY;
day = DND_SCHEDULE_WEEK_FLAG_SUNDAY;
- noti_err = notifiacation_system_setting_dnd_schedule_set_day(setting, day);
+ noti_err = notification_system_setting_dnd_schedule_set_day(setting, day);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_dnd_schedule_get_start_time(setting, &hour, &min);
+ noti_err = notification_system_setting_dnd_schedule_get_start_time(setting, &hour, &min);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
hour = START_HOUR; // 0 ~ 23
min = START_MIN // 0 ~ 59
hour = START_HOUR; // 0 ~ 23
min = START_MIN // 0 ~ 59
- noti_err = notifiacation_system_setting_dnd_schedule_set_start_time(setting, hour, min);
+ noti_err = notification_system_setting_dnd_schedule_set_start_time(setting, hour, min);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_dnd_schedule_get_end_time(setting, &hour, &min);
+ noti_err = notification_system_setting_dnd_schedule_get_end_time(setting, &hour, &min);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
hour = START_HOUR; // 0 ~ 23
min = START_MIN // 0 ~ 59
hour = START_HOUR; // 0 ~ 23
min = START_MIN // 0 ~ 59
- noti_err = notifiacation_system_setting_dnd_schedule_set_end_time(setting, hour, min);
+ noti_err = notification_system_setting_dnd_schedule_set_end_time(setting, hour, min);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
- noti_err = notifiacation_system_setting_get_lock_screen_content(setting, &level);
+ noti_err = notification_system_setting_get_lock_screen_content(setting, &level);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
level = SHOW_ALL_CONTENT; // or HIDE_SENSITIVE_CONTENT or DO_NOT_SHOW_NOTIFICATIONS;
level = SHOW_ALL_CONTENT; // or HIDE_SENSITIVE_CONTENT or DO_NOT_SHOW_NOTIFICATIONS;
- noti_err = notifiacation_system_setting_set_lock_screen_content(setting, &level);
+ noti_err = notification_system_setting_set_lock_screen_content(setting, &level);
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}
if (noti_err != NOTIFICATION_ERROR_NONE) {
return;
}