"IDS_ST_MBODY_LEGAL_INFORMATION_ABB", NULL, NULL);
/*////////////////////////////////////////////////////////////////// */
- (void)setting_create_Gendial_field_titleItem(ad->md.genlist,
+ setting_create_Gendial_field_titleItem(ad->md.genlist,
&(ad->itc_group_item), "IDS_ST_BODY_DEVICE_INFO",
NULL);
/*////////////////////////////////////////////////////////////////// */
}
/* 7. [UI] Device status: */
- (void)setting_create_Gendial_field_def(ad->md.genlist,
+ setting_create_Gendial_field_def(ad->md.genlist,
&(ad->itc_1icon_1text_sub), __mouse_up_Gendial_list_cb,
ad, SWALLOW_Type_INVALID, NULL, NULL, 0,
ITEM_NAME_STATUS, "Show phone number, network"\
static void _get_apps_list(SettingAppMgr *ad)
{
ret_if(!ad);
- (void)package_info_foreach_app_from_package(
+ package_info_foreach_app_from_package(
ad->selected_running_app.package_info,
PACKAGE_INFO_ALLAPP, _app_in_package_info_cb, ad);
}
return true;
}
sibling_info->id = strdup(app_id);
- (void)app_info_get_icon(sibling_app_info, &sibling_info->icon);
+ app_info_get_icon(sibling_app_info, &sibling_info->icon);
if (EINA_TRUE != ecore_file_exists(sibling_info->icon)) {
free(sibling_info->icon);
sibling_info->icon = get_application_default_icon(app_id);
}
- (void)app_info_get_label(sibling_app_info, &sibling_info->label);
- (void)app_info_get_exec(sibling_app_info, &sibling_info->sub_text);
+ app_info_get_label(sibling_app_info, &sibling_info->label);
+ app_info_get_exec(sibling_app_info, &sibling_info->sub_text);
sibling_info->ram_usage = get_process_ram_usage_mb(sibling_app_info);
app->apps_in_package = eina_list_append(app->apps_in_package,
char *label = NULL;
ret_if(!node);
- (void)app_info_get_app_id(app_info, &node->appid);
- (void)app_info_get_package(app_info, &node->pkgid);
- (void)app_info_get_label(app_info, &node->label);
+ app_info_get_app_id(app_info, &node->appid);
+ app_info_get_package(app_info, &node->pkgid);
+ app_info_get_label(app_info, &node->label);
if (!node->label) {
- (void)app_info_get_exec(app_info, &label);
+ app_info_get_exec(app_info, &label);
if (label) {
node->label = strdup(basename(label));
free(label);
}
}
- (void)app_info_get_icon(app_info, &node->icon_path);
+ app_info_get_icon(app_info, &node->icon_path);
if (EINA_TRUE != ecore_file_exists(node->icon_path)) {
free(node->icon_path);
node->icon_path = get_application_default_icon(node->appid);
}
- (void)app_info_is_enabled(app_info, &node->is_enabled);
- (void)app_manager_is_running(node->appid, &node->is_running);
+ app_info_is_enabled(app_info, &node->is_enabled);
+ app_manager_is_running(node->appid, &node->is_running);
node->ram_used = get_process_ram_usage_mb(app_info);
}
int ret = 0;
ret_if(!node);
- (void)package_info_get_package(package_info, &node->pkgid);
- (void)package_info_get_label(package_info, &node->label);
- (void)package_info_is_preload_package(package_info,
+ package_info_get_package(package_info, &node->pkgid);
+ package_info_get_label(package_info, &node->label);
+ package_info_is_preload_package(package_info,
&node->is_preloaded);
/* try to find icon: */
- (void)package_info_get_icon(package_info, &node->icon_path);
+ package_info_get_icon(package_info, &node->icon_path);
if (EINA_TRUE != ecore_file_exists(node->icon_path)) {
free(node->icon_path);
node->icon_path = NULL;
if (!ad)
return;
- (void)app_context_get_app_id(app_context, &app_id);
+ app_context_get_app_id(app_context, &app_id);
SETTING_TRACE_DEBUG("_app_mgr_ctx_event_cb: %d app: %s", event, app_id);
/ sizeof((bestPattern)[0]));
int32_t best_pattern_len;
- (void)i18n_udatepg_get_best_pattern(pattern_generator, customSkeleton,
+ i18n_udatepg_get_best_pattern(pattern_generator, customSkeleton,
i18n_ustring_get_length(customSkeleton), bestPattern,
bestPatternCapacity, &best_pattern_len);
i18n_ustring_copy_au(bestPatternString, bestPattern);
int32_t formattedCapacity = (int32_t)
(sizeof(formatted) / sizeof((formatted)[0]));
int32_t buf_size_needed;
- (void)i18n_udate_format_date(formatter, date, formatted,
+ i18n_udate_format_date(formatter, date, formatted,
formattedCapacity, NULL, &buf_size_needed);
i18n_ustring_copy_au(formattedString, formatted);
i18n_udate_destroy(formatter);
{
SETTING_TRACE_BEGIN;
ret_if(!obj);
- (void)vconf_ignore_key_changed(VCONFKEY_LANGSET, _popup_lang_change_cb);
+
+ vconf_ignore_key_changed(VCONFKEY_LANGSET, _popup_lang_change_cb);
evas_object_data_set(obj, "title", NULL);
evas_object_data_set(obj, "text0", NULL);
evas_object_data_set(obj, "text", NULL);
return;
current_font_type_str = cur_font_get();
- (void)system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE,
+ system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE,
&value);
current_font_size_str = get_font_size_str(value);
snprintf(buff, NAME_MAX, "%s, %s", _(current_font_size_str),
setting_view_node_table_register(&setting_view_display_main, NULL);
setting_view_create(&setting_view_display_main, display_ad);
- (void)system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE, _system_setting_changed_cb, data);
- (void)system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE, _system_setting_changed_cb, data);
- (void)system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
+ system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE, _system_setting_changed_cb, data);
+ system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE, _system_setting_changed_cb, data);
+ system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
_system_setting_changed_cb, data);
- (void)system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, _system_setting_changed_cb, data);
- (void)device_add_callback(DEVICE_CALLBACK_BATTERY_LEVEL, _device_changed_cb, data);
+ system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, _system_setting_changed_cb, data);
+ device_add_callback(DEVICE_CALLBACK_BATTERY_LEVEL, _device_changed_cb, data);
evas_object_show(display_ad->md.window);
SettingDisplay *ad = (SettingDisplay *)data;
setting_retm_if((!data), "!data");
- (void)system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE);
- (void)system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE);
- (void)system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO);
- (void)system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME);
- (void)device_remove_callback(DEVICE_CALLBACK_BATTERY_LEVEL, _device_changed_cb);
+ system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE);
+ system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE);
+ system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO);
+ system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME);
+ device_remove_callback(DEVICE_CALLBACK_BATTERY_LEVEL, _device_changed_cb);
setting_view_destroy(&setting_view_display_main, ad);
bestPatternCapacity = (int32_t)
(sizeof(bestPattern) / sizeof((bestPattern)[0]));
int32_t best_pattern_len;
- (void)i18n_udatepg_get_best_pattern(ad->pattern_generator, customSkeleton,
+ i18n_udatepg_get_best_pattern(ad->pattern_generator, customSkeleton,
i18n_ustring_get_length(customSkeleton), bestPattern,
bestPatternCapacity, &best_pattern_len);
ad->md.window = NULL;
#if 0
- (void) vconf_ignore_key_changed(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT,
__lock_type_key_changed_cb);
#endif
con_info = s_info.sel_profile_h;
} else {
if (!safeStrCmp(ad->con_name, STR_SETTING_MMS_CONNECTIONS)) {
- (void)connection_profile_create(
+ connection_profile_create(
CONNECTION_PROFILE_TYPE_CELLULAR,
_(profile_name), &con_info);
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info,
CONNECTION_CELLULAR_SERVICE_TYPE_MMS);
} else if (!safeStrCmp(ad->con_name,
"IDS_ST_BODY_INTERNET_CONNECTION")) {
- (void)connection_profile_create(
+ connection_profile_create(
CONNECTION_PROFILE_TYPE_CELLULAR,
_(profile_name), &con_info);
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info,
CONNECTION_CELLULAR_SERVICE_TYPE_INTERNET);
} else {
/* need to change con_name */
- (void)connection_profile_create(
+ connection_profile_create(
CONNECTION_PROFILE_TYPE_CELLULAR,
_(profile_name), &con_info);
if (CONNECTION_CELLULAR_SERVICE_TYPE_INTERNET
== s_info.srvType) {
/* Internet */
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info,
CONNECTION_CELLULAR_SERVICE_TYPE_INTERNET);
} else if (CONNECTION_CELLULAR_SERVICE_TYPE_MMS
== s_info.srvType) {
/* MMS */
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info,
CONNECTION_CELLULAR_SERVICE_TYPE_MMS);
} else { /* MMS + Internet(Together) */
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info,
CONNECTION_CELLULAR_SERVICE_TYPE_INTERNET);
- (void)connection_profile_create(
+ connection_profile_create(
CONNECTION_PROFILE_TYPE_CELLULAR,
_(profile_name), &con_info_2);
- (void)connection_profile_set_cellular_service_type(
+ connection_profile_set_cellular_service_type(
con_info_2,
CONNECTION_CELLULAR_SERVICE_TYPE_MMS);
SETTING_TRACE("con_info_2:%p", con_info_2);
/* save access name */
SETTING_TRACE("acs_name:%s", acs_name);
- (void)connection_profile_set_cellular_apn(con_info, acs_name);
+ connection_profile_set_cellular_apn(con_info, acs_name);
if (con_info_2)
- (void)connection_profile_set_cellular_apn(con_info_2,
+ connection_profile_set_cellular_apn(con_info_2,
acs_name);
FREE(acs_name);
SETTING_TRACE("-----> radio button state: %d",
elm_radio_value_get(s_info.chk_type));
- (void)connection_profile_set_cellular_auth_info(con_info, type,
+ connection_profile_set_cellular_auth_info(con_info, type,
usr_name, pwd);
if (con_info_2)
- (void)connection_profile_set_cellular_auth_info(con_info_2,
+ connection_profile_set_cellular_auth_info(con_info_2,
type, usr_name, pwd);
/* save proxy addr */
== s_info.srvType)) {
home = elm_entry_markup_to_utf8(s_info.data_hm_url->sub_desc);
if (home == (char *)NULL) {
- (void)connection_profile_set_cellular_home_url(
+ connection_profile_set_cellular_home_url(
con_info, URL_HEAD);
} else {
if (!safeStrCmp(home, "")) {
home = strdup(URL_HEAD);
ret = SETTING_DNET_RETURN_NULL_HOMEURL;
}
- (void)connection_profile_set_cellular_home_url(
+ connection_profile_set_cellular_home_url(
con_info, home);
}
FREE(home);
if (con_info_2) { /* creating both internet + MMS */
home = elm_entry_markup_to_utf8(s_info.data_hm_url->sub_desc);
if (home == (char *)NULL) {
- (void)connection_profile_set_cellular_home_url(
+ connection_profile_set_cellular_home_url(
con_info_2, URL_HEAD);
} else {
if (!safeStrCmp(home, "")) {
home = strdup(URL_HEAD);
ret = SETTING_DNET_RETURN_NULL_HOMEURL;
}
- (void)connection_profile_set_cellular_home_url(
+ connection_profile_set_cellular_home_url(
con_info_2, home);
}
FREE(home);
/* Add a new profile */
connection_cellular_service_type_e type =
CONNECTION_CELLULAR_SERVICE_TYPE_UNKNOWN;
- (void)connection_profile_get_cellular_service_type(con_info,
+ connection_profile_get_cellular_service_type(con_info,
&type);
err = connection_add_profile(ad->connection, con_info);
return SETTING_DNET_RETURN_ERR;
}
- (void)connection_profile_destroy(con_info);
+ connection_profile_destroy(con_info);
if (con_info_2) { /* just for MMS + internet */
connection_cellular_service_type_e type =
CONNECTION_CELLULAR_SERVICE_TYPE_UNKNOWN;
- (void)connection_profile_get_cellular_service_type(
+ connection_profile_get_cellular_service_type(
con_info_2, &type);
/* Add a new profile */
err = connection_add_profile(ad->connection,
0, false, false, 0);
return ret;
}
- (void)connection_profile_destroy(con_info_2);
+ connection_profile_destroy(con_info_2);
}
} else {
1);
if (s_info.popup_chk && elm_check_state_get(
s_info.popup_chk)) {
- (void)vconf_set_bool(
- VCONFKEY_SETAPPL_MOBILE_DATA_ON_REMINDER,
- 0);
+ vconf_set_bool(VCONFKEY_SETAPPL_MOBILE_DATA_ON_REMINDER, 0);
}
_activate_state_data_roaming(ad, true);
0);
if (s_info.popup_chk && elm_check_state_get(
s_info.popup_chk)) {
- (void)vconf_set_bool(
- VCONFKEY_SETAPPL_MOBILE_DATA_OFF_REMINDER,
- 0);
+ vconf_set_bool(VCONFKEY_SETAPPL_MOBILE_DATA_OFF_REMINDER, 0);
}
_activate_state_data_roaming(ad, false);
ok_cnt++;
if (is_default && first_valid_item) {
first_profile_h = (connection_profile_h)(first_valid_item->belongs_to);
- (void)connection_set_default_cellular_service_profile(
+ connection_set_default_cellular_service_profile(
ad->connection,
ad->profile_service_type,
first_profile_h);
SETTING_TRACE_ERROR("*** [ERR] tel_get_network_serving. ***");
}
- (void) vconf_notify_key_changed(VCONFKEY_TELEPHONY_NWNAME, __selected_network_change_cb, ad);
- (void) vconf_notify_key_changed(VCONFKEY_TELEPHONY_SPN_DISP_CONDITION, __selected_network_change_cb, ad);
- (void) vconf_notify_key_changed(VCONFKEY_TELEPHONY_SPN_NAME, __selected_network_change_cb, ad);
- (void) vconf_notify_key_changed(VCONFKEY_TELEPHONY_SVCTYPE, __selected_network_change_cb, ad);
- (void) vconf_notify_key_changed(VCONFKEY_TELEPHONY_FLIGHT_MODE, __selected_network_change_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_TELEPHONY_NWNAME, __selected_network_change_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_TELEPHONY_SPN_DISP_CONDITION, __selected_network_change_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_TELEPHONY_SPN_NAME, __selected_network_change_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_TELEPHONY_SVCTYPE, __selected_network_change_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_TELEPHONY_FLIGHT_MODE, __selected_network_change_cb, ad);
SETTING_TRACE_END;
}
void select_network_terminate(void)
{
SETTING_TRACE_BEGIN;
- (void) vconf_ignore_key_changed(VCONFKEY_TELEPHONY_NWNAME, __selected_network_change_cb);
- (void) vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SPN_DISP_CONDITION, __selected_network_change_cb);
- (void) vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SPN_NAME, __selected_network_change_cb);
- (void) vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SVCTYPE, __selected_network_change_cb);
- (void) vconf_ignore_key_changed(VCONFKEY_TELEPHONY_FLIGHT_MODE, __selected_network_change_cb);
+ vconf_ignore_key_changed(VCONFKEY_TELEPHONY_NWNAME, __selected_network_change_cb);
+ vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SPN_DISP_CONDITION, __selected_network_change_cb);
+ vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SPN_NAME, __selected_network_change_cb);
+ vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SVCTYPE, __selected_network_change_cb);
+ vconf_ignore_key_changed(VCONFKEY_TELEPHONY_FLIGHT_MODE, __selected_network_change_cb);
FREE(s_info.sel_network);
SETTING_TRACE_END;
retv_if(data == NULL, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER);
/*Ints */
- (void)vconf_notify_key_changed(VCONFKEY_SYSMAN_MMC_STATUS,
+ vconf_notify_key_changed(VCONFKEY_SYSMAN_MMC_STATUS,
__sound_vconf_change_cb, data);
/*Bools */
- (void)vconf_notify_key_changed(VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
__sound_vconf_change_cb, data);
- (void)vconf_notify_key_changed(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
__sound_vconf_change_cb, data);
- (void)vconf_notify_key_changed(
+ vconf_notify_key_changed(
VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL,
__sound_vconf_change_cb, data);
- (void)vconf_notify_key_changed(VCONFKEY_SETAPPL_BUTTON_SOUNDS_BOOL,
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_BUTTON_SOUNDS_BOOL,
__sound_vconf_change_cb, data);
- (void)vconf_notify_key_changed(VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
__sound_vconf_change_cb, data);
- (void)vconf_notify_key_changed(VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
__sound_vconf_change_cb, data);
return 0;
{
/* unused listen */
/*Ints */
- (void)vconf_ignore_key_changed(VCONFKEY_SYSMAN_MMC_STATUS,
+ vconf_ignore_key_changed(VCONFKEY_SYSMAN_MMC_STATUS,
__sound_vconf_change_cb);
/*Bools */
- (void)vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
__sound_vconf_change_cb);
- (void)vconf_ignore_key_changed(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
__sound_vconf_change_cb);
- (void)vconf_ignore_key_changed(
+ vconf_ignore_key_changed(
VCONFKEY_SETAPPL_VIBRATE_WHEN_RINGING_BOOL,
__sound_vconf_change_cb);
- (void)vconf_ignore_key_changed(VCONFKEY_SETAPPL_BUTTON_SOUNDS_BOOL,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_BUTTON_SOUNDS_BOOL,
__sound_vconf_change_cb);
- (void)vconf_ignore_key_changed(VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
__sound_vconf_change_cb);
- (void)vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
__sound_vconf_change_cb);
return 0;
if (sound_value == FALSE)
mm_value = 0;
- (void)app_get_id(&app_id);
+ app_get_id(&app_id);
if (app_id && !strcmp(VOLUME_APP_NAME, app_id))
optional_txt = "IDS_ST_MBODY_RINGTONE";
if (APP_CONTROL_RESULT_SUCCEEDED != result)
return;
- (void)app_control_get_extra_data_array(reply, APP_CONTROL_DATA_SELECTED,
+ app_control_get_extra_data_array(reply, APP_CONTROL_DATA_SELECTED,
&paths, &arr_len);
if (!paths || arr_len == 0)
return;
&sound_value) < 0)
sound_value = TRUE;
- (void)sound_manager_get_volume(SOUND_TYPE_RINGTONE, &volume);
+ sound_manager_get_volume(SOUND_TYPE_RINGTONE, &volume);
if (sound_value == FALSE)
volume = 0;
if (sound_data->data_call_volume
volume);
}
- (void)sound_manager_get_volume(SOUND_TYPE_NOTIFICATION, &volume);
+ sound_manager_get_volume(SOUND_TYPE_NOTIFICATION, &volume);
if (sound_value == FALSE)
volume = 0;
if (sound_data->data_noti_volume
volume);
}
- (void)sound_manager_get_volume(SOUND_TYPE_MEDIA, &volume);
+ sound_manager_get_volume(SOUND_TYPE_MEDIA, &volume);
if (sound_data->data_media_volume
&& sound_data->data_media_volume->eo_check) {
sound_data->data_media_volume->chk_status = volume;
volume);
}
- (void)sound_manager_get_volume(SOUND_TYPE_SYSTEM, &volume);
+ sound_manager_get_volume(SOUND_TYPE_SYSTEM, &volume);
if (sound_value == FALSE)
volume = 0;
if (sound_data->data_touch_volume
ret_if(ret != 0 || !music_chooser_handle);
- (void)app_control_set_operation(music_chooser_handle,
+ app_control_set_operation(music_chooser_handle,
APP_CONTROL_OPERATION_PICK);
- (void)app_control_set_mime(music_chooser_handle, "audio/*");
- (void)app_control_set_app_id(music_chooser_handle,
+ app_control_set_mime(music_chooser_handle, "audio/*");
+ app_control_set_app_id(music_chooser_handle,
"org.tizen.music-chooser");
- (void)app_control_add_extra_data(music_chooser_handle,
+ app_control_add_extra_data(music_chooser_handle,
APP_CONTROL_DATA_SELECTION_MODE,
"single");
- (void)app_control_add_extra_data(music_chooser_handle,
+ app_control_add_extra_data(music_chooser_handle,
APP_CONTROL_DATA_SELECTION_MODE,
"single");
- (void)app_control_add_extra_data(music_chooser_handle, "request_type",
+ app_control_add_extra_data(music_chooser_handle, "request_type",
"SelectRingtone");
ret = app_control_send_launch_request(music_chooser_handle,
_music_chooser_appctl_reply_cb,
!app_control_get_caller(service, &caller_id) &&
!safeStrCmp("org.tizen.setting-profile", caller_id);
- (void)app_control_get_extra_data(service, "show_notification", &show_notification);
+ app_control_get_extra_data(service, "show_notification", &show_notification);
ad->show_notification = (show_notification && !safeStrCmp(show_notification, "true"));
free(show_notification);
show_notification = NULL;
ad->default_substitution = NULL;
- (void)app_control_get_extra_data(service, "default_substitution",
+ app_control_get_extra_data(service, "default_substitution",
&ad->default_substitution);
- (void)app_control_get_extra_data_array(service, APP_CONTROL_DATA_SELECTED, &paths, &paths_len);
+ app_control_get_extra_data_array(service, APP_CONTROL_DATA_SELECTED, &paths, &paths_len);
if (paths_len > 0)
ad->appctl_file_path = strndup(paths[0], PATH_MAX);
else
paths = NULL;
paths_len = 0;
- (void)app_control_get_extra_data_array(service, APP_CONTROL_DATA_PATH, &paths, &paths_len);
+ app_control_get_extra_data_array(service, APP_CONTROL_DATA_PATH, &paths, &paths_len);
ad->appctl_dir_path = NULL;
if (paths_len > 0) {
/* This is the situation when someone has chosen one of
static void _smartmgr_battery_app_pause(void *data)
{
retm_if(!data, "data=%p is Invalid", data);
- (void)device_remove_callback(DEVICE_CALLBACK_BATTERY_CAPACITY,
+ device_remove_callback(DEVICE_CALLBACK_BATTERY_CAPACITY,
_battery_changed_cb);
- (void)device_remove_callback(DEVICE_CALLBACK_BATTERY_CHARGING,
+ device_remove_callback(DEVICE_CALLBACK_BATTERY_CHARGING,
_battery_changed_cb);
}
SmartMgrBattery *ad = data;
retm_if(NULL == data, "data=%p is Invalid", data);
- (void)device_add_callback(DEVICE_CALLBACK_BATTERY_CAPACITY,
+ device_add_callback(DEVICE_CALLBACK_BATTERY_CAPACITY,
_battery_changed_cb, ad);
- (void)device_add_callback(DEVICE_CALLBACK_BATTERY_CHARGING,
+ device_add_callback(DEVICE_CALLBACK_BATTERY_CHARGING,
_battery_changed_cb, ad);
_get_battery_info(ad);
_free_battery_usage_details_list(ad);
abort();
}
- (void)context_history_list_get_current(list, &record);
- (void)context_history_record_get_string(record,
+ context_history_list_get_current(list, &record);
+ context_history_record_get_string(record,
CONTEXT_HISTORY_APP_ID, &app->appid);
- (void)context_history_record_get_double(record,
+ context_history_record_get_double(record,
CONTEXT_HISTORY_TOTAL_AMOUNT, &app->percent);
/* Attribute not available officially: */
- (void)context_history_record_get_int(record, "UsedTime",
+ context_history_record_get_int(record, "UsedTime",
&app->event_start_time);
app_info_create(app->appid, &app_info);
if (app_info) {
package_manager_get_package_id_by_app_id(app->appid,
&app->pkgid);
ad->apps = eina_list_append(ad->apps, app);
- (void)context_history_record_destroy(record);
+ context_history_record_destroy(record);
record = NULL;
app_info = NULL;
- (void)context_history_list_move_next(list);
+ context_history_list_move_next(list);
}
cleanup:
if (restrictions_res != RESTRICTIONS_OK) {
SETTING_TRACE_ERROR(
"set_mobile_restriction_rule_parameters() error");
+
+ stc_restriction_rule_destroy(mobile_rule);
free(subscriber_id);
return STC_CALLBACK_CONTINUE;
}
if (STC_ERROR_NONE != ret) {
SETTING_TRACE_ERROR("stc_unset_restriction() error: %s",
get_error_message(ret));
+ stc_restriction_rule_destroy(mobile_rule);
free(subscriber_id);
return STC_CALLBACK_CONTINUE;
}
+
+ stc_restriction_rule_destroy(mobile_rule);
+
}
free(subscriber_id);
return STC_CALLBACK_CONTINUE;
}
- (void)stc_restriction_rule_get_app_id(rule, &app_id);
+ stc_restriction_rule_get_app_id(rule, &app_id);
if (!app_id ||
(strcmp("TOTAL_DATACALL", app_id) && strcmp("TOTAL_WIFI", app_id))) {
free(app_id);
return STC_CALLBACK_CONTINUE;
}
- (void)stc_restriction_rule_get_iface_type(rule, &iface_type);
+
SETTING_TRACE_DEBUG("Obtained iface: %d", iface_type);
if (iface_type == STC_IFACE_DATACALL) {
if (ret != STC_ERROR_NONE) {
SETTING_TRACE_ERROR("stc_stats_rule_create() error: %s",
get_error_message(ret));
- stc_stats_rule_destroy(rule);
return true;
}
if (ret != STC_ERROR_NONE) {
SETTING_TRACE_ERROR("stc_get_stats() error: %s",
get_error_message(ret));
- if (STC_ERROR_IN_PROGRESS == ret) {
- stc_stats_rule_destroy(rule);
- return false;
- }
+
stc_stats_rule_destroy(rule);
+ if (STC_ERROR_IN_PROGRESS == ret)
+ return false;
return true;
}
if (ret != STC_ERROR_NONE) {
SETTING_TRACE_ERROR("stc_stats_rule_set_time_interval() error: %s",
get_error_message(ret));
- (void)stc_stats_rule_destroy(rule);
+ stc_stats_rule_destroy(rule);
return true;
}
if (ret != STC_ERROR_NONE) {
SETTING_TRACE_ERROR("stc_stats_rule_set_iface_type() error: %s",
get_error_message(ret));
- (void)stc_stats_rule_destroy(rule);
+ stc_stats_rule_destroy(rule);
return true;
}
if (ret != STC_ERROR_NONE) {
SETTING_TRACE_ERROR("stc_get_total_stats() error: %s",
get_error_message(ret));
- (void)stc_stats_rule_destroy(rule);
+ stc_stats_rule_destroy(rule);
if (STC_ERROR_IN_PROGRESS == ret)
return false;
return true;
}
- (void)stc_stats_rule_destroy(rule);
+ stc_stats_rule_destroy(rule);
return true;
}
if (STC_ERROR_NONE != ret) {
SETTING_TRACE_ERROR("SIM stc_foreach_restriction() error: %s",
get_error_message(ret));
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
if (STC_ERROR_IN_PROGRESS == ret)
return false;
return true;
}
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
return true;
}
ret = stc_restriction_rule_set_app_id(rule, "TOTAL_DATACALL");
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR("stc_restriction_rule_set_app_id() error: %s",
get_error_message(ret));
return RESTRICTIONS_ERROR;
ret = stc_restriction_rule_set_iface_type(rule, STC_IFACE_DATACALL);
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR("stc_restriction_rule_set_iface_type() error: %s",
get_error_message(ret));
return RESTRICTIONS_ERROR;
ret = stc_restriction_rule_set_subscriber_id(rule, subscriber_id);
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR("stc_restriction_rule_set_subscriber_id() error:"\
"%s", get_error_message(ret));
ret = stc_restriction_rule_set_limit(rule, limit);
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR("stc_restriction_rule_set_limit() error: %s",
get_error_message(ret));
return RESTRICTIONS_ERROR;
ret = stc_restriction_rule_set_warning_limit(rule, warning_limit);
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR(
"stc_restriction_rule_set_warning_limit() error: %s",
get_error_message(ret));
warning_limit);
if (RESTRICTIONS_OK != result) {
SETTING_TRACE_ERROR("set_restriction_rule_parameters() error");
+ stc_restriction_rule_destroy(rule);
return result;
}
ret = stc_set_restriction(stc_handle, rule);
if (STC_ERROR_NONE != ret) {
- (void)stc_restriction_rule_destroy(rule);
SETTING_TRACE_ERROR("stc_set_restriction() error: %s",
get_error_message(ret));
+ stc_restriction_rule_destroy(rule);
return RESTRICTIONS_ERROR;
}
- (void)stc_restriction_rule_destroy(rule);
+ stc_restriction_rule_destroy(rule);
SETTING_TRACE_END;
return RESTRICTIONS_OK;
}
evas_object_show(ad->md.window);
ad->launched_by_external_app = false;
- (void)app_control_get_extra_data(app_control, "viewtype", &value);
+ app_control_get_extra_data(app_control, "viewtype", &value);
ad->launch_mode = value;
setting_get_bool_slp_key(BOOL_SLP_SETTING_AUTOMATIC_TIME_UPDATE,
&bvalue, &err);
if (bvalue) {
- (void) setting_set_bool_slp_key(
+ setting_set_bool_slp_key(
BOOL_SLP_SETTING_AUTOMATIC_TIME_UPDATE,
SETTING_ON_OFF_BTN_OFF, &err);
setting_update_gl_item_chk_status(ad->data_auto, 0);
setting_update_gl_item_chk_status(list_item, !old_status);
int err = 0;
if (!list_item->chk_status) {
- (void)
- setting_set_bool_slp_key
- (BOOL_SLP_SETTING_AUTOMATIC_TIME_UPDATE,
- SETTING_ON_OFF_BTN_OFF, &err);
+ setting_set_bool_slp_key(BOOL_SLP_SETTING_AUTOMATIC_TIME_UPDATE,
+ SETTING_ON_OFF_BTN_OFF, &err);
if (ad->data_tz)
elm_object_item_disabled_set(ad->data_tz->item, EINA_FALSE);