2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_SYSTEM_SETTING_PRIVATE_H__
19 #define __TIZEN_SYSTEM_SETTING_PRIVATE_H__
27 #include <system_settings.h>
33 #define LOG_TAG "SYSTEM-SETTINGS"
35 #define SYSTEM_SETTINGS_ENABLE_TRACE
37 #ifdef SYSTEM_SETTINGS_ENABLE_TRACE
40 #define SETTING_TRACE_DEBUG(fmt, arg...) \
42 SECURE_LOGD("\033[0;32mDEBUG: " fmt "\033[0m\n", ##arg);\
45 #define SETTING_TRACE(fmt, arg...) \
47 SECURE_LOGI("\033[0;36m" fmt "\033[0m\n", ##arg);\
50 #define SETTING_TRACE_BEGIN do {\
51 SECURE_LOGD("\033[0;35mENTER FUNCTION: %s. \033[0m\n", __FUNCTION__);\
54 #define SETTING_TRACE_END do {\
55 SECURE_LOGD("\033[0;35mEXIT FUNCTION: %s. \033[0m\n", __FUNCTION__);\
58 #define SETTING_TRACE_DEBUG(fmt, arg...)
59 #define SETTING_TRACE(fmt, arg...)
60 #define SETTING_TRACE_BEGIN
61 #define SETTING_TRACE_END
65 #define SETTING_PROFILE_PATH "tizen.org/feature/profile"
66 #define SETTING_3G_TELEPHONY_PATH "tizen.org/feature/network.telephony.service.cdma"
71 * Enumeration for data type of internal getter/setter.
74 SYSTEM_SETTING_DATA_TYPE_STRING, /**< string */
75 SYSTEM_SETTING_DATA_TYPE_INT, /**< integer */
76 SYSTEM_SETTING_DATA_TYPE_BOOL, /**< boolean */
78 /*SYSTEM_SETTING_DATA_TYPE_FLOAT, */
79 /*SYSTEM_SETTING_DATA_TYPE_DOULBE, */
82 system_setting_data_type_e;
87 * Enumeration for supported profile info
90 SYSTEM_SETTING_SUPPORTED_PROFILE_MOBILE = 0x1, /**< mobile */
91 SYSTEM_SETTING_SUPPORTED_PROFILE_WEARABLE = 0x2, /**< wearable */
92 SYSTEM_SETTING_SUPPORTED_PROFILE_TV = 0x4, /**< tv */
93 SYSTEM_SETTING_SUPPORTED_PROFILE_COMMON = 0x8, /**< common*/
94 SYSTEM_SETTING_SUPPORTED_PROFILE_ALL = 0xF, /**< all of profiles */
96 system_setting_supported_profile_info_e;
101 * @return 0 on success, otherwise a negative error value
102 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
103 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
104 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
105 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
107 typedef int (*system_setting_get_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
112 * @return 0 on success, otherwise a negative error value
113 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
114 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
115 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
116 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
118 typedef int (*system_setting_set_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
120 typedef int (*system_setting_add_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
121 typedef int (*system_setting_del_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
122 typedef int (*system_setting_list_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, system_settings_iter_cb callback, void *user_data);
124 typedef int (*system_setting_feature_check_cb)(void *value);
129 * @return 0 on success, otherwise a negative error value
130 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
131 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
132 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
133 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
135 typedef int (*system_setting_set_changed_callback_cb)(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
140 * @return 0 on success, otherwise a negative error value
141 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
142 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
143 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
144 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
146 typedef int (*system_setting_unset_changed_callback_cb)(system_settings_key_e key);
152 * @return 0 on success, otherwise a negative error value
153 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
154 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
155 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
158 system_settings_key_e key; /**< key */
159 system_setting_data_type_e data_type; /**< data type */
160 system_setting_get_value_cb get_value_cb; /**< function pointer for getter */
161 system_setting_set_value_cb set_value_cb; /**< function pointer for setter */
163 system_setting_set_changed_callback_cb set_changed_cb; /**< function pointer to register for notification callback */
164 system_setting_unset_changed_callback_cb unset_changed_cb ; /**< function pointer to un-register for notification callback */
165 system_settings_changed_cb changed_cb; /* registered by user application */
167 system_setting_add_value_cb add_value_cb;
168 system_setting_del_value_cb del_value_cb;
169 system_setting_list_value_cb list_value_cb;
171 system_setting_feature_check_cb feature_check_cb;
173 void *user_data; /* user_data */
177 typedef system_setting_s *system_setting_h;
183 * @return 0 on success, otherwise a negative error value
184 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
185 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
186 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
187 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
188 * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
190 int system_settings_get_item(system_settings_key_e key, system_setting_h *item);
197 * @brief get vconf of in type value
200 * @param[in] vconf_key string
201 * @param[out] value get the integer type value
203 * @return 0 on success, -1 on error
204 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
206 int system_setting_vconf_get_value_int(const char *vconf_key, int *value);
210 * @brief get vconf of in bool value
213 * @param[in] vconf_key string
214 * @param[out] value get the bool type value
216 * @return 0 on success, -1 on error
217 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
219 int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value);
223 * @brief get vconf of string type value
226 * @param[in] vconf_key string
227 * @param[out] value get the string(char*) type value
229 * @return 0 on success, -1 on error
230 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
232 int system_setting_vconf_get_value_string(const char *vconf_key, char **value);
236 * @brief set the int type vconf value
239 * @param[in] vconf_key key name
240 * @param[in] value int type value
242 * @return 0 on success, -1 on error
243 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
245 int system_setting_vconf_set_value_int(const char *vconf_key, int value);
249 * @brief set the bool type vconf value
252 * @param[in] vconf_key key name
253 * @param[in] value bool type value
255 * @return 0 on success, -1 on error
256 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
258 int system_setting_vconf_set_value_bool(const char *vconf_key, bool value);
262 * @brief set the string type vconf value
265 * @param[in] vconf_key key name
266 * @param[in] value string type value
268 * @return 0 on success, -1 on error
269 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
271 int system_setting_vconf_set_value_string(const char *vconf_key, char *value);
275 * @brief Set the system settings notification callback
277 * @param[in] vconf_key
279 * @param[in] slot internal slot to set the key (0~4)
280 * @param[in] user_data user data
281 * @return 0 on success, otherwise a negative error value
282 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
283 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
284 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
286 int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, int slot, void *user_data);
290 * @brief Unset the system settings notification callback
292 * @param[in] vconf_key vconf key name used in the code
293 * @param[in] slot internal slot to set the key (0~4)
294 * @return 0 on success, otherwise a negative error value
295 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
296 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
297 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
299 int system_setting_vconf_unset_changed_cb(const char *vconf_key, int slot);
303 * @brief get current font size
305 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
306 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
307 * @return 0 on success, otherwise a negative error value
308 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
309 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
310 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
312 int system_setting_get_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
316 * @brief set current font size
318 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
319 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
320 * @param[out] value the font size
321 * @return 0 on success, otherwise a negative error value
322 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
323 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
324 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
326 int system_setting_set_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
331 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
333 int system_setting_set_changed_callback_font_size(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
338 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
340 int system_setting_unset_changed_callback_font_size(system_settings_key_e key);
347 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
349 int system_setting_get_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
353 * @brief set current path of the ringtone
355 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
356 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
357 * @param[out] value the ringtone
358 * @return 0 on success, otherwise a negative error value
359 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
360 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
361 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
363 int system_setting_set_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
367 * @todo add comment here
369 int system_setting_add_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
373 * @todo add comment here
375 int system_setting_del_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
379 * @todo add comment here
381 int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, system_settings_iter_cb callback, void *data);
386 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
388 int system_setting_set_changed_callback_incoming_call_ringtone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
393 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
395 int system_setting_unset_changed_callback_incoming_call_ringtone(system_settings_key_e key);
401 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
403 int system_setting_get_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
407 * @brief set current path of the email-alert
409 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE
410 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
411 * @param[out] value the alert ringtone
412 * @return 0 on success, otherwise a negative error value
413 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
414 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
415 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
417 int system_setting_set_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
422 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
424 int system_setting_set_changed_callback_email_alert_ringtone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
429 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
431 int system_setting_unset_changed_callback_email_alert_ringtone(system_settings_key_e key);
438 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
440 int system_setting_get_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
444 * @brief set current path of the wallpaper
446 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
447 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
448 * @param[out] value the wallpaper
449 * @return 0 on success, otherwise a negative error value
450 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
451 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
452 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
454 int system_setting_set_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
459 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
461 int system_setting_set_changed_callback_wallpaper_home_screen(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
466 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
468 int system_setting_unset_changed_callback_wallpaper_home_screen(system_settings_key_e key);
475 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
477 int system_setting_get_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
481 * @brief set current path of the bg image of the lock screen
483 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
484 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
485 * @param[out] value the lock screen
486 * @return 0 on success, otherwise a negative error value
487 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
488 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
489 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
491 int system_setting_set_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
496 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
498 int system_setting_set_changed_callback_wallpaper_lock_screen(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
503 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
505 int system_setting_unset_changed_callback_wallpaper_lock_screen(system_settings_key_e key);
511 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
513 int system_setting_get_default_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
519 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
521 int system_setting_get_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
525 * @brief set name of the font name
527 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_TYPE
528 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
529 * @param[out] value the font type
530 * @return 0 on success, otherwise a negative error value
531 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
532 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
533 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
535 int system_setting_set_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
540 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
542 int system_setting_set_changed_callback_font_type(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
547 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
549 int system_setting_unset_changed_callback_font_type(system_settings_key_e key);
555 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
557 int system_setting_get_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
561 * @brief set on/off of the motion activation
563 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION
564 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
565 * @param[out] value the motion activation
566 * @return 0 on success, otherwise a negative error value
567 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
568 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
569 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
571 int system_setting_set_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
576 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
578 int system_setting_set_changed_callback_motion_activation(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
583 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
585 int system_setting_unset_changed_callback_motion_activation(system_settings_key_e key);
591 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
593 int system_setting_get_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
597 * @brief set on/off of the debugging options
599 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED
600 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
601 * @param[out] value the usb debug option
602 * @return 0 on success, otherwise a negative error value
603 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
604 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
605 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
607 int system_setting_set_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
612 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
614 int system_setting_set_changed_callback_usb_debugging_option(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
619 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
621 int system_setting_unset_changed_callback_usb_debugging_option(system_settings_key_e key);
627 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
629 int system_setting_get_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
633 * @brief set on/off of the 3G data network option
635 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED
636 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
637 * @param[out] value the 3G data network option
638 * @return 0 on success, otherwise a negative error value
639 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
640 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
641 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
643 int system_setting_set_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
648 * @return 0 on success, otherwise a negative error value
649 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
650 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
651 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
653 int system_setting_set_changed_callback_3g_data_network(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
658 * @return 0 on success, otherwise a negative error value
659 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
660 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
661 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
663 int system_setting_unset_changed_callback_3g_data_network(system_settings_key_e key);
668 * @return 0 on success, otherwise a negative error value
669 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
670 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
671 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
673 int system_setting_get_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
678 * @return 0 on success, otherwise a negative error value
679 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
680 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
681 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
683 int system_setting_set_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
688 * @return 0 on success, otherwise a negative error value
689 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
690 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
691 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
693 int system_setting_set_changed_callback_tap_and_hold_delay(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
698 * @return 0 on success, otherwise a negative error value
699 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
700 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
701 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
703 int system_setting_unset_changed_callback_tap_and_hold_delay(system_settings_key_e key);
708 * @return 0 on success, otherwise a negative error value
709 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
710 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
711 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
713 int system_setting_get_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
718 * @return 0 on success, otherwise a negative error value
719 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
720 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
721 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
723 int system_setting_set_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
728 * @return 0 on success, otherwise a negative error value
729 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
730 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
731 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
733 int system_setting_set_changed_callback_lockscreen_app(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
738 * @return 0 on success, otherwise a negative error value
739 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
740 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
741 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
743 int system_setting_unset_changed_callback_lockscreen_app(system_settings_key_e key);
748 * @return 0 on success, otherwise a negative error value
749 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
750 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
751 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
753 int system_setting_get_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
757 * @return 0 on success, otherwise a negative error value
758 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
759 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
760 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
762 int system_setting_set_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
766 * @return 0 on success, otherwise a negative error value
767 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
768 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
769 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
771 int system_setting_set_changed_callback_locale_country(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
775 * @return 0 on success, otherwise a negative error value
776 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
777 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
778 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
780 int system_setting_unset_changed_callback_locale_country(system_settings_key_e key);
785 * @return 0 on success, otherwise a negative error value
786 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
787 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
788 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
790 int system_setting_get_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
794 * @return 0 on success, otherwise a negative error value
795 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
796 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
797 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
799 int system_setting_set_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
803 * @return 0 on success, otherwise a negative error value
804 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
805 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
806 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
808 int system_setting_set_changed_callback_locale_language(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
812 * @return 0 on success, otherwise a negative error value
813 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
814 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
815 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
817 int system_setting_unset_changed_callback_locale_language(system_settings_key_e key);
822 * @return 0 on success, otherwise a negative error value
823 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
824 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
825 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
827 int system_setting_get_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
831 * @return 0 on success, otherwise a negative error value
832 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
833 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
834 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
836 int system_setting_set_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
840 * @return 0 on success, otherwise a negative error value
841 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
842 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
843 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
845 int system_setting_set_changed_callback_locale_timeformat_24hour(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
849 * @return 0 on success, otherwise a negative error value
850 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
851 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
852 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
854 int system_setting_unset_changed_callback_locale_timeformat_24hour(system_settings_key_e key);
859 * @return 0 on success, otherwise a negative error value
860 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
861 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
862 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
864 int system_setting_get_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
869 * @return 0 on success, otherwise a negative error value
870 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
871 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
872 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
874 int system_setting_set_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
879 * @return 0 on success, otherwise a negative error value
880 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
881 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
882 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
884 int system_setting_set_changed_callback_locale_timezone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
889 * @return 0 on success, otherwise a negative error value
890 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
891 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
892 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
894 int system_setting_unset_changed_callback_locale_timezone(system_settings_key_e key);
901 * @return 0 on success, otherwise a negative error value
902 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
903 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
904 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
906 int system_setting_set_changed_callback_locale_timezone_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
910 * @return 0 on success, otherwise a negative error value
911 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
912 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
913 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
915 int system_setting_unset_changed_callback_locale_timezone_changed(system_settings_key_e key);
920 * @return 0 on success, otherwise a negative error value
921 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
922 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
923 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
925 int system_setting_get_time_changed(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
929 * @return 0 on success, otherwise a negative error value
930 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
931 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
932 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
934 int system_setting_set_changed_callback_time_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
938 * @return 0 on success, otherwise a negative error value
939 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
940 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
941 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
943 int system_setting_unset_changed_callback_time_changed(system_settings_key_e key);
949 * @return 0 on success, otherwise a negative error value
950 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
951 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
952 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
954 int system_setting_get_sound_lock(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
958 * @return 0 on success, otherwise a negative error value
959 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
960 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
961 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
963 int system_setting_set_changed_callback_sound_lock(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
967 * @return 0 on success, otherwise a negative error value
968 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
969 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
970 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
972 int system_setting_unset_changed_callback_sound_lock(system_settings_key_e key);
977 * @return 0 on success, otherwise a negative error value
978 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
979 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
980 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
982 int system_setting_get_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
987 * @return 0 on success, otherwise a negative error value
988 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
989 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
990 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
992 int system_setting_set_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
997 * @return 0 on success, otherwise a negative error value
998 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
999 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1000 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1002 int system_setting_set_changed_callback_sound_silent_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1006 * @return 0 on success, otherwise a negative error value
1007 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1008 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1009 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1011 int system_setting_unset_changed_callback_sound_silent_mode(system_settings_key_e key);
1016 * @return 0 on success, otherwise a negative error value
1017 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1018 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1019 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1021 int system_setting_get_sound_touch(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1025 * @return 0 on success, otherwise a negative error value
1026 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1027 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1028 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1030 int system_setting_set_changed_callback_sound_touch(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1034 * @return 0 on success, otherwise a negative error value
1035 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1036 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1037 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1039 int system_setting_unset_changed_callback_sound_touch(system_settings_key_e key);
1044 * @return 0 on success, otherwise a negative error value
1045 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1046 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1047 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1049 int system_setting_get_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1053 * @return 0 on success, otherwise a negative error value
1054 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1055 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1056 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1058 int system_setting_set_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1062 * @return 0 on success, otherwise a negative error value
1063 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1064 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1065 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1067 int system_setting_set_changed_callback_auto_rotation_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1071 * @return 0 on success, otherwise a negative error value
1072 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1073 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1074 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1076 int system_setting_unset_changed_callback_auto_rotation_mode(system_settings_key_e key);
1081 * @return 0 on success, otherwise a negative error value
1082 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1083 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1084 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1086 int system_setting_get_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1090 * @return 0 on success, otherwise a negative error value
1091 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1092 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1093 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1095 int system_setting_set_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1099 * @return 0 on success, otherwise a negative error value
1100 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1101 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1102 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1104 int system_setting_set_changed_callback_screen_backlight_time(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1108 * @return 0 on success, otherwise a negative error value
1109 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1110 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1111 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1113 int system_setting_unset_changed_callback_screen_backlight_time(system_settings_key_e key);
1118 * @return 0 on success, otherwise a negative error value
1119 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1120 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1121 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1123 int system_setting_get_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1127 * @return 0 on success, otherwise a negative error value
1128 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1129 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1130 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1132 int system_setting_set_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1136 * @return 0 on success, otherwise a negative error value
1137 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1138 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1139 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1141 int system_setting_set_changed_callback_sound_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1145 * @return 0 on success, otherwise a negative error value
1146 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1147 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1148 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1150 int system_setting_unset_changed_callback_sound_notification(system_settings_key_e key);
1155 * @return 0 on success, otherwise a negative error value
1156 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1157 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1158 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1160 int system_setting_get_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1164 * @return 0 on success, otherwise a negative error value
1165 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1166 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1167 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1169 int system_setting_set_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1173 * @return 0 on success, otherwise a negative error value
1174 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1175 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1176 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1178 int system_setting_set_changed_callback_notification_repetition_period(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1182 * @return 0 on success, otherwise a negative error value
1183 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1184 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1185 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1187 int system_setting_unset_changed_callback_notification_repetition_period(system_settings_key_e key);
1192 * @return 0 on success, otherwise a negative error value
1193 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1194 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1195 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1197 int system_setting_get_device_name(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1201 * @return 0 on success, otherwise a negative error value
1202 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1203 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1204 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1206 int system_setting_set_changed_callback_device_name(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1211 * @return 0 on success, otherwise a negative error value
1212 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1213 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1214 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1216 int system_setting_unset_changed_callback_device_name(system_settings_key_e key);
1221 * @return 0 on success, otherwise a negative error value
1222 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1223 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1224 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1226 int system_setting_get_network_flight_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1231 * @return 0 on success, otherwise a negative error value
1232 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1233 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1234 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1236 int system_setting_set_changed_callback_network_flight_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1241 * @return 0 on success, otherwise a negative error value
1242 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1243 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1244 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1246 int system_setting_unset_changed_callback_network_flight_mode(system_settings_key_e key);
1253 * @return 0 on success, otherwise a negative error value
1254 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1255 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1256 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1258 int system_setting_get_network_wifi_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1263 * @return 0 on success, otherwise a negative error value
1264 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1265 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1266 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1268 int system_setting_set_changed_callback_network_wifi_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1273 * @return 0 on success, otherwise a negative error value
1274 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1275 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1276 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1278 int system_setting_unset_changed_callback_network_wifi_notification(system_settings_key_e key);
1283 * @brief get current Idle Lock State
1284 * @since_tizen 2.3.1
1285 * @return 0 on success, otherwise a negative error value
1286 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1287 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1288 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1290 int system_setting_get_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1295 * @return 0 on success, otherwise a negative error value
1296 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1297 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1298 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1300 int system_setting_set_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1305 * @return 0 on success, otherwise a negative error value
1306 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1307 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1308 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1310 int system_setting_set_changed_callback_lock_state(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1315 * @return 0 on success, otherwise a negative error value
1316 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1317 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1318 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1320 int system_setting_unset_changed_callback_lock_state(system_settings_key_e key);
1324 * @brief get current ADS ID
1326 * @return 0 on success, otherwise a negative error value
1327 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1328 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1329 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1331 int system_setting_get_ads_id(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1337 * @return 0 on success, otherwise a negative error value
1338 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1339 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1340 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1342 int system_setting_set_ads_id(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1347 * @return 0 on success, otherwise a negative error value
1348 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1349 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1350 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1352 int system_setting_set_changed_callback_ads_id(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1357 * @return 0 on success, otherwise a negative error value
1358 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1359 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1360 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1362 int system_setting_unset_changed_callback_ads_id(system_settings_key_e key);
1366 * @brief get current UDS status
1368 * @return 0 on success, otherwise a negative error value
1369 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1370 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1371 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1373 int system_setting_get_uds_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1378 * @return 0 on success, otherwise a negative error value
1379 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1380 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1381 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1383 int system_setting_set_changed_callback_uds_state(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1388 * @return 0 on success, otherwise a negative error value
1389 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1390 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1391 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1393 int system_setting_unset_changed_callback_uds_state(system_settings_key_e key);
1399 * @return 0 on success, otherwise a negative error value
1400 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1401 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1402 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1404 int system_setting_set_changed_callback_uds_pkg_list(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1411 * @return 0 on success, otherwise a negative error value
1412 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1413 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1414 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1416 int system_setting_unset_changed_callback_uds_pkg_list(system_settings_key_e key);
1419 int system_setting_feature_check_profile_mobile_wearable(void *value);
1427 #endif /* __TIZEN_SYSTEM_SETTING_PRIVATE_H__ */