diff options
author | Yunmi Ha <yunmi.ha@samsung.com> | 2020-06-24 14:29:06 +0900 |
---|---|---|
committer | Yunmi Ha <yunmi.ha@samsung.com> | 2020-06-24 14:29:06 +0900 |
commit | 60258cc7a64e3dbe53142b63782e7126b04f8462 (patch) | |
tree | bf1595315091f823c246303d451fadec4bf67796 | |
parent | b78a39382c8059ba3ccd954343a6535ba175bf6f (diff) | |
download | libsvi-tizen_6.0_hotfix.tar.gz libsvi-tizen_6.0_hotfix.tar.bz2 libsvi-tizen_6.0_hotfix.zip |
Add comment for excluding coveragetizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.114804submit/tizen_6.0_hotfix/20201102.192504submit/tizen_6.0/20201029.205104submit/tizen/20200625.015457accepted/tizen/unified/20200626.133531accepted/tizen/6.0/unified/hotfix/20201103.002644accepted/tizen/6.0/unified/20201030.115623tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: Icffa61c0f6851e00a7b6b65f22c97b56073a842f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rw-r--r-- | src/check.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/src/check.c b/src/check.c index cdcd46a..0cad32f 100644 --- a/src/check.c +++ b/src/check.c @@ -674,8 +674,8 @@ static profile_e get_profile(void) ret = system_info_get_platform_string(PROFILE, &profile); if (ret < 0) { - _E("Cannot get profile(%d)", ret); - return PROFILE_NONE; + _E("Cannot get profile(%d)", ret); //LCOV_EXCL_LINE system error + return PROFILE_NONE; //LCOV_EXCL_LINE } len = strlen(profile) + 1; @@ -692,6 +692,7 @@ static profile_e get_profile(void) return set; } +//LCOV_EXCL_START unused function static char *profile_get_name() { int prof; @@ -703,15 +704,14 @@ static char *profile_get_name() if (prof == PROFILE_MOBILE) profile_name = PROFILE_MOBILE_STRING; -//LCOV_EXCL_START else if (prof == PROFILE_WEARABLE) profile_name = PROFILE_WEARABLE_STRING; else profile_name = PROFILE_COMMON_STRING; -//LCOV_EXCL_STOP return profile_name; } +//LCOV_EXCL_STOP /* Return how many patterns profile supports */ static int profile_get_num_of_pattern() @@ -802,11 +802,11 @@ static int profile_get_pattern_enum(char *pattern) if (!strncmp(pattern, mobile_str_pattern[i].string, len)) return mobile_str_pattern[i].id; } +//LCOV_EXCL_START for (i = 0; i < profile_get_num_of_standard(); i++) { if (!strncmp(pattern, mobile_str_standard[i].string, len)) return mobile_str_standard[i].id; } -//LCOV_EXCL_START } else if (prof == PROFILE_WEARABLE) { for (i = 0; i < profile_get_num_of_pattern(); i++) { if (!strncmp(pattern, wearable_str_pattern[i].string, len)) @@ -1023,49 +1023,49 @@ static void profile_init(void) /* add watch for status value */ ret = vconf_notify_key_changed(VCONFKEY_CALL_STATE, feedback_callstatus_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_CALL_STATE failed"); + _W("Add watch for VCONFKEY_CALL_STATE failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_CAMERA_STATE, feedback_camerastatus_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_CAMERA_STATE failed"); + _W("Add watch for VCONFKEY_CAMERA_STATE failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL, feedback_noti_vibstatus_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL failed"); + _W("Add watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT, feedback_vib_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT failed"); + _W("Add watch for VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT, feedback_noti_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT failed"); + _W("Add watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL, feedback_feedbackstatus_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL failed"); + _W("Add watch for VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL, feedback_vib_when_ring_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL failed"); + _W("Add watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, snd_noti_path_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR failed"); + _W("Add watch for VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR, snd_call_path_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR failed"); + _W("Add watch for VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT, vib_noti_type_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT failed"); + _W("Add watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT, vib_call_type_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT failed"); + _W("Add watch for VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL, feedback_dnd_mode_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL failed"); + _W("Add watch for VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_THEATER_MODE_ENABLE, feedback_theater_mode_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_THEATER_MODE_ENABLE failed"); + _W("Add watch for VCONFKEY_SETAPPL_THEATER_MODE_ENABLE failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE, feedback_goodnight_mode_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE failed"); + _W("Add watch for VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE failed"); //LCOV_EXCL_LINE ret = vconf_notify_key_changed(VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT, feedback_disconnect_alert_mode_cb, NULL); if (ret != 0) - _W("Add watch for VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT failed"); + _W("Add watch for VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT failed"); //LCOV_EXCL_LINE } static void profile_exit(void) @@ -1080,55 +1080,55 @@ static void profile_exit(void) else if (prof == PROFILE_MOBILE) { ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_LOCK_BOOL, feedback_lock_sndstatus_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_SOUND_LOCK_BOOL failed"); + _W("Remove watch for VCONFKEY_SETAPPL_SOUND_LOCK_BOOL failed"); //LCOV_EXCL_LINE } /* remove watch */ ret = vconf_ignore_key_changed(VCONFKEY_CALL_STATE, feedback_callstatus_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_CALL_STATE failed"); + _W("Remove watch for VCONFKEY_CALL_STATE failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_CAMERA_STATE, feedback_camerastatus_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_CAMERA_STATE failed"); + _W("Remove watch for VCONFKEY_CAMERA_STATE failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL, feedback_noti_vibstatus_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL failed"); + _W("Remove watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_NOTIFICATION_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT, feedback_vib_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT failed"); + _W("Remove watch for VCONFKEY_SETAPPL_TOUCH_FEEDBACK_VIBRATION_LEVEL_INT failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT, feedback_noti_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT failed"); + _W("Remove watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_LEVEL_INT failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL, feedback_feedbackstatus_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL failed"); + _W("Remove watch for VCONFKEY_SETAPPL_HAPTIC_FEEDBACK_STATUS_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL, feedback_vib_when_ring_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL failed"); + _W("Remove watch for VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, snd_noti_path_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR failed"); + _W("Remove watch for VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR, snd_call_path_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR failed"); + _W("Remove watch for VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT, vib_noti_type_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT failed"); + _W("Remove watch for VCONFKEY_SETAPPL_NOTI_VIBRATION_PATTERN_INT failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT, vib_call_type_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT failed"); + _W("Remove watch for VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_INT failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL, feedback_dnd_mode_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL failed"); + _W("Remove watch for VCONFKEY_SETAPPL_BLOCKMODE_WEARABLE_BOOL failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_THEATER_MODE_ENABLE, feedback_theater_mode_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_THEATER_MODE_ENABLE failed"); + _W("Remove watch for VCONFKEY_SETAPPL_THEATER_MODE_ENABLE failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE, feedback_goodnight_mode_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE failed"); + _W("Remove watch for VCONFKEY_SETAPPL_GOODNIGHT_MODE_ENABLE failed"); //LCOV_EXCL_LINE ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT, feedback_disconnect_alert_mode_cb); if (ret != 0) - _W("Remove watch for VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT failed"); + _W("Remove watch for VCONFKEY_SETAPPL_DISCONNECT_ALERT_TYPE_INT failed"); //LCOV_EXCL_LINE } //LCOV_EXCL_START |