switch (node->type) {
case eBOOL:
SETTING_TRACE("IMPORTING key : %s : %d : %d", node->vconf_key,
- node->type, node->value);
+ node->type, node->value.b);
break;
case eINT:
SETTING_TRACE("IMPORTING key : %s : %d : %d", node->vconf_key,
- node->type, node->value);
+ node->type, node->value.i);
break;
case eSTRING:
SETTING_TRACE("IMPORTING key : %s : %d : %s", node->vconf_key,
- node->type, node->value);
+ node->type, node->value.c);
break;
}
}
g_stable[key].value.c = "";
SETTING_TRACE(
- "setting_set_str ::: KEY:%d VCONF_KEY=%s TYPE=%d " "VALUE=%d ",
+ "setting_set_str ::: KEY:%d VCONF_KEY=%s TYPE=%d " "VALUE=%s ",
result.key, result.vconf_key, result.type,
result.value.c);
*err = ret;
ADD_POPUP_BTN(btn_num, popup, response_cb, data);
- SETTING_TRACE("title...:%s", evas_object_data_get(popup, "title"));
- SETTING_TRACE("text...:%s", evas_object_data_get(popup, "text"));
- SETTING_TRACE("button1...:%s", evas_object_data_get(popup, "button1"));
- SETTING_TRACE("button2...:%s", evas_object_data_get(popup, "button2"));
- SETTING_TRACE("button3...:%s", evas_object_data_get(popup, "button3"));
+ SETTING_TRACE("title...:%s", (char*)evas_object_data_get(popup, "title"));
+ SETTING_TRACE("text...:%s", (char*)evas_object_data_get(popup, "text"));
+ SETTING_TRACE("button1...:%s", (char*)evas_object_data_get(popup, "button1"));
+ SETTING_TRACE("button2...:%s", (char*)evas_object_data_get(popup, "button2"));
+ SETTING_TRACE("button3...:%s", (char*)evas_object_data_get(popup, "button3"));
evas_object_show(popup);
SETTING_TRACE_END;
ADD_POPUP_BTN(btn_num, popup, response_cb, data);
- SETTING_TRACE("title...:%s", evas_object_data_get(popup, "title"));
- SETTING_TRACE("text...:%s", evas_object_data_get(popup, "text"));
- SETTING_TRACE("button1...:%s", evas_object_data_get(popup, "button1"));
- SETTING_TRACE("button2...:%s", evas_object_data_get(popup, "button2"));
- SETTING_TRACE("button3...:%s", evas_object_data_get(popup, "button3"));
+ SETTING_TRACE("title...:%s", (char*)evas_object_data_get(popup, "title"));
+ SETTING_TRACE("text...:%s", (char*)evas_object_data_get(popup, "text"));
+ SETTING_TRACE("button1...:%s", (char*)evas_object_data_get(popup, "button1"));
+ SETTING_TRACE("button2...:%s", (char*)evas_object_data_get(popup, "button2"));
+ SETTING_TRACE("button3...:%s", (char*)evas_object_data_get(popup, "button3"));
evas_object_show(popup);
SETTING_TRACE_END;
ADD_POPUP_BTN(btn_num, popup, response_cb, data);
- SETTING_TRACE("title...:%s", evas_object_data_get(popup, "title"));
- SETTING_TRACE("text...:%s", evas_object_data_get(popup, "text"));
- SETTING_TRACE("button1...:%s", evas_object_data_get(popup, "button1"));
- SETTING_TRACE("button2...:%s", evas_object_data_get(popup, "button2"));
- SETTING_TRACE("button3...:%s", evas_object_data_get(popup, "button3"));
+ SETTING_TRACE("title...:%s", (char*)evas_object_data_get(popup, "title"));
+ SETTING_TRACE("text...:%s", (char*)evas_object_data_get(popup, "text"));
+ SETTING_TRACE("button1...:%s", (char*)evas_object_data_get(popup, "button1"));
+ SETTING_TRACE("button2...:%s", (char*)evas_object_data_get(popup, "button2"));
+ SETTING_TRACE("button3...:%s", (char*)evas_object_data_get(popup, "button3"));
evas_object_show(popup);
return popup;
Setting_GenGroupItem_Data *list_item =
(Setting_GenGroupItem_Data *) data;
- setting_retm_if(data == NULL, , "Data parameter is NULL");
+ setting_retm_if(data == NULL, "Data parameter is NULL");
ad = list_item->userdata;
- setting_retm_if(ad == NULL, , "ad parameter is NULL");
+ setting_retm_if(ad == NULL, "ad parameter is NULL");
_brightness_overheat_check(ad);
}
}
left_icon = setting_brightness_get_slider_icon(value);
- SETTING_TRACE("###> left_icon: [%d]", left_icon);
+ SETTING_TRACE("###> left_icon: [%s]", left_icon);
/* [UI] Slider control for Bightness */
ad->data_br_sli = setting_create_Gendial_field_def(
genlist,
setting_create_Gendial_itc(SETTING_GENLIST_LEFT_ICON_CONTENT_ICON_STYLE,
&(ad->itc_bg_1icon));
- SETTING_TRACE("ad->itc_bg_1icon: %s ", ad->itc_bg_1icon);
ad->itc_bg_1icon.func.content_get = _font_size_slider_get;
setting_create_Gendial_itc(SETTING_GENLIST_MULTILINE_STYLE,
SETTING_TRACE("fail to get vconf");
} else if (value == VCONFKEY_TELEPHONY_SIM_INSERTED) {
ad->handle = tel_init(NULL);
- SETTING_TRACE("ad->handle: %d", ad->handle);
+ SETTING_TRACE("ad->handle: %d", (int)ad->handle);
memset(&(ad->imsi), 0, sizeof(TelSimImsiInfo_t));
if (ad->handle
&& TAPI_API_SUCCESS == tel_get_sim_imsi(
SETTING_TRACE_DEBUG(
">>>> chk_status : <%d>, state_value_get for %s ---> (%d) value_get[%d], ptr : %x, org(%x)",
item_data->chk_status, item_data->keyStr,
- elm_radio_state_value_get(item_data->eo_check),
- elm_radio_value_get(item_data->eo_check),
- item_data->chk_change_cb,
- _chk_changed_cb);
+ (int)elm_radio_state_value_get(item_data->eo_check),
+ (int)elm_radio_value_get(item_data->eo_check),
+ (unsigned int)item_data->chk_change_cb,
+ (unsigned int)_chk_changed_cb);
SETTING_TRACE("profile_h:%p, apn:%s, id:%s", profile_h, apn,
id);
SETTING_TRACE_ERROR("Fail to get profile id");
continue;
}
- SETTING_TRACE("Record[%d]: profile apn:%s, id:%s", cnt,
- profile_id);
+ SETTING_TRACE("Record[%d]: id:%s", cnt, profile_id);
/* check id match */
if (0 == safeStrCmp(profile_id, list_item->keyStr2)) {
}
if (0 != vconf_set_int(VCONFKEY_SETAPPL_SELECT_NETWORK_INT, s_info.sel_net))
- SETTING_TRACE_ERROR("vconf[%s] set failed");
+ SETTING_TRACE_ERROR("vconf set failed");
if (0 != vconf_set_int(VCONFKEY_SETAPPL_SELECT_OLD_NT_ACT, s_info.sel_act))
- SETTING_TRACE_ERROR("vconf[%s] set failed");
+ SETTING_TRACE_ERROR("vconf set failed");
s_info.b_set_manul_network = FALSE;
s_info.sel_network = strdup(Keystr_UNKNOWN_NETWORK);
if (0 != vconf_set_int(VCONFKEY_SETAPPL_SELECT_NETWORK_INT, s_info.sel_net))
- SETTING_TRACE_ERROR("vconf[%s] set failed");
+ SETTING_TRACE_ERROR("vconf set failed");
if (0 != vconf_set_int(VCONFKEY_SETAPPL_SELECT_OLD_NT_ACT, s_info.sel_act))
- SETTING_TRACE_ERROR("vconf[%s] set failed");
+ SETTING_TRACE_ERROR("vconf set failed");
} else if (!safeStrCmp(vconf_name, VCONFKEY_TELEPHONY_FLIGHT_MODE)) {
SETTING_TRACE("vconf_name:%s", vconf_name);
if (imf_context) {
SETTING_TRACE_DEBUG(
"imf_context (0x%.8x) : clear event callbacks",
- imf_context);
+ (unsigned int)imf_context);
ecore_imf_context_input_panel_event_callback_clear(
imf_context);
}
if (imf_context) {
SETTING_TRACE_DEBUG(
"imf_context (0x%.8x) : clear event callbacks",
- imf_context);
+ (unsigned int)imf_context);
ecore_imf_context_input_panel_event_callback_clear(
imf_context);
}
SETTING_TRACE_SECURE_DEBUG(
"sec_ret[%d], lock_type[%d], lock_status[%d], retry_count[%d]",
- sec_rt, lock->lock_type, lock->lock_status,
+ (int)sec_rt, lock->lock_type, lock->lock_status,
lock->retry_count);
char temp[256] = { 0, };
return false;
}
ad->mp_prepare_async = ad->mp_player;
- SETTING_TRACE("waiting..player (%x)", ad->mp_prepare_async);
+ SETTING_TRACE("waiting..player (%x)", (unsigned int)ad->mp_prepare_async);
#else
err = player_prepare(ad->mp_player);
if (err != PLAYER_ERROR_NONE) {
retv_if(!data, EINA_FALSE);
SettingSoundData *ad = (SettingSoundData *)data;
- SETTING_TRACE("player (%x)", ad->mp_prepare_async);
+ SETTING_TRACE("player (%x)", (unsigned int)ad->mp_prepare_async);
err = player_get_state(ad->mp_player, &state);
- SETTING_TRACE("state:%d", state);
+ SETTING_TRACE("state:%d", (int)state);
if (state != PLAYER_STATE_READY) {
SETTING_TRACE_ERROR(
SettingSoundData *ad = (SettingSoundData *)user_data;
ret_if(ad == NULL);
- SETTING_TRACE_ERROR("Focus state changed, reason: %d", reason);
+ SETTING_TRACE_ERROR("Focus state changed, reason: %d", (int)reason);
if (ad->mp_player) {
player_get_state(ad->mp_player, &state);
- SETTING_TRACE("player state : %d", state);
+ SETTING_TRACE("player state : %d", (int)state);
}
}
/* 3. Notification alert */
if (0 != safeStrCmp(ad->viewtype, VOLUME_APP_NAME)) {
pa_ringtone = vconf_get_str(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR);
- SETTING_TRACE_WARNING("<MS> NOTI VCONF: %s", __FILE__, __LINE__, pa_ringtone);
+ SETTING_TRACE_WARNING("<MS> NOTI VCONF: %s", pa_ringtone);
if (!pa_ringtone || strlen(pa_ringtone) == 0) {
err = sound_manager_get_focus_state(ringtone_data->ringtone_sound_stream_info, &state_for_playback, NULL);
if (err != SOUND_MANAGER_ERROR_NONE) {
- SETTING_TRACE_ERROR("[%s:%d] sound_manager_get_focus_state() error: %s", get_error_message(err));
+ SETTING_TRACE_ERROR("sound_manager_get_focus_state() error: %s", get_error_message(err));
return false;
}
err = sound_manager_get_focus_state(ringtone_data->ringtone_sound_stream_info, &state_for_playback, NULL);
if (err != SOUND_MANAGER_ERROR_NONE) {
- SETTING_TRACE_ERROR("[%s:%d] sound_manager_get_focus_state() error: %s", get_error_message(err));
+ SETTING_TRACE_ERROR("sound_manager_get_focus_state() error: %s", get_error_message(err));
return false;
}
err = sound_manager_release_focus(ringtone_data->ringtone_sound_stream_info, SOUND_STREAM_FOCUS_FOR_PLAYBACK, SOUND_BEHAVIOR_NONE, NULL);
if (err != SOUND_MANAGER_ERROR_NONE) {
- SETTING_TRACE_ERROR("[%s:%d] sound_manager_release_focus() error: %s", get_error_message(err));
+ SETTING_TRACE_ERROR("sound_manager_release_focus() error: %s", get_error_message(err));
return false;
}
return true;
err = player_set_sound_stream_info(ringtone_data->media_player,
ringtone_data->ringtone_sound_stream_info);
if (PLAYER_ERROR_NONE != err) {
- SETTING_TRACE_ERROR("error to set sound_type[%S]", get_error_message(err));;
+ SETTING_TRACE_ERROR("error to set sound_type[%s]", get_error_message(err));
return false;
}
edje_object_message_send(elm_layout_edje_get(target),
EDJE_MESSAGE_FLOAT_SET,
SET_STORAGE_GRAPH_MSG_ID, msg);
- SETTING_TRACE_DEBUG("Sizes message sent: %f %f %f %f %f %f %f",
+ SETTING_TRACE_DEBUG("Sizes message sent: %f %f %f %f %f %f %f %f",
msg->val[0], msg->val[1], msg->val[2], msg->val[3],
msg->val[4], msg->val[5], msg->val[6], msg->val[7]);
edje_object_message_signal_process(elm_layout_edje_get(target));
ret = storage_get_internal_memory_size(&s);
if (0 == ret) {
- SETTING_TRACE("Total = %lu, Available = %lu",
+ SETTING_TRACE("Total = %llu, Available = %llu",
(s.f_frsize * s.f_blocks),
(s.f_bsize * s.f_bavail));
tmp_total = (double)s.f_frsize * s.f_blocks;
ret_if(NULL == avail);
if (!storage_get_external_memory_size(&s)) {
- SETTING_TRACE("f_frsize = %ld f_blocks = %ld f_bsize = %ld "
- "f_bavail = %ld ",
- s.f_frsize, s.f_blocks, s.f_bsize, s.f_bavail);
+ SETTING_TRACE("f_frsize = %ld f_blocks = %ld f_bsize = %ld f_bavail = %ld ",
+ (long)s.f_frsize, (long)s.f_blocks, (long)s.f_bsize, (long)s.f_bavail);
*total = (double)s.f_frsize * s.f_blocks;
#if 0
*avail = (double)s.f_bsize * s.f_bavail;
#else
*avail = (double)s.f_bfree * s.f_frsize;
- SETTING_TRACE("NEW STYLE, %ld", *avail);
+ SETTING_TRACE("NEW STYLE, %lf", *avail);
#endif
}
}
ad->sz_apps = (double)(app_size + ext_app_size);
ad->sz_caches = (double)(cache_size + ext_cache_size);
- SETTING_TRACE_DEBUG("size_info->app_size : %ld", ad->sz_apps);
+ SETTING_TRACE_DEBUG("size_info->app_size : %lf", ad->sz_apps);
SETTING_TRACE_DEBUG("ad->sz_caches:%lf", ad->sz_caches);
storage_genlist_text_update(ad->apps, ad->sz_apps);
SETTING_TRACE_DEBUG("ad->misces_is_select_all--->%d",
ad->misces_is_select_all);
- SETTING_TRACE_DEBUG("ad->data_list--->%x", ad->data_list);
+ SETTING_TRACE_DEBUG("ad->data_list--->%x", (unsigned int)ad->data_list);
EINA_LIST_FOREACH(ad->data_list, l, node)
{
if (node && node->data) {
SETTING_TRACE("t_nitz:%d, t_offset:%d, t_uptime:%d", t_nitz, t_offset,
t_uptime);
time_t t_current = t_nitz + t_uptime - t_offset;
- SETTING_TRACE("t_current:%d", t_current);
+ SETTING_TRACE("t_current:%d", (int)t_current);
ret = _alarmmgr_set_systime_helper(t_current);
setting_retm_if(ret == -1, "_alarmmgr_set_systime_helper call failed");
if (ad->data_time) {
SETTING_TRACE("t_nitz:%d, t_offset:%d, t_uptime:%d",
t_nitz, t_offset, t_uptime);
time_t t_current = t_nitz + t_uptime - t_offset;
- SETTING_TRACE("t_current:%d", t_current);
+ SETTING_TRACE("t_current:%d", (int)t_current);
ret = _alarmmgr_set_systime_helper(t_current);
if (ret != ALARMMGR_RESULT_SUCCESS)
SETTING_TRACE_ERROR("Cannot set system time");
if (I18N_ERROR_NONE != status) {
SETTING_TRACE_ERROR("i18n_ucalendar_get_timezone_displayname got "
"an error : %s, %d",
- displayName, status);
+ (char*)displayName, (int)status);
status = I18N_ERROR_NONE;
} else {
int len = 0;
i18n_ustring_to_UTF8(timezone_str, len_str, &len_utf8,
displayName, len, &status);
SETTING_TRACE("*************************** timezone : "
- "%s, %s", displayName, timezone_str);
+ "%s, %s", (char*)displayName, timezone_str);
}
i18n_ucalendar_destroy(cal);
}