return MA_ERROR_PERMISSION_DENIED; //LCOV_EXCL_LINE
}
- MA_SLOGI("[Client DEBUG] Initialize"); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Initialize"); //LCOV_EXCL_LINE
/* check handle */
if (true == ma_client_is_valid(g_ma)) {
return MA_ERROR_PERMISSION_DENIED; //LCOV_EXCL_LINE
}
- MA_SLOGI("[Client DEBUG] Deinitialize"); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Deinitialize"); //LCOV_EXCL_LINE
if (false == ma_client_is_valid(g_ma)) {
MA_SLOGE("[ERROR] NOT initialized"); //LCOV_EXCL_LINE
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); //LCOV_EXCL_LINE
+ MA_SLOGE("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;
}
ret = __ma_connect_daemon(NULL);
if (ret == 0) {
- MA_SLOGD("Success to connect daemon. retry count(%d)", retry_count); //LCOV_EXCL_LINE
+ MA_SLOGE("Success to connect daemon. retry count(%d)", retry_count); //LCOV_EXCL_LINE
break;
} else {
usleep(10000);
return MA_ERROR_PERMISSION_DENIED; //LCOV_EXCL_LINE
}
- MA_SLOGI("[Client DEBUG] Prepare"); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Prepare"); //LCOV_EXCL_LINE
ma_state_e state;
return MA_ERROR_PERMISSION_DENIED; //LCOV_EXCL_LINE
}
- MA_SLOGI("[Client DEBUG] Unprepare"); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Unprepare"); //LCOV_EXCL_LINE
MA_SLOGD("Deleting timer for retry_connection"); //LCOV_EXCL_LINE
ecore_main_loop_thread_safe_call_async(delete_retry_connection_timer, NULL);
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); //LCOV_EXCL_LINE
+ MA_SLOGE("[INFO] Audio streaming callback is called, event(%d)", event); //LCOV_EXCL_LINE
}
} else {
MA_SLOGD("[WARNING] Audio streaming callback is NULL"); //LCOV_EXCL_LINE
return MA_ERROR_INVALID_STATE;
}
- MA_SLOGI("[Client DEBUG] Send recognition result to the Multi-assistant : %d", result); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Send recognition result to the Multi-assistant : %d", result); //LCOV_EXCL_LINE
int ret = -1;
int pid = getpid();
return MA_ERROR_INVALID_STATE;
}
- MA_SLOGI("[Client DEBUG] Send streaming request to the Multi-assistant : %d", type); //LCOV_EXCL_LINE
+ MA_SLOGE("[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);
return MA_ERROR_INVALID_STATE;
}
- MA_SLOGI("[Client DEBUG] Send streaming stop request to the Multi-assistant : %d", type); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Send streaming stop request to the Multi-assistant : %d", type); //LCOV_EXCL_LINE
int ret = -1;
int pid = getpid();
return MA_ERROR_INVALID_STATE;
}
- MA_SLOGI("[Client DEBUG] Set background volume : %f", ratio); //LCOV_EXCL_LINE
+ MA_SLOGE("[Client DEBUG] Set background volume : %f", ratio); //LCOV_EXCL_LINE
/* change system volume */
int pid = getpid();
__ma_ap_cb_audio_streaming(audio_data_header.event,
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_ap_cb_audio_streaming() called, serial : %d", header.streaming_data_serial);
+ if (0 == header.streaming_data_serial % 50 || MA_AUDIO_STREAMING_EVENT_FINISH == audio_data_header.event) {
+ MA_SLOGE("__ma_ap_cb_audio_streaming() called, serial : %d", header.streaming_data_serial);
}
}
} else if (streaming_data_type_streaming_section == header.streaming_data_type) {
__ma_cb_audio_streaming(audio_data_header.event,
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); //LCOV_EXCL_LINE
+ if (0 == header.streaming_data_serial % 50 || MA_AUDIO_STREAMING_EVENT_FINISH == audio_data_header.event) {
+ MA_SLOGE("__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) {