//LCOV_EXCL_START
static void delete_retry_connection_timer(void* data)
{
+ MA_SLOGE("[ENTER] %p", g_retry_connection_timer); //LCOV_EXCL_LINE
if (g_retry_connection_timer) {
ecore_timer_del(g_retry_connection_timer);
g_retry_connection_timer = NULL;
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); //LCOV_EXCL_LINE
+ MA_SLOGE("Added timer for retry_connection : %p", g_retry_connection_timer); //LCOV_EXCL_LINE
}
//LCOV_EXCL_STOP
static void __start_prepare_func()
{
if (ECORE_CALLBACK_RENEW == retry_connection(NULL)) {
+ MA_SLOGI("Adding timer for retry_connection"); //LCOV_EXCL_LINE
ecore_main_loop_thread_safe_call_async(add_retry_connection_timer, NULL);
}
}
int ret = MA_ERROR_NONE;
ma_state_e state;
ret = __ma_validate_client(true, true, &state);
- if (MA_ERROR_INVALID_STATE == ret) {
- MA_SLOGD("Deleting timer for retry_connection"); //LCOV_EXCL_LINE
- ecore_main_loop_thread_safe_call_async(delete_retry_connection_timer, NULL);
- } else if (MA_ERROR_NONE != ret) {
+ if (MA_ERROR_NONE != ret) {
+ MA_SLOGE("ret : %d", ret);
return ret;
}
+ MA_SLOGI("Deleting timer for retry_connection"); //LCOV_EXCL_LINE
+ ecore_main_loop_thread_safe_call_async(delete_retry_connection_timer, NULL);
+
/* check state */
if (state != MA_STATE_READY) {
MA_SLOGE("[ERROR] Invalid State: Current state is not 'READY' (%d)", state); //LCOV_EXCL_LINE