Exclude unnecessary code segments from coverage report 89/231789/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 24 Apr 2020 06:46:32 +0000 (15:46 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Fri, 24 Apr 2020 06:48:17 +0000 (15:48 +0900)
Two types of code segments are being excluded:
1. Logging code
2. Code that are executed only on failures in
   underlying infrastructure such as dbus.
3. Code that are executed by external events
   (e.g. A wakeup event or a voice key pressed event)

Change-Id: I41f672953af103d9622c9b48186104171ff01fbf

client/ma.c
client/ma_dbus.c

index ba8ea534345913566d0e50669d3a4f01db2ac9ff..361d2d924793544d445eb0a95b0b411aa7cd914a 100644 (file)
@@ -66,7 +66,7 @@ static int __ma_get_feature_enabled()
 {
        if (0 == g_feature_enabled) {
                //LCOV_EXCL_START
-               MA_SLOGE("[ERROR] Multi-assistant feature NOT supported");
+               MA_SLOGE("[ERROR] Multi-assistant feature NOT supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
                //LCOV_EXCL_STOP
        } else if (-1 == g_feature_enabled) {
@@ -75,7 +75,7 @@ static int __ma_get_feature_enabled()
                if (0 == system_info_get_platform_bool(MA_FEATURE_PATH, &ma_supported)) {
                        if (0 == system_info_get_platform_bool(MA_MIC_FEATURE_PATH, &mic_supported)) {
                                if (false == ma_supported || false == mic_supported) {
-                                       MA_SLOGE("[ERROR] Multi-assistant feature NOT supported");
+                                       MA_SLOGE("[ERROR] Multi-assistant feature NOT supported"); //LCOV_EXCL_LINE
                                        g_feature_enabled = 0;
                                        return MA_ERROR_NOT_SUPPORTED;
                                }
@@ -123,7 +123,7 @@ static int __check_privilege(const char* uid, const char * privilege)
        pid_t pid = getpid();
        char *session = cynara_session_from_pid(pid);
        int ret = cynara_check(p_cynara, smack_label, session, uid, privilege);
-       MA_SLOGD("[Client]cynara_check returned %d(%s)", ret, (CYNARA_API_ACCESS_ALLOWED == ret) ? "Allowed" : "Denied");
+       MA_SLOGD("[Client]cynara_check returned %d(%s)", ret, (CYNARA_API_ACCESS_ALLOWED == ret) ? "Allowed" : "Denied"); //LCOV_EXCL_LINE
        if (session)
                free(session);
 
@@ -145,7 +145,7 @@ static int __ma_check_recorder_privilege()
 
        if (0 == g_recorder_privilege_allowed) {
                //LCOV_EXCL_START
-               MA_SLOGE("[ERROR] Permission for recording is denied");
+               MA_SLOGE("[ERROR] Permission for recording is denied"); //LCOV_EXCL_LINE
                return MA_ERROR_PERMISSION_DENIED;
                //LCOV_EXCL_STOP
        } else if (-1 == g_recorder_privilege_allowed) {
@@ -155,7 +155,7 @@ static int __ma_check_recorder_privilege()
                }
                snprintf(uid, 16, "%d", getuid());
                if (false == __check_privilege(uid, MA_RECORDER_PRIVILEGE)) {
-                       MA_SLOGE("[ERROR] Permission for recording is denied");
+                       MA_SLOGE("[ERROR] Permission for recording is denied"); //LCOV_EXCL_LINE
                        g_recorder_privilege_allowed = 0;
                        __check_privilege_deinitialize();
                        return MA_ERROR_PERMISSION_DENIED;
@@ -173,7 +173,7 @@ static int __ma_check_volume_set_privilege()
 
        if (0 == g_volume_set_privilege_allowed) {
                //LCOV_EXCL_START
-               MA_SLOGE("[ERROR] Permission for volume set is denied");
+               MA_SLOGE("[ERROR] Permission for volume set is denied"); //LCOV_EXCL_LINE
                return MA_ERROR_PERMISSION_DENIED;
                //LCOV_EXCL_STOP
        } else if (-1 == g_volume_set_privilege_allowed) {
@@ -183,7 +183,7 @@ static int __ma_check_volume_set_privilege()
                }
                snprintf(uid, 16, "%d", getuid());
                if (false == __check_privilege(uid, MA_VOLUME_SET_PRIVILEGE)) {
-                       MA_SLOGE("[ERROR] Permission for volume set is denied");
+                       MA_SLOGE("[ERROR] Permission for volume set is denied"); //LCOV_EXCL_LINE
                        g_volume_set_privilege_allowed = 0;
                        __check_privilege_deinitialize();
                        return MA_ERROR_PERMISSION_DENIED;
@@ -205,7 +205,7 @@ int ma_initialize(void)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGI("[Client DEBUG] Initialize");
+       MA_SLOGI("[Client DEBUG] Initialize"); //LCOV_EXCL_LINE
 
        /* check handle */
        if (true == ma_client_is_valid(g_ma)) {
@@ -266,10 +266,10 @@ int ma_deinitialize(void)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGI("[Client DEBUG] Deinitialize");
+       MA_SLOGI("[Client DEBUG] Deinitialize"); //LCOV_EXCL_LINE
 
        if (false == ma_client_is_valid(g_ma)) {
-               MA_SLOGE("[ERROR] NOT initialized");
+               MA_SLOGE("[ERROR] NOT initialized"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
@@ -301,14 +301,14 @@ int ma_deinitialize(void)
        do {
                ma_client_pop_preprocessing_audio_data(g_ma, &data);
                if (data) {
-                       MA_SLOGD("[DEBUG] Audio streaming callback is called, event(%d)", data->event);
+                       MA_SLOGD("[DEBUG] Audio streaming callback is called, event(%d)", data->event); //LCOV_EXCL_LINE
                        free(data->buffer);
                        free(data);
                }
        } while (data);
 #endif
 
-       MA_SLOGD("Success: destroy");
+       MA_SLOGD("Success: destroy"); //LCOV_EXCL_LINE
 
        if (0 != ma_dbus_close_connection()) {
                MA_SLOGE("[ERROR] Fail to close connection"); //LCOV_EXCL_LINE
@@ -319,7 +319,7 @@ int ma_deinitialize(void)
 
 static Eina_Bool __ma_connect_daemon(void *data)
 {
-       MA_SLOGD("[Client DEBUG] Connect daemon");
+       MA_SLOGD("[Client DEBUG] Connect daemon"); //LCOV_EXCL_LINE
 
        /* request initialization */
        int ret = -1;
@@ -327,12 +327,12 @@ static Eina_Bool __ma_connect_daemon(void *data)
 
        /* check handle */
        if (true == ma_client_is_valid(g_ma)) {
-               MA_SLOGD("[DEBUG] g_ma is valid");
+               MA_SLOGD("[DEBUG] g_ma is valid"); //LCOV_EXCL_LINE
 
                ret = ma_dbus_request_initialize(g_ma->handle);
                //LCOV_EXCL_START
                if (MA_ERROR_ENGINE_NOT_FOUND == ret) {
-                       MA_SLOGE("[ERROR] Fail to initialize");
+                       MA_SLOGE("[ERROR] Fail to initialize"); //LCOV_EXCL_LINE
 
                        ma_client_set_error(g_ma, MA_ERROR_ENGINE_NOT_FOUND);
                        __ma_notify_error(g_ma);
@@ -348,7 +348,7 @@ static Eina_Bool __ma_connect_daemon(void *data)
                        return EINA_TRUE;
                } else {
                        /* Success to connect */
-                       MA_SLOGI("[Client DEBUG] Success to connect daemon");
+                       MA_SLOGI("[Client DEBUG] Success to connect daemon"); //LCOV_EXCL_LINE
                }
 
                ma_state_e prev_state;
@@ -356,15 +356,15 @@ static Eina_Bool __ma_connect_daemon(void *data)
                int ret = MA_ERROR_NONE;
                ret = ma_client_get_client_state(g_ma, &prev_state);
                if (MA_ERROR_NONE != ret) {
-                       MA_SLOGE("[ERROR] Fail to get client state : %d", ret);
+                       MA_SLOGE("[ERROR] Fail to get client state : %d", ret); //LCOV_EXCL_LINE
                }
                ret = ma_client_get_client_active_state(g_ma, &active_state);
                if (MA_ERROR_NONE != ret) {
-                       MA_SLOGE("[ERROR] Fail to get client active state : %d", ret);
+                       MA_SLOGE("[ERROR] Fail to get client active state : %d", ret); //LCOV_EXCL_LINE
                }
                ret = ma_client_set_client_state(g_ma, MA_STATE_READY);
                if (MA_ERROR_NONE != ret) {
-                       MA_SLOGE("[ERROR] Fail to set client state : %d", ret);
+                       MA_SLOGE("[ERROR] Fail to set client state : %d", ret); //LCOV_EXCL_LINE
                }
                __ma_notify_state_changed(g_ma);
 
@@ -373,7 +373,7 @@ static Eina_Bool __ma_connect_daemon(void *data)
                if (prev_state == MA_STATE_INITIALIZED && active_state == MA_ACTIVE_STATE_ACTIVE) {
                        /* This app was activated but was not in ready state, meaning we should
                           start receiving audio stream data */
-                       MA_SLOGD("[Client DEBUG] Start requesting audio data");
+                       MA_SLOGD("[Client DEBUG] Start requesting audio data"); //LCOV_EXCL_LINE
                        ma_start_receiving_audio_streaming_data(MA_AUDIO_STREAMING_DATA_TYPE_CURRENT_UTTERANCE);
                }
        } else {
@@ -388,10 +388,10 @@ static Ecore_Timer* g_retry_connection_timer = NULL;
 static int g_retry_connection_count = 0;
 static Eina_Bool retry_connection(void* data)
 {
-       MA_SLOGI("[ENTER]");
+       MA_SLOGI("[ENTER]"); //LCOV_EXCL_LINE
        int ret = ma_dbus_request_hello();
        if (ret == 0) {
-               MA_SLOGI("Success to request hello. retry count(%d)", g_retry_connection_count);
+               MA_SLOGI("Success to request hello. retry count(%d)", g_retry_connection_count); //LCOV_EXCL_LINE
                g_retry_connection_count = 0;
                if (g_retry_connection_timer) ecore_timer_del(g_retry_connection_timer);
                g_retry_connection_timer = NULL;
@@ -406,7 +406,7 @@ static Eina_Bool retry_connection(void* data)
                        }
                        ret = __ma_connect_daemon(NULL);
                        if (ret == 0) {
-                               MA_SLOGD("Success to connect daemon. retry count(%d)", retry_count);
+                               MA_SLOGD("Success to connect daemon. retry count(%d)", retry_count); //LCOV_EXCL_LINE
                                break;
                        } else {
                                usleep(10000);
@@ -432,7 +432,7 @@ static void add_retry_connection_timer(void* data)
        delete_retry_connection_timer(NULL);
 
        g_retry_connection_timer = ecore_timer_add(1.5f, retry_connection, NULL);
-       MA_SLOGI("Added timer for retry_connection : %p", g_retry_connection_timer);
+       MA_SLOGI("Added timer for retry_connection : %p", g_retry_connection_timer); //LCOV_EXCL_LINE
 }
 
 static void __start_prepare_func()
@@ -444,7 +444,7 @@ static void __start_prepare_func()
 
 static void __end_prepare_func()
 {
-       MA_SLOGD("[DEBUG] End prepare func");
+       MA_SLOGD("[DEBUG] End prepare func"); //LCOV_EXCL_LINE
 }
 
 int ma_prepare(void)
@@ -457,7 +457,7 @@ int ma_prepare(void)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGI("[Client DEBUG] Prepare");
+       MA_SLOGI("[Client DEBUG] Prepare"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -488,9 +488,9 @@ int ma_unprepare(void)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGI("[Client DEBUG] Unprepare");
+       MA_SLOGI("[Client DEBUG] Unprepare"); //LCOV_EXCL_LINE
 
-       MA_SLOGD("Deleting timer for retry_connection");
+       MA_SLOGD("Deleting timer for retry_connection"); //LCOV_EXCL_LINE
        ecore_main_loop_thread_safe_call_async(delete_retry_connection_timer, NULL);
 
        ma_state_e state;
@@ -532,14 +532,16 @@ static void __ma_notify_state_changed(void * data)
                ma_client_use_callback(ma);
                callback(previous_state, current_state, user_data);
                ma_client_not_use_callback(ma);
-               MA_SLOGD("[DEBUG] State changed callback is called : %d", current_state);
+               MA_SLOGD("[DEBUG] State changed callback is called : %d", current_state); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] State changed callback is NULL");
+               MA_SLOGD("[WARNING] State changed callback is NULL"); //LCOV_EXCL_LINE
        }
+       //LCOV_EXCL_START
        MA_SLOGI(
                "[INFO] previous : %d , current : %d state changed",
                previous_state, current_state
        );
+       //LCOV_EXCL_STOP
 }
 
 //LCOV_EXCL_START
@@ -562,9 +564,9 @@ int __ma_cb_active_state_changed(int state)
                ma_client_use_callback(g_ma);
                callback(previous_state, current_state, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Active state changed callback is called %d", current_state);
+               MA_SLOGD("[DEBUG] Active state changed callback is called %d", current_state); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Active state changed callback is NULL");
+               MA_SLOGD("[WARNING] Active state changed callback is NULL"); //LCOV_EXCL_LINE
        }
 
        ma_client_get_previous_active_state(g_ma, &current_state, &previous_state);
@@ -628,7 +630,7 @@ int __ma_cb_audio_streaming(int event, char* buffer, int len)
                        fclose(g_pFile);
                        g_pFile = NULL;
                } else {
-                       MA_LOGD("[Recorder Info] File not found!");
+                       MA_LOGD("[Recorder Info] File not found!"); //LCOV_EXCL_LINE
                }
 
                while (1) {
@@ -636,9 +638,9 @@ int __ma_cb_audio_streaming(int event, char* buffer, int len)
                        int ret = access(g_temp_file_name, 0);
 
                        if (0 == ret) {
-                               MA_LOGD("[Recorder ERROR] File is already exist");
+                               MA_LOGD("[Recorder ERROR] File is already exist"); //LCOV_EXCL_LINE
                                if (0 == remove(g_temp_file_name)) {
-                                       MA_LOGD("[Recorder] Remove file");
+                                       MA_LOGD("[Recorder] Remove file"); //LCOV_EXCL_LINE
                                        break;
                                } else {
                                        g_count++;
@@ -648,12 +650,12 @@ int __ma_cb_audio_streaming(int event, char* buffer, int len)
                        }
                }
 
-               MA_LOGD("[Recorder] Temp file name=[%s]", g_temp_file_name);
+               MA_LOGD("[Recorder] Temp file name=[%s]", g_temp_file_name); //LCOV_EXCL_LINE
 
                /* open test file */
                g_pFile = fopen(g_temp_file_name, "wb+x");
                if (!g_pFile) {
-                       MA_LOGD("[Recorder ERROR] File not found!");
+                       MA_LOGD("[Recorder ERROR] File not found!"); //LCOV_EXCL_LINE
                }
                g_count++;
        }
@@ -663,11 +665,11 @@ int __ma_cb_audio_streaming(int event, char* buffer, int len)
 
        if (MA_AUDIO_STREAMING_EVENT_FINISH == event) {
                if (g_pFile) {
-                       MA_LOGE("[Recorder SUCCESS] File Close");
+                       MA_LOGE("[Recorder SUCCESS] File Close"); //LCOV_EXCL_LINE
                        fclose(g_pFile);
                        g_pFile = NULL;
                } else {
-                       MA_LOGE("[Recorder ERROR] File not found!");
+                       MA_LOGE("[Recorder ERROR] File not found!"); //LCOV_EXCL_LINE
                }
        }
 #endif
@@ -681,10 +683,10 @@ int __ma_cb_audio_streaming(int event, char* buffer, int len)
                ma_client_not_use_callback(g_ma);
                if (last_event != event) {
                        last_event = event;
-                       MA_SLOGI("[INFO] Audio streaming callback is called, event(%d)", event);
+                       MA_SLOGI("[INFO] Audio streaming callback is called, event(%d)", event); //LCOV_EXCL_LINE
                }
        } else {
-               MA_SLOGD("[WARNING] Audio streaming callback is NULL");
+               MA_SLOGD("[WARNING] Audio streaming callback is NULL"); //LCOV_EXCL_LINE
        }
 
        return 0;
@@ -694,7 +696,7 @@ int __ma_cb_error(int reason, char* msg)
 {
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] Invalid client");
+               MA_SLOGE("[ERROR] Invalid client"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
@@ -702,27 +704,27 @@ int __ma_cb_error(int reason, char* msg)
        if (state != MA_STATE_READY) {
                MA_SLOGD("[DEBUG] Current state is not 'READY'"); //LCOV_EXCL_LINE
                if (MA_ERROR_SERVICE_RESET != reason) {
-                       MA_SLOGE("[ERROR] client is not connected yet");
+                       MA_SLOGE("[ERROR] client is not connected yet"); //LCOV_EXCL_LINE
                        return MA_ERROR_INVALID_STATE;
                }
                return MA_ERROR_NONE;
        }
 
        if (MA_ERROR_SERVICE_RESET == reason) {
-               MA_SLOGE("[ERROR] multi-assistant service reset");
+               MA_SLOGE("[ERROR] multi-assistant service reset"); //LCOV_EXCL_LINE
 
                ma_client_set_client_state(g_ma, MA_STATE_INITIALIZED);
                __ma_notify_state_changed((void*)g_ma);
        }
 
-       MA_SLOGE("[ERROR] Error reason(%d), msg(%s)", reason, msg);
+       MA_SLOGE("[ERROR] Error reason(%d), msg(%s)", reason, msg); //LCOV_EXCL_LINE
 
        ma_client_set_error(g_ma, reason);
        __ma_notify_error((void*)g_ma);
 
        if (MA_ERROR_SERVICE_RESET == reason) {
                if (0 != ma_prepare()) {
-                       MA_SLOGE("[ERROR] Fail to prepare");
+                       MA_SLOGE("[ERROR] Fail to prepare"); //LCOV_EXCL_LINE
                }
        }
 
@@ -744,9 +746,9 @@ static void __ma_notify_error(void* data)
                ma_client_use_callback(ma);
                callback(reason, user_data);
                ma_client_not_use_callback(ma);
-               MA_SLOGD("[DEBUG] Error callback is called");
+               MA_SLOGD("[DEBUG] Error callback is called"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Error callback is NULL");
+               MA_SLOGD("[WARNING] Error callback is NULL"); //LCOV_EXCL_LINE
        }
 }
 
@@ -762,9 +764,9 @@ static void __ma_lang_changed_cb(const char* previous_lang, const char* current_
                ma_client_use_callback(g_ma);
                callback(previous_lang, current_lang, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Language changed callback is called");
+               MA_SLOGD("[DEBUG] Language changed callback is called"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Language changed callback is NULL");
+               MA_SLOGD("[WARNING] Language changed callback is NULL"); //LCOV_EXCL_LINE
        }
 }
 */
@@ -779,9 +781,9 @@ int __ma_cb_wakeup_engine_command(const char* command)
                ma_client_use_callback(g_ma);
                callback(command, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Wakeup engine command callback is called, (%s)", (command ? command : "NULL"));
+               MA_SLOGD("[DEBUG] Wakeup engine command callback is called, (%s)", (command ? command : "NULL")); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Wakeup engine command callback is NULL");
+               MA_SLOGD("[WARNING] Wakeup engine command callback is NULL"); //LCOV_EXCL_LINE
        }
 
        return 0;
@@ -798,9 +800,9 @@ int __ma_cb_preprocessing_information_changed(const char* app_id)
                ma_client_use_callback(g_ma);
                callback(app_id, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Preprocessing information changed callback is called, (%s)", app_id);
+               MA_SLOGD("[DEBUG] Preprocessing information changed callback is called, (%s)", app_id); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Preprocessing information changed callback is NULL");
+               MA_SLOGD("[WARNING] Preprocessing information changed callback is NULL"); //LCOV_EXCL_LINE
        }
 
        return 0;
@@ -817,9 +819,9 @@ int __ma_cb_audio_streaming_data_section_changed(ma_audio_streaming_data_section
                ma_client_use_callback(g_ma);
                callback(section, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Audio streaming data section changed callback is called, (%d)", section);
+               MA_SLOGD("[DEBUG] Audio streaming data section changed callback is called, (%d)", section); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Audio streaming data section changed callback is NULL");
+               MA_SLOGD("[WARNING] Audio streaming data section changed callback is NULL"); //LCOV_EXCL_LINE
        }
 
        return 0;
@@ -835,7 +837,7 @@ int __flush_preprocessing_audio_data()
 
        if (NULL != callback) {
                int event_filter = -1;
-               MA_SLOGD("Flush audio data");
+               MA_SLOGD("Flush audio data"); //LCOV_EXCL_LINE
                ma_client_use_callback(g_ma);
                // Flush audio data
                speech_data* data = NULL;
@@ -844,7 +846,7 @@ int __flush_preprocessing_audio_data()
                        if (data) {
                                callback((ma_audio_streaming_event_e)data->event, data->buffer, data->len, user_data);
                                if (event_filter != data->event) {
-                                       MA_SLOGD("[DEBUG] Audio streaming callback is called, event(%d)", data->event);
+                                       MA_SLOGD("[DEBUG] Audio streaming callback is called, event(%d)", data->event); //LCOV_EXCL_LINE
                                        event_filter = data->event;
                                }
                                free(data->buffer);
@@ -853,7 +855,7 @@ int __flush_preprocessing_audio_data()
                } while (data);
                ma_client_not_use_callback(g_ma);
        } else {
-               MA_SLOGD("[WARNING] Audio streaming callback is NULL");
+               MA_SLOGD("[WARNING] Audio streaming callback is NULL"); //LCOV_EXCL_LINE
        }
        return 0;
 }
@@ -870,9 +872,9 @@ int __ma_cb_preprocessing_result_received(bool result)
                ma_client_use_callback(g_ma);
                callback(result, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] Preprocessing result received callback is called, (%d)", result);
+               MA_SLOGD("[DEBUG] Preprocessing result received callback is called, (%d)", result); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] Preprocessing result received callback is NULL");
+               MA_SLOGD("[WARNING] Preprocessing result received callback is NULL"); //LCOV_EXCL_LINE
        }
 
 #ifdef MA_PREPROCESSING_SEQUENTIAL_MODE
@@ -903,6 +905,7 @@ int __ma_cb_preprocessing_result_received(bool result)
 
        return 0;
 }
+//LCOV_EXCL_STOP
 
 int __ma_cb_service_state_changed(int state)
 {
@@ -920,19 +923,22 @@ int __ma_cb_service_state_changed(int state)
                ma_client_use_callback(g_ma);
                callback(previous_state, current_state, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGD("[DEBUG] service state changed callback is called %d", current_state);
+               MA_SLOGD("[DEBUG] service state changed callback is called %d", current_state); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[WARNING] service state changed callback is NULL");
+               MA_SLOGD("[WARNING] service state changed callback is NULL"); //LCOV_EXCL_LINE
        }
 
+       //LCOV_EXCL_START
        MA_SLOGD(
                "[INFO] previous : %d , current : %d service state changed",
                previous_state, current_state
        );
+       //LCOV_EXCL_STOP
 
        return 0;
 }
 
+//LCOV_EXCL_START
 int __ma_cb_voice_key_status_changed(int status)
 {
        ma_voice_key_status_changed_cb callback = NULL;
@@ -943,12 +949,12 @@ int __ma_cb_voice_key_status_changed(int status)
                ma_client_use_callback(g_ma);
                callback(status, user_data);
                ma_client_not_use_callback(g_ma);
-               MA_SLOGI("[INFO] voice key status changed callback is called %d", status);
+               MA_SLOGI("[INFO] voice key status changed callback is called %d", status); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGW("[WARNING] voice key status changed callback is NULL");
+               MA_SLOGW("[WARNING] voice key status changed callback is NULL"); //LCOV_EXCL_LINE
        }
 
-       MA_SLOGI("[INFO] status : changed %d", status);
+       MA_SLOGI("[INFO] status : changed %d", status); //LCOV_EXCL_LINE
 
        return 0;
 }
@@ -964,10 +970,10 @@ int ma_get_state(ma_state_e* state)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGD("[Client DEBUG] Get current state");
+       MA_SLOGD("[Client DEBUG] Get current state"); //LCOV_EXCL_LINE
 
        if (NULL == state) {
-               MA_SLOGE("[Client ERROR] Invalid parameter");
+               MA_SLOGE("[Client ERROR] Invalid parameter"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
@@ -993,18 +999,18 @@ int ma_get_current_language(char** language)
                return MA_ERROR_PERMISSION_DENIED;
        }
 
-       MA_SLOGD("[Client DEBUG] Get current language");
+       MA_SLOGD("[Client DEBUG] Get current language"); //LCOV_EXCL_LINE
 
 
        if (NULL == language) {
-               MA_SLOGE("[Client ERROR] Invalid parameter");
+               MA_SLOGE("[Client ERROR] Invalid parameter"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
        int ret = -1;
 /*     ret = ma_config_mgr_get_default_language(language);
        if (0 != ret) {
-               MA_SLOGE("[Client ERROR] Fail to get current language");
+               MA_SLOGE("[Client ERROR] Fail to get current language"); //LCOV_EXCL_LINE
        }
 */
        *language = strdup("en-US");
@@ -1026,7 +1032,7 @@ int ma_get_recording_audio_format(int *rate, ma_audio_channel_e *channel, ma_aud
        }
 
        if (NULL == rate || NULL == channel || NULL == audio_type) {
-               MA_SLOGE("[ERROR] Invalid parameter");
+               MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
@@ -1042,7 +1048,7 @@ int ma_get_recording_audio_format(int *rate, ma_audio_channel_e *channel, ma_aud
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Get recording audio format");
+       MA_SLOGI("[Client DEBUG] Get recording audio format"); //LCOV_EXCL_LINE
 
        int count = 0;
        int ret = -1;
@@ -1051,14 +1057,14 @@ int ma_get_recording_audio_format(int *rate, ma_audio_channel_e *channel, ma_aud
                ret = ma_dbus_get_recording_audio_format(pid, rate, channel, audio_type);
                if (0 != ret) {
                        if (MA_ERROR_TIMED_OUT != ret) {
-                               MA_SLOGE("[ERROR] Fail to get audio format");
+                               MA_SLOGE("[ERROR] Fail to get audio format"); //LCOV_EXCL_LINE
                                break;
                        } else {
-                               MA_SLOGW("[WARNING] Retry to get audio format");
+                               MA_SLOGW("[WARNING] Retry to get audio format"); //LCOV_EXCL_LINE
                                usleep(10000);
                                count++;
                                if (MA_RETRY_COUNT == count) {
-                                       MA_SLOGE("[ERROR] Fail to get audio format");
+                                       MA_SLOGE("[ERROR] Fail to get audio format"); //LCOV_EXCL_LINE
                                        break;
                                }
                        }
@@ -1074,7 +1080,7 @@ int ma_set_state_changed_cb(ma_state_changed_cb callback, void* user_data)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant client state changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant client state changed cb"); //LCOV_EXCL_LINE
 
 
        if (NULL == callback) {
@@ -1106,7 +1112,7 @@ int ma_unset_state_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant client state changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant client state changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1132,7 +1138,7 @@ int ma_set_error_cb(ma_error_cb callback, void* user_data)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant client error cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant client error cb"); //LCOV_EXCL_LINE
 
 
        if (NULL == callback) {
@@ -1164,7 +1170,7 @@ int ma_unset_error_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant client error cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant client error cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1190,7 +1196,7 @@ int ma_set_language_changed_cb(ma_language_changed_cb callback, void* user_data)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant language changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant language changed cb"); //LCOV_EXCL_LINE
 
 
        if (NULL == callback) {
@@ -1222,7 +1228,7 @@ int ma_unset_language_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant language changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant language changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1248,7 +1254,7 @@ int ma_set_audio_streaming_cb(ma_audio_streaming_cb callback, void* user_data)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant audio streaming cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant audio streaming cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -1279,7 +1285,7 @@ int ma_unset_audio_streaming_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant audio streaming cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant audio streaming cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1310,7 +1316,7 @@ int ma_send_asr_result(ma_asr_result_event_e event, const char* asr_result)
        }
 
        if (event < MA_ASR_RESULT_EVENT_PARTIAL_RESULT || event > MA_ASR_RESULT_EVENT_ERROR) {
-               MA_SLOGE("[ERROR] Invalid parameter");
+               MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
@@ -1327,20 +1333,22 @@ int ma_send_asr_result(ma_asr_result_event_e event, const char* asr_result)
        }
 
        if (NULL == asr_result) {
-               MA_SLOGD("[DEBUG] Input parameter is NULL. (no result)");
+               MA_SLOGD("[DEBUG] Input parameter is NULL. (no result)"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
+       //LCOV_EXCL_START
        MA_SLOGI("[Client DEBUG] Send ASR result to the Multi-assistant service : %d %s",
                event, asr_result);
+       //LCOV_EXCL_STOP
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_send_asr_result(pid, event, asr_result);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send ASR result");
+               MA_SLOGE("[ERROR] Fail to send ASR result"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send ASR result");
+               MA_SLOGD("[DEBUG] Success to send ASR result"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1368,20 +1376,22 @@ int ma_send_result(const char* display_text, const char* utterance_text, const c
                return MA_ERROR_INVALID_STATE;
        }
 
+       //LCOV_EXCL_START
        MA_SLOGI("[Client DEBUG] Send result to the Multi-assistant : %s %s %s",
                display_text, utterance_text, result_json);
+       //LCOV_EXCL_STOP
 
        if (NULL == display_text || NULL == utterance_text || NULL == result_json) {
-               MA_SLOGD("[Client DEBUG] Input parameter is NULL.");
+               MA_SLOGD("[Client DEBUG] Input parameter is NULL."); //LCOV_EXCL_LINE
        }
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_send_result(pid, display_text, utterance_text, result_json);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send result");
+               MA_SLOGE("[ERROR] Fail to send result"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send result");
+               MA_SLOGD("[DEBUG] Success to send result"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1409,15 +1419,15 @@ int ma_send_recognition_result(ma_recognition_result_event_e result)
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Send recognition result to the Multi-assistant : %d", result);
+       MA_SLOGI("[Client DEBUG] Send recognition result to the Multi-assistant : %d", result); //LCOV_EXCL_LINE
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_send_recognition_result(pid, result);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send result");
+               MA_SLOGE("[ERROR] Fail to send result"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send result");
+               MA_SLOGD("[DEBUG] Success to send result"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1429,7 +1439,7 @@ int ma_set_active_state_changed_cb(ma_active_state_changed_cb callback, void* us
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant active state changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant active state changed cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -1460,7 +1470,7 @@ int ma_unset_active_state_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant active state changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant active state changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1502,7 +1512,7 @@ int ma_start_receiving_audio_streaming_data(ma_audio_streaming_data_type_e type)
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Send streaming request to the Multi-assistant : %d", type);
+       MA_SLOGI("[Client DEBUG] Send streaming request to the Multi-assistant : %d", type); //LCOV_EXCL_LINE
 
 #ifdef MA_PREPROCESSING_SEQUENTIAL_MODE
        ma_client_set_audio_streaming_data_type(g_ma, type);
@@ -1513,9 +1523,9 @@ int ma_start_receiving_audio_streaming_data(ma_audio_streaming_data_type_e type)
        int pid = getpid();
        ret = ma_dbus_start_streaming_audio_data(pid, type);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send request");
+               MA_SLOGE("[ERROR] Fail to send request"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send request");
+               MA_SLOGD("[DEBUG] Success to send request"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1543,15 +1553,15 @@ int ma_stop_receiving_audio_streaming_data(ma_audio_streaming_data_type_e type)
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Send streaming stop request to the Multi-assistant : %d", type);
+       MA_SLOGI("[Client DEBUG] Send streaming stop request to the Multi-assistant : %d", type); //LCOV_EXCL_LINE
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_stop_streaming_audio_data(pid, type);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send request");
+               MA_SLOGE("[ERROR] Fail to send request"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send request");
+               MA_SLOGD("[DEBUG] Success to send request"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1579,15 +1589,15 @@ int ma_update_voice_feedback_state(ma_voice_feedback_state_e feedback_state)
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Update voice feedback state to the Multi-assistant : %d", feedback_state);
+       MA_SLOGI("[Client DEBUG] Update voice feedback state to the Multi-assistant : %d", feedback_state); //LCOV_EXCL_LINE
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_update_voice_feedback_state(pid, feedback_state);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to update voice feedback state");
+               MA_SLOGE("[ERROR] Fail to update voice feedback state"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to update voice feedback state");
+               MA_SLOGD("[DEBUG] Success to update voice feedback state"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1615,15 +1625,15 @@ int ma_send_assistant_specific_command(const char* command)
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Send assistant specific command to the Multi-assistant : %s", command);
+       MA_SLOGI("[Client DEBUG] Send assistant specific command to the Multi-assistant : %s", command); //LCOV_EXCL_LINE
 
        int ret = -1;
        int pid = getpid();
        ret = ma_dbus_send_assistant_specific_command(pid, command);
        if (0 != ret) {
-               MA_SLOGE("[ERROR] Fail to send assistant specific command");
+               MA_SLOGE("[ERROR] Fail to send assistant specific command"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send assistant specific command");
+               MA_SLOGD("[DEBUG] Success to send assistant specific command"); //LCOV_EXCL_LINE
        }
 
        return ret;
@@ -1635,7 +1645,7 @@ int ma_set_wakeup_engine_command_cb(ma_wakeup_engine_command_cb callback, void*
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant wakeup engine command cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant wakeup engine command cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -1666,7 +1676,7 @@ int ma_unset_wakeup_engine_command_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant wakeup engine command cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant wakeup engine command cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1702,9 +1712,9 @@ bool __get_assistant_enable_status(const char* app_id, char* assistants) {
 int __get_assistant_info_cb(const char* app_id, const char* name,
        const char* icon_path, const char* wakeup_list[], int cnt_wakeup,
        const char* supported_lang[], int cnt_lang, void* user_data) {
-       MA_SLOGD("[Client DEBUG] get assistant info cb start");
+       MA_SLOGD("[Client DEBUG] get assistant info cb start"); //LCOV_EXCL_LINE
        if (NULL == app_id) {
-               MA_SLOGE("[ERROR]app_id NULL, returning");
+               MA_SLOGE("[ERROR]app_id NULL, returning"); //LCOV_EXCL_LINE
                return -1;
        } else if (0 <= _assistant_info_index && MAX_ASSISTANT_NUM > _assistant_info_index ) {
                strncpy(__assistant_info[_assistant_info_index].app_id, app_id, MAX_ASSISTANT_INFO_STR_LEN);
@@ -1716,7 +1726,7 @@ int __get_assistant_info_cb(const char* app_id, const char* name,
        } else {
                return -1;
        }
-       MA_SLOGD("[Client DEBUG] get assistant info cb end");
+       MA_SLOGD("[Client DEBUG] get assistant info cb end"); //LCOV_EXCL_LINE
        return 0;
 }
 //LCOV_EXCL_STOP
@@ -1727,7 +1737,7 @@ int ma_assistant_info_foreach_assistants(ma_assistant_info_list_cb callback, voi
        }
 
        int res;
-       MA_SLOGD("[Client DEBUG] get assistant info start");
+       MA_SLOGD("[Client DEBUG] get assistant info start"); //LCOV_EXCL_LINE
        if (NULL != callback) {
                _assistant_info_index = 0;
                res = ma_config_mgr_get_assistant_info(__get_assistant_info_cb, user_data);
@@ -1741,7 +1751,7 @@ int ma_assistant_info_foreach_assistants(ma_assistant_info_list_cb callback, voi
        } else {
                res = MA_ERROR_INVALID_PARAMETER;
        }
-       MA_SLOGD("[Client DEBUG] get assistant info end");
+       MA_SLOGD("[Client DEBUG] get assistant info end"); //LCOV_EXCL_LINE
        return res;
 }
 
@@ -1786,7 +1796,7 @@ int ma_get_recording_audio_source_type(char** type) {
        }
 
        if (NULL == type) {
-               MA_SLOGE("[ERROR] Invalid parameter");
+               MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_PARAMETER;
        }
 
@@ -1802,7 +1812,7 @@ int ma_get_recording_audio_source_type(char** type) {
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Get recording audio source type");
+       MA_SLOGI("[Client DEBUG] Get recording audio source type"); //LCOV_EXCL_LINE
 
        int count = 0;
        int ret = -1;
@@ -1811,14 +1821,14 @@ int ma_get_recording_audio_source_type(char** type) {
                ret = ma_dbus_get_recording_audio_source_type(pid, type);
                if (0 != ret) {
                        if (MA_ERROR_TIMED_OUT != ret) {
-                               MA_SLOGE("[ERROR] Fail to get audio source type");
+                               MA_SLOGE("[ERROR] Fail to get audio source type"); //LCOV_EXCL_LINE
                                break;
                        } else {
-                               MA_SLOGW("[WARNING] Retry to get audio source type");
+                               MA_SLOGW("[WARNING] Retry to get audio source type"); //LCOV_EXCL_LINE
                                usleep(10000);
                                count++;
                                if (MA_RETRY_COUNT == count) {
-                                       MA_SLOGE("[ERROR] Fail to get audio source type");
+                                       MA_SLOGE("[ERROR] Fail to get audio source type"); //LCOV_EXCL_LINE
                                        break;
                                }
                        }
@@ -1830,10 +1840,10 @@ int ma_get_recording_audio_source_type(char** type) {
 
 int ma_set_background_volume(double ratio)
 {
-       MA_SLOGD("[Manager] Set background volume");
+       MA_SLOGD("[Manager] Set background volume"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -1843,37 +1853,37 @@ int ma_set_background_volume(double ratio)
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        /* check state */
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Set background volume : %f", ratio);
+       MA_SLOGI("[Client DEBUG] Set background volume : %f", ratio); //LCOV_EXCL_LINE
 
        /* change system volume */
        int pid = getpid();
        int ret = ma_dbus_set_background_volume(pid, ratio);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] retry to set background volume");
+               MA_SLOGW("[WARNING] retry to set background volume"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send");
+               MA_SLOGD("[DEBUG] Success to send"); //LCOV_EXCL_LINE
        }
        return ret;
 }
 
 int ma_set_preprocessing_allow_mode(ma_preprocessing_allow_mode_e mode, const char* app_id)
 {
-       MA_SLOGD("[Manager] Set preprocessing allow mode");
+       MA_SLOGD("[Manager] Set preprocessing allow mode"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -1883,30 +1893,30 @@ int ma_set_preprocessing_allow_mode(ma_preprocessing_allow_mode_e mode, const ch
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        /* check state */
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
 #ifdef MA_PREPROCESSING_SEQUENTIAL_MODE
        ma_client_set_preprocessing_allow_mode(g_ma, mode);
 #endif
-       MA_SLOGI("[Client DEBUG] Set preprocessing allow mode : %d %s", mode, app_id);
+       MA_SLOGI("[Client DEBUG] Set preprocessing allow mode : %d %s", mode, app_id); //LCOV_EXCL_LINE
 
        /* change system volume */
        int pid = getpid();
        int ret = ma_dbus_set_preprocessing_allow_mode(pid, mode, app_id);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] retry to set preprocessing allow mode");
+               MA_SLOGW("[WARNING] retry to set preprocessing allow mode"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send");
+               MA_SLOGD("[DEBUG] Success to send"); //LCOV_EXCL_LINE
        }
        return ret;
 }
@@ -1917,7 +1927,7 @@ int ma_set_preprocessing_information_changed_cb(ma_preprocessing_information_cha
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant preprocessing information changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant preprocessing information changed cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -1948,7 +1958,7 @@ int ma_unset_preprocessing_information_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant preprocessing information changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant preprocessing information changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -1970,10 +1980,10 @@ int ma_unset_preprocessing_information_changed_cb(void)
 
 int ma_send_preprocessing_result(bool is_success)
 {
-       MA_SLOGD("[Manager] Send preprocessing result");
+       MA_SLOGD("[Manager] Send preprocessing result"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -1983,61 +1993,61 @@ int ma_send_preprocessing_result(bool is_success)
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Send preprocessing result : %d", is_success);
+       MA_SLOGI("[Client DEBUG] Send preprocessing result : %d", is_success); //LCOV_EXCL_LINE
 
        /* Send preprocessing result */
        int pid = getpid();
        int ret = ma_dbus_send_preprocessing_result(pid, is_success);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] retry to send preprocessing result");
+               MA_SLOGW("[WARNING] retry to send preprocessing result"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to send");
+               MA_SLOGD("[DEBUG] Success to send"); //LCOV_EXCL_LINE
        }
        return ret;
 }
 
 int ma_set_wake_word_audio_require_flag(bool require)
 {
-       MA_SLOGD("[Manager] Set wake word audio require flag");
+       MA_SLOGD("[Manager] Set wake word audio require flag"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Set wake word audio require flag : %d", require);
+       MA_SLOGI("[Client DEBUG] Set wake word audio require flag : %d", require); //LCOV_EXCL_LINE
 
        /* Set wake word audio require flag */
        int pid = getpid();
        int ret = ma_dbus_set_wake_word_audio_require_flag(pid, require);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] retry to set wake word audio require flag");
+               MA_SLOGW("[WARNING] retry to set wake word audio require flag"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to set");
+               MA_SLOGD("[DEBUG] Success to set"); //LCOV_EXCL_LINE
        }
        return ret;
 }
@@ -2048,7 +2058,7 @@ int ma_set_audio_streaming_data_section_changed_cb(ma_audio_streaming_data_secti
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant audio streaming data section changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant audio streaming data section changed cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -2079,7 +2089,7 @@ int ma_unset_audio_streaming_data_section_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant audio streaming data section changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant audio streaming data section changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -2099,14 +2109,13 @@ int ma_unset_audio_streaming_data_section_changed_cb(void)
        return MA_ERROR_NONE;
 }
 
-//LCOV_EXCL_START
 int ma_set_preprocessing_result_received_cb(ma_preprocessing_result_received_cb callback, void* user_data)
 {
        if (0 != __ma_get_feature_enabled()) {
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant preprocessing result received cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant preprocessing result received cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -2137,7 +2146,7 @@ int ma_unset_preprocessing_result_received_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant preprocessing result received cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant preprocessing result received cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -2159,16 +2168,16 @@ int ma_unset_preprocessing_result_received_cb(void)
 
 int ma_set_assistant_language(const char* language)
 {
-       MA_SLOGD("[Manager] Set assistant language");
+       MA_SLOGD("[Manager] Set assistant language"); //LCOV_EXCL_LINE
        return ma_set_assistant_wakeup_language(language);
 }
 
 int ma_set_assistant_wakeup_language(const char* language)
 {
-       MA_SLOGD("[Manager] Set assistant wakeup language");
+       MA_SLOGD("[Manager] Set assistant wakeup language"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -2179,26 +2188,26 @@ int ma_set_assistant_wakeup_language(const char* language)
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Set assistant wakeup language : %s", language);
+       MA_SLOGI("[Client DEBUG] Set assistant wakeup language : %s", language); //LCOV_EXCL_LINE
 
        /* Set assistant language */
        int pid = getpid();
        int ret = ma_dbus_set_assistant_wakeup_language(pid, language);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] Failed to set assistant wakeup language");
+               MA_SLOGW("[WARNING] Failed to set assistant wakeup language"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to set");
+               MA_SLOGD("[DEBUG] Success to set"); //LCOV_EXCL_LINE
        }
        return ret;
 }
@@ -2209,7 +2218,7 @@ int ma_set_service_state_changed_cb(ma_service_state_changed_cb callback, void*
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant service state changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant service state changed cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -2240,7 +2249,7 @@ int ma_unset_service_state_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant service state changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant service state changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -2266,7 +2275,7 @@ int ma_set_voice_key_status_changed_cb(ma_voice_key_status_changed_cb callback,
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Set Multi-assistant voice key status changed cb");
+       MA_SLOGD("[Client DEBUG] Set Multi-assistant voice key status changed cb"); //LCOV_EXCL_LINE
 
        if (NULL == callback) {
                MA_SLOGE("[ERROR] Invalid parameter"); //LCOV_EXCL_LINE
@@ -2297,7 +2306,7 @@ int ma_unset_voice_key_status_changed_cb(void)
                return MA_ERROR_NOT_SUPPORTED;
        }
 
-       MA_SLOGD("[Client DEBUG] Unset Multi-assistant voice key status changed cb");
+       MA_SLOGD("[Client DEBUG] Unset Multi-assistant voice key status changed cb"); //LCOV_EXCL_LINE
 
        ma_state_e state;
 
@@ -2318,10 +2327,10 @@ int ma_unset_voice_key_status_changed_cb(void)
 }
 
 int ma_add_wake_word(const char* wake_word, const char *language) {
-       MA_SLOGD("[Manager] Add wake word");
+       MA_SLOGD("[Manager] Add wake word"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -2332,35 +2341,35 @@ int ma_add_wake_word(const char* wake_word, const char *language) {
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Add wake word : %s %s", wake_word, language);
+       MA_SLOGI("[Client DEBUG] Add wake word : %s %s", wake_word, language); //LCOV_EXCL_LINE
 
        /* Add wake word */
        int pid = getpid();
        int ret = ma_dbus_add_wake_word(pid, wake_word, language);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] Failed to add wake word");
+               MA_SLOGW("[WARNING] Failed to add wake word"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to add");
+               MA_SLOGD("[DEBUG] Success to add"); //LCOV_EXCL_LINE
        }
        return ret;
 }
 
 int ma_remove_wake_word(const char* wake_word, const char *language) {
-       MA_SLOGD("[Manager] Remove wake word");
+       MA_SLOGD("[Manager] Remove wake word"); //LCOV_EXCL_LINE
 
        if (0 != __ma_get_feature_enabled()) {
-               MA_SLOGD("@@@ [Manager] not supported");
+               MA_SLOGD("@@@ [Manager] not supported"); //LCOV_EXCL_LINE
                return MA_ERROR_NOT_SUPPORTED;
        }
 
@@ -2371,28 +2380,26 @@ int ma_remove_wake_word(const char* wake_word, const char *language) {
 
        ma_state_e state;
        if (0 != ma_client_get_client_state(g_ma, &state)) {
-               MA_SLOGE("[ERROR] A handle is not available");
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
        if (state != MA_STATE_READY) {
-               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state);
-               MA_SLOGD("@@@");
+               MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY', state(%d)", state); //LCOV_EXCL_LINE
+               MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                return MA_ERROR_INVALID_STATE;
        }
 
-       MA_SLOGI("[Client DEBUG] Remove wake word : %s %s", wake_word, language);
+       MA_SLOGI("[Client DEBUG] Remove wake word : %s %s", wake_word, language); //LCOV_EXCL_LINE
 
        /* Remove wake word */
        int pid = getpid();
        int ret = ma_dbus_remove_wake_word(pid, wake_word, language);
        if (0 != ret) {
-               MA_SLOGW("[WARNING] Failed to remove wake word");
+               MA_SLOGW("[WARNING] Failed to remove wake word"); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("[DEBUG] Success to remove");
+               MA_SLOGD("[DEBUG] Success to remove"); //LCOV_EXCL_LINE
        }
        return ret;
 }
-
-//LCOV_EXCL_STOP
index bbce2ad1f750c8455af26960152955e3c74b0cb3..dda4238807da004a7d1174314780440770c25090 100644 (file)
@@ -80,7 +80,7 @@ static void message_port_cb(int local_port_id,
        bundle_get_byte(message, "content", (void**)(&v), &size);
 
        if (size > STREAMING_BUFFER_SIZE) {
-               MA_SLOGE("[ERROR] bundle contains data bigger than %d : %zu", STREAMING_BUFFER_SIZE, size);
+               MA_SLOGE("[ERROR] bundle contains data bigger than %d : %zu", STREAMING_BUFFER_SIZE, size); //LCOV_EXCL_LINE
                return;
        } else {
                memcpy(buffer, v, size);
@@ -95,8 +95,10 @@ static void message_port_cb(int local_port_id,
                if (pending_buffer_size >= header.streaming_data_size) {
                        static int last_serial = 0;
                        if (header.streaming_data_serial != last_serial + 1) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("[ERROR] SERIAL MISMATCH in [%d] : %d => %d",
                                        header.streaming_data_type, last_serial, header.streaming_data_serial);
+                               //LCOV_EXCL_STOP
                        }
                        last_serial = header.streaming_data_serial;
 
@@ -113,7 +115,7 @@ static void message_port_cb(int local_port_id,
                                                pending_buffer + sizeof(streaming_data_header) + sizeof(streaming_data_audio_data_header),
                                                audio_data_header.data_size);
                                        if (0 == header.streaming_data_serial % 50) {
-                                               MA_SLOGI("__ma_cb_audio_streaming() called, serial : %d", header.streaming_data_serial);
+                                               MA_SLOGI("__ma_cb_audio_streaming() called, serial : %d", header.streaming_data_serial); //LCOV_EXCL_LINE
                                        }
                                }
                        } else if (streaming_data_type_streaming_section == header.streaming_data_type) {
@@ -137,9 +139,9 @@ static int streaming_ipc_initialize()
 {
        int port_id = message_port_register_local_port(message_port, message_port_cb, NULL);
        if (port_id < 0) {
-               MA_SLOGD("Port register error: %d", port_id);
+               MA_SLOGD("Port register error: %d", port_id); //LCOV_EXCL_LINE
        } else {
-               MA_SLOGD("port_id: %d", port_id);
+               MA_SLOGD("port_id: %d", port_id); //LCOV_EXCL_LINE
                g_local_port_id = port_id;
        }
 
@@ -176,22 +178,24 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                snprintf(if_name, 64, "%s", MA_CLIENT_SERVICE_INTERFACE);
 
                if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_HELLO)) {
-                       MA_SLOGD("[DEBUG] Get Hello");
+                       MA_SLOGD("[DEBUG] Get Hello"); //LCOV_EXCL_LINE
                        int pid = 0;
                        int response = -1;
 
                        dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
 
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("[ERROR] Dbus Error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        }
 
                        if (pid > 0) {
-                               MA_SLOGD("@@ ma client get hello : pid(%d) ", pid);
+                               MA_SLOGD("@@ ma client get hello : pid(%d) ", pid); //LCOV_EXCL_LINE
                                response = 1;
                        } else {
-                               MA_SLOGE("@@ ma client get hello : invalid pid ");
+                               MA_SLOGE("@@ ma client get hello : invalid pid "); //LCOV_EXCL_LINE
                        }
 
                        DBusMessage* reply = NULL;
@@ -201,14 +205,14 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                dbus_message_append_args(reply, DBUS_TYPE_INT32, &response, DBUS_TYPE_INVALID);
 
                                if (!dbus_connection_send(g_conn_listener, reply, NULL))
-                                       MA_SLOGE("@@ multi-assistant get hello : fail to send reply");
+                                       MA_SLOGE("@@ multi-assistant get hello : fail to send reply"); //LCOV_EXCL_LINE
                                else
-                                       MA_SLOGD("@@ multi-assistant get hello : result(%d)", response);
+                                       MA_SLOGD("@@ multi-assistant get hello : result(%d)", response); //LCOV_EXCL_LINE
 
                                dbus_connection_flush(g_conn_listener);
                                dbus_message_unref(reply);
                        } else {
-                               MA_SLOGE("@@ multi-assistant get hello : fail to create reply message");
+                               MA_SLOGE("@@ multi-assistant get hello : fail to create reply message"); //LCOV_EXCL_LINE
                        }
 
                } /* MAS_METHOD_HELLO */
@@ -226,7 +230,7 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_INVALID);
 
                        /* Just in case CONTINUE is received without START */
-                       MA_SLOGD("@@@ Send streaming data org event(%d)", event);
+                       MA_SLOGD("@@@ Send streaming data org event(%d)", event); //LCOV_EXCL_LINE
                        if (event == MA_AUDIO_STREAMING_EVENT_CONTINUE && !start_received)
                                event = MA_AUDIO_STREAMING_EVENT_START;
 
@@ -234,10 +238,10 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                        /* Reset if FINISHED received */
                        if (event == MA_AUDIO_STREAMING_EVENT_FINISH) start_received = false;
 
-                       MA_SLOGD("@@@ Send streaming data event(%d) %d", event, count++);
+                       MA_SLOGD("@@@ Send streaming data event(%d) %d", event, count++); //LCOV_EXCL_LINE
                        __ma_cb_audio_streaming(event, buffer, len);
 
-                       MA_SLOGD("@@@");
+                       MA_SLOGD("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_SEND_SPEECH_DATA */
 
 
@@ -247,16 +251,18 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_INT32, &state,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Active state : %d", state);
+                       MA_SLOGI("@@@ Active state : %d", state); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
-                               MA_SLOGD("@@ state(%d)", state);
+                               MA_SLOGD("@@ state(%d)", state); //LCOV_EXCL_LINE
                                __ma_cb_active_state_changed(state);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_ACTIVE_STATE_CHANGE */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_SERVICE_STATE_CHANGE)) {
@@ -265,16 +271,18 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_INT32, &state,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Service state : %d", state);
+                       MA_SLOGI("@@@ Service state : %d", state); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
-                               MA_SLOGD("@@ state(%d)", state);
+                               MA_SLOGD("@@ state(%d)", state); //LCOV_EXCL_LINE
                                __ma_cb_service_state_changed(state);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_ACTIVE_STATE_CHANGE */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_WAKEUP_ENGINE_COMMAND)) {
@@ -284,16 +292,18 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_STRING, &command,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Engine Command : %s", command);
+                       MA_SLOGI("@@@ Engine Command : %s", command); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
-                               MA_SLOGD("@@ command(%s)", (command ? command : "NULL"));
+                               MA_SLOGD("@@ command(%s)", (command ? command : "NULL")); //LCOV_EXCL_LINE
                                __ma_cb_wakeup_engine_command(command);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_WAKEUP_ENGINE_COMMAND */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_SEND_PREPROCESSING_INFORMATION)) {
@@ -303,10 +313,12 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_STRING, &app_id,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Preprocessing appid : %s", app_id);
+                       MA_SLOGI("@@@ Preprocessing appid : %s", app_id); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
                                char* temp_app_id = NULL;
                                if (NULL != app_id && strcmp("#NULL", app_id)) {
@@ -317,7 +329,7 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        free(temp_app_id);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_SEND_PREPROCESSING_INFORMATION */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_AUDIO_STREAMING_DATA_SECTION)) {
@@ -327,15 +339,17 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_INT32, &section,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Data Section : %d", section);
+                       MA_SLOGI("@@@ Data Section : %d", section); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
                                __ma_cb_audio_streaming_data_section_changed(section);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_AUDIO_STREAMING_DATA_SECTION */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_SEND_PREPROCESSING_RESULT)) {
@@ -345,19 +359,21 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                        DBUS_TYPE_INT32, &result,
                                        DBUS_TYPE_INVALID);
 
-                       MA_SLOGI("@@@ Preprocessing Result : %d", result);
+                       MA_SLOGI("@@@ Preprocessing Result : %d", result); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
                                __ma_cb_preprocessing_result_received(result);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_SEND_PREPROCESSING_RESULT */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_SEND_WAKEUP_ENGINE_COMMAND)) {
-                       MA_SLOGI("@@@ Activate");
+                       MA_SLOGI("@@@ Activate"); //LCOV_EXCL_LINE
                        char* command = NULL;
 
                        dbus_message_get_args(msg, &err,
@@ -365,17 +381,19 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                DBUS_TYPE_INVALID);
 
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
                                __ma_cb_wakeup_engine_command(command);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_SEND_WAKEUP_ENGINE_COMMAND */
 
                else if (dbus_message_is_method_call(msg, if_name, MAS_METHOD_VOICE_KEY_STATUS_CHANGE)) {
-                       MA_SLOGI("@@@ Activate");
+                       MA_SLOGI("@@@ Activate"); //LCOV_EXCL_LINE
                        int status = 0;
 
                        dbus_message_get_args(msg, &err,
@@ -383,13 +401,15 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                DBUS_TYPE_INVALID);
 
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
                                __ma_cb_voice_key_status_changed(status);
                        }
 
-                       MA_SLOGI("@@@");
+                       MA_SLOGI("@@@"); //LCOV_EXCL_LINE
                } /* MAS_METHOD_VOICE_KEY_STATUS_CHANGE */
 
                else if (dbus_message_is_signal(msg, if_name, MAS_METHOD_ERROR)) {
@@ -401,19 +421,21 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                                DBUS_TYPE_STRING, &err_msg,
                                DBUS_TYPE_INVALID);
 
-                       MA_SLOGE("[DEBUG] Get Error : %d %s", reason, err_msg);
+                       MA_SLOGE("[DEBUG] Get Error : %d %s", reason, err_msg); //LCOV_EXCL_LINE
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("@@ multi-assistant Get Error message : Get arguments error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        } else {
-                               MA_SLOGD("@@ multi-assistant Get Error message : reason(%d), msg(%s)", reason, err_msg);
+                               MA_SLOGD("@@ multi-assistant Get Error message : reason(%d), msg(%s)", reason, err_msg); //LCOV_EXCL_LINE
                                __ma_cb_error(reason, err_msg);
                        }
 
                } /* MAS_METHOD_ERROR */
 
                else if (dbus_message_is_signal(msg, "org.freedesktop.DBus", "NameOwnerChanged")) {
-                       MA_SLOGD("[DEBUG] Owner Changed");
+                       MA_SLOGD("[DEBUG] Owner Changed"); //LCOV_EXCL_LINE
                        DBusError err;
                        dbus_error_init(&err);
                        /* remove a rule for daemon error */
@@ -423,14 +445,17 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                        dbus_connection_flush(g_conn_listener);
 
                        if (dbus_error_is_set(&err)) {
+                               //LCOV_EXCL_START
                                MA_SLOGE("Match Error (%s)", err.message);
                                dbus_error_free(&err);
+                               //LCOV_EXCL_STOP
                        }
 
                        __ma_cb_error(MA_ERROR_SERVICE_RESET, "Daemon Reset");
                } /* NameOwnerChanged */
 
                else {
+                       //LCOV_EXCL_START
                        MA_SLOGE("Message is NOT valid");
                        MA_SLOGE("dbus_message_contains_unix_fds : %d", dbus_message_contains_unix_fds(msg));
                        MA_SLOGE("dbus_message_get_destination : %s", dbus_message_get_destination(msg));
@@ -441,6 +466,7 @@ static Eina_Bool listener_event_callback(void* data, Ecore_Fd_Handler* fd_handle
                        MA_SLOGE("dbus_message_get_signature : %s", dbus_message_get_signature(msg));
                        MA_SLOGE("dbus_message_get_path : %s", dbus_message_get_path(msg));
                        MA_SLOGE("dbus_message_get_serial : %d", dbus_message_get_serial(msg));
+                       //LCOV_EXCL_STOP
                        dbus_message_unref(msg);
                        break;
                }
@@ -483,8 +509,10 @@ int ma_dbus_open_connection()
        g_conn_sender = dbus_bus_get_private(DBUS_BUS_SESSION, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Dbus Connection Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        if (NULL == g_conn_sender) {
@@ -497,8 +525,10 @@ int ma_dbus_open_connection()
        g_conn_listener = dbus_bus_get_private(DBUS_BUS_SESSION, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Dbus Connection Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        if (NULL == g_conn_listener) {
@@ -515,14 +545,16 @@ int ma_dbus_open_connection()
        memset(service_name, '\0', 64);
        snprintf(service_name, 64, "%s_%d", MA_CLIENT_SERVICE_NAME, pid);
 
-       MA_SLOGD("service name is %s", service_name);
+       MA_SLOGD("service name is %s", service_name); //LCOV_EXCL_LINE
 
        /* register our name on the bus, and check for errors */
        ret = dbus_bus_request_name(g_conn_listener, service_name, DBUS_NAME_FLAG_REPLACE_EXISTING, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Name Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER != ret) {
@@ -549,10 +581,12 @@ int ma_dbus_open_connection()
        dbus_bus_add_match(g_conn_listener, rule, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Match Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
                __ma_dbus_connection_free();
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        }
 
        int fd = 0;
@@ -561,7 +595,7 @@ int ma_dbus_open_connection()
                __ma_dbus_connection_free();
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("Get fd from dbus : %d", fd);
+               MA_SLOGD("Get fd from dbus : %d", fd); //LCOV_EXCL_LINE
        }
 
        g_fd_handler = ecore_main_fd_handler_add(fd, ECORE_FD_READ, (Ecore_Fd_Cb)listener_event_callback, g_conn_listener, NULL, NULL);
@@ -598,8 +632,10 @@ int ma_dbus_close_connection()
                dbus_bus_release_name(g_conn_listener, service_name, &err);
 
                if (dbus_error_is_set(&err)) {
+                       //LCOV_EXCL_START
                        MA_SLOGE("[ERROR] Dbus Error (%s)", err.message); //LCOV_EXCL_LINE
                        dbus_error_free(&err);
+                       //LCOV_EXCL_STOP
                }
        }
 
@@ -625,8 +661,10 @@ int ma_dbus_reconnect()
 
        bool sender_connected = dbus_connection_get_is_connected(g_conn_sender);
        bool listener_connected = dbus_connection_get_is_connected(g_conn_listener);
+       //LCOV_EXCL_START
        MA_SLOGW("[DBUS] Sender(%s) Listener(%s)",
-                sender_connected ? "Connected" : "Not connected", listener_connected ? "Connected" : "Not connected"); //LCOV_EXCL_LINE
+                sender_connected ? "Connected" : "Not connected", listener_connected ? "Connected" : "Not connected");
+       //LCOV_EXCL_STOP
 
        if (false == sender_connected || false == listener_connected) {
                ma_dbus_close_connection();
@@ -681,8 +719,10 @@ int ma_dbus_request_hello()
        result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, 1000, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("[ERROR] Dbus Error (%s) %p", err.message, result_msg); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        dbus_message_unref(msg);
@@ -715,7 +755,7 @@ int ma_dbus_request_initialize(int pid)
                MA_SLOGE("@@ Request multi-assistant initialize : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant initialize : pid(%d)", pid);
+               MA_SLOGD("[DEBUG] multi-assistant initialize : pid(%d)", pid); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -728,10 +768,12 @@ int ma_dbus_request_initialize(int pid)
        dbus_message_set_no_reply(msg, TRUE);
 
        if (1 != dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -743,8 +785,10 @@ int ma_dbus_request_initialize(int pid)
        dbus_bus_add_match(g_conn_listener, rule, &err);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Match Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        return 0;
@@ -766,8 +810,10 @@ int ma_dbus_request_deinitialize(int pid)
        dbus_connection_flush(g_conn_listener);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGE("Match Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        DBusMessage* msg;
@@ -782,7 +828,7 @@ int ma_dbus_request_deinitialize(int pid)
                MA_SLOGE("@@ Request multi-assistant deinitialize : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant deinitialize : pid(%d)", pid);
+               MA_SLOGD("[DEBUG] multi-assistant deinitialize : pid(%d)", pid); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -796,8 +842,10 @@ int ma_dbus_request_deinitialize(int pid)
        dbus_message_unref(msg);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGD("[ERROR] Dbus Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        if (NULL != result_msg) {
@@ -806,17 +854,19 @@ int ma_dbus_request_deinitialize(int pid)
                        DBUS_TYPE_INVALID);
 
                if (dbus_error_is_set(&err)) {
+                       //LCOV_EXCL_START
                        MA_SLOGE("@@ Get arguments error (%s)", err.message); //LCOV_EXCL_LINE
                        dbus_error_free(&err);
                        result = MA_ERROR_OPERATION_FAILED;
+                       //LCOV_EXCL_STOP
                }
 
                dbus_message_unref(result_msg);
 
                if (0 == result) {
-                       MA_SLOGD("@@ multi-assistant finalize : result = %d", result);
+                       MA_SLOGD("@@ multi-assistant finalize : result = %d", result); //LCOV_EXCL_LINE
                } else {
-                       MA_SLOGE("@@ multi-assistant finalize : result = %d", result);
+                       MA_SLOGE("@@ multi-assistant finalize : result = %d", result); //LCOV_EXCL_LINE
                }
        } else {
                MA_SLOGE("@@ Result message is NULL "); //LCOV_EXCL_LINE
@@ -846,7 +896,7 @@ int ma_dbus_get_recording_audio_format(int pid, int *rate, ma_audio_channel_e *c
                MA_SLOGE("@@ Request multi-assistant recording audio format : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant recording audio format");
+               MA_SLOGD("[DEBUG] multi-assistant recording audio format"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -863,8 +913,10 @@ int ma_dbus_get_recording_audio_format(int pid, int *rate, ma_audio_channel_e *c
        dbus_message_unref(msg);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGD("[ERROR] Dbus Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        int tmp_rate;
@@ -880,9 +932,11 @@ int ma_dbus_get_recording_audio_format(int pid, int *rate, ma_audio_channel_e *c
                                DBUS_TYPE_INVALID);
 
                if (dbus_error_is_set(&err)) {
+                       //LCOV_EXCL_START
                        MA_SLOGE("@@ Get arguments error (%s)", err.message);
                        dbus_error_free(&err);
                        result = MA_ERROR_OPERATION_FAILED;
+                       //LCOV_EXCL_STOP
                }
                dbus_message_unref(result_msg);
 
@@ -890,12 +944,12 @@ int ma_dbus_get_recording_audio_format(int pid, int *rate, ma_audio_channel_e *c
                        *rate = tmp_rate;
                        *channel = tmp_channel;
                        *audio_type = tmp_audio_type;
-                       MA_SLOGD("@@ multi-assistant get recording audio format : result = %d, rate = %d, channel = %d, audio_type = %d", result, *rate, *channel, *audio_type);
+                       MA_SLOGD("@@ multi-assistant get recording audio format : result = %d, rate = %d, channel = %d, audio_type = %d", result, *rate, *channel, *audio_type); //LCOV_EXCL_LINE
                } else {
-                       MA_SLOGE("@@ multi-assistant get recording audio format : result = %d", result);
+                       MA_SLOGE("@@ multi-assistant get recording audio format : result = %d", result); //LCOV_EXCL_LINE
                }
        } else {
-               MA_SLOGE("@@ Result message is NULL");
+               MA_SLOGE("@@ Result message is NULL"); //LCOV_EXCL_LINE
                ma_dbus_reconnect();
                result = MA_ERROR_TIMED_OUT;
        }
@@ -921,7 +975,7 @@ int ma_dbus_get_recording_audio_source_type(int pid, char** type)
                MA_SLOGE("@@ Request multi-assistant recording audio source type : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant recording audio source type");
+               MA_SLOGD("[DEBUG] multi-assistant recording audio source type"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -938,8 +992,10 @@ int ma_dbus_get_recording_audio_source_type(int pid, char** type)
        dbus_message_unref(msg);
 
        if (dbus_error_is_set(&err)) {
+               //LCOV_EXCL_START
                MA_SLOGD("[ERROR] Dbus Error (%s)", err.message); //LCOV_EXCL_LINE
                dbus_error_free(&err);
+               //LCOV_EXCL_STOP
        }
 
        char* tmp_type = NULL;
@@ -951,20 +1007,22 @@ int ma_dbus_get_recording_audio_source_type(int pid, char** type)
                                DBUS_TYPE_INVALID);
 
                if (dbus_error_is_set(&err)) {
+                       //LCOV_EXCL_START
                        MA_SLOGE("@@ Get arguments error (%s)", err.message);
                        dbus_error_free(&err);
                        result = MA_ERROR_OPERATION_FAILED;
+                       //LCOV_EXCL_STOP
                }
                dbus_message_unref(result_msg);
 
                if (0 == result && NULL != type) {
                        *type = strdup(tmp_type);
-                       MA_SLOGD("@@ multi-assistant get recording audio source type : result = %d, type = %s", result, *type);
+                       MA_SLOGD("@@ multi-assistant get recording audio source type : result = %d, type = %s", result, *type); //LCOV_EXCL_LINE
                } else {
-                       MA_SLOGE("@@ multi-assistant get recording audio source type : result = %d, type(%p)", result, type);
+                       MA_SLOGE("@@ multi-assistant get recording audio source type : result = %d, type(%p)", result, type); //LCOV_EXCL_LINE
                }
        } else {
-               MA_SLOGE("@@ Result message is NULL");
+               MA_SLOGE("@@ Result message is NULL"); //LCOV_EXCL_LINE
                ma_dbus_reconnect();
                result = MA_ERROR_TIMED_OUT;
        }
@@ -990,7 +1048,7 @@ int ma_dbus_send_asr_result(int pid, ma_asr_result_event_e event, const char* as
                MA_SLOGE("@@ Request multi-assistant send ASR result : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send ASR result");
+               MA_SLOGD("[DEBUG] multi-assistant send ASR result"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1002,10 +1060,12 @@ int ma_dbus_send_asr_result(int pid, ma_asr_result_event_e event, const char* as
        dbus_message_set_no_reply(msg, TRUE);
 
        if (1 != dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1032,7 +1092,7 @@ int ma_dbus_send_result(int pid, const char* display_text, const char* utterance
                MA_SLOGE("@@ Request multi-assistant send result : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send result");
+               MA_SLOGD("[DEBUG] multi-assistant send result"); //LCOV_EXCL_LINE
        }
 
        char* tmp_disp_text = NULL;
@@ -1067,6 +1127,7 @@ int ma_dbus_send_result(int pid, const char* display_text, const char* utterance
        dbus_message_set_no_reply(msg, TRUE);
 
        if (1 != dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                if (NULL != tmp_disp_text) {
                        free(tmp_disp_text);
@@ -1081,8 +1142,9 @@ int ma_dbus_send_result(int pid, const char* display_text, const char* utterance
                        tmp_result_json = NULL;
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1122,7 +1184,7 @@ int ma_dbus_send_recognition_result(int pid, ma_recognition_result_event_e resul
                MA_SLOGE("@@ Request multi-assistant send recognition result : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send recognition result");
+               MA_SLOGD("[DEBUG] multi-assistant send recognition result"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1135,6 +1197,7 @@ int ma_dbus_send_recognition_result(int pid, ma_recognition_result_event_e resul
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1142,8 +1205,9 @@ int ma_dbus_send_recognition_result(int pid, ma_recognition_result_event_e resul
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1170,7 +1234,7 @@ int ma_dbus_start_streaming_audio_data(int pid, ma_audio_streaming_data_type_e t
                MA_SLOGE("@@ multi-assistant send streaming request : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send streaming request");
+               MA_SLOGD("[DEBUG] multi-assistant send streaming request"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1183,6 +1247,7 @@ int ma_dbus_start_streaming_audio_data(int pid, ma_audio_streaming_data_type_e t
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1190,8 +1255,9 @@ int ma_dbus_start_streaming_audio_data(int pid, ma_audio_streaming_data_type_e t
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1220,7 +1286,7 @@ int ma_dbus_stop_streaming_audio_data(int pid, ma_audio_streaming_data_type_e ty
                MA_SLOGE("@@ Request multi-assistant stop streaming audio data : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant stop streaming audio data");
+               MA_SLOGD("[DEBUG] multi-assistant stop streaming audio data"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1233,6 +1299,7 @@ int ma_dbus_stop_streaming_audio_data(int pid, ma_audio_streaming_data_type_e ty
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1240,8 +1307,9 @@ int ma_dbus_stop_streaming_audio_data(int pid, ma_audio_streaming_data_type_e ty
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1270,7 +1338,7 @@ int ma_dbus_update_voice_feedback_state(int pid, ma_voice_feedback_state_e state
                MA_SLOGE("@@ Request multi-assistant update voice feedback state : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant update voice feedback state");
+               MA_SLOGD("[DEBUG] multi-assistant update voice feedback state"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1283,6 +1351,7 @@ int ma_dbus_update_voice_feedback_state(int pid, ma_voice_feedback_state_e state
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1290,8 +1359,9 @@ int ma_dbus_update_voice_feedback_state(int pid, ma_voice_feedback_state_e state
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1318,7 +1388,7 @@ int ma_dbus_send_assistant_specific_command(int pid, const char* command)
                MA_SLOGE("@@ Request multi-assistant send assistant specific command : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send assistant specific command");
+               MA_SLOGD("[DEBUG] multi-assistant send assistant specific command"); //LCOV_EXCL_LINE
        }
 
        char* tmp_command = NULL;
@@ -1338,6 +1408,7 @@ int ma_dbus_send_assistant_specific_command(int pid, const char* command)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
 
                if (NULL != tmp_command) {
                        free(tmp_command);
@@ -1351,8 +1422,9 @@ int ma_dbus_send_assistant_specific_command(int pid, const char* command)
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1384,7 +1456,7 @@ int ma_dbus_set_background_volume(int pid, double ratio)
                MA_SLOGE("@@ Request multi-assistant set background system volume : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant set background system volume");
+               MA_SLOGD("[DEBUG] multi-assistant set background system volume"); //LCOV_EXCL_LINE
        }
 
        dbus_message_append_args(msg,
@@ -1397,6 +1469,7 @@ int ma_dbus_set_background_volume(int pid, double ratio)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
 
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
@@ -1405,8 +1478,9 @@ int ma_dbus_set_background_volume(int pid, double ratio)
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1433,7 +1507,7 @@ int ma_dbus_set_preprocessing_allow_mode(int pid, ma_preprocessing_allow_mode_e
                MA_SLOGE("@@ Request multi-assistant set preprocessing allow mode : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant set preprocessing allow mode");
+               MA_SLOGD("[DEBUG] multi-assistant set preprocessing allow mode"); //LCOV_EXCL_LINE
        }
 
        char* tmp_app_id = NULL;
@@ -1454,6 +1528,7 @@ int ma_dbus_set_preprocessing_allow_mode(int pid, ma_preprocessing_allow_mode_e
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
 
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
@@ -1466,8 +1541,9 @@ int ma_dbus_set_preprocessing_allow_mode(int pid, ma_preprocessing_allow_mode_e
                        tmp_app_id = NULL;
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1499,7 +1575,7 @@ int ma_dbus_send_preprocessing_result(int pid, bool result)
                MA_SLOGE("@@ Request multi-assistant send preprocessing result : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant send preprocessing result");
+               MA_SLOGD("[DEBUG] multi-assistant send preprocessing result"); //LCOV_EXCL_LINE
        }
 
        int tmp_result = (result ? 1 : 0);
@@ -1513,6 +1589,7 @@ int ma_dbus_send_preprocessing_result(int pid, bool result)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1520,8 +1597,9 @@ int ma_dbus_send_preprocessing_result(int pid, bool result)
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1548,7 +1626,7 @@ int ma_dbus_set_wake_word_audio_require_flag(int pid, bool require)
                MA_SLOGE("@@ Request multi-assistant set wake word audio require flag : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant set wake word audio require flag");
+               MA_SLOGD("[DEBUG] multi-assistant set wake word audio require flag"); //LCOV_EXCL_LINE
        }
 
        int tmp_require = (require ? 1 : 0);
@@ -1562,6 +1640,7 @@ int ma_dbus_set_wake_word_audio_require_flag(int pid, bool require)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1569,8 +1648,9 @@ int ma_dbus_set_wake_word_audio_require_flag(int pid, bool require)
                        MA_SLOGE("[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1597,7 +1677,7 @@ int ma_dbus_set_assistant_wakeup_language(int pid, const char* language)
                MA_SLOGE("@@ Request multi-assistant set assistant wakeup language : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant set assistant wakeup language");
+               MA_SLOGD("[DEBUG] multi-assistant set assistant wakeup language"); //LCOV_EXCL_LINE
        }
 
        char* tmp_language = NULL;
@@ -1617,6 +1697,7 @@ int ma_dbus_set_assistant_wakeup_language(int pid, const char* language)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1628,8 +1709,9 @@ int ma_dbus_set_assistant_wakeup_language(int pid, const char* language)
                        tmp_language = NULL;
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1661,7 +1743,7 @@ int ma_dbus_add_wake_word(int pid, const char* wake_word, const char* language)
                MA_SLOGE("@@ Request multi-assistant add wake word : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant add wake word");
+               MA_SLOGD("[DEBUG] multi-assistant add wake word"); //LCOV_EXCL_LINE
        }
 
        char* tmp_wake_word = NULL;
@@ -1689,6 +1771,7 @@ int ma_dbus_add_wake_word(int pid, const char* wake_word, const char* language)
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1704,8 +1787,9 @@ int ma_dbus_add_wake_word(int pid, const char* wake_word, const char* language)
                        tmp_language = NULL;
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }
 
@@ -1741,7 +1825,7 @@ int ma_dbus_remove_wake_word(int pid, const char* wake_word, const char* languag
                MA_SLOGE("@@ Request multi-assistant remove wake word : Fail to make message"); //LCOV_EXCL_LINE
                return MA_ERROR_OPERATION_FAILED;
        } else {
-               MA_SLOGD("[DEBUG] multi-assistant remove wake word");
+               MA_SLOGD("[DEBUG] multi-assistant remove wake word"); //LCOV_EXCL_LINE
        }
 
        char* tmp_wake_word = NULL;
@@ -1769,6 +1853,7 @@ int ma_dbus_remove_wake_word(int pid, const char* wake_word, const char* languag
        DBusError error;
        dbus_error_init (&error);
        if (!dbus_connection_send(g_conn_sender, msg, NULL)) {
+               //LCOV_EXCL_START
                if (dbus_error_is_set (&error)) {
                        MA_SLOGE("[Dbus ERROR] Fail to Send : %s", error.message); //LCOV_EXCL_LINE
                        dbus_error_free (&error);
@@ -1784,8 +1869,9 @@ int ma_dbus_remove_wake_word(int pid, const char* wake_word, const char* languag
                        tmp_language = NULL;
                }
                return MA_ERROR_OPERATION_FAILED;
+               //LCOV_EXCL_STOP
        } else {
-               MA_SLOGD("[Dbus DEBUG] Success to Send");
+               MA_SLOGD("[Dbus DEBUG] Success to Send"); //LCOV_EXCL_LINE
                dbus_connection_flush(g_conn_sender);
        }