cleanup build scripts and filenames 60/233360/4
authorYoungjae Shin <yj99.shin@samsung.com>
Thu, 14 May 2020 06:25:36 +0000 (15:25 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Fri, 15 May 2020 03:17:39 +0000 (12:17 +0900)
Change-Id: Ied544eebcc49dbd418ba1855dee57938e42a9a7a

79 files changed:
CMakeLists.txt [changed mode: 0755->0644]
LICENSE [deleted file]
LICENSE.APLv2 [new file with mode: 0644]
README_UnitTest.md [deleted file]
capi-system-system-settings.manifest [deleted file]
capi-system-system-settings.pc.in [changed mode: 0755->0644]
debian/README [deleted file]
debian/capi-system-system-settings-dev.install [deleted file]
debian/capi-system-system-settings-dev.postinst [deleted file]
debian/capi-system-system-settings.install [deleted file]
debian/capi-system-system-settings.postinst [deleted file]
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/rules [deleted file]
doc/system_settings_doc.h
include/system_settings.h
include/system_settings_json.h [deleted file]
include/system_settings_multi_callback.h [deleted file]
include/system_settings_private.h [deleted file]
include/system_settings_ringtones.h [deleted file]
packaging/capi-system-system-settings.manifest [new file with mode: 0644]
packaging/capi-system-system-settings.spec [changed mode: 0755->0644]
src/sys_settings.c [new file with mode: 0644]
src/sys_settings.h [new file with mode: 0644]
src/sys_settings_json.c [new file with mode: 0644]
src/sys_settings_json.h [new file with mode: 0644]
src/sys_settings_multi_callback.c [new file with mode: 0644]
src/sys_settings_multi_callback.h [new file with mode: 0644]
src/sys_settings_platform.c [new file with mode: 0644]
src/sys_settings_ringtones.c [new file with mode: 0644]
src/sys_settings_ringtones.h [new file with mode: 0644]
src/sys_settings_vconf.c [new file with mode: 0644]
src/system_setting_platform.c [deleted file]
src/system_settings.c [deleted file]
src/system_settings_json.c [deleted file]
src/system_settings_multi_callback.c [deleted file]
src/system_settings_ringtones.c [deleted file]
src/system_settings_vconf.c [deleted file]
system-setting-config.h.in [deleted file]
system-settings-util/CMakeLists.txt [deleted file]
system-settings-util/include/system_settings_font.h [deleted file]
system-settings-util/include/system_settings_util.h [deleted file]
system-settings-util/src/system_settings_util.c [deleted file]
tests/CMakeLists.txt [new file with mode: 0644]
tests/mocks/efl-extension.c [new file with mode: 0644]
tests/mocks/pkgmgrinfo_appinfo.c [new file with mode: 0644]
tests/mocks/vconf.cpp [new file with mode: 0644]
tests/res/ringtone_sdk.mp3 [new file with mode: 0644]
tests/run_coverage.sh [new file with mode: 0755]
tests/scripts/convert_vconf_script_to_sql.sh [new file with mode: 0755]
tests/scripts/unit_test_gdb_script [new file with mode: 0644]
tests/scripts/unittest.sh [new file with mode: 0644]
tests/scripts/unittest2.sh [new file with mode: 0644]
tests/scripts/vconf_all.sh [new file with mode: 0755]
tests/sys_settings_test.c [new file with mode: 0644]
tests/sys_settings_test.h [new file with mode: 0644]
tests/sys_settings_test_fw.c [new file with mode: 0644]
tests/sys_settings_test_fw.h [new file with mode: 0644]
unit_test/CMakeLists.txt [deleted file]
unit_test/include/unit_test_assert.h [deleted file]
unit_test/include/unit_test_fw.h [deleted file]
unit_test/resource/ringtone_sdk.mp3 [deleted file]
unit_test/run_coverage.sh [deleted file]
unit_test/script/convert_vconf_script_to_sql.sh [deleted file]
unit_test/script/unit_test_gdb_script [deleted file]
unit_test/script/unittest.sh [deleted file]
unit_test/script/unittest2.sh [deleted file]
unit_test/script/vconf_all.sh [deleted file]
unit_test/src/efl-extension.c [deleted file]
unit_test/src/pkgmgrinfo_appinfo.c [deleted file]
unit_test/src/unit_test.c [deleted file]
unit_test/src/unit_test_fw.c [deleted file]
unit_test/src/vconf.cpp [deleted file]
unit_test/src/vconf.sym [deleted file]
utils/CMakeLists.txt [new file with mode: 0644]
utils/sys_settings_font.h [new file with mode: 0644]
utils/sys_settings_util.c [new file with mode: 0644]
utils/sys_settings_util.h [new file with mode: 0644]

old mode 100755 (executable)
new mode 100644 (file)
index 6b4b3a4..6bd9a1f
@@ -1,74 +1,21 @@
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-SET(fw_name "capi-system-system-settings")
-SET(unit_test "system-setting-unittest")
-
-PROJECT(${fw_name})
-
-SET(CMAKE_INSTALL_PREFIX /usr)
-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-
-SET(SYSTEM_SETTINGS_UTIL system-settings-util)
-SET(LIB_SYSTEM_SETTINGS_UTIL system-settings-util)
-
-#GCOV_PREFIX=/target/run’ and â€˜GCOV_PREFIX_STRIP=1
-#---------------------------------------------------------------
-# code coverage
-#---------------------------------------------------------------
-set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake)
-IF ((CMAKE_BUILD_TYPE STREQUAL "UNITTEST") OR (CMAKE_BUILD_TYPE STREQUAL "GCOVTEST"))
-       SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -g -O0 -fprofile-arcs -ftest-coverage --coverage")
-       SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -g -O0 -fprofile-arcs -ftest-coverage --coverage")
-ENDIF() #CMAKE_BUILD_TYPE STREQUAL "UNITTEST"
-#---------------------------------------------------------------
-# include/system-setting-config.h
-#---------------------------------------------------------------
-set (VERSION_MAJOR 1)
-set (VERSION_MINOR 0)
-set (SETTING_DEF_RES_PATH "\"${SETTING_DEF_RES}\"")
-
-set (SETTING_TIME_ZONEINFO_PATH "\"/usr/share/zoneinfo/\"")
-set (SETTING_TZONE_SYMLINK_PATH "\"/opt/etc/localtime\"")
-
-#      DSETTING_DEF_RES
-configure_file (
-               "${PROJECT_SOURCE_DIR}/system-setting-config.h.in"
-               "${PROJECT_SOURCE_DIR}/include/system-setting-config.h"
-)
-
-
-SET(LIBDIR "${CMAKE_LIBDIR}")
-SET(INC_DIR include)
-INCLUDE_DIRECTORIES(${INC_DIR})
-
-SET(requires "dlog vconf fontconfig libxml-2.0 pkgmgr pkgmgr-info alarm-service capi-media-metadata-extractor aul json-glib-1.0 capi-appfw-app-manager capi-appfw-package-manager capi-system-info glib-2.0")
-SET(pc_requires "capi-base-common")
-
-
-IF(TIZEN_WEARABLE)
-    ADD_DEFINITIONS(-DTIZEN_WEARABLE)
-ENDIF(TIZEN_WEARABLE)
-IF(TIZEN_MOBILE)
-    ADD_DEFINITIONS(-DTIZEN_MOBILE)
-ENDIF(TIZEN_MOBILE)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.9)
+PROJECT(capi-system-system-settings)
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(${fw_name} REQUIRED ${requires})
-FOREACH(flag ${${fw_name}_CFLAGS})
-    SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
 
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror-implicit-function-declaration")
+SET(SETTING_TZONE_SYMLINK_PATH "\"/opt/etc/localtime\"")
 
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
+SET(EXTRA_FLAGS "-Wall -Werror -fvisibility=hidden")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++11")
+SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
 
-IF("${ARCH}" STREQUAL "arm")
-    ADD_DEFINITIONS("-DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
+PKG_CHECK_MODULES(pkgs REQUIRED dlog vconf fontconfig libxml-2.0 pkgmgr pkgmgr-info
+       alarm-service capi-media-metadata-extractor aul json-glib-1.0 capi-appfw-app-manager
+       capi-appfw-package-manager capi-system-info glib-2.0)
+INCLUDE_DIRECTORIES(${pkgs_INCLUDE_DIRS})
+LINK_DIRECTORIES(${pkgs_LIBRARY_DIRS})
 
 ADD_DEFINITIONS("-D_TZ_SYS_DATA=\"${TZ_SYS_DATA}\"")
 ADD_DEFINITIONS("-D_TZ_SYS_ETC=\"${TZ_SYS_ETC}\"")
@@ -76,98 +23,24 @@ ADD_DEFINITIONS("-D_TZ_SYS_RO_SHARE=\"${TZ_SYS_RO_SHARE}\"")
 ADD_DEFINITIONS("-D_TZ_SYS_SHARE=\"${TZ_SYS_SHARE}\"")
 ADD_DEFINITIONS("-DSETTING_DEF_RES=\"${SETTING_DEF_RES}\"")
 
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-IF (CMAKE_BUILD_TYPE STREQUAL "UNITTEST")
-       SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov")
-       ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/unit_test)
-ENDIF() #CMAKE_BUILD_TYPE STREQUAL "UNITTEST"
-
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SYSTEM_SETTINGS_UTIL}/include)
-ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SYSTEM_SETTINGS_UTIL})
-
-#AUX_SOURCE_DIRECTORY(src SOURCES)
-SET(SOURCES "src/system_setting_platform.c"
-                       "src/system_settings.c"
-                       "src/system_settings_json.c"
-                       "src/system_settings_ringtones.c"
-                       "src/system_settings_multi_callback.c"
-                       "src/system_settings_vconf.c")
-
-#SET(UNITSOURES "system_setting_unittest.c")
-
-ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
-
-TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS})
-
-SET_TARGET_PROPERTIES(${fw_name}
-     PROPERTIES
-     VERSION ${FULLVER}
-     SOVERSION ${MAJORVER}
-     CLEAN_DIRECT_OUTPUT 1
-)
-
-IF (CMAKE_BUILD_TYPE STREQUAL "UNITTEST")
-       # Coverage Testing
-       INSTALL(
-               DIRECTORY "CMakeFiles" DESTINATION /usr/src/packages/BUILD/capi-system-system-settings-${FULLVER}
-                       FILES_MATCHING
-                       PATTERN "*.gcno"
-                       PATTERN "*system_setting_unittest.c.gcno" EXCLUDE
-                       )
-ENDIF() #CMAKE_BUILD_TYPE STREQUAL "UNITTEST"
-
-
-INSTALL(TARGETS ${fw_name} DESTINATION ${LIBDIR})
-INSTALL(
-        DIRECTORY ${INC_DIR}/ DESTINATION include/system
-        FILES_MATCHING
-        PATTERN "*_private.h" EXCLUDE
-        PATTERN "*_json.h" EXCLUDE
-        PATTERN "*_ringtones.h" EXCLUDE
-        PATTERN "${INC_DIR}/*.h"
-        )
-
-SET(PC_NAME ${fw_name})
-SET(PC_REQUIRED ${pc_requires})
-SET(PC_LDFLAGS -l${fw_name})
-SET(PC_CFLAGS -I\${includedir}/system)
-
-CONFIGURE_FILE(
-    capi-system-system-settings.pc.in
-    ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc
-    @ONLY
-)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIBDIR}/pkgconfig)
+IF(TIZEN_WEARABLE)
+    ADD_DEFINITIONS(-DTIZEN_WEARABLE)
+ENDIF(TIZEN_WEARABLE)
+IF(TIZEN_MOBILE)
+    ADD_DEFINITIONS(-DTIZEN_MOBILE)
+ENDIF(TIZEN_MOBILE)
 
-# INSTALL (TARGETS test DESTINATION bin)
+FILE(GLOB SRCS src/*.c)
+ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LIBRARIES})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${FULLVER} SOVERSION ${MAJORVER})
 
-IF(UNIX)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
+FILE(GLOB HEADERS include/*.h)
+INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/system)
 
-ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution)
-ADD_CUSTOM_COMMAND(
-        DEPENDS clean
-        COMMENT "distribution clean"
-        COMMAND find
-        ARGS    .
-        -not -name config.cmake -and \(
-        -name tester.c -or
-        -name Testing -or
-        -name CMakeFiles -or
-        -name cmake.depends -or
-        -name cmake.check_depends -or
-        -name CMakeCache.txt -or
-        -name cmake.check_cache -or
-        -name *.cmake -or
-        -name Makefile -or
-        -name core -or
-        -name core.* -or
-        -name gmon.out -or
-        -name install_manifest.txt -or
-        -name *.pc -or
-        -name *~ \)
-        | grep -v TC | xargs rm -rf
-        TARGET  distclean
-        VERBATIM
-)
-ENDIF(UNIX)
+CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
+INSTALL(FILES ${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
+ADD_SUBDIRECTORY(utils)
+ADD_SUBDIRECTORY(tests)
diff --git a/LICENSE b/LICENSE
deleted file mode 100755 (executable)
index bbe9d02..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,206 +0,0 @@
-Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
-\r
-                                 Apache License\r
-                           Version 2.0, January 2004\r
-                        http://www.apache.org/licenses/\r
-\r
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r
-\r
-   1. Definitions.\r
-\r
-      "License" shall mean the terms and conditions for use, reproduction,\r
-      and distribution as defined by Sections 1 through 9 of this document.\r
-\r
-      "Licensor" shall mean the copyright owner or entity authorized by\r
-      the copyright owner that is granting the License.\r
-\r
-      "Legal Entity" shall mean the union of the acting entity and all\r
-      other entities that control, are controlled by, or are under common\r
-      control with that entity. For the purposes of this definition,\r
-      "control" means (i) the power, direct or indirect, to cause the\r
-      direction or management of such entity, whether by contract or\r
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the\r
-      outstanding shares, or (iii) beneficial ownership of such entity.\r
-\r
-      "You" (or "Your") shall mean an individual or Legal Entity\r
-      exercising permissions granted by this License.\r
-\r
-      "Source" form shall mean the preferred form for making modifications,\r
-      including but not limited to software source code, documentation\r
-      source, and configuration files.\r
-\r
-      "Object" form shall mean any form resulting from mechanical\r
-      transformation or translation of a Source form, including but\r
-      not limited to compiled object code, generated documentation,\r
-      and conversions to other media types.\r
-\r
-      "Work" shall mean the work of authorship, whether in Source or\r
-      Object form, made available under the License, as indicated by a\r
-      copyright notice that is included in or attached to the work\r
-      (an example is provided in the Appendix below).\r
-\r
-      "Derivative Works" shall mean any work, whether in Source or Object\r
-      form, that is based on (or derived from) the Work and for which the\r
-      editorial revisions, annotations, elaborations, or other modifications\r
-      represent, as a whole, an original work of authorship. For the purposes\r
-      of this License, Derivative Works shall not include works that remain\r
-      separable from, or merely link (or bind by name) to the interfaces of,\r
-      the Work and Derivative Works thereof.\r
-\r
-      "Contribution" shall mean any work of authorship, including\r
-      the original version of the Work and any modifications or additions\r
-      to that Work or Derivative Works thereof, that is intentionally\r
-      submitted to Licensor for inclusion in the Work by the copyright owner\r
-      or by an individual or Legal Entity authorized to submit on behalf of\r
-      the copyright owner. For the purposes of this definition, "submitted"\r
-      means any form of electronic, verbal, or written communication sent\r
-      to the Licensor or its representatives, including but not limited to\r
-      communication on electronic mailing lists, source code control systems,\r
-      and issue tracking systems that are managed by, or on behalf of, the\r
-      Licensor for the purpose of discussing and improving the Work, but\r
-      excluding communication that is conspicuously marked or otherwise\r
-      designated in writing by the copyright owner as "Not a Contribution."\r
-\r
-      "Contributor" shall mean Licensor and any individual or Legal Entity\r
-      on behalf of whom a Contribution has been received by Licensor and\r
-      subsequently incorporated within the Work.\r
-\r
-   2. Grant of Copyright License. Subject to the terms and conditions of\r
-      this License, each Contributor hereby grants to You a perpetual,\r
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
-      copyright license to reproduce, prepare Derivative Works of,\r
-      publicly display, publicly perform, sublicense, and distribute the\r
-      Work and such Derivative Works in Source or Object form.\r
-\r
-   3. Grant of Patent License. Subject to the terms and conditions of\r
-      this License, each Contributor hereby grants to You a perpetual,\r
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
-      (except as stated in this section) patent license to make, have made,\r
-      use, offer to sell, sell, import, and otherwise transfer the Work,\r
-      where such license applies only to those patent claims licensable\r
-      by such Contributor that are necessarily infringed by their\r
-      Contribution(s) alone or by combination of their Contribution(s)\r
-      with the Work to which such Contribution(s) was submitted. If You\r
-      institute patent litigation against any entity (including a\r
-      cross-claim or counterclaim in a lawsuit) alleging that the Work\r
-      or a Contribution incorporated within the Work constitutes direct\r
-      or contributory patent infringement, then any patent licenses\r
-      granted to You under this License for that Work shall terminate\r
-      as of the date such litigation is filed.\r
-\r
-   4. Redistribution. You may reproduce and distribute copies of the\r
-      Work or Derivative Works thereof in any medium, with or without\r
-      modifications, and in Source or Object form, provided that You\r
-      meet the following conditions:\r
-\r
-      (a) You must give any other recipients of the Work or\r
-          Derivative Works a copy of this License; and\r
-\r
-      (b) You must cause any modified files to carry prominent notices\r
-          stating that You changed the files; and\r
-\r
-      (c) You must retain, in the Source form of any Derivative Works\r
-          that You distribute, all copyright, patent, trademark, and\r
-          attribution notices from the Source form of the Work,\r
-          excluding those notices that do not pertain to any part of\r
-          the Derivative Works; and\r
-\r
-      (d) If the Work includes a "NOTICE" text file as part of its\r
-          distribution, then any Derivative Works that You distribute must\r
-          include a readable copy of the attribution notices contained\r
-          within such NOTICE file, excluding those notices that do not\r
-          pertain to any part of the Derivative Works, in at least one\r
-          of the following places: within a NOTICE text file distributed\r
-          as part of the Derivative Works; within the Source form or\r
-          documentation, if provided along with the Derivative Works; or,\r
-          within a display generated by the Derivative Works, if and\r
-          wherever such third-party notices normally appear. The contents\r
-          of the NOTICE file are for informational purposes only and\r
-          do not modify the License. You may add Your own attribution\r
-          notices within Derivative Works that You distribute, alongside\r
-          or as an addendum to the NOTICE text from the Work, provided\r
-          that such additional attribution notices cannot be construed\r
-          as modifying the License.\r
-\r
-      You may add Your own copyright statement to Your modifications and\r
-      may provide additional or different license terms and conditions\r
-      for use, reproduction, or distribution of Your modifications, or\r
-      for any such Derivative Works as a whole, provided Your use,\r
-      reproduction, and distribution of the Work otherwise complies with\r
-      the conditions stated in this License.\r
-\r
-   5. Submission of Contributions. Unless You explicitly state otherwise,\r
-      any Contribution intentionally submitted for inclusion in the Work\r
-      by You to the Licensor shall be under the terms and conditions of\r
-      this License, without any additional terms or conditions.\r
-      Notwithstanding the above, nothing herein shall supersede or modify\r
-      the terms of any separate license agreement you may have executed\r
-      with Licensor regarding such Contributions.\r
-\r
-   6. Trademarks. This License does not grant permission to use the trade\r
-      names, trademarks, service marks, or product names of the Licensor,\r
-      except as required for reasonable and customary use in describing the\r
-      origin of the Work and reproducing the content of the NOTICE file.\r
-\r
-   7. Disclaimer of Warranty. Unless required by applicable law or\r
-      agreed to in writing, Licensor provides the Work (and each\r
-      Contributor provides its Contributions) on an "AS IS" BASIS,\r
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
-      implied, including, without limitation, any warranties or conditions\r
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r
-      PARTICULAR PURPOSE. You are solely responsible for determining the\r
-      appropriateness of using or redistributing the Work and assume any\r
-      risks associated with Your exercise of permissions under this License.\r
-\r
-   8. Limitation of Liability. In no event and under no legal theory,\r
-      whether in tort (including negligence), contract, or otherwise,\r
-      unless required by applicable law (such as deliberate and grossly\r
-      negligent acts) or agreed to in writing, shall any Contributor be\r
-      liable to You for damages, including any direct, indirect, special,\r
-      incidental, or consequential damages of any character arising as a\r
-      result of this License or out of the use or inability to use the\r
-      Work (including but not limited to damages for loss of goodwill,\r
-      work stoppage, computer failure or malfunction, or any and all\r
-      other commercial damages or losses), even if such Contributor\r
-      has been advised of the possibility of such damages.\r
-\r
-   9. Accepting Warranty or Additional Liability. While redistributing\r
-      the Work or Derivative Works thereof, You may choose to offer,\r
-      and charge a fee for, acceptance of support, warranty, indemnity,\r
-      or other liability obligations and/or rights consistent with this\r
-      License. However, in accepting such obligations, You may act only\r
-      on Your own behalf and on Your sole responsibility, not on behalf\r
-      of any other Contributor, and only if You agree to indemnify,\r
-      defend, and hold each Contributor harmless for any liability\r
-      incurred by, or claims asserted against, such Contributor by reason\r
-      of your accepting any such warranty or additional liability.\r
-\r
-   END OF TERMS AND CONDITIONS\r
-\r
-   APPENDIX: How to apply the Apache License to your work.\r
-\r
-      To apply the Apache License to your work, attach the following\r
-      boilerplate notice, with the fields enclosed by brackets "[]"\r
-      replaced with your own identifying information. (Don't include\r
-      the brackets!)  The text should be enclosed in the appropriate\r
-      comment syntax for the file format. We also recommend that a\r
-      file or class name and description of purpose be included on the\r
-      same "printed page" as the copyright notice for easier\r
-      identification within third-party archives.\r
-\r
-   Copyright [yyyy] [name of copyright owner]\r
-\r
-   Licensed under the Apache License, Version 2.0 (the "License");\r
-   you may not use this file except in compliance with the License.\r
-   You may obtain a copy of the License at\r
-\r
-       http://www.apache.org/licenses/LICENSE-2.0\r
-\r
-   Unless required by applicable law or agreed to in writing, software\r
-   distributed under the License is distributed on an "AS IS" BASIS,\r
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-   See the License for the specific language governing permissions and\r
-   limitations under the License.\r
-\r
-\r
-\r
diff --git a/LICENSE.APLv2 b/LICENSE.APLv2
new file mode 100644 (file)
index 0000000..62649a4
--- /dev/null
@@ -0,0 +1,204 @@
+Copyright (c) 2012 - 2020 Samsung Electronics Co., Ltd. All rights reserved.\r
+\r
+                                 Apache License\r
+                           Version 2.0, January 2004\r
+                        http://www.apache.org/licenses/\r
+\r
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r
+\r
+   1. Definitions.\r
+\r
+      "License" shall mean the terms and conditions for use, reproduction,\r
+      and distribution as defined by Sections 1 through 9 of this document.\r
+\r
+      "Licensor" shall mean the copyright owner or entity authorized by\r
+      the copyright owner that is granting the License.\r
+\r
+      "Legal Entity" shall mean the union of the acting entity and all\r
+      other entities that control, are controlled by, or are under common\r
+      control with that entity. For the purposes of this definition,\r
+      "control" means (i) the power, direct or indirect, to cause the\r
+      direction or management of such entity, whether by contract or\r
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the\r
+      outstanding shares, or (iii) beneficial ownership of such entity.\r
+\r
+      "You" (or "Your") shall mean an individual or Legal Entity\r
+      exercising permissions granted by this License.\r
+\r
+      "Source" form shall mean the preferred form for making modifications,\r
+      including but not limited to software source code, documentation\r
+      source, and configuration files.\r
+\r
+      "Object" form shall mean any form resulting from mechanical\r
+      transformation or translation of a Source form, including but\r
+      not limited to compiled object code, generated documentation,\r
+      and conversions to other media types.\r
+\r
+      "Work" shall mean the work of authorship, whether in Source or\r
+      Object form, made available under the License, as indicated by a\r
+      copyright notice that is included in or attached to the work\r
+      (an example is provided in the Appendix below).\r
+\r
+      "Derivative Works" shall mean any work, whether in Source or Object\r
+      form, that is based on (or derived from) the Work and for which the\r
+      editorial revisions, annotations, elaborations, or other modifications\r
+      represent, as a whole, an original work of authorship. For the purposes\r
+      of this License, Derivative Works shall not include works that remain\r
+      separable from, or merely link (or bind by name) to the interfaces of,\r
+      the Work and Derivative Works thereof.\r
+\r
+      "Contribution" shall mean any work of authorship, including\r
+      the original version of the Work and any modifications or additions\r
+      to that Work or Derivative Works thereof, that is intentionally\r
+      submitted to Licensor for inclusion in the Work by the copyright owner\r
+      or by an individual or Legal Entity authorized to submit on behalf of\r
+      the copyright owner. For the purposes of this definition, "submitted"\r
+      means any form of electronic, verbal, or written communication sent\r
+      to the Licensor or its representatives, including but not limited to\r
+      communication on electronic mailing lists, source code control systems,\r
+      and issue tracking systems that are managed by, or on behalf of, the\r
+      Licensor for the purpose of discussing and improving the Work, but\r
+      excluding communication that is conspicuously marked or otherwise\r
+      designated in writing by the copyright owner as "Not a Contribution."\r
+\r
+      "Contributor" shall mean Licensor and any individual or Legal Entity\r
+      on behalf of whom a Contribution has been received by Licensor and\r
+      subsequently incorporated within the Work.\r
+\r
+   2. Grant of Copyright License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      copyright license to reproduce, prepare Derivative Works of,\r
+      publicly display, publicly perform, sublicense, and distribute the\r
+      Work and such Derivative Works in Source or Object form.\r
+\r
+   3. Grant of Patent License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      (except as stated in this section) patent license to make, have made,\r
+      use, offer to sell, sell, import, and otherwise transfer the Work,\r
+      where such license applies only to those patent claims licensable\r
+      by such Contributor that are necessarily infringed by their\r
+      Contribution(s) alone or by combination of their Contribution(s)\r
+      with the Work to which such Contribution(s) was submitted. If You\r
+      institute patent litigation against any entity (including a\r
+      cross-claim or counterclaim in a lawsuit) alleging that the Work\r
+      or a Contribution incorporated within the Work constitutes direct\r
+      or contributory patent infringement, then any patent licenses\r
+      granted to You under this License for that Work shall terminate\r
+      as of the date such litigation is filed.\r
+\r
+   4. Redistribution. You may reproduce and distribute copies of the\r
+      Work or Derivative Works thereof in any medium, with or without\r
+      modifications, and in Source or Object form, provided that You\r
+      meet the following conditions:\r
+\r
+      (a) You must give any other recipients of the Work or\r
+          Derivative Works a copy of this License; and\r
+\r
+      (b) You must cause any modified files to carry prominent notices\r
+          stating that You changed the files; and\r
+\r
+      (c) You must retain, in the Source form of any Derivative Works\r
+          that You distribute, all copyright, patent, trademark, and\r
+          attribution notices from the Source form of the Work,\r
+          excluding those notices that do not pertain to any part of\r
+          the Derivative Works; and\r
+\r
+      (d) If the Work includes a "NOTICE" text file as part of its\r
+          distribution, then any Derivative Works that You distribute must\r
+          include a readable copy of the attribution notices contained\r
+          within such NOTICE file, excluding those notices that do not\r
+          pertain to any part of the Derivative Works, in at least one\r
+          of the following places: within a NOTICE text file distributed\r
+          as part of the Derivative Works; within the Source form or\r
+          documentation, if provided along with the Derivative Works; or,\r
+          within a display generated by the Derivative Works, if and\r
+          wherever such third-party notices normally appear. The contents\r
+          of the NOTICE file are for informational purposes only and\r
+          do not modify the License. You may add Your own attribution\r
+          notices within Derivative Works that You distribute, alongside\r
+          or as an addendum to the NOTICE text from the Work, provided\r
+          that such additional attribution notices cannot be construed\r
+          as modifying the License.\r
+\r
+      You may add Your own copyright statement to Your modifications and\r
+      may provide additional or different license terms and conditions\r
+      for use, reproduction, or distribution of Your modifications, or\r
+      for any such Derivative Works as a whole, provided Your use,\r
+      reproduction, and distribution of the Work otherwise complies with\r
+      the conditions stated in this License.\r
+\r
+   5. Submission of Contributions. Unless You explicitly state otherwise,\r
+      any Contribution intentionally submitted for inclusion in the Work\r
+      by You to the Licensor shall be under the terms and conditions of\r
+      this License, without any additional terms or conditions.\r
+      Notwithstanding the above, nothing herein shall supersede or modify\r
+      the terms of any separate license agreement you may have executed\r
+      with Licensor regarding such Contributions.\r
+\r
+   6. Trademarks. This License does not grant permission to use the trade\r
+      names, trademarks, service marks, or product names of the Licensor,\r
+      except as required for reasonable and customary use in describing the\r
+      origin of the Work and reproducing the content of the NOTICE file.\r
+\r
+   7. Disclaimer of Warranty. Unless required by applicable law or\r
+      agreed to in writing, Licensor provides the Work (and each\r
+      Contributor provides its Contributions) on an "AS IS" BASIS,\r
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
+      implied, including, without limitation, any warranties or conditions\r
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r
+      PARTICULAR PURPOSE. You are solely responsible for determining the\r
+      appropriateness of using or redistributing the Work and assume any\r
+      risks associated with Your exercise of permissions under this License.\r
+\r
+   8. Limitation of Liability. In no event and under no legal theory,\r
+      whether in tort (including negligence), contract, or otherwise,\r
+      unless required by applicable law (such as deliberate and grossly\r
+      negligent acts) or agreed to in writing, shall any Contributor be\r
+      liable to You for damages, including any direct, indirect, special,\r
+      incidental, or consequential damages of any character arising as a\r
+      result of this License or out of the use or inability to use the\r
+      Work (including but not limited to damages for loss of goodwill,\r
+      work stoppage, computer failure or malfunction, or any and all\r
+      other commercial damages or losses), even if such Contributor\r
+      has been advised of the possibility of such damages.\r
+\r
+   9. Accepting Warranty or Additional Liability. While redistributing\r
+      the Work or Derivative Works thereof, You may choose to offer,\r
+      and charge a fee for, acceptance of support, warranty, indemnity,\r
+      or other liability obligations and/or rights consistent with this\r
+      License. However, in accepting such obligations, You may act only\r
+      on Your own behalf and on Your sole responsibility, not on behalf\r
+      of any other Contributor, and only if You agree to indemnify,\r
+      defend, and hold each Contributor harmless for any liability\r
+      incurred by, or claims asserted against, such Contributor by reason\r
+      of your accepting any such warranty or additional liability.\r
+\r
+   END OF TERMS AND CONDITIONS\r
+\r
+   APPENDIX: How to apply the Apache License to your work.\r
+\r
+      To apply the Apache License to your work, attach the following\r
+      boilerplate notice, with the fields enclosed by brackets "[]"\r
+      replaced with your own identifying information. (Don't include\r
+      the brackets!)  The text should be enclosed in the appropriate\r
+      comment syntax for the file format. We also recommend that a\r
+      file or class name and description of purpose be included on the\r
+      same "printed page" as the copyright notice for easier\r
+      identification within third-party archives.\r
+\r
+   Copyright [yyyy] [name of copyright owner]\r
+\r
+   Licensed under the Apache License, Version 2.0 (the "License");\r
+   you may not use this file except in compliance with the License.\r
+   You may obtain a copy of the License at\r
+\r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+\r
diff --git a/README_UnitTest.md b/README_UnitTest.md
deleted file mode 100644 (file)
index 1100200..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-# Unit Testing for system-settings API
-
-
-## HOW TO TEST
-
-       #./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l 2>&1 | tee ./unittest.log
-
-       ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS armv7l 2>&1 | tee ./unittest.log
-       ./unittest2.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS armv7l 2>&1 | tee ./unittest.log
-
diff --git a/capi-system-system-settings.manifest b/capi-system-system-settings.manifest
deleted file mode 100644 (file)
index 634c303..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<manifest>
-    <request>
-        <domain name="_"/>
-    </request>
-       <assign>
-               <filesystem path="/usr/local/bin/test_system_settings_gui" exec_label="none"/>
-       </assign>
-</manifest>
old mode 100755 (executable)
new mode 100644 (file)
index ef23d0c..d610d90
@@ -1,14 +1,9 @@
-# Package Information for pkg-config
+libdir=@LIB_INSTALL_DIR@
+includedir=@INCLUDE_INSTALL_DIR@/system
 
-prefix=@PREFIX@
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/system
-
-Name: @PC_NAME@
-Description: @PACKAGE_DESCRIPTION@
-Version: @VERSION@
-Requires: @PC_REQUIRED@ 
-Libs: -L${libdir} @PC_LDFLAGS@
+Name: @PROJECT_NAME@
+Description: Tizen Native API for System Settings
+Version: @FULLVER@
+Requires: capi-base-common
+Libs: -L${libdir} -l@PROJECT_NAME@
 Cflags: -I${includedir}
-
diff --git a/debian/README b/debian/README
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/debian/capi-system-system-settings-dev.install b/debian/capi-system-system-settings-dev.install
deleted file mode 100755 (executable)
index 761a28b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/usr/include/*
-/usr/include/*/*
-/usr/lib/pkgconfig/*.pc
-
diff --git a/debian/capi-system-system-settings-dev.postinst b/debian/capi-system-system-settings-dev.postinst
deleted file mode 100755 (executable)
index 1a24852..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#!/bin/sh
diff --git a/debian/capi-system-system-settings.install b/debian/capi-system-system-settings.install
deleted file mode 100755 (executable)
index 4a755a4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/lib*.so*
diff --git a/debian/capi-system-system-settings.postinst b/debian/capi-system-system-settings.postinst
deleted file mode 100755 (executable)
index 1a24852..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#!/bin/sh
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100755 (executable)
index b9fa9ed..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-capi-system-system-settings (0.0.1-7ubuntu1) precise; urgency=low
-
-  * release 
-  * font-type API refinement
-
- -- mjpark <mjpark@localhost>  Wed, 23 Jan 2013 15:25:21 +0900
-
-capi-system-system-settings (0.0.1-7) unstable; urgency=low
-
-  * release
-
- -- MyoungJune Park <mj2004.park@samsung.com>  Tue, 04 Sep 2012 10:34:54 +0900
-
-capi-system-system-settings (0.0.1-6) unstable; urgency=low
-
-  * tizen build
-
- -- MyoungJune Park <mj2004.park@samsung.com>  Tue, 14 Aug 2012 10:20:07 +0900
-
-capi-system-system-settings (0.0.1-5) unstable; urgency=low
-
-  * Initial upload
-  * Git: slp/api/system-settings
-  * Tag: capi-system-system-settings_0.0.1-5
-
- -- MyoungJune Park <mj2004.park@samsung.com>  Mon, 21 May 2012 15:45:32 +0900
-
-capi-system-system-settings (0.0.1-1) unstable; urgency=low
-
-  * Initial upload
-  * Git: slp-info.sec.samsung.net:slp/api/system-settings
-  * Tag: capi-system-system-settings_0.0.1-1
-
- -- Junghyuk Park <junghyuk.park@samsung.com>  Tue, 06 Dec 2011 21:16:07 +0900
diff --git a/debian/compat b/debian/compat
deleted file mode 100755 (executable)
index 7ed6ff8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100755 (executable)
index b4a5614..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Source: capi-system-system-settings
-Section: libs
-Priority: extra
-Maintainer: Woongsuk Cho <ws77.cho@samsung.com>, junghyuk park <junghyuk.park@samsung.com>, MyoungJune Park <mj2004.park@samsung.com>
-Build-Depends: debhelper (>= 5), libecore-dev, dlog-dev, libelm-dev, libappcore-efl-dev, libvconf-dev, capi-base-common-dev, libfontconfig1-dev, libxml2-dev ,libglib2.0-dev
-
-Package: capi-system-system-settings
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A System Settings library in Tizen Native API
-
-Package: capi-system-system-settings-dev
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, capi-system-system-settings (= ${Source-Version}), capi-base-common-dev
-Description: A System Settings library in Tizen Native API (DEV)
-
-Package: capi-system-system-settings-dbg
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, capi-system-system-settings (= ${Source-Version})
-Description: A System Settings library in Tizen Native API (DBG)
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 2e2326d..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/make -f
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
-CMAKE_ROOT_DIR ?= $(CURDIR)
-CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
-
-FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1)
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
-       touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp 
-       dh_testdir
-       cd $(CMAKE_BUILD_DIR) && $(MAKE)
-       touch $@
-
-clean:
-       cd $(CMAKE_ROOT_DIR)
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp configure-stamp
-       rm -f `find . -name *.pc`
-       rm -rf $(CMAKE_BUILD_DIR)
-       dh_clean
-       
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-
-       cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-binary-indep: build install
-
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installexamples
-       dh_install --sourcedir=debian/tmp
-       dh_installman
-       dh_link
-       dh_strip --dbg-package=capi-system-system-settings-dbg
-       dh_fixperms
-       dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
index f03e88c469c13bd6afb4bbe98c6d57b49709d423..d30c4b6e6de7a4975dbd15513c8da6807bc6155c 100644 (file)
@@ -1,20 +1,19 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015-2019 Samsung Electronics Co., Ltd All Rights Reserved
  *
- * Licensed under the Apache License, Version 2.0 (the License);
+ * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
-
 /**
 * @ingroup CAPI_SYSTEM_FRAMEWORK
 * @defgroup CAPI_SYSTEM_SYSTEM_SETTINGS_MODULE System Settings
index 15528175efb10b292c9480e63a46f1827a26955d..5402076faf39e2bce25853a015fa4a66a6a6af8e 100644 (file)
@@ -1,19 +1,18 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
  *
- * Licensed under the Apache License, Version 2.0 (the License);
+ * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 #ifndef __TIZEN_SYSTEM_SYSTEM_SETTINGS_H__
 #define __TIZEN_SYSTEM_SYSTEM_SETTINGS_H__
 
diff --git a/include/system_settings_json.h b/include/system_settings_json.h
deleted file mode 100644 (file)
index a95227f..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#ifndef __TIZEN_SYSTEM_SETTING_JSON_H__
-#define __TIZEN_SYSTEM_SETTING_JSON_H__
-
-#include <stdlib.h>
-#include <string.h>
-#include <glib-object.h>
-#include <json-glib/json-glib.h>
-
-//#define USE_JSONFILE
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-JsonParser* ss_json_ringtone_open_file(char* path);
-JsonParser* ss_json_ringtone_load_from_data();
-
-void ss_json_ringtone_add(JsonNode *root, char* filename, char* nameval, char* pathval);
-
-void ss_json_ringtone_print(JsonNode *root);
-
-void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del);
-
-bool ss_json_ringtone_contain(JsonNode *root, char* newfile);
-
-void ss_json_ringtone_list(JsonNode *root);
-
-/*// */
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __TIZEN_SYSTEM_SETTING_JSON_H__ */
-
-
-
diff --git a/include/system_settings_multi_callback.h b/include/system_settings_multi_callback.h
deleted file mode 100644 (file)
index 1c352d6..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__
-#define __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__
-#include <system_settings.h>
-#include <system-setting-config.h>
-#include <glib.h>
-
-typedef struct __st_multi_callback_node_
-{
-       system_settings_changed_cb callback;
-       void* user_data;
-}callback_node;
-
-typedef struct __st_multi_callback_list_
-{
-       GList * list;
-       int is_registered;
-}callback_list;
-
-int add_multi_callback(callback_list *handle, system_settings_changed_cb ptr, void* user_data);
-int delete_multi_callback(callback_list *handle, system_settings_changed_cb ptr);
-int invoke_callback_list(callback_list *handle, system_settings_key_e key);
-
-
-#endif /* __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__ */
diff --git a/include/system_settings_private.h b/include/system_settings_private.h
deleted file mode 100644 (file)
index b161cca..0000000
+++ /dev/null
@@ -1,836 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#ifndef __TIZEN_SYSTEM_SETTING_PRIVATE_H__
-#define __TIZEN_SYSTEM_SETTING_PRIVATE_H__
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#include <dlog.h>
-#include <system_settings.h>
-#include <system_settings_multi_callback.h>
-
-#ifndef VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST
-#define VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST "db/setting/accessibility/high_contrast"
-#endif
-
-#ifndef VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE
-#define VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE "db/setting/accessibility/greyscale"
-#endif
-
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "SYSTEM-SETTINGS"
-
-/* #define DEBUG_DUMP_CONTEXT */
-#define SYSTEM_SETTINGS_ENABLE_TRACE
-
-#ifdef SYSTEM_SETTINGS_ENABLE_TRACE
-
-
-#define SETTING_TRACE_DEBUG(fmt, arg...) \
-       do {\
-               SECURE_LOGD("\033[0;32mDEBUG: " fmt "\033[0m\n", ##arg);\
-       } while (0);
-
-#define SETTING_TRACE(fmt, arg...) \
-       do {\
-               SECURE_LOGI("\033[0;36m" fmt "\033[0m\n", ##arg);\
-       } while (0);
-
-#define SETTING_TRACE_BEGIN do {\
-               SECURE_LOGD("\033[0;35mENTER FUNCTION: %s. \033[0m\n", __FUNCTION__);\
-       } while (0);
-
-#define SETTING_TRACE_END  do {\
-               SECURE_LOGD("\033[0;35mEXIT FUNCTION: %s. \033[0m\n", __FUNCTION__);\
-       } while (0);
-#else
-#define SETTING_TRACE_DEBUG(fmt, arg...)
-#define SETTING_TRACE(fmt, arg...)
-#define SETTING_TRACE_BEGIN
-#define SETTING_TRACE_END
-#endif
-
-
-#define SETTING_PROFILE_PATH "tizen.org/feature/profile"
-#define SETTING_INCOMING_CALL_PATH "tizen.org/feature/systemsetting.incoming_call"
-#define SETTING_HOME_SCREEN_PATH "tizen.org/feature/systemsetting.home_screen"
-#define SETTING_LOCK_SCREEN_PATH "tizen.org/feature/systemsetting.lock_screen"
-#define SETTING_NOTIFICATION_EMAIL_PATH "tizen.org/feature/systemsetting.notification_email"
-#define SETTING_WIFI_PATH "tizen.org/feature/network.wifi"
-#define SETTING_FONT_PATH "tizen.org/feature/systemsetting.font"
-#define SETTING_TELEPHONY_PATH "tizen.org/feature/network.telephony"
-#define SETTING_ACCESSIBILITY_GRAYSCALE_PATH "tizen.org/feature/accessibility.grayscale"
-#define SETTING_ACCESSIBILITY_NEGATIVE_PATH "tizen.org/feature/accessibility.negative"
-#define SETTING_INPUT_ROTATING_BEZEL_PATH "tizen.org/feature/input.rotating_bezel"
-
-/**
- * @internal
- * @since_tizen 2.3
- * Enumeration for data type of internal getter/setter.
- */
-typedef enum {
-       SYSTEM_SETTING_DATA_TYPE_STRING,        /**< string */
-       SYSTEM_SETTING_DATA_TYPE_INT,           /**< integer */
-       SYSTEM_SETTING_DATA_TYPE_BOOL,          /**< boolean */
-#if 0
-       /*SYSTEM_SETTING_DATA_TYPE_FLOAT, */
-       /*SYSTEM_SETTING_DATA_TYPE_DOULBE, */
-#endif
-}
-system_setting_data_type_e;
-
-/**
- * @internal
- * @since_tizen 6.0
- * Enumeration for callback slot
- */
-typedef enum {
-       SYSTEM_SETTING_CALLBACK_SLOT_0 = 0,
-       SYSTEM_SETTING_CALLBACK_SLOT_1 = 1,
-       SYSTEM_SETTING_CALLBACK_SLOT_2 = 2,
-       SYSTEM_SETTING_CALLBACK_SLOT_3 = 3,
-       SYSTEM_SETTING_CALLBACK_SLOT_4 = 4,
-       SYSTEM_SETTING_CALLBACK_SLOT_5 = 5
-}
-system_setting_callback_slot_e;
-
-typedef struct _system_setting_s *system_setting_h;
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-typedef int (*system_setting_get_value_cb)(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-typedef int (*system_setting_set_value_cb)(system_setting_h item, void *value);
-typedef int (*system_setting_add_value_cb)(system_settings_key_e key, void *value);
-typedef int (*system_setting_del_value_cb)(system_settings_key_e key, void *value);
-typedef int (*system_setting_list_value_cb)(system_settings_key_e key, system_settings_iter_cb callback, void *user_data);
-
-typedef int (*system_setting_feature_check_cb)(void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-typedef int (*system_setting_set_changed_callback_cb)(system_setting_h item, void *user_data);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-typedef int (*system_setting_unset_changed_callback_cb)(system_setting_h item);
-
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- */
-typedef struct _system_setting_s {
-       system_settings_key_e key;                                                                              /**< key */
-       const char * const vconf_key;                                                                   /**< vconf key */
-       system_setting_data_type_e data_type;                                                   /**< data type */
-       system_setting_get_value_cb get_value_cb;                                               /**< function pointer for getter */
-       system_setting_set_value_cb set_value_cb;                                               /**< function pointer for setter */
-
-       system_setting_set_changed_callback_cb set_changed_cb;                  /**< function pointer to register for notification callback */
-       system_setting_unset_changed_callback_cb unset_changed_cb ;             /**< function pointer to un-register for notification callback */
-       system_settings_changed_cb changed_cb;                                                  /* registered by user application */
-
-       system_setting_add_value_cb add_value_cb;
-       system_setting_del_value_cb del_value_cb;
-       system_setting_list_value_cb list_value_cb;
-
-       system_setting_feature_check_cb feature_check_cb;
-
-       callback_list changed_cb_list;
-
-       void *user_data;                                                                                                /* user_data */
-
-} system_setting_s;
-
-
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_settings_get_item(system_settings_key_e key, system_setting_h *item);
-
-
-/* get */
-
-/**
- * @internal
- * @brief get vconf of in type value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key string
- * @param[out] value get the integer type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_get_value_int(const char *vconf_key, int *value);
-
-/**
- * @internal
- * @brief get vconf of in bool value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key string
- * @param[out] value get the bool type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value);
-
-/**
- * @internal
- * @brief get vconf of string type value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key string
- * @param[out] value get the string(char*) type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_get_value_string(const char *vconf_key, char **value);
-
-/**
- * @internal
- * @brief set the int type vconf value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key key name
- * @param[in] value int type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_set_value_int(const char *vconf_key, int value);
-
-/**
- * @internal
- * @brief set the bool type vconf value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key key name
- * @param[in] value bool type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_set_value_bool(const char *vconf_key, bool value);
-
-/**
- * @internal
- * @brief set the string type vconf value
- * @since_tizen 2.3
- *
- * @param[in] vconf_key key name
- * @param[in] value string type value
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_set_value_string(const char *vconf_key, char *value);
-
-/**
- * @internal
- * @brief get vconf value for genernal case
- * @since_tizen 6.0
- *
- * @param[in] system_setting_h item
- * @param[in] void value pointer
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_vconf(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief set vconf value for genernal case
- * @since_tizen 6.0
- *
- * @param[in] system_setting_h item
- * @param[in] void value pointer
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_vconf(system_setting_h item, void *value);
-
-/**
- * @internal
- * @brief set vconf notification callback for genernal case
- * @since_tizen 6.0
- *
- * @param[in] system_setting_h item
- * @param[in] system_settings_changed_cb callback
- * @param[in] user_data user data
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_changed_vconf_genernal_callback(system_setting_h item, void *user_data);
-
-/**
- * @internal
- * @brief unset vconf notification callback for genernal case
- * @since_tizen 6.0
- *
- * @param[in] system_setting_h item
- *
- * @return 0 on success, -1 on error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_unset_changed_vconf_genernal_callback(system_setting_h item);
-
-/**
- * @internal
- * @brief Set the system settings notification callback
- * @since_tizen 2.3
- * @param[in] vconf_key
- * @param[in] key
- * @param[in] slot internal slot to set the key (0~4)
- * @param[in] user_data user data
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, system_setting_callback_slot_e slot, void *user_data);
-
-/**
- * @internal
- * @brief Unset the system settings notification callback
- * @since_tizen 2.3
- * @param[in] vconf_key vconf key name used in the code
- * @param[in] slot internal slot to set the key (0~5)
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_vconf_unset_changed_cb(const char *vconf_key, system_setting_callback_slot_e slot);
-
-/**
- * @internal
- * @brief Unset the system settings notification callback
- * @since_tizen 4.0
- * @param[in] key system_settings_key_e value to get vconf string
- * @param[out] key_string string pointer to be assigned vconf string
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_settings_vconf_get_key_string(system_settings_key_e key, char **key_string);
-
-
-/**
- * @internal
- * @brief Unset the system settings notification callback
- * @since_tizen 4.0
- * @param[in] vconf_key vconf key name used in the code
- * @param[in] key system_settings_key_e value.
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- */
-int system_setting_vconf_set_changed_multi_cb(const char *vconf_key, system_settings_key_e key);
-
-/**
- * @internal
- * @brief Unset the system settings notification callback
- * @since_tizen 4.0
- * @param[in] vconf_key vconf key name used in the code
- * @param[in] key system_settings_key_e value.
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- */
-int system_setting_vconf_unset_changed_multi_cb(const char *vconf_key, system_settings_key_e key);
-
-/**
- * @internal
- * @brief set current font size
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
- * @param[out] value the font size
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_font_size(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_incoming_call_ringtone(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief set current path of the ringtone
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
- * @param[out] value the ringtone
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_incoming_call_ringtone(system_setting_h item, void *value);
-
-
-/**
- * @todo add comment here
- */
-int system_setting_add_incoming_call_ringtone(system_settings_key_e key, void *value);
-
-
-/**
- * @todo add comment here
- */
-int system_setting_del_incoming_call_ringtone(system_settings_key_e key, void *value);
-
-
-/**
- * @todo add comment here
- */
-int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_settings_iter_cb callback, void *data);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_email_alert_ringtone(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief set current path of the email-alert
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
- * @param[out] value the alert ringtone
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_email_alert_ringtone(system_setting_h item, void *value);
-
-/**
- * @internal
- * @brief set current path of the wallpaper
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
- * @param[out] value the wallpaper
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_wallpaper_home_screen(system_setting_h item, void *value);
-
-/**
- * @internal
- * @brief set current path of the bg image of the lock screen
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
- * @param[out] value the lock screen
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_wallpaper_lock_screen(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_default_font_type(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief set name of the font name
- * @since_tizen 2.3
- * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_TYPE
- * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
- * @param[out] value the font type
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_font_type(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_lockscreen_app(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_lockscreen_app(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_locale_country(system_setting_h item, void **value);
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_locale_country(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_locale_language(system_setting_h item, void **value);
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_locale_language(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_locale_timeformat_24hour(system_setting_h item, void **value);
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_locale_timeformat_24hour(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_locale_timezone(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 3.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_locale_timezone(system_setting_h item, void *value);
-
-/**
- * @internal
- * @brief get current UDS status
- * @since_tizen 3.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_uds_state(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief get current ADS ID
- * @since_tizen 3.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_ads_id(system_setting_h item, void **value);
-
-/**
- * @internal
- * @brief set ADS ID
- * @since_tizen 3.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_ads_id(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_sound_notification(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_screen_backlight_time(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_network_wifi_notification(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_sound_silent_mode(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_set_sound_silent_mode(system_setting_h item, void *value);
-
-/**
- * @internal
- * @since_tizen 2.3
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- */
-int system_setting_get_time_changed(system_setting_h item, void **value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_incoming_call(void * value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_home_screen(void * value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_lock_screen(void * value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_notification_email(void * value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_wifi(void * value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_telephony(void *value);
-
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_font(void *value);
-
-/**
- * @internal
- * @since_tizen 5.5
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_accessibility_grayscale(void *value);
-
-/**
- * @internal
- * @since_tizen 5.5
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_accessibility_negative(void *value);
-
-/**
- * @internal
- * @since_tizen 5.5
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_wearable_profile(void *value);
-
-/*// */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __TIZEN_SYSTEM_SETTING_PRIVATE_H__ */
-
-
-
diff --git a/include/system_settings_ringtones.h b/include/system_settings_ringtones.h
deleted file mode 100644 (file)
index 49c84d3..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __SYSTEM_SETTINGS_RINGTONES_H__
-#define __SYSTEM_SETTINGS_RINGTONES_H__
-
-#include <sys/types.h>
-#include <dirent.h>
-#include <metadata_extractor.h>
-
-typedef struct _ugFsNodeInfo fileNodeInfo;
-struct _ugFsNodeInfo {
-       char *path;
-       char *name;
-       char *media_name;
-};
-
-int get_filelist_from_dir_path(char *path, GList **file_list);
-char *get_filename_from_fullname(const char *fullname);
-
-#if 0
-void ringtone_play_sound(const char *sound_file, player_h **mp_handle);
-void ringtone_stop_sound(void *data);
-#endif
-
-#endif /* __SYSTEM_SETTINGS_RINGTONES_H__ */
diff --git a/packaging/capi-system-system-settings.manifest b/packaging/capi-system-system-settings.manifest
new file mode 100644 (file)
index 0000000..634c303
--- /dev/null
@@ -0,0 +1,8 @@
+<manifest>
+    <request>
+        <domain name="_"/>
+    </request>
+       <assign>
+               <filesystem path="/usr/local/bin/test_system_settings_gui" exec_label="none"/>
+       </assign>
+</manifest>
old mode 100755 (executable)
new mode 100644 (file)
index 080b830..ad04476
@@ -2,9 +2,13 @@ Name:       capi-system-system-settings
 Summary:    A System Settings library in Tizen Native API
 Version:    0.0.4
 Release:    5
+
 Group:      System/System Info
 License:    Apache-2.0
+URL : https://git.tizen.org/cgit/platform/core/api/system-settings
 Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(vconf)
@@ -19,24 +23,22 @@ BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(capi-media-metadata-extractor)
 BuildRequires:  pkgconfig(capi-system-info)
 BuildRequires:  pkgconfig(libsystemd)
-
 BuildRequires:  pkgconfig(json-glib-1.0)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(capi-appfw-app-manager)
 BuildRequires:  pkgconfig(capi-appfw-package-manager)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
-%if 0%{?run_tests:1}
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  efl
 BuildRequires:  capi-system-info-test
 BuildRequires:  default-fonts-sdk
 # BuildRequires:  model-config-tm1
+%if 0%{?gcov:1}
 BuildRequires:  lcov
 %endif
 
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-
 %description
 System setting api for get,set configuration
 
@@ -49,22 +51,30 @@ Requires:  pkgconfig(capi-base-common)
 %description devel
 System setting api for get,set configuration
 
+%package unittests
+Summary: Test Programs for %{name}
+Group: System/Testing
+
+%description unittests
+The %{name}-unittests pacakge contains programs for checking the %{name}.
+
 %if 0%{?gcov:1}
 %package gcov
 Summary:  A System Settings library in Tizen Native API
-Group:    System/System Info/Testing
+Group:    System/Testing
+
 %description gcov
 System Settings library gcov objects
 %endif
 
+%define tizen_profile_name mobile
+%define sys_setting_test_dir  %{_bindir}/sys-settings
 
 %prep
 %setup -q
-
-%define tizen_profile_name mobile
+cp %{SOURCE1001} ./%{name}.manifest
 
 %build
-
 %if "%{?tizen_profile_name}" == "wearable"
 export CFLAGS="$CFLAGS -DTIZEN_WEARABLE"
 export CXXFLAGS="$CXXFLAGS -DTIZEN_WEARABLE"
@@ -87,72 +97,51 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
 export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
 %endif
 
-
-%ifarch aarch64
+%ifarch aarch64 x86_64
 export CFLAGS+="$CFLAGS -DSETTING_ARCH_64"
 export CXXFLAGS+="$CXXFLAGS -DSETTING_ARCH_64"
 export FFLAGS+="$FFLAGS -DSETTING_ARCH_64"
 %endif
 
-%ifarch x86_64
-export CFLAGS+="$CFLAGS -DSETTING_ARCH_64"
-export CXXFLAGS+="$CXXFLAGS -DSETTING_ARCH_64"
-export FFLAGS+="$FFLAGS -DSETTING_ARCH_64"
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
+export FFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
 %endif
 
-
-
-VERSION=`echo %{version} | grep Version: | awk '{ print $2 }'`
-RELEASE=`echo %{version} | grep Version: | awk '{ print $2 }'`
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}  -DCMAKE_LIBDIR=%{_libdir} \
-       -DCMAKE_INCLUDEDIR=%{_includedir} \
+%cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version} \
+       -DCMAKE_VERBOSE_MAKEFILE=OFF \
        -DTZ_SYS_DATA=%{TZ_SYS_DATA} \
        -DTZ_SYS_ETC=%{TZ_SYS_ETC} \
        -DTZ_SYS_RO_SHARE=%{TZ_SYS_RO_SHARE} \
        -DTZ_SYS_SHARE=%{TZ_SYS_SHARE} \
-       -DSETTING_DEF_RES=%{TZ_SYS_GLOBALUSER_DATA}/settings \
-%if 0%{?gcov:1}
-       -DCMAKE_BUILD_TYPE=GCOVTEST \
-%endif
+       -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0} \
+       -DTEST_INSTALL_DIR:PATH=%{sys_setting_test_dir} \
 %if 0%{?thread_number}
        -DN_THREADS=%{thread_number} \
-%endif
-%if 0%{?run_tests:1}
-       -DCMAKE_BUILD_TYPE=UNITTEST \
-       -DUNIT_TEST=1 \
-       -DGCOV_PREFIX="%{buildroot}" \
-       -DGCOV_PREFIX_STRIP=1
 %else
-
-# add empty line
-%endif
-
-
-make %{?jobs:-j%jobs}
-
-%if 0%{?gcov:1}
-mkdir -p gcov-obj
-find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
+       -DN_THREADS=1 \
 %endif
+       -DSETTING_DEF_RES=%{TZ_SYS_GLOBALUSER_DATA}/settings
+make %{?_smp_mflags}
 
 %install
-#rm -rf %{buildroot}
 %make_install
 
 %if 0%{?gcov:1}
-mkdir -p %{buildroot}%{_datadir}/gcov/obj
-install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+find .. -name '*.gcno' | tar cf %{name}-gcov.tar -T -
+install -d -m 755 %{buildroot}%{_datadir}/gcov/obj
+tar xf %{name}-gcov.tar -C %{buildroot}%{_datadir}/gcov/obj
 %endif
 
 %check
-###############################################
-# Causion : unit test need to root permission
-###############################################
-# pushd unit_test
-# ./run_coverage.sh
-# popd
+#cd tests
+#bash ./run_coverage.sh
+
+%post unittests
+XDG_RUNTIME_DIR=/run %{sys_setting_test_dir}/sys-settings-test
 
 %post -p /sbin/ldconfig
 
@@ -160,31 +149,22 @@ install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
 
 %files
 %manifest %{name}.manifest
-%{_libdir}/lib*.so.*
-%if 0%{?run_tests:1}
-/usr/local/bin/system-setting-unittest
-
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_setting_platform.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_settings.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_settings_json.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_settings_ringtones.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_settings_vconf.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/CMakeFiles/%{name}.dir/src/system_settings_multi_callback.c.gcno
-/usr/src/packages/BUILD/%{name}-%{version}/system-settings-util/CMakeFiles/system-settings-util.dir/src/system_settings_util.c.gcno
-%endif
-%license LICENSE
-# /usr/local/bin/test_system_settings
-#/usr/local/bin/test_system_settings_gui
+%{_libdir}/lib*settings.so.*
+%{_libdir}/lib*settings-util.so
+%license LICENSE.APLv2
 
 %files devel
 %manifest %{name}.manifest
-%license LICENSE
-%{_includedir}/system/*.h
-%{_includedir}/system_settings_util.h
+%{_libdir}/lib*settings.so
 %{_libdir}/pkgconfig/*.pc
-%{_libdir}/lib*.so
+%{_includedir}/system/*.h
+
+%files unittests
+%manifest %{name}.manifest
+%{sys_setting_test_dir}/*
+%license LICENSE.APLv2
 
 %if 0%{?gcov:1}
 %files gcov
-%{_datadir}/gcov/obj/*
+%{_datadir}/gcov/*
 %endif
diff --git a/src/sys_settings.c b/src/sys_settings.c
new file mode 100644 (file)
index 0000000..4785896
--- /dev/null
@@ -0,0 +1,1350 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include <vconf.h>
+#include <dlog.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+
+#include <glib.h>
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+
+#define LOG_TAG "TIZEN_N_SYSTEM_SETTINGS"
+
+#define SYSTEM_SETTINGS_MAX -1
+#define GET_SLOT(x) ((x)%4)
+
+system_setting_s system_setting_table[] = {
+
+       {
+               SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
+               VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_incoming_call_ringtone,
+               system_setting_set_incoming_call_ringtone,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               system_setting_add_incoming_call_ringtone,      /* ADD */
+               system_setting_del_incoming_call_ringtone,      /* DEL */
+               system_setting_list_incoming_call_ringtone,     /* LIST */
+               system_setting_feature_check_incoming_call,             /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
+               VCONFKEY_BGSET,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_vconf,
+               system_setting_set_wallpaper_home_screen,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_home_screen,               /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
+               VCONFKEY_IDLE_LOCK_BGSET,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_vconf,
+               system_setting_set_wallpaper_lock_screen,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_lock_screen,               /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_FONT_SIZE,
+               VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_SIZE,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_vconf,
+               system_setting_set_font_size,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_font,              /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_FONT_TYPE,
+               VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_NAME,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_vconf,
+               system_setting_set_font_type,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_font,              /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
+               VCONFKEY_SETAPPL_MOTION_ACTIVATION,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
+               VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_email_alert_ringtone,
+               system_setting_set_email_alert_ringtone,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_notification_email,                /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
+               VCONFKEY_SETAPPL_USB_DEBUG_MODE_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
+               VCONFKEY_3G_ENABLE,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+//     { /* Deprecated */
+//             -5, NULL, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, { NULL, 0 }, NULL
+//     },
+       {
+               SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
+               VCONFKEY_SETAPPL_3RD_LOCK_PKG_NAME_STR,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_lockscreen_app,
+               system_setting_set_lockscreen_app,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_lock_screen,               /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE,
+               NULL,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_default_font_type,
+               NULL,
+               NULL,
+               NULL,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_font,              /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
+               VCONFKEY_REGIONFORMAT,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_locale_country,
+               system_setting_set_locale_country,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
+               VCONFKEY_LANGSET,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_locale_language,
+               system_setting_set_locale_language,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+               VCONFKEY_REGIONFORMAT_TIME1224,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_locale_timeformat_24hour,
+               system_setting_set_locale_timeformat_24hour,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE,
+               VCONFKEY_SETAPPL_TIMEZONE_ID,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_locale_timezone,
+               system_setting_set_locale_timezone,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_TIME_CHANGED,
+               VCONFKEY_SYSTEM_TIME_CHANGED,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_time_changed,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SOUND_LOCK,
+               VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
+               VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_sound_silent_mode,
+               system_setting_set_sound_silent_mode,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
+               VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
+               VCONFKEY_SETAPPL_AUTO_ROTATE_SCREEN_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_DEVICE_NAME,
+               VCONFKEY_SETAPPL_DEVICE_NAME_STR,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_vconf,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
+               VCONFKEY_SETAPPL_MOTION_ACTIVATION,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
+               VCONFKEY_WIFI_ENABLE_QS,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_network_wifi_notification,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_wifi,              /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
+               VCONFKEY_TELEPHONY_FLIGHT_MODE,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
+               VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_vconf,
+               system_setting_set_screen_backlight_time,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
+               VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_vconf,
+               system_setting_set_sound_notification,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_incoming_call,             /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
+               VCONFKEY_SETAPPL_NOTI_MSG_ALERT_REP_TYPE_INT,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_LOCK_STATE,
+               VCONFKEY_IDLE_LOCK_STATE_READ_ONLY,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ADS_ID,
+               VCONFKEY_SETAPPL_AD_ID,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               system_setting_get_ads_id,
+               system_setting_set_ads_id,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+
+       {
+               SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
+               VCONFKEY_SETAPPL_UDSM,
+               SYSTEM_SETTING_DATA_TYPE_INT,
+               system_setting_get_uds_state,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               system_setting_feature_check_telephony,         /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
+               VCONFKEY_SETAPPL_UDSM_PKGID_LIST,
+               SYSTEM_SETTING_DATA_TYPE_STRING,
+               NULL,
+               NULL,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               system_setting_feature_check_telephony,         /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
+               VCONFKEY_SETAPPL_ACCESSIBILITY_TTS,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_VIBRATION,
+               VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
+               VCONFKEY_SETAPPL_STATE_AUTOMATIC_TIME_UPDATE_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_telephony,         /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
+               VCONFKEY_SETAPPL_DEVELOPER_OPTION_STATE,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               NULL,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
+               VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_accessibility_grayscale,           /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
+               VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_accessibility_negative,            /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
+               VCONFKEY_SETAPPL_ROTARY_EVENT_ENABLED_BOOL,
+               SYSTEM_SETTING_DATA_TYPE_BOOL,
+               system_setting_get_vconf,
+               system_setting_set_vconf,
+               system_setting_set_changed_vconf_genernal_callback,
+               system_setting_unset_changed_vconf_genernal_callback,
+               NULL,
+               NULL,           /* ADD */
+               NULL,           /* DEL */
+               NULL,           /* LIST */
+               system_setting_feature_check_wearable_profile,          /* feature check */
+               { NULL, 0 }, /* changed callabck list */
+               NULL,           /* user data */
+       },
+       {
+               SYSTEM_SETTINGS_MAX, NULL, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, { NULL, 0 }, NULL
+       }
+};
+
+#if DEBUG_DUMP_CONTEXT
+static void _dump_context()
+{
+       int i;
+       /*int max = SYSTEM_SETTINGS_MAX; */
+       int max = sizeof(system_setting_table) / sizeof(system_setting_s) - 1 ;
+
+       for (i = 0; i < max; i++) {
+               LOGE("[%s] system_setting_table[i].key = %d", __FUNCTION__, system_setting_table[i].key);
+               LOGE("[%s] system_setting_table[i].data_type = %d", __FUNCTION__, system_setting_table[i].data_type);
+               LOGE("[%s] system_setting_table[i].get_value_cb = %x", __FUNCTION__, system_setting_table[i].get_value_cb);
+               LOGE("[%s] system_setting_table[i].set_value_cb = %x", __FUNCTION__, system_setting_table[i].set_value_cb);
+
+               LOGE("[%s] system_setting_table[i].set_changed_cb = %x <---", __FUNCTION__, system_setting_table[i].set_changed_cb);
+               LOGE("[%s] system_setting_table[i].unset_changed_cb = %x", __FUNCTION__, system_setting_table[i].unset_changed_cb);
+               LOGE("[%s] system_setting_table[i].changed_cb = %x", __FUNCTION__, system_setting_table[i].changed_cb);
+       }
+}
+#endif
+
+/*  LCOV_EXCL_START */
+static int _dump_context_node(int key)
+{
+       int index = 0;
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       while (system_setting_table[index].key != SYSTEM_SETTINGS_MAX) {
+               if (system_setting_table[index].key == key) {
+                       int i = index;
+                       LOGE("[%s] system_setting_table[i].key = %d", __FUNCTION__, system_setting_table[i].key);
+                       LOGE("[%s] system_setting_table[i].data_type = %d", __FUNCTION__, system_setting_table[i].data_type);
+                       LOGE("[%s] system_setting_table[i].get_value_cb = %p", __FUNCTION__, system_setting_table[i].get_value_cb);
+                       LOGE("[%s] system_setting_table[i].set_value_cb = %p", __FUNCTION__, system_setting_table[i].set_value_cb);
+                       LOGE("[%s] system_setting_table[i].set_changed_cb = %p <---", __FUNCTION__, system_setting_table[i].set_changed_cb);
+                       LOGE("[%s] system_setting_table[i].unset_changed_cb = %p", __FUNCTION__, system_setting_table[i].unset_changed_cb);
+                       LOGE("[%s] system_setting_table[i].changed_cb = %p", __FUNCTION__, system_setting_table[i].changed_cb);
+                       return 0;
+               }
+               index++;
+       }
+
+       return -1;
+}
+/*  LCOV_EXCL_STOP */
+#if 0
+int system_settings_get_item(system_settings_key_e key, system_setting_h *item)
+{
+       LOGE("Enter [%s], key=%d", __FUNCTION__, key);
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               LOGE("Enter [%s] catch invalid parameter error (%d) ", __FUNCTION__, key);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+#if DEBUG_DUMP_CONTEXT
+       _dump_context();
+#endif
+       int index = 0;
+       while (system_setting_table[index].key != SYSTEM_SETTINGS_MAX) {
+               if (system_setting_table[index].key == key) {
+                       *item = &system_setting_table[index];
+                       LOGE("Enter [%s], index = %d, key = %d, type = %d", __FUNCTION__, index, key, (*item)->data_type);
+                       if (system_setting_table[index].feature_check_cb != NULL) {
+                               int ret = system_setting_table[index].feature_check_cb(item);
+                               if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+                                       LOGE("Not supported API, because there is no feature!");
+                               }
+                               return ret;
+                       } else {
+                               return SYSTEM_SETTINGS_ERROR_NONE;
+                       }
+               }
+
+               index++;
+       }
+
+       return TIZEN_ERROR_INVALID_PARAMETER;
+}
+#else
+
+/*  LCOV_EXCL_START */
+int binary_search_for_item(system_settings_key_e key)
+{
+       int start = 0;
+       int end = SYSTEM_SETTINGS_KEY_MAX;
+
+       while (start <= end) {
+               int mid = (start + end) / 2;
+               if (system_setting_table[mid].key == key) {
+                       return mid;
+               } else if (system_setting_table[mid].key < key) {
+                       start = mid + 1;
+               } else {
+                       end = mid - 1;
+               }
+       }
+
+       LOGE("Enter [%s], key=%d, Can NOT find the key", __FUNCTION__, key);
+       return -1;
+}
+/*  LCOV_EXCL_STOP */
+
+
+/*  LCOV_EXCL_START */
+int system_settings_get_item(system_settings_key_e key, system_setting_h *item)
+{
+       LOGE("Enter [%s], key=%d", __FUNCTION__, key);
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               LOGE("Enter [%s] catch invalid parameter error (%d) ", __FUNCTION__, key);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+#if DEBUG_DUMP_CONTEXT
+       _dump_context();
+#endif
+       int idx = binary_search_for_item(key);
+       if (-1 == idx)
+               return TIZEN_ERROR_INVALID_PARAMETER;
+
+       *item = &system_setting_table[idx];
+       LOGE("Enter [%s],  key = %d, type = %d", __FUNCTION__, key, (*item)->data_type);
+       if (system_setting_table[idx].feature_check_cb != NULL) {
+               int ret = system_setting_table[idx].feature_check_cb(item);
+               if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+                       LOGE("Not supported API, because there is no feature!");
+               }
+               return ret;
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+
+}
+#endif
+/*  LCOV_EXCL_STOP */
+
+int system_setting_get_vconf(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_char;
+       int vconf_int;
+       int **val = (int**)value;
+       bool vconf_bool;
+
+       switch(item->data_type) {
+       case SYSTEM_SETTING_DATA_TYPE_STRING:
+               if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_char))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               *value = vconf_char;
+       break;
+       case SYSTEM_SETTING_DATA_TYPE_INT:
+               if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_int))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               **val = vconf_int;
+       break;
+       case SYSTEM_SETTING_DATA_TYPE_BOOL:
+               if (system_setting_vconf_get_value_bool(item->vconf_key, &vconf_bool))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               *value = (void *)vconf_bool;
+       break;
+       default:
+               LOGE("Error system_setting_h struct data_type");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+
+/*  LCOV_EXCL_START */
+int system_setting_set_vconf(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_char;
+       int vconf_int;
+       bool vconf_bool;
+
+       switch(item->data_type) {
+       case SYSTEM_SETTING_DATA_TYPE_STRING:
+               vconf_char = (char*)value;
+               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_char))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       break;
+       case SYSTEM_SETTING_DATA_TYPE_INT:
+               vconf_int = **(int**)value;
+               if (system_setting_vconf_set_value_int(item->vconf_key, vconf_int))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       break;
+       case SYSTEM_SETTING_DATA_TYPE_BOOL:
+               vconf_bool = *(bool*)value;
+               if (system_setting_vconf_set_value_bool(item->vconf_key, vconf_bool))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       break;
+       default:
+               LOGE("Error system_setting_h struct data_type");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+int system_settings_get_value(system_settings_key_e key, system_setting_data_type_e data_type, void **value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       system_setting_h system_setting_item;
+       system_setting_get_value_cb     system_setting_getter;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER) {
+                       _dump_context_node(key);
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               }
+               return ret;
+       }
+
+       if (system_setting_item->data_type != data_type) {
+               _dump_context_node(key);
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type --- key:(%d), datatype:(%d)", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER, key, data_type);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       system_setting_getter = system_setting_item->get_value_cb;
+
+       if (system_setting_getter == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return system_setting_getter(system_setting_item, value);
+}
+
+/*  LCOV_EXCL_START */
+int system_settings_set_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+
+       system_setting_h system_setting_item;
+       system_setting_set_value_cb     system_setting_setter;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       /* type check */
+       if (system_setting_item->data_type != data_type) {
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       system_setting_setter = system_setting_item->set_value_cb;
+
+       if (system_setting_setter == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       return system_setting_setter(system_setting_item, value);
+}
+/*  LCOV_EXCL_STOP */
+
+
+
+/*  LCOV_EXCL_START */
+int system_settings_add_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+
+       system_setting_h system_setting_item;
+       system_setting_add_value_cb     system_setting_adder;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       /* type check */
+       if (system_setting_item->data_type != data_type) {
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       system_setting_adder = system_setting_item->add_value_cb;
+
+       if (system_setting_adder == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       return system_setting_adder(key, value);
+}
+/*  LCOV_EXCL_STOP */
+
+
+/*  LCOV_EXCL_START */
+int system_settings_del_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+
+       system_setting_h system_setting_item;
+       system_setting_del_value_cb     system_setting_deler;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+
+       if (0 != ret) {
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       /* type check */
+       if (system_setting_item->data_type != data_type) {
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       system_setting_deler = system_setting_item->del_value_cb;
+
+       if (system_setting_deler == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       return system_setting_deler(key, value);
+}
+/*  LCOV_EXCL_STOP */
+
+
+/*  LCOV_EXCL_START */
+int system_settings_list_value(system_settings_key_e key, system_setting_data_type_e data_type, bool (*system_setting_data_iterator)(int, const char* , void *), void *user_data)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+
+       system_setting_h system_setting_item;
+       system_setting_list_value_cb    system_setting_lister;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       /* type check */
+       if (system_setting_item->data_type != data_type) {
+               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       //system_setting_list_value_cb list_changed_cb;
+       system_setting_lister = system_setting_item->list_value_cb;
+
+       if (system_setting_lister == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       return system_setting_lister(key, system_setting_data_iterator, user_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_settings_set_value_int(system_settings_key_e key, int value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       int *ptr = &value;
+       int **p_ptr = &ptr;
+       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_INT, (void *)p_ptr);
+}
+/*  LCOV_EXCL_STOP */
+
+int system_settings_get_value_int(system_settings_key_e key, int *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+       int value_int = 0;
+       int *ptr = &value_int;
+       int **p_ptr = &ptr;
+       int ret = 0;
+       ret = system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_INT, (void **)p_ptr);
+       *value = value_int;
+       return ret;
+}
+
+/*  LCOV_EXCL_START */
+int system_settings_set_value_bool(system_settings_key_e key, bool value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       bool *ptr = &value;
+       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_BOOL, (void *)ptr);
+}
+/*  LCOV_EXCL_STOP */
+
+int system_settings_get_value_bool(system_settings_key_e key, bool *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       SETTING_TRACE(" SIGNED LONG here ******************* log here *************** ");
+       signed long flag = 0;
+
+       int ret;
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       ret = system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_BOOL, (void **)&flag);
+       SETTING_TRACE(" inf (flag) value : %ld ", flag);
+       if (flag == 0) {
+               *value = false;
+               SETTING_TRACE(" flag == 0 ");
+       } else if (flag == 1) {
+               *value = true;
+               SETTING_TRACE(" flag == 1 ");
+       } else {
+               *value = false;
+               SETTING_TRACE(" exception here!!! ");
+       }
+
+       return ret;
+}
+
+/*  LCOV_EXCL_START */
+int system_settings_set_value_string(system_settings_key_e key, const char *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key))
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
+}
+/*  LCOV_EXCL_STOP */
+
+int system_settings_get_value_string(system_settings_key_e key, char **value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       return system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void **)value);
+}
+
+int system_setting_set_changed_vconf_genernal_callback(system_setting_h item, void *user_data)
+{
+       SETTING_TRACE_BEGIN;
+       return system_setting_vconf_set_changed_cb(item->vconf_key, item->key, GET_SLOT(item->key), user_data);
+}
+
+int system_setting_unset_changed_vconf_genernal_callback(system_setting_h item)
+{
+       SETTING_TRACE_BEGIN;
+       return system_setting_vconf_unset_changed_cb(item->vconf_key, GET_SLOT(item->key));
+}
+
+/*PUBLIC*/
+int system_settings_set_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_h system_setting_item;
+       system_setting_set_changed_callback_cb system_setting_set_changed_cb;
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       system_setting_set_changed_cb = system_setting_item->set_changed_cb;
+
+
+       /* Store the callback function from application side */
+       if (callback)
+               system_setting_item->changed_cb = callback;
+
+       if (user_data)
+               system_setting_item->user_data = user_data;
+
+       if (system_setting_set_changed_cb == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return system_setting_set_changed_cb(system_setting_item, user_data);
+}
+
+
+int system_settings_unset_changed_cb(system_settings_key_e key)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_h system_setting_item;
+       system_setting_unset_changed_callback_cb system_setting_unset_changed_cb;
+
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       system_setting_unset_changed_cb = system_setting_item->unset_changed_cb;
+
+       /* free the callback function from application side */
+       if (system_setting_item->changed_cb)
+               system_setting_item->changed_cb = NULL;
+       /*----------------------------------------------------- */
+
+       if (system_setting_unset_changed_cb == NULL) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return system_setting_unset_changed_cb(system_setting_item);
+}
+
+int system_settings_add_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_h system_setting_item;
+
+       if (callback == NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       if (system_setting_item->vconf_key == NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       LOGE("[%s] key = %d %s", __FUNCTION__, key, system_setting_item->vconf_key);
+
+       /* Store the callback function from application side */
+       ret = add_multi_callback(&system_setting_item->changed_cb_list, callback, user_data);
+       if (ret != SYSTEM_SETTINGS_ERROR_NONE) {
+               LOGE("[%s] IO_ERROR(0x%08x) : failed to add muti-callback for the system settings", __FUNCTION__, ret);
+               return ret;
+       }
+
+       if (!system_setting_item->changed_cb_list.is_registered) {
+               int ret = system_setting_vconf_set_changed_multi_cb(system_setting_item->vconf_key, key);
+               if (ret == SYSTEM_SETTINGS_ERROR_NONE)
+                       system_setting_item->changed_cb_list.is_registered = 1;
+               LOGE("Leave [%s]", __FUNCTION__);
+               return ret;
+       }
+
+       LOGE("Leave [%s]", __FUNCTION__);
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int system_settings_remove_changed_cb(system_settings_key_e key, system_settings_changed_cb callback)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_h system_setting_item;
+
+       if (callback == NULL) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       int ret = system_settings_get_item(key, &system_setting_item);
+       if (ret != 0) {
+               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               return ret;
+       }
+
+       delete_multi_callback(&system_setting_item->changed_cb_list, callback);
+
+       if (system_setting_item->changed_cb_list.list == NULL) {
+               int ret = 0;
+               if (system_setting_item->vconf_key == NULL)
+                       return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+               ret = system_setting_vconf_unset_changed_multi_cb(system_setting_item->vconf_key, key);
+               if (ret == SYSTEM_SETTINGS_ERROR_NONE)
+                       system_setting_item->changed_cb_list.is_registered = 0;
+               LOGE("Leave [%s]", __FUNCTION__);
+               return ret;
+       }
+
+       LOGE("Leave [%s]", __FUNCTION__);
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// list
+//////////////////////////////////////////////////////////////////////////////////////////////////
+
+int system_settings_foreach_value_string(system_settings_key_e key, system_settings_iter_cb callback, void *value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       return system_settings_list_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, callback, (void *)value);
+}
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// add
+//////////////////////////////////////////////////////////////////////////////////////////////////
+
+int system_settings_add_value_string(system_settings_key_e key, const char* value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       return system_settings_add_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
+}
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// del
+//////////////////////////////////////////////////////////////////////////////////////////////////
+
+int system_settings_delete_value_string(system_settings_key_e key, const char* value)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       return system_settings_del_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
+}
+
diff --git a/src/sys_settings.h b/src/sys_settings.h
new file mode 100644 (file)
index 0000000..8cbb6d0
--- /dev/null
@@ -0,0 +1,834 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __TIZEN_SYSTEM_SETTING_PRIVATE_H__
+#define __TIZEN_SYSTEM_SETTING_PRIVATE_H__
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include <dlog.h>
+#include "system_settings.h"
+#include "sys_settings_multi_callback.h"
+
+#ifndef VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST
+#define VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST "db/setting/accessibility/high_contrast"
+#endif
+
+#ifndef VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE
+#define VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE "db/setting/accessibility/greyscale"
+#endif
+
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+
+#define LOG_TAG "SYSTEM-SETTINGS"
+
+/* #define DEBUG_DUMP_CONTEXT */
+#define SYSTEM_SETTINGS_ENABLE_TRACE
+
+#ifdef SYSTEM_SETTINGS_ENABLE_TRACE
+
+
+#define SETTING_TRACE_DEBUG(fmt, arg...) \
+       do {\
+               SECURE_LOGD("\033[0;32mDEBUG: " fmt "\033[0m\n", ##arg);\
+       } while (0);
+
+#define SETTING_TRACE(fmt, arg...) \
+       do {\
+               SECURE_LOGI("\033[0;36m" fmt "\033[0m\n", ##arg);\
+       } while (0);
+
+#define SETTING_TRACE_BEGIN do {\
+               SECURE_LOGD("\033[0;35mENTER FUNCTION: %s. \033[0m\n", __FUNCTION__);\
+       } while (0);
+
+#define SETTING_TRACE_END  do {\
+               SECURE_LOGD("\033[0;35mEXIT FUNCTION: %s. \033[0m\n", __FUNCTION__);\
+       } while (0);
+#else
+#define SETTING_TRACE_DEBUG(fmt, arg...)
+#define SETTING_TRACE(fmt, arg...)
+#define SETTING_TRACE_BEGIN
+#define SETTING_TRACE_END
+#endif
+
+
+#define SETTING_PROFILE_PATH "tizen.org/feature/profile"
+#define SETTING_INCOMING_CALL_PATH "tizen.org/feature/systemsetting.incoming_call"
+#define SETTING_HOME_SCREEN_PATH "tizen.org/feature/systemsetting.home_screen"
+#define SETTING_LOCK_SCREEN_PATH "tizen.org/feature/systemsetting.lock_screen"
+#define SETTING_NOTIFICATION_EMAIL_PATH "tizen.org/feature/systemsetting.notification_email"
+#define SETTING_WIFI_PATH "tizen.org/feature/network.wifi"
+#define SETTING_FONT_PATH "tizen.org/feature/systemsetting.font"
+#define SETTING_TELEPHONY_PATH "tizen.org/feature/network.telephony"
+#define SETTING_ACCESSIBILITY_GRAYSCALE_PATH "tizen.org/feature/accessibility.grayscale"
+#define SETTING_ACCESSIBILITY_NEGATIVE_PATH "tizen.org/feature/accessibility.negative"
+#define SETTING_INPUT_ROTATING_BEZEL_PATH "tizen.org/feature/input.rotating_bezel"
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * Enumeration for data type of internal getter/setter.
+ */
+typedef enum {
+       SYSTEM_SETTING_DATA_TYPE_STRING,        /**< string */
+       SYSTEM_SETTING_DATA_TYPE_INT,           /**< integer */
+       SYSTEM_SETTING_DATA_TYPE_BOOL,          /**< boolean */
+#if 0
+       /*SYSTEM_SETTING_DATA_TYPE_FLOAT, */
+       /*SYSTEM_SETTING_DATA_TYPE_DOULBE, */
+#endif
+}
+system_setting_data_type_e;
+
+/**
+ * @internal
+ * @since_tizen 6.0
+ * Enumeration for callback slot
+ */
+typedef enum {
+       SYSTEM_SETTING_CALLBACK_SLOT_0 = 0,
+       SYSTEM_SETTING_CALLBACK_SLOT_1 = 1,
+       SYSTEM_SETTING_CALLBACK_SLOT_2 = 2,
+       SYSTEM_SETTING_CALLBACK_SLOT_3 = 3,
+       SYSTEM_SETTING_CALLBACK_SLOT_4 = 4,
+       SYSTEM_SETTING_CALLBACK_SLOT_5 = 5
+}
+system_setting_callback_slot_e;
+
+typedef struct _system_setting_s *system_setting_h;
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+typedef int (*system_setting_get_value_cb)(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+typedef int (*system_setting_set_value_cb)(system_setting_h item, void *value);
+typedef int (*system_setting_add_value_cb)(system_settings_key_e key, void *value);
+typedef int (*system_setting_del_value_cb)(system_settings_key_e key, void *value);
+typedef int (*system_setting_list_value_cb)(system_settings_key_e key, system_settings_iter_cb callback, void *user_data);
+
+typedef int (*system_setting_feature_check_cb)(void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+typedef int (*system_setting_set_changed_callback_cb)(system_setting_h item, void *user_data);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+typedef int (*system_setting_unset_changed_callback_cb)(system_setting_h item);
+
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ */
+typedef struct _system_setting_s {
+       system_settings_key_e key;                                                                              /**< key */
+       const char * const vconf_key;                                                                   /**< vconf key */
+       system_setting_data_type_e data_type;                                                   /**< data type */
+       system_setting_get_value_cb get_value_cb;                                               /**< function pointer for getter */
+       system_setting_set_value_cb set_value_cb;                                               /**< function pointer for setter */
+
+       system_setting_set_changed_callback_cb set_changed_cb;                  /**< function pointer to register for notification callback */
+       system_setting_unset_changed_callback_cb unset_changed_cb ;             /**< function pointer to un-register for notification callback */
+       system_settings_changed_cb changed_cb;                                                  /* registered by user application */
+
+       system_setting_add_value_cb add_value_cb;
+       system_setting_del_value_cb del_value_cb;
+       system_setting_list_value_cb list_value_cb;
+
+       system_setting_feature_check_cb feature_check_cb;
+
+       callback_list changed_cb_list;
+
+       void *user_data;                                                                                                /* user_data */
+
+} system_setting_s;
+
+
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_settings_get_item(system_settings_key_e key, system_setting_h *item);
+
+
+/* get */
+
+/**
+ * @internal
+ * @brief get vconf of in type value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key string
+ * @param[out] value get the integer type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_get_value_int(const char *vconf_key, int *value);
+
+/**
+ * @internal
+ * @brief get vconf of in bool value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key string
+ * @param[out] value get the bool type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value);
+
+/**
+ * @internal
+ * @brief get vconf of string type value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key string
+ * @param[out] value get the string(char*) type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_get_value_string(const char *vconf_key, char **value);
+
+/**
+ * @internal
+ * @brief set the int type vconf value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key key name
+ * @param[in] value int type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_set_value_int(const char *vconf_key, int value);
+
+/**
+ * @internal
+ * @brief set the bool type vconf value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key key name
+ * @param[in] value bool type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_set_value_bool(const char *vconf_key, bool value);
+
+/**
+ * @internal
+ * @brief set the string type vconf value
+ * @since_tizen 2.3
+ *
+ * @param[in] vconf_key key name
+ * @param[in] value string type value
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_set_value_string(const char *vconf_key, char *value);
+
+/**
+ * @internal
+ * @brief get vconf value for genernal case
+ * @since_tizen 6.0
+ *
+ * @param[in] system_setting_h item
+ * @param[in] void value pointer
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_vconf(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief set vconf value for genernal case
+ * @since_tizen 6.0
+ *
+ * @param[in] system_setting_h item
+ * @param[in] void value pointer
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_vconf(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @brief set vconf notification callback for genernal case
+ * @since_tizen 6.0
+ *
+ * @param[in] system_setting_h item
+ * @param[in] system_settings_changed_cb callback
+ * @param[in] user_data user data
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_changed_vconf_genernal_callback(system_setting_h item, void *user_data);
+
+/**
+ * @internal
+ * @brief unset vconf notification callback for genernal case
+ * @since_tizen 6.0
+ *
+ * @param[in] system_setting_h item
+ *
+ * @return 0 on success, -1 on error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_unset_changed_vconf_genernal_callback(system_setting_h item);
+
+/**
+ * @internal
+ * @brief Set the system settings notification callback
+ * @since_tizen 2.3
+ * @param[in] vconf_key
+ * @param[in] key
+ * @param[in] slot internal slot to set the key (0~4)
+ * @param[in] user_data user data
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, system_setting_callback_slot_e slot, void *user_data);
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 2.3
+ * @param[in] vconf_key vconf key name used in the code
+ * @param[in] slot internal slot to set the key (0~5)
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_vconf_unset_changed_cb(const char *vconf_key, system_setting_callback_slot_e slot);
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] key system_settings_key_e value to get vconf string
+ * @param[out] key_string string pointer to be assigned vconf string
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_settings_vconf_get_key_string(system_settings_key_e key, char **key_string);
+
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] vconf_key vconf key name used in the code
+ * @param[in] key system_settings_key_e value.
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ */
+int system_setting_vconf_set_changed_multi_cb(const char *vconf_key, system_settings_key_e key);
+
+/**
+ * @internal
+ * @brief Unset the system settings notification callback
+ * @since_tizen 4.0
+ * @param[in] vconf_key vconf key name used in the code
+ * @param[in] key system_settings_key_e value.
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ */
+int system_setting_vconf_unset_changed_multi_cb(const char *vconf_key, system_settings_key_e key);
+
+/**
+ * @internal
+ * @brief set current font size
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
+ * @param[out] value the font size
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_font_size(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_incoming_call_ringtone(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief set current path of the ringtone
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
+ * @param[out] value the ringtone
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_incoming_call_ringtone(system_setting_h item, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_add_incoming_call_ringtone(system_settings_key_e key, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_del_incoming_call_ringtone(system_settings_key_e key, void *value);
+
+
+/**
+ * @todo add comment here
+ */
+int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_settings_iter_cb callback, void *data);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_email_alert_ringtone(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief set current path of the email-alert
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
+ * @param[out] value the alert ringtone
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_email_alert_ringtone(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @brief set current path of the wallpaper
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
+ * @param[out] value the wallpaper
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_wallpaper_home_screen(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @brief set current path of the bg image of the lock screen
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
+ * @param[out] value the lock screen
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_wallpaper_lock_screen(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_default_font_type(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief set name of the font name
+ * @since_tizen 2.3
+ * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_TYPE
+ * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
+ * @param[out] value the font type
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_font_type(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_lockscreen_app(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_lockscreen_app(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_locale_country(system_setting_h item, void **value);
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_locale_country(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_locale_language(system_setting_h item, void **value);
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_locale_language(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_locale_timeformat_24hour(system_setting_h item, void **value);
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_locale_timeformat_24hour(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_locale_timezone(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 3.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_locale_timezone(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @brief get current UDS status
+ * @since_tizen 3.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_uds_state(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief get current ADS ID
+ * @since_tizen 3.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_ads_id(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @brief set ADS ID
+ * @since_tizen 3.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_ads_id(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_sound_notification(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_screen_backlight_time(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_network_wifi_notification(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_sound_silent_mode(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_set_sound_silent_mode(system_setting_h item, void *value);
+
+/**
+ * @internal
+ * @since_tizen 2.3
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ */
+int system_setting_get_time_changed(system_setting_h item, void **value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_incoming_call(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_home_screen(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_lock_screen(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_notification_email(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_wifi(void * value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_telephony(void *value);
+
+/**
+ * @internal
+ * @since_tizen 4.0
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_font(void *value);
+
+/**
+ * @internal
+ * @since_tizen 5.5
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_accessibility_grayscale(void *value);
+
+/**
+ * @internal
+ * @since_tizen 5.5
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_accessibility_negative(void *value);
+
+/**
+ * @internal
+ * @since_tizen 5.5
+ * @return     0 on success, otherwise a negative error value
+ * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ */
+int system_setting_feature_check_wearable_profile(void *value);
+
+/*// */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TIZEN_SYSTEM_SETTING_PRIVATE_H__ */
+
+
+
diff --git a/src/sys_settings_json.c b/src/sys_settings_json.c
new file mode 100644 (file)
index 0000000..1447db9
--- /dev/null
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <vconf.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+#include "sys_settings_json.h"
+
+//#define VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST
+
+/* LCOV_EXCL_START */
+static void ss_json_ringtone_save(JsonNode *root)
+{
+       // write here
+       JsonGenerator *generator = json_generator_new();
+       json_generator_set_root(generator, root);
+       json_generator_set_pretty(generator, TRUE);
+#ifdef USE_JSONFILE
+       GError *error = NULL;
+       gboolean ret = json_generator_to_file(generator, filename, &error);
+#else
+       gchar* result = json_generator_to_data(generator, NULL);
+       vconf_set_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST, (char*)result);
+#endif
+       g_object_unref(generator);
+}
+/* LCOV_EXCL_STOP */
+
+
+/* LCOV_EXCL_START */
+JsonParser* ss_json_ringtone_open_file(char* path)
+{
+       JsonParser *parser;
+       //JsonNode *root;
+       GError *error;
+
+       parser = json_parser_new();
+
+       error = NULL;
+       json_parser_load_from_file(parser, path, &error);
+       if (error) {
+               SETTING_TRACE("Unable to parse `%s': %s\n", path, error->message);
+               g_error_free(error);
+               g_object_unref(parser);
+               return NULL;
+       }
+
+       return parser;
+}
+/* LCOV_EXCL_STOP */
+
+JsonParser* ss_json_ringtone_load_from_data()
+{
+       JsonParser *parser;
+       //JsonNode *root;
+       GError *error;
+
+       parser = json_parser_new();
+
+       error = NULL;
+       char* load_data = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST);
+       json_parser_load_from_data(parser, load_data, -1, &error);
+       if (error) {
+               SETTING_TRACE("Unable to load data : %s \n", error->message);
+               g_error_free(error);
+               g_object_unref(parser);
+               return NULL;
+       }
+       return parser;
+}
+
+void ss_json_ringtone_add(JsonNode *root, char* filename, char* nameval, char* pathval)
+{
+       SETTING_TRACE_BEGIN;
+
+       JsonNode* menu_item = json_node_new(JSON_NODE_OBJECT);
+       JsonObject *object = json_object_new();
+       json_node_take_object(menu_item, object);
+       json_object_set_string_member(object, "name", nameval);
+       json_object_set_string_member(object, "path", pathval);
+
+       JsonArray* menu = json_node_get_array(root);
+       json_array_add_element(menu, menu_item);
+
+       ss_json_ringtone_save(root);
+}
+
+void ss_json_ringtone_print(JsonNode *root)
+{
+       JsonNode *node = root;
+
+       JsonGenerator *generator = json_generator_new();
+       json_generator_set_root(generator, node);
+       json_generator_set_pretty(generator, TRUE);
+       gchar *data = json_generator_to_data(generator, NULL);
+       //SETTING_TRACE("%s", (char * )data);
+       SETTING_TRACE("-------------------------------------------------------\n");
+       SETTING_TRACE("%s", data);
+       SETTING_TRACE("-------------------------------------------------------\n");
+
+       SETTING_TRACE("VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST SET !!!!\n");
+       vconf_set_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST, (char*)data);
+       g_free(data);
+       g_object_unref(generator);
+}
+
+void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del)
+{
+       int size = json_array_get_length(json_node_get_array(root));
+
+       SETTING_TRACE("BBB size : (%d) \n", size);
+       int i = 0;
+       for (i = 0; i < size ; i++) {
+               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
+               //char *nameval = (char *)json_object_get_string_member(ringtone, "name");
+               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
+
+               if (pathval && !strcmp(pathval, path_to_del)) {
+                       json_array_remove_element(json_node_get_array(root), i);
+                       SETTING_TRACE("remove BBB : (%s) --- (%s) \n", pathval, path_to_del);
+               }
+       }
+
+       ss_json_ringtone_save(root);
+}
+
+bool ss_json_ringtone_contain(JsonNode *root, char* newfile)
+{
+       int size = json_array_get_length(json_node_get_array(root));
+
+       bool ret = false;
+
+       int i = 0;
+       for (i = 0; i < size ; i++) {
+               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
+               //char *nameval = (char *)json_object_get_string_member(ringtone, "name");
+               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
+               //SETTING_TRACE("(%s) --- (%s) \n", name, path);
+
+
+               if (pathval && !strcmp(pathval, newfile)) {
+                       //SETTING_TRACE("FOUND\n");
+                       ret = true;
+                       break;
+               } else {
+                       //SETTING_TRACE("*NOT* FOUND\n");
+                       ret = false;
+               }
+       }
+
+       return ret;
+}
+
+/* LCOV_EXCL_START */
+void ss_json_ringtone_list(JsonNode *root)
+{
+       int size = json_array_get_length(json_node_get_array(root));
+
+       int i = 0;
+       for (i = 0; i < size ; i++) {
+               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
+               char *name = (char *)json_object_get_string_member(ringtone, "name");
+               char *path = (char *)json_object_get_string_member(ringtone, "path");
+               SETTING_TRACE("(%s) --- (%s) \n", name, path);
+       }
+}
+/* LCOV_EXCL_STOP */
+
+
diff --git a/src/sys_settings_json.h b/src/sys_settings_json.h
new file mode 100644 (file)
index 0000000..f6f71e8
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __TIZEN_SYSTEM_SETTING_JSON_H__
+#define __TIZEN_SYSTEM_SETTING_JSON_H__
+
+#include <stdlib.h>
+#include <string.h>
+#include <glib-object.h>
+#include <json-glib/json-glib.h>
+
+//#define USE_JSONFILE
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JsonParser* ss_json_ringtone_open_file(char* path);
+JsonParser* ss_json_ringtone_load_from_data();
+
+void ss_json_ringtone_add(JsonNode *root, char* filename, char* nameval, char* pathval);
+
+void ss_json_ringtone_print(JsonNode *root);
+
+void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del);
+
+bool ss_json_ringtone_contain(JsonNode *root, char* newfile);
+
+void ss_json_ringtone_list(JsonNode *root);
+
+/*// */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TIZEN_SYSTEM_SETTING_JSON_H__ */
+
+
+
diff --git a/src/sys_settings_multi_callback.c b/src/sys_settings_multi_callback.c
new file mode 100644 (file)
index 0000000..9129ef1
--- /dev/null
@@ -0,0 +1,120 @@
+/*
+ * Copyright (c) 2017-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdlib.h>
+#include "sys_settings.h"
+
+void clean_node(callback_node* node)
+{
+       if (!node)
+               return;
+
+       node->callback = NULL;
+       node->user_data = NULL;
+}
+
+
+callback_node* alloc_multi_callback_node()
+{
+       callback_node* node = NULL;
+       node = (callback_node*)malloc(sizeof(callback_node));
+
+       if (node == NULL) {
+               SETTING_TRACE("Not enough node....");
+               return NULL;
+       }
+
+       clean_node(node);
+
+       return node;
+}
+
+void free_multi_callback_node(callback_node* node)
+{
+       if (node)
+               free(node);
+       return;
+}
+
+static gint _compare_cb(gconstpointer val, gconstpointer s_val)
+{
+       if (NULL == val) return 1;
+       if (NULL == s_val) return 1;
+
+       callback_node* node = (callback_node*)val;
+       if (node->callback == s_val)
+               return 0;
+       return -1;
+}
+
+int delete_multi_callback(callback_list *handle, system_settings_changed_cb ptr)
+{
+       SETTING_TRACE_BEGIN;
+       if (!handle || !ptr)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       GList *found = g_list_find_custom(handle->list, ptr, _compare_cb);
+       if (found) {
+               handle->list = g_list_remove_link(handle->list, found);
+               free_multi_callback_node((callback_node*)found->data);
+               g_list_free(found);
+       }
+
+       SETTING_TRACE_END;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int add_multi_callback(callback_list *handle, system_settings_changed_cb ptr, void *user_data)
+{
+       SETTING_TRACE_BEGIN;
+       if (!handle || !ptr)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       GList *found = g_list_find_custom(handle->list, ptr, _compare_cb);
+       if (found != NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       callback_node* node = alloc_multi_callback_node();
+
+       if (node == NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       node->callback = ptr;
+       node->user_data = user_data;
+
+       /* append the node to list. free_multi_callback_node will free the node */
+       handle->list = g_list_append(handle->list, node);
+
+       SETTING_TRACE_END;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int invoke_callback_list(callback_list *handle, system_settings_key_e key)
+{
+       SETTING_TRACE_BEGIN;
+       if (!handle)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       GList *itr = handle->list;
+       while (itr != NULL) {
+               callback_node* node = (callback_node*)itr->data;
+               if (node->callback)
+                       node->callback(key, node->user_data);
+               itr = g_list_next(itr);
+       }
+
+       SETTING_TRACE_END;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
diff --git a/src/sys_settings_multi_callback.h b/src/sys_settings_multi_callback.h
new file mode 100644 (file)
index 0000000..a67031b
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__
+#define __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__
+
+#include <glib.h>
+#include "system_settings.h"
+
+typedef struct __st_multi_callback_node_
+{
+       system_settings_changed_cb callback;
+       void* user_data;
+}callback_node;
+
+typedef struct __st_multi_callback_list_
+{
+       GList * list;
+       int is_registered;
+}callback_list;
+
+int add_multi_callback(callback_list *handle, system_settings_changed_cb ptr, void* user_data);
+int delete_multi_callback(callback_list *handle, system_settings_changed_cb ptr);
+int invoke_callback_list(callback_list *handle, system_settings_key_e key);
+
+
+#endif /* __TIZEN_SYSTEM_SETTING_MULTI_CALLBACK_H__ */
diff --git a/src/sys_settings_platform.c b/src/sys_settings_platform.c
new file mode 100644 (file)
index 0000000..eb58d45
--- /dev/null
@@ -0,0 +1,1708 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+#include <time.h>
+#include <dlfcn.h>
+
+#include <string.h>
+#include <libgen.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <regex.h>
+
+#include <aul.h>
+#include <dlog.h>
+#include <vconf.h>
+
+#include <glib.h>
+#include <libxml/xmlmemory.h>
+#include <libxml/parser.h>
+
+#include <fontconfig/fontconfig.h>
+
+#include <pkgmgr-info.h>
+#include <package_manager.h>
+#include <app_manager.h>
+#include <tzplatform_config.h>
+#include <alarm.h>
+#include <system_info.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+#include "sys_settings_ringtones.h"
+#include "sys_settings_json.h"
+
+#define SETTING_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
+#define SETTING_DEFAULT_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
+
+#define SETTING_TIME_ZONEINFO_PATH             "/usr/share/zoneinfo/"
+#define SETTING_TIME_SHARE_LOCAL_PATH  "/usr/share/locale"
+#define SETTING_TZONE_SYMLINK_PATH             "/opt/etc/localtime"
+
+
+#define __FREE(del, arg) do { \
+               if (arg) { \
+                       del((void *)(arg)); /*cast any argument to (void*) to avoid build warring*/\
+                       arg = NULL; \
+               } \
+       } while (0);
+#define FREE(arg) __FREE(free, arg)
+
+#ifdef SETTING_ARCH_64
+#define SETTING_UTILS_SO_FILE_PATH "/usr/lib64/libsystem-settings-util.so"
+#else
+#define SETTING_UTILS_SO_FILE_PATH "/usr/lib/libsystem-settings-util.so"
+#endif
+
+int _is_file_accessible(const char *path);
+
+static bool dl_is_supported_image_type_load(char *path);
+static bool dl_font_config_set(char *font_name);
+static char *dl_get_default_font_info();
+static int dl_is_available_font(char *str);
+static void dl_font_size_set();
+static void dl_font_config_set_notification();
+
+/**
+ * VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR has a path of the ringtone file which user choose
+ * @return the ringtone file path specified by user in normal case
+ *                if it's not accessable, return the default ringtone path
+ */
+int system_setting_get_incoming_call_ringtone(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       /* check to see if it's accessable -> OK */
+       /* no --> default ringtone path VCONFKEY_SETAPPL_CALL_RINGTONE_DEFAULT_PATH_STR */
+       int is_load = _is_file_accessible(vconf_value);
+       if (is_load == 0) {
+               *value = vconf_value;
+       } else { /* not zero on errro */
+               *value = vconf_get_str(item->vconf_key);
+               free(vconf_value);
+       }
+
+       /**value = vconf_value; */
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+
+/*  LCOV_EXCL_START */
+int system_setting_get_email_alert_ringtone(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       /* check to see if it's accessable -> OK */
+       /* no --> default ringtone path VCONFKEY_SETAPPL_NOTI_RINGTONE_DEFAULT_PATH_STR */
+       int is_load = _is_file_accessible(vconf_value);
+       if (is_load == 0) {
+               *value = vconf_value;
+       } else { /* not zero on errro */
+               *value = vconf_get_str(VCONFKEY_SETAPPL_NOTI_RINGTONE_DEFAULT_PATH_STR);
+               free(vconf_value);
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+
+int system_setting_get_default_font_type(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *font_name = dl_get_default_font_info();
+       if (font_name) {
+               *value = (void *)font_name;
+               return SYSTEM_SETTINGS_ERROR_NONE;
+       } else {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+}
+
+
+/*////////////////////////////////////////////////////////////////////////////////////////////////// */
+/**
+ * get current lock scren app package name (string)
+ *
+ * @return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE raise exception if current lock type is 'password'
+ */
+/*  LCOV_EXCL_START */
+int system_setting_get_lockscreen_app(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *pkg_name = NULL;
+       int locktype = -1;
+       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, &locktype)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (system_setting_vconf_get_value_string(item->vconf_key, &pkg_name)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (pkg_name && strcmp(pkg_name, "com.samsung.lockscreen") == 0 && locktype == SETTING_SCREEN_LOCK_TYPE_PASSWORD) {
+               free(pkg_name);
+               return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE;
+       }
+
+       *value = pkg_name;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*////////////////////////////////////////////////////////////////////////////////////////////////// */
+
+int _is_file_accessible(const char *path)
+{
+       SETTING_TRACE_BEGIN;
+       int ret = access(path , R_OK);
+       if (ret == 0) {
+               SETTING_TRACE("found the file  %s", path);
+               return 0;
+       } else {
+               /* error code : 13 */
+               SETTING_TRACE("found the file  %s --- error code : %d ", path, errno);
+               return -errno;
+       }
+}
+
+
+
+/*////////////////////////////////////////////////////////////////////////////////////////////////// */
+// @todo move to CMake
+#define DEF_RINGTONE_FILE_PATH SETTING_DEF_RES"/Ringtones"
+
+#define USR_RINGTONE_FILE_PATH "/home/owner/content/Sounds/Ringtones"
+#define JSONFILE "/opt/home/owner/apps_rw/org.tizen.setting/data/.user-ringtones.json"
+
+int system_setting_add_incoming_call_ringtone(system_settings_key_e key, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char* pathval = (char*)value;
+       char* dnameval = NULL;
+       char* baseval = NULL;
+
+#ifdef USE_JSONFILE
+       // NOT IN USE
+       JsonParser *parser = ss_json_ringtone_open_file(JSONFILE);
+#else
+       JsonParser *parser = ss_json_ringtone_load_from_data();
+#endif
+
+       JsonNode *root = json_parser_get_root(parser);
+
+       // dirname
+       // basename
+       int ret = SYSTEM_SETTINGS_ERROR_NONE;
+       if (false == ss_json_ringtone_contain(root, pathval)) {
+               // @todo : MAKE SURE THE ACTUAL FILE IS THERE ON PATHVAL(SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+               ss_json_ringtone_add(root, JSONFILE, pathval, pathval);
+               SETTING_TRACE("pathval is : %s -- OK", pathval);
+       } else {
+               SETTING_TRACE("pathval is duplicated : %s", pathval);
+               ret = SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       dnameval = strdup(pathval);
+       baseval = strdup(pathval);
+       if (dnameval && baseval) {
+               SETTING_TRACE("---> dirname is : %s ", dirname(dnameval));
+               SETTING_TRACE("---> basename is : %s ", basename(baseval));
+       }
+       FREE(dnameval);
+       FREE(baseval);
+
+       if (parser) {
+               g_object_unref(parser);
+               parser = NULL;
+       }
+
+       return ret;
+}
+
+int system_setting_del_incoming_call_ringtone(system_settings_key_e key, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char* pathval = (char*)value;
+#ifdef USE_JSONFILE
+       // NOT IN USE
+       JsonParser* parser = ss_json_ringtone_open_file(JSONFILE);
+#else
+       JsonParser* parser = ss_json_ringtone_load_from_data();
+#endif
+       JsonNode *root = json_parser_get_root(parser);
+
+       ss_json_ringtone_remove(root, JSONFILE, pathval);
+       //void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del)
+
+       ss_json_ringtone_print(root);
+       if (parser) {
+               g_object_unref(parser);
+               parser = NULL;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+
+/*  LCOV_EXCL_START */
+gint _compare_cb(gconstpointer d1, gconstpointer d2)
+{
+       fileNodeInfo *pNode1 = (fileNodeInfo *)d1;
+       fileNodeInfo *pNode2 = (fileNodeInfo *)d2;
+
+       return strcmp(pNode1->media_name, pNode2->media_name);
+}
+/*  LCOV_EXCL_STOP */
+
+/*
+ * get the RINGTONE list
+ */
+static void _get_default_ringtones(system_settings_key_e key, system_settings_iter_cb callback, void *data)
+{
+       SETTING_TRACE_BEGIN;
+       /*Get file list */
+       GList *filelist = NULL;
+       GList *iter;
+       fileNodeInfo *node = NULL;
+       int idx = 0;
+
+       //-----------------------------------------------------------------------------------------------------------------
+       // 1. get the default ringtone list
+       //-----------------------------------------------------------------------------------------------------------------
+       int ret = get_filelist_from_dir_path(DEF_RINGTONE_FILE_PATH, &filelist);
+       if (ret != 0) {
+               SETTING_TRACE("Failed to get filelist, ret = %d %s", ret, DEF_RINGTONE_FILE_PATH);
+       }
+
+       filelist = g_list_sort(filelist, _compare_cb);
+
+       for (iter = filelist; iter != NULL; iter = g_list_next(iter)) {
+               node = (fileNodeInfo *)iter->data;
+               SETTING_TRACE("file path = (%d) : name:%s path:%s [%s]", ret, node->name, node->path, node->media_name);
+               // @todo assert NULL check
+               if (callback) {
+                       char temp[1024];
+                       snprintf(temp, 1024, "%s/%s", node->path, node->name);
+                       char* path = strdup(temp);
+                       bool ret = callback(idx, (void *)(path), data);
+                       if (path) {
+                               free(path);
+                               path = NULL;
+                       }
+                       if (ret == false) {
+                               SETTING_TRACE("quit the iteration by return value == false : %d", ret);
+                               break;
+                       }
+
+               } else {
+                       SETTING_TRACE("--> system_setting_data_iterator is NULL");
+               }
+       }
+
+       for (iter = filelist; iter != NULL; iter = g_list_next(iter)) {
+               node = (fileNodeInfo *)iter->data;
+               FREE(node->path);
+               FREE(node->name);
+               FREE(node->media_name);
+               FREE(node);
+       }
+       g_list_free(filelist);
+       filelist = NULL;
+
+}
+
+static void _get_user_ringtones(system_settings_key_e key, system_settings_iter_cb callback, void *data)
+{
+       SETTING_TRACE_BEGIN;
+
+#ifdef USE_JSONFILE
+       // NOT IN USE
+       JsonParser* parser = ss_json_ringtone_open_file(JSONFILE);
+#else
+       JsonParser* parser = ss_json_ringtone_load_from_data();
+#endif
+
+       JsonNode *root = json_parser_get_root(parser);
+       int size = json_array_get_length(json_node_get_array(root));
+
+       int i = 0;
+       for (i = 0; i < size ; i++) {
+               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
+               char *nameval = (char *)json_object_get_string_member(ringtone, "name");
+               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
+               SETTING_TRACE("(%s) --- (%s) \n", nameval, pathval);
+               if (callback && pathval) {
+                       char* path = strdup(pathval);
+                       bool ret = callback(i, (void *)(path), data);
+                       if (ret == false) {
+                               SETTING_TRACE("quit the iteration by return value == false : %d", ret);
+                               break;
+                       }
+                       FREE(path);
+               } else {
+                       SETTING_TRACE("--> callback is NULL");
+               }
+       }
+
+       g_object_unref(parser);
+}
+
+int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_settings_iter_cb callback, void *data)
+{
+       SETTING_TRACE_BEGIN;
+
+       _get_default_ringtones(key, callback, data);
+       //-----------------------------------------------------------------------------------------------------------------
+       // 2. get the USER ringtone list
+       //-----------------------------------------------------------------------------------------------------------------
+       _get_user_ringtones(key, callback, data);
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+
+/*  LCOV_EXCL_START */
+int system_setting_set_incoming_call_ringtone(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value;
+       vconf_value = (char *)value;
+
+       int ret = _is_file_accessible(vconf_value);
+       if (ret == 0) {
+               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       } else {
+               /* @todo add a common ret_handler */
+               return ret;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+
+/*  LCOV_EXCL_START */
+int system_setting_set_email_alert_ringtone(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value;
+       vconf_value = (char *)value;
+
+       int ret = _is_file_accessible(vconf_value);
+       if (ret == 0) {
+               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       } else {
+               /*return SYSTEM_SETTINGS_ERROR_IO_ERROR;*/
+               /* @todo add a common ret_handler */
+               return ret;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static bool dl_is_supported_image_type_load(char *path)
+{
+       void *handle = NULL;
+       char *error;
+       bool ret = false;
+       bool (*image_type_check)(char *path);
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return false;
+       }
+
+       image_type_check = dlsym(handle, "__is_supported_image_type_load");
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find __is_supported_image_type_load function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return false;
+       }
+       ret = image_type_check(path);
+       if (handle)
+               dlclose(handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int dl_is_available_font(char *str)
+{
+       void *handle = NULL;
+       char *error;
+       int ret = false;
+       int (*check_available_font)(char *font_name);
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return false;
+       }
+
+       check_available_font = dlsym(handle, "__is_available_font");
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find __is_available_font function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return false;
+       }
+       ret = check_available_font(str);
+       if (handle)
+               dlclose(handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void dl_font_size_set()
+{
+       void *handle = NULL;
+       char *error;
+       void (*set_font_size)();
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return;
+       }
+
+       set_font_size = dlsym(handle, "__font_size_set");
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find __font_size_set function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return;
+       }
+       set_font_size();
+       if (handle)
+               dlclose(handle);
+       return;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void dl_font_config_set_notification()
+{
+       void *handle = NULL;
+       char *error;
+       void (*set_font_nodification)();
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return;
+       }
+
+       set_font_nodification = dlsym(handle, "font_config_set_notification");
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find font_config_set_notification function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return;
+       }
+       set_font_nodification();
+       if (handle)
+               dlclose(handle);
+       return;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static bool dl_font_config_set(char *font_name)
+{
+       void *handle = NULL;
+       char *error;
+       bool ret = false;
+       bool (*check_font_type)(char *font_name);
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return false;
+       }
+
+       check_font_type = dlsym(handle, "font_config_set");
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find font_config_set function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return false;
+       }
+       ret = check_font_type(font_name);
+       if (handle)
+               dlclose(handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static char *dl_get_default_font_info()
+{
+       void *handle = NULL;
+       char *error;
+       char *ret = NULL;
+       char *(*get_font_info)();
+
+       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
+       if (!handle) {
+               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so");
+               return false;
+       }
+
+       get_font_info = dlsym(handle, "_get_default_font");
+
+       if ((error = dlerror()) != NULL) {
+               SETTING_TRACE("ERROR!! canNOT find _get_default_font function at libsystem-settings-util.so");
+               if (handle)
+                       dlclose(handle);
+               return false;
+       }
+       ret = get_font_info();
+       if (handle)
+               dlclose(handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+#ifdef TIZEN_WEARABLE
+/*  LCOV_EXCL_START */
+static int system_setting_get_extended_wallpaper_num(const char *file_path, unsigned int *num)
+{
+       SETTING_TRACE_BEGIN;
+       char buffer[256];
+       const char *find_str = "extended_wallpaper_";
+       char *ch = NULL;
+
+       if (!(ch = strstr(file_path, find_str))) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       strncpy(buffer, file_path, ch - file_path);
+       buffer[ch - file_path] = 0;
+       sprintf(buffer + (ch - file_path), "%s%s", "", ch + strlen(find_str));
+
+       if (!isdigit(buffer[0])) {
+               SETTING_TRACE("%s is not number", buffer);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       *num = atoi(buffer);
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int system_setting_copy_extended_wallpaper(const char *dest_file_path, const char *source_file_path)
+{
+       SETTING_TRACE_BEGIN;
+       if (!source_file_path || !dest_file_path) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       char buf[1024];
+
+       int fd;
+       fd = open(source_file_path, O_RDONLY);
+       if (fd < 0) {
+               SETTING_TRACE("file open failed: %s", source_file_path);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       int fd2;
+       fd2 = open(dest_file_path, O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO);
+       if (fd2 < 0) {
+               SETTING_TRACE("file creation failed: %s", dest_file_path);
+               close(fd);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       while (read(fd, buf, sizeof(buf) - 1) > 0) {
+               write(fd2, buf, sizeof(buf) - 1);
+       }
+
+       close(fd2);
+       close(fd);
+
+       if (chmod(dest_file_path, S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
+               SETTING_TRACE("chmod failed: %s", dest_file_path);
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int system_setting_remove_oldest_extended_wallpaper()
+{
+       SETTING_TRACE_BEGIN;
+       DIR *dp;
+       struct dirent *dirp;
+       char *min_image_name = NULL;
+       unsigned int min_image_num = 0;
+       unsigned int temp_image_num = 0;
+       int image_count = 0;
+
+       if ((dp = opendir(_TZ_SYS_DATA"/setting/wallpaper")) == NULL) {
+               SETTING_TRACE("opendir error");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       while ((dirp = readdir(dp))) {
+               if (!strcmp(dirp->d_name, ".") || !strcmp(dirp->d_name, ".."))
+                       continue;
+
+               if (system_setting_get_extended_wallpaper_num(dirp->d_name, &temp_image_num)
+                   != SYSTEM_SETTINGS_ERROR_NONE) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+               if ((image_count == 0) || (min_image_num > temp_image_num)) {
+                       min_image_num = temp_image_num;
+                       min_image_name = dirp->d_name;
+               }
+
+               image_count++;
+       }
+
+       char buf[512];
+       if (min_image_name) {
+               snprintf(buf, sizeof(buf) - 1, _TZ_SYS_DATA"/setting/wallpaper/%s", min_image_name);
+               if (remove(buf) < 0) {  /* remove oldest image */
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int system_setting_check_extended_wallpaper(const char *file_path)
+{
+       char buffer[512];
+       SETTING_TRACE_BEGIN;
+       if (!file_path || !strlen(file_path))
+               return 0;
+       snprintf(buffer, 512, "%s/.bgwallpaper", tzplatform_getenv(TZ_USER_CONTENT));
+       return (strstr(file_path, buffer) != NULL);
+}
+/*  LCOV_EXCL_STOP */
+
+#define WALLPAPER_MAX_COUNT            10
+#endif
+/*  LCOV_EXCL_START */
+int system_setting_set_wallpaper_home_screen(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value;
+       vconf_value = (char *)value;
+
+       bool isok  = dl_is_supported_image_type_load(vconf_value);
+       if (!isok) {
+               /* not supported */
+               SETTING_TRACE("path : %s is not supported file format", vconf_value);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       } else {
+               SETTING_TRACE("path : %s is SUPPORT file format", vconf_value);
+       }
+
+       /* error handling here */
+       if (_is_file_accessible(vconf_value) != 0)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+#ifdef TIZEN_MOBILE
+       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+#endif
+
+#ifdef TIZEN_WEARABLE
+       if (system_setting_check_extended_wallpaper(vconf_value)) {     /* New extended wallpaper */
+               DIR *dp = NULL;
+               struct dirent *dirp;
+               unsigned int max_image_num = 0;
+               unsigned int temp_image_num = 0;
+               int image_count = 0;
+
+               if ((dp = opendir(_TZ_SYS_DATA"/setting/wallpaper")) == NULL) {
+                       SETTING_TRACE("Setting - dir open error!");
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+               /* Check a max number of wallpapers */
+               while ((dirp = readdir(dp))) {
+                       if (!strcmp(dirp->d_name, ".") || !strcmp(dirp->d_name, ".."))
+                               continue;
+
+                       if (system_setting_get_extended_wallpaper_num(dirp->d_name, &temp_image_num)
+                           != SYSTEM_SETTINGS_ERROR_NONE) {
+                               if (dp)
+                                       closedir(dp);
+                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+                       }
+
+                       if ((image_count == 0) || (max_image_num < temp_image_num)) {
+                               max_image_num = temp_image_num;
+                       }
+
+                       image_count++;
+               }
+               if (dp)
+                       closedir(dp);
+
+               /* Numbering rule: Gear is odd number */
+               max_image_num = (max_image_num % 2 == 0) ? max_image_num + 1
+                                                       : max_image_num + 2;
+
+               char file_name_buffer[512];
+               snprintf(file_name_buffer, sizeof(file_name_buffer) - 1,
+                                       _TZ_SYS_DATA"/setting/wallpaper/extended_wallpaper_%d.jpg", max_image_num);
+
+               /* Copy image to _TZ_SYS_DATA/setting/wallpaper/ */
+               if (system_setting_copy_extended_wallpaper(file_name_buffer, vconf_value)
+                   != SYSTEM_SETTINGS_ERROR_NONE) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+               /* remove oldest wallpaper */
+               if (image_count >= WALLPAPER_MAX_COUNT) {
+                       if (system_setting_remove_oldest_extended_wallpaper()
+                           != SYSTEM_SETTINGS_ERROR_NONE) {
+                               remove(file_name_buffer);
+                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+                       }
+               }
+
+               if (system_setting_vconf_set_value_string(item->vconf_key, file_name_buffer)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+               if (system_setting_vconf_set_value_int(VCONFKEY_SETAPPL_WALLPAPER_CHANGED_NOTI_INT,
+                                                                                                       VCONFKEY_WALLPAPER_CHANGED_NOTI_GEAR)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       } else {
+               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       }
+#endif
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_wallpaper_lock_screen(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value;
+       vconf_value = (char *)value;
+
+       bool isok  = dl_is_supported_image_type_load(vconf_value);
+       if (!isok) {
+               /* not supported */
+               SETTING_TRACE("path : %s is not supported file format", vconf_value);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       } else {
+               SETTING_TRACE("path : %s is SUPPORT file format", vconf_value);
+       }
+
+       /* error handling here */
+       if (_is_file_accessible(vconf_value) != 0)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_font_size(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       int *vconf_value;
+       vconf_value = *(int **)value;
+
+       if (*vconf_value < 0 || *vconf_value > SYSTEM_SETTINGS_FONT_SIZE_GIANT) {
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       if (system_setting_vconf_set_value_int(item->vconf_key, *vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       dl_font_size_set();
+       SETTING_TRACE_END;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+/**
+ * [internal API]
+ */
+/*  LCOV_EXCL_START */
+void *font_conf_doc_parse(char *doc_name, char *font_name)
+{
+       SETTING_TRACE_BEGIN;
+       xmlDocPtr doc = NULL;
+       xmlNodePtr cur = NULL;
+       xmlNodePtr cur2 = NULL;
+       xmlNodePtr cur3 = NULL;
+       xmlChar *key = NULL;
+
+       doc = xmlParseFile(doc_name);
+
+       cur = xmlDocGetRootElement(doc);
+
+       if (cur == NULL) {
+               xmlFreeDoc(doc);
+               doc = NULL;
+               return NULL;
+       }
+
+       if (xmlStrcmp(cur->name, (const xmlChar *)"fontconfig")) {
+               xmlFreeDoc(doc);
+               doc = NULL;
+               return NULL;
+       }
+
+       cur = cur->xmlChildrenNode;
+
+       bool is_changed = false;
+       while (cur != NULL) {
+               if ((!xmlStrcmp(cur->name, (const xmlChar *)"match"))) {
+                       cur2 = cur->xmlChildrenNode;
+                       while (cur2 != NULL) {
+                               if ((!xmlStrcmp(cur2->name, (const xmlChar *)"edit"))) {
+                                       xmlChar *name = xmlGetProp(cur2, (const xmlChar *)"name");
+                                       /* if name is not 'family', break */
+                                       if (xmlStrcmp(name, (const xmlChar *)"family")) {
+                                               xmlFree(name);
+                                               name = NULL;
+                                               break;
+                                       }
+                                       xmlFree(name);
+                                       name = NULL;
+
+                                       cur3 = cur2->xmlChildrenNode;
+                                       while (cur3 != NULL) {
+                                               if ((!xmlStrcmp(cur3->name, (const xmlChar *)"string"))) {
+                                                       xmlNodeSetContent(cur3->xmlChildrenNode, (const xmlChar *)font_name);
+                                                       key = xmlNodeListGetString(doc, cur3->xmlChildrenNode, 1);
+                                                       xmlFree(key);
+                                                       key = NULL;
+                                                       is_changed = true;
+                                               }
+                                               cur3 = cur3->next;
+                                       }
+                               }
+                               cur2 = cur2->next;
+                       }
+               } else if ((!xmlStrcmp(cur->name, (const xmlChar *)"alias"))) {
+                       cur2 = cur->xmlChildrenNode;
+                       while (cur2 != NULL) {
+                               if ((!xmlStrcmp(cur2->name, (const xmlChar *)"family"))) {
+                                       xmlNodeSetContent(cur2->xmlChildrenNode, (const xmlChar *)font_name);
+                                       key = xmlNodeListGetString(doc, cur2->xmlChildrenNode, 1);
+                                       xmlFree(key);
+                                       key = NULL;
+                                       is_changed = true;
+                               } else if ((!xmlStrcmp(cur2->name, (const xmlChar *)"prefer"))) {
+                                       cur3 = cur2->xmlChildrenNode;
+                                       while (cur3 != NULL) {
+                                               if ((!xmlStrcmp(cur3->name, (const xmlChar *)"family"))) {
+                                                       xmlNodeSetContent(cur3->xmlChildrenNode, (const xmlChar *)font_name);
+                                                       key = xmlNodeListGetString(doc, cur3->xmlChildrenNode, 1);
+                                                       xmlFree(key);
+                                                       key = NULL;
+                                                       is_changed = true;
+                                                       cur3 = cur3->next;
+                                                       return doc;
+                                               }
+                                               cur3 = cur3->next;
+                                       }
+                               }
+                               cur2 = cur2->next;
+                       }
+               }
+               cur = cur->next;
+       }
+
+       if (is_changed) {
+               return doc;
+       } else {
+               xmlFreeDoc(doc);
+               doc = NULL;
+               return NULL;
+       }
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_font_type(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *font_name = NULL;
+       font_name = (char *)value;
+
+       /* get current font list */
+       int is_found = dl_is_available_font(font_name);
+
+       if (is_found == 1) {
+               SETTING_TRACE("found font : %s ", font_name);
+       } else {
+               SETTING_TRACE(" NOT found font : %s ", font_name);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       bool bsave = dl_font_config_set(font_name);
+
+       if (!bsave) {
+               SETTING_TRACE(" font type save error by font_config_set() ");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       } else {
+               SETTING_TRACE(" save OK - font_config_set() ");
+       }
+
+       xmlDocPtr doc = (xmlDocPtr)font_conf_doc_parse(SETTING_FONT_CONF_FILE, font_name);
+       if (doc != NULL) {
+               xmlSaveFormatFile(SETTING_FONT_CONF_FILE, doc, 0);
+               xmlFreeDoc(doc);
+               doc = NULL;
+       }
+
+       dl_font_config_set_notification();
+
+       char *vconf_value;
+       vconf_value = (char *)value;
+
+       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int category_func(const char *name, void *user_data)
+{
+       SETTING_TRACE_BEGIN;
+       static char *category = "lock-screen";
+       if (name && !strcmp(name, category)) {
+               SETTING_TRACE(" SAME ");
+               return -1;
+       } else {
+               SETTING_TRACE(" DIFFERENT -- %s, category -- %s ", name, category);
+               return 0;
+       }
+
+       return 0;
+}
+/*  LCOV_EXCL_STOP */
+
+/**
+ *
+ * set 'swipe type' if current lockscreen app is 'com.samsung.lockscreen'
+ *
+ */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_lockscreen_app(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value;
+       vconf_value = (char *)value;            /* ex) com.samsung.lockscreen */
+
+       int r = 0;
+       pkgmgrinfo_appinfo_h handle;
+       r = pkgmgrinfo_appinfo_get_appinfo(vconf_value, &handle);
+       if (r != PMINFO_R_OK) {
+               SETTING_TRACE("*** pkginfo failed ");
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       } else {
+               SETTING_TRACE("%p", handle);
+       }
+
+       int ret = pkgmgrinfo_appinfo_foreach_category(handle, category_func, (void *)"lock-screen");
+       if (ret != PMINFO_R_OK) {
+               pkgmgrinfo_appinfo_destroy_appinfo(handle);
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       pkgmgrinfo_appinfo_destroy_appinfo(handle);
+       /*----------------------------------------------------------------------------------- */
+       int locktype = -1;
+       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, &locktype)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (locktype == SETTING_SCREEN_LOCK_TYPE_PASSWORD)
+               return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE;
+
+       if (system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_3RD_LOCK_PKG_NAME_STR, vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (vconf_value && strcmp(vconf_value, "com.samsung.lockscreen") == 0) {
+               if (system_setting_vconf_set_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, SETTING_SCREEN_LOCK_TYPE_SWIPE)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*/////////////////////////////////////////////////////////////////////////////////////////////// */
+/**
+ * @todo need to add custom event notification method
+ */
+
+
+/*//////////////////////////////////////////////////////////////////////////////////////// */
+/*--------------------------------------- */
+int system_setting_get_locale_country(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       /* parsing validation */
+       /* en_US.UTF-8 */
+       char arr[21] = {0,};
+       snprintf(arr, 20, "%s", vconf_value);
+       for (int i = 0; i < strlen(arr); i++) {
+               if ('.' == arr[i]) {
+                       arr[i] = 0;
+                       SETTING_TRACE("replace . to NULL : %d", i);
+                       break;
+               }
+       }
+       *value = strdup(arr);
+       free(vconf_value);
+       vconf_value = NULL;
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+/*  LCOV_EXCL_START */
+int system_setting_set_locale_country(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       vconf_value = (char *)value;
+
+       char *ext = "UTF-8";
+
+       char arr[20];
+       snprintf(arr, 20, "%s.%s", vconf_value, ext);
+
+       if (system_setting_vconf_set_value_string(item->vconf_key, arr)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*--------------------------------------- */
+int system_setting_get_locale_language(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       /* parsing validation */
+       /* en_US.UTF-8 */
+       char arr[21] = {0,};
+       snprintf(arr, 20, "%s", vconf_value);
+       for (int i = 0; i < strlen(arr); i++) {
+               if ('.' == arr[i]) {
+                       arr[i] = 0;
+                       SETTING_TRACE("replace . to NULL : %d", i);
+                       break;
+               }
+       }
+       *value = strdup(arr);
+       free(vconf_value);
+       vconf_value = NULL;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+/*  LCOV_EXCL_START */
+int system_setting_set_locale_language(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       vconf_value = (char *)value;
+
+       char *ext = "UTF-8";
+
+       char arr[20];
+       snprintf(arr, 20, "%s.%s", vconf_value, ext);
+
+       if (system_setting_vconf_set_value_string(item->vconf_key, arr)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*--------------------------------------- */
+/*  LCOV_EXCL_START */
+int system_setting_get_locale_timeformat_24hour(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       int vconf_value;
+
+       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       bool ret_value = true;
+       if (vconf_value == VCONFKEY_TIME_FORMAT_12)
+               ret_value = false;
+       else if (vconf_value == VCONFKEY_TIME_FORMAT_24)
+               ret_value = true;
+
+       *value = (void *)ret_value;
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_locale_timeformat_24hour(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       bool *vconf_value;
+
+       vconf_value = (bool *)value;
+
+       if (*vconf_value) {
+               if (system_setting_vconf_set_value_int(item->vconf_key, VCONFKEY_TIME_FORMAT_24)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+       } else {
+               if (system_setting_vconf_set_value_int(item->vconf_key, VCONFKEY_TIME_FORMAT_12)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_get_locale_timezone(system_setting_h item, void **value)
+{
+       char tzpath[256];
+       ssize_t len = readlink(SETTING_TZONE_SYMLINK_PATH, tzpath, sizeof(tzpath)-1);
+       if (len != -1) {
+               tzpath[len] = '\0';
+       } else {
+               SETTING_TRACE("parse error for SETTING_TZONE_SYMLINK_PATH");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       SETTING_TRACE("tzpath : %s ", &tzpath[20]);
+       *value = strdup(&tzpath[20]);
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_locale_timezone(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *timezone_value = NULL;
+       timezone_value = (char *)value;
+
+       char tz_path[1024];
+       snprintf(tz_path, 1024, "/usr/share/zoneinfo/%s", timezone_value);
+
+       int is_load = _is_file_accessible(tz_path);
+       if (is_load == 0) {
+               alarmmgr_set_timezone(tz_path);
+
+               if (system_setting_vconf_set_value_string(item->vconf_key, timezone_value)) {
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+               return SYSTEM_SETTINGS_ERROR_NONE;
+       }
+       return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_get_time_changed(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       time_t cur_tick;
+       int ** val = (int**)value;
+       cur_tick = time(NULL);
+       **val = cur_tick;
+       /* struct tm * localtime = time (cur_tick); */
+       /* printf("%s\n", ctime(&cur_tick); */
+       return SYSTEM_SETTINGS_ERROR_NONE;
+
+}
+/*  LCOV_EXCL_STOP */
+
+/**
+ * a = VCONFKEY_SETAPPL_SOUND_STATUS_BOOL(==item->vconf_key) b = VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL
+ *
+ * a == false, b == false --> silent mode
+ * a == true, b == false --> sound mode
+ * a == false, b == true --> vibration mode
+ */
+/*  LCOV_EXCL_START */
+int system_setting_get_sound_silent_mode(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       bool sound_cond;
+       bool vib_cond;
+
+       bool vconf_value;
+       if (system_setting_vconf_get_value_bool(item->vconf_key, &sound_cond)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (system_setting_vconf_get_value_bool(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL, &vib_cond)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (sound_cond == false && vib_cond == false) {
+               vconf_value = true;
+               *value = (void *)vconf_value;
+       } else {
+               vconf_value = false;
+               *value = (void *)vconf_value;
+       }
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/**
+ * a = VCONFKEY_SETAPPL_SOUND_STATUS_BOOL(==item->vconf_key) b = VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL
+ *
+ * a == false, b == false --> silent mode
+ * a == true, b == false --> sound mode
+ */
+int system_setting_set_sound_silent_mode(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       bool *vconf_value;
+
+       vconf_value = (bool *)value;
+
+       bool vconf_sound = false;
+       bool vconf_vib = false;
+
+       if (*vconf_value) {
+               vconf_sound = false;
+               vconf_vib = false;
+       } else {
+               vconf_sound = true;
+               vconf_vib = false;
+       }
+
+       if (system_setting_vconf_set_value_bool(item->vconf_key, vconf_sound)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       if (system_setting_vconf_set_value_bool(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL, vconf_vib)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+/*  LCOV_EXCL_START */
+int system_setting_set_screen_backlight_time(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       int *vconf_value;
+       vconf_value = *(int **)value;
+
+       if (!(*vconf_value > 0 && *vconf_value <= 600)) {
+               SETTING_TRACE(" ERR Betweeny here  0 ~ 600");
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+       }
+
+       if (system_setting_vconf_set_value_int(item->vconf_key, *vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       SETTING_TRACE_END;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_sound_notification(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       vconf_value = (char *)value;
+
+       int is_load = _is_file_accessible(vconf_value);
+       if (is_load == 0) {
+               //SETTING_TRACE(" system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) TRY", vconf_value);
+               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
+                       //SETTING_TRACE(" system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) FAIL", vconf_value);
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+               }
+       } else {
+               //SETTING_TRACE(" is_file_accessibile FAILED - system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) FAIL", vconf_value);
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_set_device_name(system_settings_key_e key, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       vconf_value = (char *)value;
+
+       if (system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_DEVICE_NAME_STR, vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
+
+int system_setting_get_network_wifi_notification(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       int vconf_value;
+       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+       bool bret ;
+       bret = (vconf_value == VCONFKEY_WIFI_QS_ENABLE) ? true : false;
+
+       *value = (void *)bret;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+//----------------------------------------------------------------------------------------------------------------------------
+
+#define DEFAULT_ADS_ID "00000000-0000-0000-0000-000000000000"
+
+int system_setting_get_ads_id(system_setting_h item, void **value)
+{
+       SETTING_TRACE_BEGIN;
+       int optout_value = 0;
+       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_AD_ID_OPT_OUT, &optout_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (optout_value == 1) {
+               *value = strdup(DEFAULT_ADS_ID);
+               return SYSTEM_SETTINGS_ERROR_NONE;
+       }
+
+       char *vconf_value = NULL;
+       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       *value = vconf_value;
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+
+#if DEBUG_DUMP_CONTEXT
+void make_ad_id(void)
+{
+       uuid_t uuid_value;
+       char uuid_unparsed[50] = {0};
+       uuid_generate(uuid_value);
+       uuid_unparse(uuid_value, uuid_unparsed);
+       system_setting_set_ad_id(key, uuid_unparsed); //example of setting the value
+}
+#endif
+int system_setting_set_ads_id(system_setting_h item, void *value)
+{
+       SETTING_TRACE_BEGIN;
+       char *vconf_value = NULL;
+       vconf_value = (char *)value;
+
+       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value))        {
+               SETTING_TRACE("Setting VCONFKEY_SETAPPL_AD_ID failed");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int system_settings_feature_check_bool(char *path)
+{
+       bool feature_data = false;
+       int ret = system_info_get_platform_bool(path, &feature_data);
+       if (ret != SYSTEM_INFO_ERROR_NONE) {
+               SETTING_TRACE("Setting - reading feature data failed, %d", ret);
+               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+       }
+
+       ret = (feature_data == true) ? SYSTEM_SETTINGS_ERROR_NONE : SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       return ret;
+
+}
+
+int system_setting_feature_check_incoming_call(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_INCOMING_CALL_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_home_screen(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_HOME_SCREEN_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_lock_screen(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_LOCK_SCREEN_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_notification_email(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_NOTIFICATION_EMAIL_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_wifi(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_WIFI_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_telephony(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_TELEPHONY_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+
+int system_setting_feature_check_font(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_FONT_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_accessibility_grayscale(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_ACCESSIBILITY_GRAYSCALE_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+int system_setting_feature_check_accessibility_negative(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               ret = system_settings_feature_check_bool(SETTING_ACCESSIBILITY_NEGATIVE_PATH);
+               first_query = false;
+       }
+
+       return ret;
+}
+
+/*  LCOV_EXCL_START */
+int system_setting_feature_check_wearable_profile(void *value)
+{
+       static bool first_query = true;
+       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+       if (first_query == true) {
+               char *profile_data = NULL;
+               int rotary_feature = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+               ret = system_info_get_platform_string(SETTING_PROFILE_PATH, &profile_data);
+               if (ret != SYSTEM_INFO_ERROR_NONE) {
+                       SETTING_TRACE("Setting - reading profile string failed, %d", ret);
+                       return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+               }
+
+               rotary_feature = system_settings_feature_check_bool(SETTING_INPUT_ROTATING_BEZEL_PATH);
+
+               if ((rotary_feature == SYSTEM_SETTINGS_ERROR_NONE) && profile_data && !strcmp(profile_data, "wearable"))
+                       ret = SYSTEM_SETTINGS_ERROR_NONE;
+               else
+                       ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+               if (profile_data)
+                       free(profile_data);
+
+               first_query = false;
+       }
+
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int system_setting_get_uds_state(system_setting_h item, void **value)
+{
+       int ** p_value = (int**)value;
+       int vconf_value;
+       char *vconf_string_value = NULL;
+
+       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       SETTING_TRACE("[%s] udsm: %d", __FUNCTION__, vconf_value);
+
+       if (vconf_value == SYSTEM_SETTINGS_UDS_ON) {
+               if (system_setting_vconf_get_value_string(VCONFKEY_SETAPPL_UDSM_PKGID_LIST, &vconf_string_value))
+                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+
+               if (vconf_string_value) {
+                       if (!strcmp(vconf_string_value, "NONE")) {
+                               vconf_value = SYSTEM_SETTINGS_UDS_ON;
+                       } else {
+                               char *app_id = NULL;
+                               char *package_id = NULL;
+                               pid_t pid = getpid();
+
+                               int ret = app_manager_get_app_id(pid, &app_id);
+                               if (ret != APP_MANAGER_ERROR_NONE) {
+                                       free(vconf_string_value);
+                                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+                               }
+
+                               if (app_id) {
+                                       int result = 0;
+                                       result = package_manager_get_package_id_by_app_id(app_id, &package_id);
+                                       if (result != PACKAGE_MANAGER_ERROR_NONE) {
+                                               SETTING_TRACE("package_manager_get_package_id_by_app_id returned error! %d", result);
+                                               free(app_id);
+                                               free(vconf_string_value);
+                                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+                                       }
+
+                                       SETTING_TRACE("[%s] udsm_pkg_list : %s", __FUNCTION__, vconf_string_value);
+                               }
+
+                               if (package_id && strstr(vconf_string_value, package_id)) {
+                                       vconf_value = SYSTEM_SETTINGS_UDS_ON_WHITELISTED;
+                                       SETTING_TRACE("[%s] pkg id : %s", __FUNCTION__, package_id);
+                               } else {
+                                       vconf_value = SYSTEM_SETTINGS_UDS_ON;
+                               }
+
+                       }
+                       free(vconf_string_value);
+               }
+       }
+
+       **p_value = vconf_value;
+
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+/*  LCOV_EXCL_STOP */
diff --git a/src/sys_settings_ringtones.c b/src/sys_settings_ringtones.c
new file mode 100644 (file)
index 0000000..de65717
--- /dev/null
@@ -0,0 +1,125 @@
+/*
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <pthread.h>
+#include <stdio.h>
+
+#include <glib.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+#include "sys_settings_ringtones.h"
+#include "sys_settings_json.h"
+
+/* LCOV_EXCL_START */
+/*remove ext name */
+char *get_filename_from_fullname(const char *fullname)
+{
+       //retvm_if(fullname == NULL, NULL, "fullname == NULL");
+       if (fullname == NULL) return NULL;
+
+       char tmp[512];
+       snprintf(tmp, sizeof(tmp), "%s", fullname);
+
+       char *name = strrchr(tmp, '.');
+       if (name != NULL)
+               *name = '\0';
+
+       return strdup((char*)tmp);
+}
+/* LCOV_EXCL_STOP */
+
+char *get_media_basename(const char *dir_path, const char *name)
+{
+       //retv_if(isEmptyStr(dir_path) || isEmptyStr(name), NULL);
+       if (dir_path == NULL) return NULL;
+
+       char path[512] = {0, };
+       snprintf(path, sizeof(path), "%s/%s", dir_path, name);
+
+       metadata_extractor_h metadata = NULL;
+       char *title = NULL;
+       int ret = metadata_extractor_create(&metadata);
+       if (ret == METADATA_EXTRACTOR_ERROR_NONE && metadata) {
+               ret = metadata_extractor_set_path(metadata, path);
+               if (ret == METADATA_EXTRACTOR_ERROR_NONE) {
+                       ret = metadata_extractor_get_metadata(
+                                       metadata, METADATA_TITLE, &title);
+                       metadata_extractor_destroy(metadata);
+                       if (title)
+                               /*return (char *)g_strdup(title);*/
+                               return (char *)title;
+                       else
+                               return strdup(name);
+               } else {
+                       metadata_extractor_destroy(metadata);
+                       return strdup(name);
+               }
+       } else {
+               return strdup(name);
+       }
+}
+
+int get_filelist_from_dir_path(char *path, GList **file_list)
+{
+       SETTING_TRACE_BEGIN;
+       DIR *pDir = NULL;
+       struct dirent *ent;
+       static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+       if (path == NULL) {
+               SETTING_TRACE("dir path is null");
+               return -1;
+       }
+
+       if (file_list == NULL) {
+               SETTING_TRACE("file_list is null");
+               return -1;
+       }
+
+       pDir = opendir(path);
+
+       if (pDir == NULL)
+               return -2;
+
+       pthread_mutex_lock(&mutex);
+       while ((ent = readdir(pDir)) != NULL) {
+               fileNodeInfo *pNode = NULL;
+
+               if (strncmp(ent->d_name, ".", 1) == 0 || strcmp(ent->d_name, "..") == 0)
+                       continue;
+
+               if ((ent->d_type & DT_REG) == 0)
+                       continue;
+
+               pNode = calloc(1, sizeof(fileNodeInfo));
+               if (pNode == NULL)
+                       continue;
+
+               pNode->path = strdup(path);
+               pNode->name = strdup(ent->d_name);
+               pNode->media_name = get_media_basename(
+                               pNode->path, pNode->name);
+
+               *file_list = g_list_append(*file_list, pNode);
+       }
+       pthread_mutex_unlock(&mutex);
+
+       closedir(pDir);
+       //SETTING_TRACE_END;
+
+       return 0;
+}
+
diff --git a/src/sys_settings_ringtones.h b/src/sys_settings_ringtones.h
new file mode 100644 (file)
index 0000000..500c2fe
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __SYSTEM_SETTINGS_RINGTONES_H__
+#define __SYSTEM_SETTINGS_RINGTONES_H__
+
+#include <sys/types.h>
+#include <dirent.h>
+#include <metadata_extractor.h>
+
+typedef struct _ugFsNodeInfo fileNodeInfo;
+struct _ugFsNodeInfo {
+       char *path;
+       char *name;
+       char *media_name;
+};
+
+int get_filelist_from_dir_path(char *path, GList **file_list);
+char *get_filename_from_fullname(const char *fullname);
+
+#if 0
+void ringtone_play_sound(const char *sound_file, player_h **mp_handle);
+void ringtone_stop_sound(void *data);
+#endif
+
+#endif /* __SYSTEM_SETTINGS_RINGTONES_H__ */
diff --git a/src/sys_settings_vconf.c b/src/sys_settings_vconf.c
new file mode 100644 (file)
index 0000000..a13cdf4
--- /dev/null
@@ -0,0 +1,294 @@
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include <vconf.h>
+#include <dlog.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+
+#define LOG_TAG "TIZEN_N_SYSTEM_SETTINGS"
+
+int system_setting_vconf_get_value_int(const char *vconf_key, int *value)
+{
+       return vconf_get_int(vconf_key, value);
+}
+
+int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value)
+{
+       int tempvalue = 0;
+       int ret = vconf_get_bool(vconf_key, &tempvalue);
+
+       if (tempvalue == 1) {
+               *value = true;
+       } else {
+               *value = false;
+       }
+       return ret;
+}
+
+int system_setting_vconf_get_value_string(const char *vconf_key, char **value)
+{
+       char *str_value = NULL;
+
+       str_value = vconf_get_str(vconf_key);
+
+       if (str_value != NULL) {
+               *value = str_value;
+               return 0;
+       } else {
+               return -1;
+       }
+}
+
+int system_setting_vconf_set_value_int(const char *vconf_key, int value)
+{
+       return vconf_set_int(vconf_key, value);
+}
+
+int system_setting_vconf_set_value_bool(const char *vconf_key, bool value)
+{
+       return vconf_set_bool(vconf_key, (int)value);
+}
+
+int system_setting_vconf_set_value_string(const char *vconf_key, char *value)
+{
+       return vconf_set_str(vconf_key, value);
+}
+
+/*/////////////////////////////////////////////////////////////////////////////////////////// */
+
+typedef void (*system_setting_vconf_event_cb)(keynode_t *node, void *event_data);
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_cb0(keynode_t *node, void *event_data)
+{
+       system_settings_key_e pkey = (system_settings_key_e)event_data;
+
+       if (node != NULL) {
+               system_setting_h system_setting_item;
+
+               int ret = system_settings_get_item(pkey, &system_setting_item);
+               if (ret != 0) {
+                       if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               }
+
+               void *user_data = NULL;
+               user_data = system_setting_item->user_data;
+               system_setting_item->changed_cb(pkey, user_data);
+       }
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_cb1(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_cb0(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_cb2(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_cb0(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_cb3(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_cb0(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_cb4(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_cb0(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static system_setting_vconf_event_cb system_setting_vconf_get_event_cb_slot(system_setting_callback_slot_e slot)
+{
+       switch (slot) {
+       case SYSTEM_SETTING_CALLBACK_SLOT_0:
+               return system_setting_vconf_event_cb0;
+       case SYSTEM_SETTING_CALLBACK_SLOT_1:
+               return system_setting_vconf_event_cb1;
+       case SYSTEM_SETTING_CALLBACK_SLOT_2:
+               return system_setting_vconf_event_cb2;
+       case SYSTEM_SETTING_CALLBACK_SLOT_3:
+               return system_setting_vconf_event_cb3;
+       case SYSTEM_SETTING_CALLBACK_SLOT_4:
+               return system_setting_vconf_event_cb4;
+       default:
+               return NULL;
+       }
+}
+/*  LCOV_EXCL_STOP */
+
+int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, system_setting_callback_slot_e slot, void *user_data)
+{
+       system_setting_vconf_event_cb vconf_event_cb;
+
+       vconf_event_cb = system_setting_vconf_get_event_cb_slot(slot);
+
+       if (vconf_event_cb == NULL) {
+               LOGE("[%s] INVALID_error , %s", __FUNCTION__, "vconf_event_cb == 0");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       if (vconf_notify_key_changed(vconf_key, vconf_event_cb, (void *)key))
+       {
+               LOGE("[%s] INVALID_error , %s", __FUNCTION__, "vconf_notify_key_changed error");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int system_setting_vconf_unset_changed_cb(const char *vconf_key, system_setting_callback_slot_e slot)
+{
+       system_setting_vconf_event_cb vconf_event_cb;
+
+       vconf_event_cb = system_setting_vconf_get_event_cb_slot(slot);
+
+       if (vconf_event_cb != NULL) {
+               vconf_ignore_key_changed(vconf_key, vconf_event_cb);
+       }
+
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+static void system_setting_vconf_event_multi_cb(keynode_t *node, void *event_data)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_settings_key_e pkey = (system_settings_key_e)event_data;
+
+       if (node != NULL) {
+               system_setting_h system_setting_item;
+
+               int ret = system_settings_get_item(pkey, &system_setting_item);
+               if (ret != 0) {
+                       if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
+                               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+               }
+
+               invoke_callback_list(&system_setting_item->changed_cb_list, pkey);
+       }
+       LOGE("Leave [%s]", __FUNCTION__);
+}
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_multi_cb_slot_0(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_multi_cb(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_multi_cb_slot_1(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_multi_cb(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_multi_cb_slot_2(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_multi_cb(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static void system_setting_vconf_event_multi_cb_slot_3(keynode_t *node, void *event_data)
+{
+       system_setting_vconf_event_multi_cb(node, event_data);
+}
+/*  LCOV_EXCL_STOP */
+
+static system_setting_vconf_event_cb system_setting_vconf_get_event_multi_cb_slot(system_settings_key_e key)
+{
+       int cal = (int) key;
+       int slot = cal % 4;
+
+       switch (slot) {
+       case 0:
+               return system_setting_vconf_event_multi_cb_slot_0;
+
+       case 1:
+               return system_setting_vconf_event_multi_cb_slot_1;
+
+       case 2:
+               return system_setting_vconf_event_multi_cb_slot_2;
+
+       case 3:
+               return system_setting_vconf_event_multi_cb_slot_3;
+
+       default:
+               return NULL;
+       }
+}
+
+int system_setting_vconf_set_changed_multi_cb(const char *vconf_key, system_settings_key_e key)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_vconf_event_cb vconf_event_cb;
+
+       vconf_event_cb = system_setting_vconf_get_event_multi_cb_slot(key);
+
+       if (vconf_event_cb == NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       int ret = vconf_notify_key_changed(vconf_key, vconf_event_cb, (void *)key);
+       if (ret != 0) {
+               LOGE("[%s] INVALID_error , ret = %d, %s", __FUNCTION__, ret, "vconf_notify_key_changed error");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       LOGE("Leave [%s]", __FUNCTION__);
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
+int system_setting_vconf_unset_changed_multi_cb(const char *vconf_key, system_settings_key_e key)
+{
+       LOGE("Enter [%s]", __FUNCTION__);
+       system_setting_vconf_event_cb vconf_event_cb;
+
+       vconf_event_cb = system_setting_vconf_get_event_multi_cb_slot(key);
+
+       if (vconf_event_cb == NULL)
+               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+
+       int ret = vconf_ignore_key_changed(vconf_key, vconf_event_cb);
+       if (ret != 0) {
+               LOGE("[%s] INVALID_error , ret = %d, %s", __FUNCTION__, ret, "vconf_ignore_key_changed error");
+               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+       }
+
+       LOGE("Leave [%s]", __FUNCTION__);
+       return SYSTEM_SETTINGS_ERROR_NONE;
+}
+
diff --git a/src/system_setting_platform.c b/src/system_setting_platform.c
deleted file mode 100644 (file)
index 67d86f3..0000000
+++ /dev/null
@@ -1,1713 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <errno.h>
-#include <time.h>
-#include <dlfcn.h>
-
-#include <string.h>
-#include <libgen.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <regex.h>
-
-#include <aul.h>
-#include <dlog.h>
-#include <vconf.h>
-
-#include <glib.h>
-#include <libxml/xmlmemory.h>
-#include <libxml/parser.h>
-
-#include <fontconfig/fontconfig.h>
-
-#include <pkgmgr-info.h>
-#include <package_manager.h>
-#include <app_manager.h>
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-#include <system_settings_ringtones.h>
-#include <system_settings_json.h>
-
-#include <system-setting-config.h>
-
-#include <tzplatform_config.h>
-#include <alarm.h>
-
-#include <system_info.h>
-
-#define SETTING_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
-#define SETTING_DEFAULT_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
-
-#define SETTING_TIME_ZONEINFO_PATH             "/usr/share/zoneinfo/"
-#define SETTING_TIME_SHARE_LOCAL_PATH  "/usr/share/locale"
-#define SETTING_TZONE_SYMLINK_PATH             "/opt/etc/localtime"
-
-
-#define __FREE(del, arg) do { \
-               if (arg) { \
-                       del((void *)(arg)); /*cast any argument to (void*) to avoid build warring*/\
-                       arg = NULL; \
-               } \
-       } while (0);
-#define FREE(arg) __FREE(free, arg)
-
-#ifdef SETTING_ARCH_64
-#define SETTING_UTILS_SO_FILE_PATH "/usr/lib64/libsystem-settings-util.so.0.1.0"
-#else
-#define SETTING_UTILS_SO_FILE_PATH "/usr/lib/libsystem-settings-util.so.0.1.0"
-#endif
-
-int _is_file_accessible(const char *path);
-
-static bool dl_is_supported_image_type_load(char *path);
-static bool dl_font_config_set(char *font_name);
-static char *dl_get_default_font_info();
-static int dl_is_available_font(char *str);
-static void dl_font_size_set();
-static void dl_font_config_set_notification();
-
-/**
- * VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR has a path of the ringtone file which user choose
- * @return the ringtone file path specified by user in normal case
- *                if it's not accessable, return the default ringtone path
- */
-int system_setting_get_incoming_call_ringtone(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       /* check to see if it's accessable -> OK */
-       /* no --> default ringtone path VCONFKEY_SETAPPL_CALL_RINGTONE_DEFAULT_PATH_STR */
-       int is_load = _is_file_accessible(vconf_value);
-       if (is_load == 0) {
-               *value = vconf_value;
-       } else { /* not zero on errro */
-               *value = vconf_get_str(item->vconf_key);
-               free(vconf_value);
-       }
-
-       /**value = vconf_value; */
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-
-/*  LCOV_EXCL_START */
-int system_setting_get_email_alert_ringtone(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       /* check to see if it's accessable -> OK */
-       /* no --> default ringtone path VCONFKEY_SETAPPL_NOTI_RINGTONE_DEFAULT_PATH_STR */
-       int is_load = _is_file_accessible(vconf_value);
-       if (is_load == 0) {
-               *value = vconf_value;
-       } else { /* not zero on errro */
-               *value = vconf_get_str(VCONFKEY_SETAPPL_NOTI_RINGTONE_DEFAULT_PATH_STR);
-               free(vconf_value);
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-
-int system_setting_get_default_font_type(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *font_name = dl_get_default_font_info();
-       if (font_name) {
-               *value = (void *)font_name;
-               return SYSTEM_SETTINGS_ERROR_NONE;
-       } else {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-}
-
-
-/*////////////////////////////////////////////////////////////////////////////////////////////////// */
-/**
- * get current lock scren app package name (string)
- *
- * @return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE raise exception if current lock type is 'password'
- */
-/*  LCOV_EXCL_START */
-int system_setting_get_lockscreen_app(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *pkg_name = NULL;
-       int locktype = -1;
-       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, &locktype)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (system_setting_vconf_get_value_string(item->vconf_key, &pkg_name)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (pkg_name && strcmp(pkg_name, "com.samsung.lockscreen") == 0 && locktype == SETTING_SCREEN_LOCK_TYPE_PASSWORD) {
-               free(pkg_name);
-               return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE;
-       }
-
-       *value = pkg_name;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*////////////////////////////////////////////////////////////////////////////////////////////////// */
-
-int _is_file_accessible(const char *path)
-{
-       SETTING_TRACE_BEGIN;
-       int ret = access(path , R_OK);
-       if (ret == 0) {
-               SETTING_TRACE("found the file  %s", path);
-               return 0;
-       } else {
-               /* error code : 13 */
-               SETTING_TRACE("found the file  %s --- error code : %d ", path, errno);
-               return -errno;
-       }
-}
-
-
-
-/*////////////////////////////////////////////////////////////////////////////////////////////////// */
-// @todo move to CMake
-#define DEF_RINGTONE_FILE_PATH SETTING_DEF_RES"/Ringtones"
-
-#define USR_RINGTONE_FILE_PATH "/home/owner/content/Sounds/Ringtones"
-#define JSONFILE "/opt/home/owner/apps_rw/org.tizen.setting/data/.user-ringtones.json"
-
-int system_setting_add_incoming_call_ringtone(system_settings_key_e key, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char* pathval = (char*)value;
-       char* dnameval = NULL;
-       char* baseval = NULL;
-
-#ifdef USE_JSONFILE
-       // NOT IN USE
-       JsonParser *parser = ss_json_ringtone_open_file(JSONFILE);
-#else
-       JsonParser *parser = ss_json_ringtone_load_from_data();
-#endif
-
-       JsonNode *root = json_parser_get_root(parser);
-
-       // dirname
-       // basename
-       int ret = SYSTEM_SETTINGS_ERROR_NONE;
-       if (false == ss_json_ringtone_contain(root, pathval)) {
-               // @todo : MAKE SURE THE ACTUAL FILE IS THERE ON PATHVAL(SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-               ss_json_ringtone_add(root, JSONFILE, pathval, pathval);
-               SETTING_TRACE("pathval is : %s -- OK", pathval);
-       } else {
-               SETTING_TRACE("pathval is duplicated : %s", pathval);
-               ret = SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       dnameval = strdup(pathval);
-       baseval = strdup(pathval);
-       if (dnameval && baseval) {
-               SETTING_TRACE("---> dirname is : %s ", dirname(dnameval));
-               SETTING_TRACE("---> basename is : %s ", basename(baseval));
-       }
-       FREE(dnameval);
-       FREE(baseval);
-
-       if (parser) {
-               g_object_unref(parser);
-               parser = NULL;
-       }
-
-       return ret;
-}
-
-int system_setting_del_incoming_call_ringtone(system_settings_key_e key, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char* pathval = (char*)value;
-#ifdef USE_JSONFILE
-       // NOT IN USE
-       JsonParser* parser = ss_json_ringtone_open_file(JSONFILE);
-#else
-       JsonParser* parser = ss_json_ringtone_load_from_data();
-#endif
-       JsonNode *root = json_parser_get_root(parser);
-
-       ss_json_ringtone_remove(root, JSONFILE, pathval);
-       //void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del)
-
-       ss_json_ringtone_print(root);
-       if (parser) {
-               g_object_unref(parser);
-               parser = NULL;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-
-/*  LCOV_EXCL_START */
-gint _compare_cb(gconstpointer d1, gconstpointer d2)
-{
-       fileNodeInfo *pNode1 = (fileNodeInfo *)d1;
-       fileNodeInfo *pNode2 = (fileNodeInfo *)d2;
-
-       return strcmp(pNode1->media_name, pNode2->media_name);
-}
-/*  LCOV_EXCL_STOP */
-
-/*
- * get the RINGTONE list
- */
-static void _get_default_ringtones(system_settings_key_e key, system_settings_iter_cb callback, void *data)
-{
-       SETTING_TRACE_BEGIN;
-       /*Get file list */
-       GList *filelist = NULL;
-       GList *iter;
-       fileNodeInfo *node = NULL;
-       int idx = 0;
-
-       //-----------------------------------------------------------------------------------------------------------------
-       // 1. get the default ringtone list
-       //-----------------------------------------------------------------------------------------------------------------
-       int ret = get_filelist_from_dir_path(DEF_RINGTONE_FILE_PATH, &filelist);
-       if (ret != 0) {
-               SETTING_TRACE("Failed to get filelist, ret = %d %s", ret, DEF_RINGTONE_FILE_PATH);
-       }
-
-       filelist = g_list_sort(filelist, _compare_cb);
-
-       for (iter = filelist; iter != NULL; iter = g_list_next(iter)) {
-               node = (fileNodeInfo *)iter->data;
-               SETTING_TRACE("file path = (%d) : name:%s path:%s [%s]", ret, node->name, node->path, node->media_name);
-               // @todo assert NULL check
-               if (callback) {
-                       char temp[1024];
-                       snprintf(temp, 1024, "%s/%s", node->path, node->name);
-                       char* path = strdup(temp);
-                       bool ret = callback(idx, (void *)(path), data);
-                       if (path) {
-                               free(path);
-                               path = NULL;
-                       }
-                       if (ret == false) {
-                               SETTING_TRACE("quit the iteration by return value == false : %d", ret);
-                               break;
-                       }
-
-               } else {
-                       SETTING_TRACE("--> system_setting_data_iterator is NULL");
-               }
-       }
-
-       for (iter = filelist; iter != NULL; iter = g_list_next(iter)) {
-               node = (fileNodeInfo *)iter->data;
-               FREE(node->path);
-               FREE(node->name);
-               FREE(node->media_name);
-               FREE(node);
-       }
-       g_list_free(filelist);
-       filelist = NULL;
-
-}
-
-static void _get_user_ringtones(system_settings_key_e key, system_settings_iter_cb callback, void *data)
-{
-       SETTING_TRACE_BEGIN;
-
-#ifdef USE_JSONFILE
-       // NOT IN USE
-       JsonParser* parser = ss_json_ringtone_open_file(JSONFILE);
-#else
-       JsonParser* parser = ss_json_ringtone_load_from_data();
-#endif
-
-       JsonNode *root = json_parser_get_root(parser);
-       int size = json_array_get_length(json_node_get_array(root));
-
-       int i = 0;
-       for (i = 0; i < size ; i++) {
-               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
-               char *nameval = (char *)json_object_get_string_member(ringtone, "name");
-               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
-               SETTING_TRACE("(%s) --- (%s) \n", nameval, pathval);
-               if (callback && pathval) {
-                       char* path = strdup(pathval);
-                       bool ret = callback(i, (void *)(path), data);
-                       if (ret == false) {
-                               SETTING_TRACE("quit the iteration by return value == false : %d", ret);
-                               break;
-                       }
-                       FREE(path);
-               } else {
-                       SETTING_TRACE("--> callback is NULL");
-               }
-       }
-
-       g_object_unref(parser);
-}
-
-int system_setting_list_incoming_call_ringtone(system_settings_key_e key, system_settings_iter_cb callback, void *data)
-{
-       SETTING_TRACE_BEGIN;
-
-       _get_default_ringtones(key, callback, data);
-       //-----------------------------------------------------------------------------------------------------------------
-       // 2. get the USER ringtone list
-       //-----------------------------------------------------------------------------------------------------------------
-       _get_user_ringtones(key, callback, data);
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-
-/*  LCOV_EXCL_START */
-int system_setting_set_incoming_call_ringtone(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value;
-       vconf_value = (char *)value;
-
-       int ret = _is_file_accessible(vconf_value);
-       if (ret == 0) {
-               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       } else {
-               /* @todo add a common ret_handler */
-               return ret;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-
-/*  LCOV_EXCL_START */
-int system_setting_set_email_alert_ringtone(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value;
-       vconf_value = (char *)value;
-
-       int ret = _is_file_accessible(vconf_value);
-       if (ret == 0) {
-               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       } else {
-               /*return SYSTEM_SETTINGS_ERROR_IO_ERROR;*/
-               /* @todo add a common ret_handler */
-               return ret;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static bool dl_is_supported_image_type_load(char *path)
-{
-       void *handle = NULL;
-       char *error;
-       bool ret = false;
-       bool (*image_type_check)(char *path);
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return false;
-       }
-
-       image_type_check = dlsym(handle, "__is_supported_image_type_load");
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find __is_supported_image_type_load function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return false;
-       }
-       ret = image_type_check(path);
-       if (handle)
-               dlclose(handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int dl_is_available_font(char *str)
-{
-       void *handle = NULL;
-       char *error;
-       int ret = false;
-       int (*check_available_font)(char *font_name);
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return false;
-       }
-
-       check_available_font = dlsym(handle, "__is_available_font");
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find __is_available_font function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return false;
-       }
-       ret = check_available_font(str);
-       if (handle)
-               dlclose(handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void dl_font_size_set()
-{
-       void *handle = NULL;
-       char *error;
-       void (*set_font_size)();
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return;
-       }
-
-       set_font_size = dlsym(handle, "__font_size_set");
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find __font_size_set function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return;
-       }
-       set_font_size();
-       if (handle)
-               dlclose(handle);
-       return;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void dl_font_config_set_notification()
-{
-       void *handle = NULL;
-       char *error;
-       void (*set_font_nodification)();
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return;
-       }
-
-       set_font_nodification = dlsym(handle, "font_config_set_notification");
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find font_config_set_notification function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return;
-       }
-       set_font_nodification();
-       if (handle)
-               dlclose(handle);
-       return;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static bool dl_font_config_set(char *font_name)
-{
-       void *handle = NULL;
-       char *error;
-       bool ret = false;
-       bool (*check_font_type)(char *font_name);
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return false;
-       }
-
-       check_font_type = dlsym(handle, "font_config_set");
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find font_config_set function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return false;
-       }
-       ret = check_font_type(font_name);
-       if (handle)
-               dlclose(handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static char *dl_get_default_font_info()
-{
-       void *handle = NULL;
-       char *error;
-       char *ret = NULL;
-       char *(*get_font_info)();
-
-       handle = dlopen(SETTING_UTILS_SO_FILE_PATH,  RTLD_LAZY);
-       if (!handle) {
-               SETTING_TRACE("ERROR!! canNOT find libsystem-settings-util.so.0.1.0");
-               return false;
-       }
-
-       get_font_info = dlsym(handle, "_get_default_font");
-
-       if ((error = dlerror()) != NULL) {
-               SETTING_TRACE("ERROR!! canNOT find _get_default_font function at libsystem-settings-util.so.0.1.0");
-               if (handle)
-                       dlclose(handle);
-               return false;
-       }
-       ret = get_font_info();
-       if (handle)
-               dlclose(handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-#ifdef TIZEN_WEARABLE
-/*  LCOV_EXCL_START */
-static int system_setting_get_extended_wallpaper_num(const char *file_path, unsigned int *num)
-{
-       SETTING_TRACE_BEGIN;
-       char buffer[256];
-       const char *find_str = "extended_wallpaper_";
-       char *ch = NULL;
-
-       if (!(ch = strstr(file_path, find_str))) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       strncpy(buffer, file_path, ch - file_path);
-       buffer[ch - file_path] = 0;
-       sprintf(buffer + (ch - file_path), "%s%s", "", ch + strlen(find_str));
-
-       if (!isdigit(buffer[0])) {
-               SETTING_TRACE("%s is not number", buffer);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       *num = atoi(buffer);
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int system_setting_copy_extended_wallpaper(const char *dest_file_path, const char *source_file_path)
-{
-       SETTING_TRACE_BEGIN;
-       if (!source_file_path || !dest_file_path) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       char buf[1024];
-
-       int fd;
-       fd = open(source_file_path, O_RDONLY);
-       if (fd < 0) {
-               SETTING_TRACE("file open failed: %s", source_file_path);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       int fd2;
-       fd2 = open(dest_file_path, O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO);
-       if (fd2 < 0) {
-               SETTING_TRACE("file creation failed: %s", dest_file_path);
-               close(fd);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       while (read(fd, buf, sizeof(buf) - 1) > 0) {
-               write(fd2, buf, sizeof(buf) - 1);
-       }
-
-       close(fd2);
-       close(fd);
-
-       if (chmod(dest_file_path, S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
-               SETTING_TRACE("chmod failed: %s", dest_file_path);
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int system_setting_remove_oldest_extended_wallpaper()
-{
-       SETTING_TRACE_BEGIN;
-       DIR *dp;
-       struct dirent *dirp;
-       char *min_image_name = NULL;
-       unsigned int min_image_num = 0;
-       unsigned int temp_image_num = 0;
-       int image_count = 0;
-
-       if ((dp = opendir(_TZ_SYS_DATA"/setting/wallpaper")) == NULL) {
-               SETTING_TRACE("opendir error");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       while ((dirp = readdir(dp))) {
-               if (!strcmp(dirp->d_name, ".") || !strcmp(dirp->d_name, ".."))
-                       continue;
-
-               if (system_setting_get_extended_wallpaper_num(dirp->d_name, &temp_image_num)
-                   != SYSTEM_SETTINGS_ERROR_NONE) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-               if ((image_count == 0) || (min_image_num > temp_image_num)) {
-                       min_image_num = temp_image_num;
-                       min_image_name = dirp->d_name;
-               }
-
-               image_count++;
-       }
-
-       char buf[512];
-       if (min_image_name) {
-               snprintf(buf, sizeof(buf) - 1, _TZ_SYS_DATA"/setting/wallpaper/%s", min_image_name);
-               if (remove(buf) < 0) {  /* remove oldest image */
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int system_setting_check_extended_wallpaper(const char *file_path)
-{
-       char buffer[512];
-       SETTING_TRACE_BEGIN;
-       if (!file_path || !strlen(file_path))
-               return 0;
-       snprintf(buffer, 512, "%s/.bgwallpaper", tzplatform_getenv(TZ_USER_CONTENT));
-       return (strstr(file_path, buffer) != NULL);
-}
-/*  LCOV_EXCL_STOP */
-
-#define WALLPAPER_MAX_COUNT            10
-#endif
-/*  LCOV_EXCL_START */
-int system_setting_set_wallpaper_home_screen(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value;
-       vconf_value = (char *)value;
-
-       bool isok  = dl_is_supported_image_type_load(vconf_value);
-       if (!isok) {
-               /* not supported */
-               SETTING_TRACE("path : %s is not supported file format", vconf_value);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       } else {
-               SETTING_TRACE("path : %s is SUPPORT file format", vconf_value);
-       }
-
-       /* error handling here */
-       if (_is_file_accessible(vconf_value) != 0)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-#ifdef TIZEN_MOBILE
-       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-#endif
-
-#ifdef TIZEN_WEARABLE
-       if (system_setting_check_extended_wallpaper(vconf_value)) {     /* New extended wallpaper */
-               DIR *dp = NULL;
-               struct dirent *dirp;
-               unsigned int max_image_num = 0;
-               unsigned int temp_image_num = 0;
-               int image_count = 0;
-
-               if ((dp = opendir(_TZ_SYS_DATA"/setting/wallpaper")) == NULL) {
-                       SETTING_TRACE("Setting - dir open error!");
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-               /* Check a max number of wallpapers */
-               while ((dirp = readdir(dp))) {
-                       if (!strcmp(dirp->d_name, ".") || !strcmp(dirp->d_name, ".."))
-                               continue;
-
-                       if (system_setting_get_extended_wallpaper_num(dirp->d_name, &temp_image_num)
-                           != SYSTEM_SETTINGS_ERROR_NONE) {
-                               if (dp)
-                                       closedir(dp);
-                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-                       }
-
-                       if ((image_count == 0) || (max_image_num < temp_image_num)) {
-                               max_image_num = temp_image_num;
-                       }
-
-                       image_count++;
-               }
-               if (dp)
-                       closedir(dp);
-
-               /* Numbering rule: Gear is odd number */
-               max_image_num = (max_image_num % 2 == 0) ? max_image_num + 1
-                                                       : max_image_num + 2;
-
-               char file_name_buffer[512];
-               snprintf(file_name_buffer, sizeof(file_name_buffer) - 1,
-                                       _TZ_SYS_DATA"/setting/wallpaper/extended_wallpaper_%d.jpg", max_image_num);
-
-               /* Copy image to _TZ_SYS_DATA/setting/wallpaper/ */
-               if (system_setting_copy_extended_wallpaper(file_name_buffer, vconf_value)
-                   != SYSTEM_SETTINGS_ERROR_NONE) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-               /* remove oldest wallpaper */
-               if (image_count >= WALLPAPER_MAX_COUNT) {
-                       if (system_setting_remove_oldest_extended_wallpaper()
-                           != SYSTEM_SETTINGS_ERROR_NONE) {
-                               remove(file_name_buffer);
-                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-                       }
-               }
-
-               if (system_setting_vconf_set_value_string(item->vconf_key, file_name_buffer)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-               if (system_setting_vconf_set_value_int(VCONFKEY_SETAPPL_WALLPAPER_CHANGED_NOTI_INT,
-                                                                                                       VCONFKEY_WALLPAPER_CHANGED_NOTI_GEAR)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       } else {
-               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       }
-#endif
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_wallpaper_lock_screen(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value;
-       vconf_value = (char *)value;
-
-       bool isok  = dl_is_supported_image_type_load(vconf_value);
-       if (!isok) {
-               /* not supported */
-               SETTING_TRACE("path : %s is not supported file format", vconf_value);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       } else {
-               SETTING_TRACE("path : %s is SUPPORT file format", vconf_value);
-       }
-
-       /* error handling here */
-       if (_is_file_accessible(vconf_value) != 0)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_font_size(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       int *vconf_value;
-       vconf_value = *(int **)value;
-
-       if (*vconf_value < 0 || *vconf_value > SYSTEM_SETTINGS_FONT_SIZE_GIANT) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       if (system_setting_vconf_set_value_int(item->vconf_key, *vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       dl_font_size_set();
-       SETTING_TRACE_END;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-/**
- * [internal API]
- */
-/*  LCOV_EXCL_START */
-void *font_conf_doc_parse(char *doc_name, char *font_name)
-{
-       SETTING_TRACE_BEGIN;
-       xmlDocPtr doc = NULL;
-       xmlNodePtr cur = NULL;
-       xmlNodePtr cur2 = NULL;
-       xmlNodePtr cur3 = NULL;
-       xmlChar *key = NULL;
-
-       doc = xmlParseFile(doc_name);
-
-       cur = xmlDocGetRootElement(doc);
-
-       if (cur == NULL) {
-               xmlFreeDoc(doc);
-               doc = NULL;
-               return NULL;
-       }
-
-       if (xmlStrcmp(cur->name, (const xmlChar *)"fontconfig")) {
-               xmlFreeDoc(doc);
-               doc = NULL;
-               return NULL;
-       }
-
-       cur = cur->xmlChildrenNode;
-
-       bool is_changed = false;
-       while (cur != NULL) {
-               if ((!xmlStrcmp(cur->name, (const xmlChar *)"match"))) {
-                       cur2 = cur->xmlChildrenNode;
-                       while (cur2 != NULL) {
-                               if ((!xmlStrcmp(cur2->name, (const xmlChar *)"edit"))) {
-                                       xmlChar *name = xmlGetProp(cur2, (const xmlChar *)"name");
-                                       /* if name is not 'family', break */
-                                       if (xmlStrcmp(name, (const xmlChar *)"family")) {
-                                               xmlFree(name);
-                                               name = NULL;
-                                               break;
-                                       }
-                                       xmlFree(name);
-                                       name = NULL;
-
-                                       cur3 = cur2->xmlChildrenNode;
-                                       while (cur3 != NULL) {
-                                               if ((!xmlStrcmp(cur3->name, (const xmlChar *)"string"))) {
-                                                       xmlNodeSetContent(cur3->xmlChildrenNode, (const xmlChar *)font_name);
-                                                       key = xmlNodeListGetString(doc, cur3->xmlChildrenNode, 1);
-                                                       xmlFree(key);
-                                                       key = NULL;
-                                                       is_changed = true;
-                                               }
-                                               cur3 = cur3->next;
-                                       }
-                               }
-                               cur2 = cur2->next;
-                       }
-               } else if ((!xmlStrcmp(cur->name, (const xmlChar *)"alias"))) {
-                       cur2 = cur->xmlChildrenNode;
-                       while (cur2 != NULL) {
-                               if ((!xmlStrcmp(cur2->name, (const xmlChar *)"family"))) {
-                                       xmlNodeSetContent(cur2->xmlChildrenNode, (const xmlChar *)font_name);
-                                       key = xmlNodeListGetString(doc, cur2->xmlChildrenNode, 1);
-                                       xmlFree(key);
-                                       key = NULL;
-                                       is_changed = true;
-                               } else if ((!xmlStrcmp(cur2->name, (const xmlChar *)"prefer"))) {
-                                       cur3 = cur2->xmlChildrenNode;
-                                       while (cur3 != NULL) {
-                                               if ((!xmlStrcmp(cur3->name, (const xmlChar *)"family"))) {
-                                                       xmlNodeSetContent(cur3->xmlChildrenNode, (const xmlChar *)font_name);
-                                                       key = xmlNodeListGetString(doc, cur3->xmlChildrenNode, 1);
-                                                       xmlFree(key);
-                                                       key = NULL;
-                                                       is_changed = true;
-                                                       cur3 = cur3->next;
-                                                       return doc;
-                                               }
-                                               cur3 = cur3->next;
-                                       }
-                               }
-                               cur2 = cur2->next;
-                       }
-               }
-               cur = cur->next;
-       }
-
-       if (is_changed) {
-               return doc;
-       } else {
-               xmlFreeDoc(doc);
-               doc = NULL;
-               return NULL;
-       }
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_font_type(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *font_name = NULL;
-       font_name = (char *)value;
-
-       /* get current font list */
-       int is_found = dl_is_available_font(font_name);
-
-       if (is_found == 1) {
-               SETTING_TRACE("found font : %s ", font_name);
-       } else {
-               SETTING_TRACE(" NOT found font : %s ", font_name);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       bool bsave = dl_font_config_set(font_name);
-
-       if (!bsave) {
-               SETTING_TRACE(" font type save error by font_config_set() ");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       } else {
-               SETTING_TRACE(" save OK - font_config_set() ");
-       }
-
-       xmlDocPtr doc = (xmlDocPtr)font_conf_doc_parse(SETTING_FONT_CONF_FILE, font_name);
-       if (doc != NULL) {
-               xmlSaveFormatFile(SETTING_FONT_CONF_FILE, doc, 0);
-               xmlFreeDoc(doc);
-               doc = NULL;
-       }
-
-       dl_font_config_set_notification();
-
-       char *vconf_value;
-       vconf_value = (char *)value;
-
-       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int category_func(const char *name, void *user_data)
-{
-       SETTING_TRACE_BEGIN;
-       static char *category = "lock-screen";
-       if (name && !strcmp(name, category)) {
-               SETTING_TRACE(" SAME ");
-               return -1;
-       } else {
-               SETTING_TRACE(" DIFFERENT -- %s, category -- %s ", name, category);
-               return 0;
-       }
-
-       return 0;
-}
-/*  LCOV_EXCL_STOP */
-
-/**
- *
- * set 'swipe type' if current lockscreen app is 'com.samsung.lockscreen'
- *
- */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_lockscreen_app(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value;
-       vconf_value = (char *)value;            /* ex) com.samsung.lockscreen */
-
-       int r = 0;
-       pkgmgrinfo_appinfo_h handle;
-       r = pkgmgrinfo_appinfo_get_appinfo(vconf_value, &handle);
-       if (r != PMINFO_R_OK) {
-               SETTING_TRACE("*** pkginfo failed ");
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       } else {
-               SETTING_TRACE("%p", handle);
-       }
-
-       int ret = pkgmgrinfo_appinfo_foreach_category(handle, category_func, (void *)"lock-screen");
-       if (ret != PMINFO_R_OK) {
-               pkgmgrinfo_appinfo_destroy_appinfo(handle);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       pkgmgrinfo_appinfo_destroy_appinfo(handle);
-       /*----------------------------------------------------------------------------------- */
-       int locktype = -1;
-       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, &locktype)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (locktype == SETTING_SCREEN_LOCK_TYPE_PASSWORD)
-               return SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE;
-
-       if (system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_3RD_LOCK_PKG_NAME_STR, vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (vconf_value && strcmp(vconf_value, "com.samsung.lockscreen") == 0) {
-               if (system_setting_vconf_set_value_int(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT, SETTING_SCREEN_LOCK_TYPE_SWIPE)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*/////////////////////////////////////////////////////////////////////////////////////////////// */
-/**
- * @todo need to add custom event notification method
- */
-
-
-/*//////////////////////////////////////////////////////////////////////////////////////// */
-/*--------------------------------------- */
-int system_setting_get_locale_country(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       /* parsing validation */
-       /* en_US.UTF-8 */
-       char arr[21] = {0,};
-       snprintf(arr, 20, "%s", vconf_value);
-       for (int i = 0; i < strlen(arr); i++) {
-               if ('.' == arr[i]) {
-                       arr[i] = 0;
-                       SETTING_TRACE("replace . to NULL : %d", i);
-                       break;
-               }
-       }
-       *value = strdup(arr);
-       free(vconf_value);
-       vconf_value = NULL;
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-/*  LCOV_EXCL_START */
-int system_setting_set_locale_country(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       vconf_value = (char *)value;
-
-       char *ext = "UTF-8";
-
-       char arr[20];
-       snprintf(arr, 20, "%s.%s", vconf_value, ext);
-
-       if (system_setting_vconf_set_value_string(item->vconf_key, arr)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*--------------------------------------- */
-int system_setting_get_locale_language(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       /* parsing validation */
-       /* en_US.UTF-8 */
-       char arr[21] = {0,};
-       snprintf(arr, 20, "%s", vconf_value);
-       for (int i = 0; i < strlen(arr); i++) {
-               if ('.' == arr[i]) {
-                       arr[i] = 0;
-                       SETTING_TRACE("replace . to NULL : %d", i);
-                       break;
-               }
-       }
-       *value = strdup(arr);
-       free(vconf_value);
-       vconf_value = NULL;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-/*  LCOV_EXCL_START */
-int system_setting_set_locale_language(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       vconf_value = (char *)value;
-
-       char *ext = "UTF-8";
-
-       char arr[20];
-       snprintf(arr, 20, "%s.%s", vconf_value, ext);
-
-       if (system_setting_vconf_set_value_string(item->vconf_key, arr)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*--------------------------------------- */
-/*  LCOV_EXCL_START */
-int system_setting_get_locale_timeformat_24hour(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       int vconf_value;
-
-       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       bool ret_value = true;
-       if (vconf_value == VCONFKEY_TIME_FORMAT_12)
-               ret_value = false;
-       else if (vconf_value == VCONFKEY_TIME_FORMAT_24)
-               ret_value = true;
-
-       *value = (void *)ret_value;
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_locale_timeformat_24hour(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       bool *vconf_value;
-
-       vconf_value = (bool *)value;
-
-       if (*vconf_value) {
-               if (system_setting_vconf_set_value_int(item->vconf_key, VCONFKEY_TIME_FORMAT_24)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-       } else {
-               if (system_setting_vconf_set_value_int(item->vconf_key, VCONFKEY_TIME_FORMAT_12)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_get_locale_timezone(system_setting_h item, void **value)
-{
-       char tzpath[256];
-       ssize_t len = readlink(SETTING_TZONE_SYMLINK_PATH, tzpath, sizeof(tzpath)-1);
-       if (len != -1) {
-               tzpath[len] = '\0';
-       } else {
-               SETTING_TRACE("parse error for SETTING_TZONE_SYMLINK_PATH");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       SETTING_TRACE("tzpath : %s ", &tzpath[20]);
-       *value = strdup(&tzpath[20]);
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_locale_timezone(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *timezone_value = NULL;
-       timezone_value = (char *)value;
-
-       char tz_path[1024];
-       snprintf(tz_path, 1024, "/usr/share/zoneinfo/%s", timezone_value);
-
-       int is_load = _is_file_accessible(tz_path);
-       if (is_load == 0) {
-               alarmmgr_set_timezone(tz_path);
-
-               if (system_setting_vconf_set_value_string(item->vconf_key, timezone_value)) {
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-               return SYSTEM_SETTINGS_ERROR_NONE;
-       }
-       return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_get_time_changed(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       time_t cur_tick;
-       int ** val = (int**)value;
-       cur_tick = time(NULL);
-       **val = cur_tick;
-       /* struct tm * localtime = time (cur_tick); */
-       /* printf("%s\n", ctime(&cur_tick); */
-       return SYSTEM_SETTINGS_ERROR_NONE;
-
-}
-/*  LCOV_EXCL_STOP */
-
-/**
- * a = VCONFKEY_SETAPPL_SOUND_STATUS_BOOL(==item->vconf_key) b = VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL
- *
- * a == false, b == false --> silent mode
- * a == true, b == false --> sound mode
- * a == false, b == true --> vibration mode
- */
-/*  LCOV_EXCL_START */
-int system_setting_get_sound_silent_mode(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       bool sound_cond;
-       bool vib_cond;
-
-       bool vconf_value;
-       if (system_setting_vconf_get_value_bool(item->vconf_key, &sound_cond)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (system_setting_vconf_get_value_bool(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL, &vib_cond)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (sound_cond == false && vib_cond == false) {
-               vconf_value = true;
-               *value = (void *)vconf_value;
-       } else {
-               vconf_value = false;
-               *value = (void *)vconf_value;
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/**
- * a = VCONFKEY_SETAPPL_SOUND_STATUS_BOOL(==item->vconf_key) b = VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL
- *
- * a == false, b == false --> silent mode
- * a == true, b == false --> sound mode
- */
-int system_setting_set_sound_silent_mode(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       bool *vconf_value;
-
-       vconf_value = (bool *)value;
-
-       bool vconf_sound = false;
-       bool vconf_vib = false;
-
-       if (*vconf_value) {
-               vconf_sound = false;
-               vconf_vib = false;
-       } else {
-               vconf_sound = true;
-               vconf_vib = false;
-       }
-
-       if (system_setting_vconf_set_value_bool(item->vconf_key, vconf_sound)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       if (system_setting_vconf_set_value_bool(VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL, vconf_vib)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-/*  LCOV_EXCL_START */
-int system_setting_set_screen_backlight_time(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       int *vconf_value;
-       vconf_value = *(int **)value;
-
-       if (!(*vconf_value > 0 && *vconf_value <= 600)) {
-               SETTING_TRACE(" ERR Betweeny here  0 ~ 600");
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       if (system_setting_vconf_set_value_int(item->vconf_key, *vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       SETTING_TRACE_END;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_sound_notification(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       vconf_value = (char *)value;
-
-       int is_load = _is_file_accessible(vconf_value);
-       if (is_load == 0) {
-               //SETTING_TRACE(" system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) TRY", vconf_value);
-               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value)) {
-                       //SETTING_TRACE(" system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) FAIL", vconf_value);
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               }
-       } else {
-               //SETTING_TRACE(" is_file_accessibile FAILED - system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR, %s) FAIL", vconf_value);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_set_device_name(system_settings_key_e key, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       vconf_value = (char *)value;
-
-       if (system_setting_vconf_set_value_string(VCONFKEY_SETAPPL_DEVICE_NAME_STR, vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-int system_setting_get_network_wifi_notification(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       int vconf_value;
-       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-       bool bret ;
-       bret = (vconf_value == VCONFKEY_WIFI_QS_ENABLE) ? true : false;
-
-       *value = (void *)bret;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-//----------------------------------------------------------------------------------------------------------------------------
-
-#define DEFAULT_ADS_ID "00000000-0000-0000-0000-000000000000"
-
-int system_setting_get_ads_id(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       int optout_value = 0;
-       if (system_setting_vconf_get_value_int(VCONFKEY_SETAPPL_AD_ID_OPT_OUT, &optout_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (optout_value == 1) {
-               *value = strdup(DEFAULT_ADS_ID);
-               return SYSTEM_SETTINGS_ERROR_NONE;
-       }
-
-       char *vconf_value = NULL;
-       if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       *value = vconf_value;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-
-#if DEBUG_DUMP_CONTEXT
-void make_ad_id(void)
-{
-       uuid_t uuid_value;
-       char uuid_unparsed[50] = {0};
-       uuid_generate(uuid_value);
-       uuid_unparse(uuid_value, uuid_unparsed);
-       system_setting_set_ad_id(key, uuid_unparsed); //example of setting the value
-}
-#endif
-int system_setting_set_ads_id(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_value = NULL;
-       vconf_value = (char *)value;
-
-       if (system_setting_vconf_set_value_string(item->vconf_key, vconf_value))        {
-               SETTING_TRACE("Setting VCONFKEY_SETAPPL_AD_ID failed");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int system_settings_feature_check_bool(char *path)
-{
-       bool feature_data = false;
-       int ret = system_info_get_platform_bool(path, &feature_data);
-       if (ret != SYSTEM_INFO_ERROR_NONE) {
-               SETTING_TRACE("Setting - reading feature data failed, %d", ret);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       ret = (feature_data == true) ? SYSTEM_SETTINGS_ERROR_NONE : SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       return ret;
-
-}
-
-int system_setting_feature_check_incoming_call(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_INCOMING_CALL_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_home_screen(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_HOME_SCREEN_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_lock_screen(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_LOCK_SCREEN_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_notification_email(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_NOTIFICATION_EMAIL_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_wifi(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_WIFI_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_telephony(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_TELEPHONY_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-
-int system_setting_feature_check_font(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_FONT_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_accessibility_grayscale(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_ACCESSIBILITY_GRAYSCALE_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-int system_setting_feature_check_accessibility_negative(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_ACCESSIBILITY_NEGATIVE_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
-
-/*  LCOV_EXCL_START */
-int system_setting_feature_check_wearable_profile(void *value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               char *profile_data = NULL;
-               int rotary_feature = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-               ret = system_info_get_platform_string(SETTING_PROFILE_PATH, &profile_data);
-               if (ret != SYSTEM_INFO_ERROR_NONE) {
-                       SETTING_TRACE("Setting - reading profile string failed, %d", ret);
-                       return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-               }
-
-               rotary_feature = system_settings_feature_check_bool(SETTING_INPUT_ROTATING_BEZEL_PATH);
-
-               if ((rotary_feature == SYSTEM_SETTINGS_ERROR_NONE) && profile_data && !strcmp(profile_data, "wearable"))
-                       ret = SYSTEM_SETTINGS_ERROR_NONE;
-               else
-                       ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-               if (profile_data)
-                       free(profile_data);
-
-               first_query = false;
-       }
-
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_setting_get_uds_state(system_setting_h item, void **value)
-{
-       int ** p_value = (int**)value;
-       int vconf_value;
-       char *vconf_string_value = NULL;
-
-       if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_value)) {
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       SETTING_TRACE("[%s] udsm: %d", __FUNCTION__, vconf_value);
-
-       if (vconf_value == SYSTEM_SETTINGS_UDS_ON) {
-               if (system_setting_vconf_get_value_string(VCONFKEY_SETAPPL_UDSM_PKGID_LIST, &vconf_string_value))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-
-               if (vconf_string_value) {
-                       if (!strcmp(vconf_string_value, "NONE")) {
-                               vconf_value = SYSTEM_SETTINGS_UDS_ON;
-                       } else {
-                               char *app_id = NULL;
-                               char *package_id = NULL;
-                               pid_t pid = getpid();
-
-                               int ret = app_manager_get_app_id(pid, &app_id);
-                               if (ret != APP_MANAGER_ERROR_NONE) {
-                                       free(vconf_string_value);
-                                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-                               }
-
-                               if (app_id) {
-                                       int result = 0;
-                                       result = package_manager_get_package_id_by_app_id(app_id, &package_id);
-                                       if (result != PACKAGE_MANAGER_ERROR_NONE) {
-                                               SETTING_TRACE("package_manager_get_package_id_by_app_id returned error! %d", result);
-                                               free(app_id);
-                                               free(vconf_string_value);
-                                               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-                                       }
-
-                                       SETTING_TRACE("[%s] udsm_pkg_list : %s", __FUNCTION__, vconf_string_value);
-                               }
-
-                               if (package_id && strstr(vconf_string_value, package_id)) {
-                                       vconf_value = SYSTEM_SETTINGS_UDS_ON_WHITELISTED;
-                                       SETTING_TRACE("[%s] pkg id : %s", __FUNCTION__, package_id);
-                               } else {
-                                       vconf_value = SYSTEM_SETTINGS_UDS_ON;
-                               }
-
-                       }
-                       free(vconf_string_value);
-               }
-       }
-
-       **p_value = vconf_value;
-
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
diff --git a/src/system_settings.c b/src/system_settings.c
deleted file mode 100644 (file)
index 634a36b..0000000
+++ /dev/null
@@ -1,1351 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <vconf.h>
-#include <dlog.h>
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-
-#include <glib.h>
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "TIZEN_N_SYSTEM_SETTINGS"
-
-#define SYSTEM_SETTINGS_MAX -1
-#define GET_SLOT(x) ((x)%4)
-
-system_setting_s system_setting_table[] = {
-
-       {
-               SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
-               VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_incoming_call_ringtone,
-               system_setting_set_incoming_call_ringtone,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               system_setting_add_incoming_call_ringtone,      /* ADD */
-               system_setting_del_incoming_call_ringtone,      /* DEL */
-               system_setting_list_incoming_call_ringtone,     /* LIST */
-               system_setting_feature_check_incoming_call,             /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
-               VCONFKEY_BGSET,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_vconf,
-               system_setting_set_wallpaper_home_screen,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_home_screen,               /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
-               VCONFKEY_IDLE_LOCK_BGSET,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_vconf,
-               system_setting_set_wallpaper_lock_screen,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_lock_screen,               /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_FONT_SIZE,
-               VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_SIZE,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_vconf,
-               system_setting_set_font_size,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_FONT_TYPE,
-               VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_NAME,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_vconf,
-               system_setting_set_font_type,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
-               VCONFKEY_SETAPPL_MOTION_ACTIVATION,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
-               VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_email_alert_ringtone,
-               system_setting_set_email_alert_ringtone,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_notification_email,                /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
-               VCONFKEY_SETAPPL_USB_DEBUG_MODE_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
-               VCONFKEY_3G_ENABLE,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-//     { /* Deprecated */
-//             -5, NULL, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, { NULL, 0 }, NULL
-//     },
-       {
-               SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
-               VCONFKEY_SETAPPL_3RD_LOCK_PKG_NAME_STR,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_lockscreen_app,
-               system_setting_set_lockscreen_app,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_lock_screen,               /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE,
-               NULL,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_default_font_type,
-               NULL,
-               NULL,
-               NULL,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
-               VCONFKEY_REGIONFORMAT,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_locale_country,
-               system_setting_set_locale_country,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
-               VCONFKEY_LANGSET,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_locale_language,
-               system_setting_set_locale_language,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-               VCONFKEY_REGIONFORMAT_TIME1224,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_locale_timeformat_24hour,
-               system_setting_set_locale_timeformat_24hour,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE,
-               VCONFKEY_SETAPPL_TIMEZONE_ID,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_locale_timezone,
-               system_setting_set_locale_timezone,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_TIME_CHANGED,
-               VCONFKEY_SYSTEM_TIME_CHANGED,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_time_changed,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SOUND_LOCK,
-               VCONFKEY_SETAPPL_SOUND_LOCK_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
-               VCONFKEY_SETAPPL_SOUND_STATUS_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_sound_silent_mode,
-               system_setting_set_sound_silent_mode,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
-               VCONFKEY_SETAPPL_TOUCH_SOUNDS_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
-               VCONFKEY_SETAPPL_AUTO_ROTATE_SCREEN_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_DEVICE_NAME,
-               VCONFKEY_SETAPPL_DEVICE_NAME_STR,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_vconf,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
-               VCONFKEY_SETAPPL_MOTION_ACTIVATION,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
-               VCONFKEY_WIFI_ENABLE_QS,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_network_wifi_notification,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_wifi,              /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
-               VCONFKEY_TELEPHONY_FLIGHT_MODE,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
-               VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_vconf,
-               system_setting_set_screen_backlight_time,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
-               VCONFKEY_SETAPPL_NOTI_MSG_RINGTONE_PATH_STR,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_vconf,
-               system_setting_set_sound_notification,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_incoming_call,             /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
-               VCONFKEY_SETAPPL_NOTI_MSG_ALERT_REP_TYPE_INT,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_LOCK_STATE,
-               VCONFKEY_IDLE_LOCK_STATE_READ_ONLY,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* add */
-               NULL,           /* del */
-               NULL,           /* list */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ADS_ID,
-               VCONFKEY_SETAPPL_AD_ID,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               system_setting_get_ads_id,
-               system_setting_set_ads_id,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* add */
-               NULL,           /* del */
-               NULL,           /* list */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-
-       {
-               SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
-               VCONFKEY_SETAPPL_UDSM,
-               SYSTEM_SETTING_DATA_TYPE_INT,
-               system_setting_get_uds_state,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* add */
-               NULL,           /* del */
-               NULL,           /* list */
-               system_setting_feature_check_telephony,         /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
-               VCONFKEY_SETAPPL_UDSM_PKGID_LIST,
-               SYSTEM_SETTING_DATA_TYPE_STRING,
-               NULL,
-               NULL,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* add */
-               NULL,           /* del */
-               NULL,           /* list */
-               system_setting_feature_check_telephony,         /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
-               VCONFKEY_SETAPPL_ACCESSIBILITY_TTS,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_VIBRATION,
-               VCONFKEY_SETAPPL_VIBRATION_STATUS_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
-               VCONFKEY_SETAPPL_STATE_AUTOMATIC_TIME_UPDATE_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
-               VCONFKEY_SETAPPL_DEVELOPER_OPTION_STATE,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               NULL,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
-               VCONFKEY_SETAPPL_ACCESSIBILITY_GREYSCALE,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_accessibility_grayscale,           /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
-               VCONFKEY_SETAPPL_ACCESSIBILITY_HIGH_CONTRAST,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_accessibility_negative,            /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
-               VCONFKEY_SETAPPL_ROTARY_EVENT_ENABLED_BOOL,
-               SYSTEM_SETTING_DATA_TYPE_BOOL,
-               system_setting_get_vconf,
-               system_setting_set_vconf,
-               system_setting_set_changed_vconf_genernal_callback,
-               system_setting_unset_changed_vconf_genernal_callback,
-               NULL,
-               NULL,           /* ADD */
-               NULL,           /* DEL */
-               NULL,           /* LIST */
-               system_setting_feature_check_wearable_profile,          /* feature check */
-               { NULL, 0 }, /* changed callabck list */
-               NULL,           /* user data */
-       },
-       {
-               SYSTEM_SETTINGS_MAX, NULL, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, { NULL, 0 }, NULL
-       }
-};
-
-#if DEBUG_DUMP_CONTEXT
-static void _dump_context()
-{
-       int i;
-       /*int max = SYSTEM_SETTINGS_MAX; */
-       int max = sizeof(system_setting_table) / sizeof(system_setting_s) - 1 ;
-
-       for (i = 0; i < max; i++) {
-               LOGE("[%s] system_setting_table[i].key = %d", __FUNCTION__, system_setting_table[i].key);
-               LOGE("[%s] system_setting_table[i].data_type = %d", __FUNCTION__, system_setting_table[i].data_type);
-               LOGE("[%s] system_setting_table[i].get_value_cb = %x", __FUNCTION__, system_setting_table[i].get_value_cb);
-               LOGE("[%s] system_setting_table[i].set_value_cb = %x", __FUNCTION__, system_setting_table[i].set_value_cb);
-
-               LOGE("[%s] system_setting_table[i].set_changed_cb = %x <---", __FUNCTION__, system_setting_table[i].set_changed_cb);
-               LOGE("[%s] system_setting_table[i].unset_changed_cb = %x", __FUNCTION__, system_setting_table[i].unset_changed_cb);
-               LOGE("[%s] system_setting_table[i].changed_cb = %x", __FUNCTION__, system_setting_table[i].changed_cb);
-       }
-}
-#endif
-
-/*  LCOV_EXCL_START */
-static int _dump_context_node(int key)
-{
-       int index = 0;
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       while (system_setting_table[index].key != SYSTEM_SETTINGS_MAX) {
-               if (system_setting_table[index].key == key) {
-                       int i = index;
-                       LOGE("[%s] system_setting_table[i].key = %d", __FUNCTION__, system_setting_table[i].key);
-                       LOGE("[%s] system_setting_table[i].data_type = %d", __FUNCTION__, system_setting_table[i].data_type);
-                       LOGE("[%s] system_setting_table[i].get_value_cb = %p", __FUNCTION__, system_setting_table[i].get_value_cb);
-                       LOGE("[%s] system_setting_table[i].set_value_cb = %p", __FUNCTION__, system_setting_table[i].set_value_cb);
-                       LOGE("[%s] system_setting_table[i].set_changed_cb = %p <---", __FUNCTION__, system_setting_table[i].set_changed_cb);
-                       LOGE("[%s] system_setting_table[i].unset_changed_cb = %p", __FUNCTION__, system_setting_table[i].unset_changed_cb);
-                       LOGE("[%s] system_setting_table[i].changed_cb = %p", __FUNCTION__, system_setting_table[i].changed_cb);
-                       return 0;
-               }
-               index++;
-       }
-
-       return -1;
-}
-/*  LCOV_EXCL_STOP */
-#if 0
-int system_settings_get_item(system_settings_key_e key, system_setting_h *item)
-{
-       LOGE("Enter [%s], key=%d", __FUNCTION__, key);
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               LOGE("Enter [%s] catch invalid parameter error (%d) ", __FUNCTION__, key);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-#if DEBUG_DUMP_CONTEXT
-       _dump_context();
-#endif
-       int index = 0;
-       while (system_setting_table[index].key != SYSTEM_SETTINGS_MAX) {
-               if (system_setting_table[index].key == key) {
-                       *item = &system_setting_table[index];
-                       LOGE("Enter [%s], index = %d, key = %d, type = %d", __FUNCTION__, index, key, (*item)->data_type);
-                       if (system_setting_table[index].feature_check_cb != NULL) {
-                               int ret = system_setting_table[index].feature_check_cb(item);
-                               if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-                                       LOGE("Not supported API, because there is no feature!");
-                               }
-                               return ret;
-                       } else {
-                               return SYSTEM_SETTINGS_ERROR_NONE;
-                       }
-               }
-
-               index++;
-       }
-
-       return TIZEN_ERROR_INVALID_PARAMETER;
-}
-#else
-
-/*  LCOV_EXCL_START */
-int binary_search_for_item(system_settings_key_e key)
-{
-       int start = 0;
-       int end = SYSTEM_SETTINGS_KEY_MAX;
-
-       while (start <= end) {
-               int mid = (start + end) / 2;
-               if (system_setting_table[mid].key == key) {
-                       return mid;
-               } else if (system_setting_table[mid].key < key) {
-                       start = mid + 1;
-               } else {
-                       end = mid - 1;
-               }
-       }
-
-       LOGE("Enter [%s], key=%d, Can NOT find the key", __FUNCTION__, key);
-       return -1;
-}
-/*  LCOV_EXCL_STOP */
-
-
-/*  LCOV_EXCL_START */
-int system_settings_get_item(system_settings_key_e key, system_setting_h *item)
-{
-       LOGE("Enter [%s], key=%d", __FUNCTION__, key);
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               LOGE("Enter [%s] catch invalid parameter error (%d) ", __FUNCTION__, key);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-#if DEBUG_DUMP_CONTEXT
-       _dump_context();
-#endif
-       int idx = binary_search_for_item(key);
-       if (-1 == idx)
-               return TIZEN_ERROR_INVALID_PARAMETER;
-
-       *item = &system_setting_table[idx];
-       LOGE("Enter [%s],  key = %d, type = %d", __FUNCTION__, key, (*item)->data_type);
-       if (system_setting_table[idx].feature_check_cb != NULL) {
-               int ret = system_setting_table[idx].feature_check_cb(item);
-               if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-                       LOGE("Not supported API, because there is no feature!");
-               }
-               return ret;
-       }
-       return SYSTEM_SETTINGS_ERROR_NONE;
-
-}
-#endif
-/*  LCOV_EXCL_STOP */
-
-int system_setting_get_vconf(system_setting_h item, void **value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_char;
-       int vconf_int;
-       int **val = (int**)value;
-       bool vconf_bool;
-
-       switch(item->data_type) {
-       case SYSTEM_SETTING_DATA_TYPE_STRING:
-               if (system_setting_vconf_get_value_string(item->vconf_key, &vconf_char))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               *value = vconf_char;
-       break;
-       case SYSTEM_SETTING_DATA_TYPE_INT:
-               if (system_setting_vconf_get_value_int(item->vconf_key, &vconf_int))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               **val = vconf_int;
-       break;
-       case SYSTEM_SETTING_DATA_TYPE_BOOL:
-               if (system_setting_vconf_get_value_bool(item->vconf_key, &vconf_bool))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-               *value = (void *)vconf_bool;
-       break;
-       default:
-               LOGE("Error system_setting_h struct data_type");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-
-/*  LCOV_EXCL_START */
-int system_setting_set_vconf(system_setting_h item, void *value)
-{
-       SETTING_TRACE_BEGIN;
-       char *vconf_char;
-       int vconf_int;
-       bool vconf_bool;
-
-       switch(item->data_type) {
-       case SYSTEM_SETTING_DATA_TYPE_STRING:
-               vconf_char = (char*)value;
-               if (system_setting_vconf_set_value_string(item->vconf_key, vconf_char))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       break;
-       case SYSTEM_SETTING_DATA_TYPE_INT:
-               vconf_int = **(int**)value;
-               if (system_setting_vconf_set_value_int(item->vconf_key, vconf_int))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       break;
-       case SYSTEM_SETTING_DATA_TYPE_BOOL:
-               vconf_bool = *(bool*)value;
-               if (system_setting_vconf_set_value_bool(item->vconf_key, vconf_bool))
-                       return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       break;
-       default:
-               LOGE("Error system_setting_h struct data_type");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-/*  LCOV_EXCL_STOP */
-
-int system_settings_get_value(system_settings_key_e key, system_setting_data_type_e data_type, void **value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       system_setting_h system_setting_item;
-       system_setting_get_value_cb     system_setting_getter;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER) {
-                       _dump_context_node(key);
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               }
-               return ret;
-       }
-
-       if (system_setting_item->data_type != data_type) {
-               _dump_context_node(key);
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type --- key:(%d), datatype:(%d)", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER, key, data_type);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       system_setting_getter = system_setting_item->get_value_cb;
-
-       if (system_setting_getter == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return system_setting_getter(system_setting_item, value);
-}
-
-/*  LCOV_EXCL_START */
-int system_settings_set_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-
-       system_setting_h system_setting_item;
-       system_setting_set_value_cb     system_setting_setter;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       /* type check */
-       if (system_setting_item->data_type != data_type) {
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       system_setting_setter = system_setting_item->set_value_cb;
-
-       if (system_setting_setter == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       return system_setting_setter(system_setting_item, value);
-}
-/*  LCOV_EXCL_STOP */
-
-
-
-/*  LCOV_EXCL_START */
-int system_settings_add_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-
-       system_setting_h system_setting_item;
-       system_setting_add_value_cb     system_setting_adder;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       /* type check */
-       if (system_setting_item->data_type != data_type) {
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       system_setting_adder = system_setting_item->add_value_cb;
-
-       if (system_setting_adder == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       return system_setting_adder(key, value);
-}
-/*  LCOV_EXCL_STOP */
-
-
-/*  LCOV_EXCL_START */
-int system_settings_del_value(system_settings_key_e key, system_setting_data_type_e data_type, void *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key) || value == NULL) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-
-       system_setting_h system_setting_item;
-       system_setting_del_value_cb     system_setting_deler;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-
-       if (0 != ret) {
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       /* type check */
-       if (system_setting_item->data_type != data_type) {
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       system_setting_deler = system_setting_item->del_value_cb;
-
-       if (system_setting_deler == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       return system_setting_deler(key, value);
-}
-/*  LCOV_EXCL_STOP */
-
-
-/*  LCOV_EXCL_START */
-int system_settings_list_value(system_settings_key_e key, system_setting_data_type_e data_type, bool (*system_setting_data_iterator)(int, const char* , void *), void *user_data)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-
-       system_setting_h system_setting_item;
-       system_setting_list_value_cb    system_setting_lister;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       /* type check */
-       if (system_setting_item->data_type != data_type) {
-               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid data type", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       //system_setting_list_value_cb list_changed_cb;
-       system_setting_lister = system_setting_item->list_value_cb;
-
-       if (system_setting_lister == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call setter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-       }
-
-       return system_setting_lister(key, system_setting_data_iterator, user_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int system_settings_set_value_int(system_settings_key_e key, int value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       int *ptr = &value;
-       int **p_ptr = &ptr;
-       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_INT, (void *)p_ptr);
-}
-/*  LCOV_EXCL_STOP */
-
-int system_settings_get_value_int(system_settings_key_e key, int *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-       int value_int = 0;
-       int *ptr = &value_int;
-       int **p_ptr = &ptr;
-       int ret = 0;
-       ret = system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_INT, (void **)p_ptr);
-       *value = value_int;
-       return ret;
-}
-
-/*  LCOV_EXCL_START */
-int system_settings_set_value_bool(system_settings_key_e key, bool value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       bool *ptr = &value;
-       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_BOOL, (void *)ptr);
-}
-/*  LCOV_EXCL_STOP */
-
-int system_settings_get_value_bool(system_settings_key_e key, bool *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       SETTING_TRACE(" SIGNED LONG here ******************* log here *************** ");
-       signed long flag = 0;
-
-       int ret;
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       ret = system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_BOOL, (void **)&flag);
-       SETTING_TRACE(" inf (flag) value : %ld ", flag);
-       if (flag == 0) {
-               *value = false;
-               SETTING_TRACE(" flag == 0 ");
-       } else if (flag == 1) {
-               *value = true;
-               SETTING_TRACE(" flag == 1 ");
-       } else {
-               *value = false;
-               SETTING_TRACE(" exception here!!! ");
-       }
-
-       return ret;
-}
-
-/*  LCOV_EXCL_START */
-int system_settings_set_value_string(system_settings_key_e key, const char *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key))
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       return system_settings_set_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
-}
-/*  LCOV_EXCL_STOP */
-
-int system_settings_get_value_string(system_settings_key_e key, char **value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       return system_settings_get_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void **)value);
-}
-
-int system_setting_set_changed_vconf_genernal_callback(system_setting_h item, void *user_data)
-{
-       SETTING_TRACE_BEGIN;
-       return system_setting_vconf_set_changed_cb(item->vconf_key, item->key, GET_SLOT(item->key), user_data);
-}
-
-int system_setting_unset_changed_vconf_genernal_callback(system_setting_h item)
-{
-       SETTING_TRACE_BEGIN;
-       return system_setting_vconf_unset_changed_cb(item->vconf_key, GET_SLOT(item->key));
-}
-
-/*PUBLIC*/
-int system_settings_set_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_h system_setting_item;
-       system_setting_set_changed_callback_cb system_setting_set_changed_cb;
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       system_setting_set_changed_cb = system_setting_item->set_changed_cb;
-
-
-       /* Store the callback function from application side */
-       if (callback)
-               system_setting_item->changed_cb = callback;
-
-       if (user_data)
-               system_setting_item->user_data = user_data;
-
-       if (system_setting_set_changed_cb == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return system_setting_set_changed_cb(system_setting_item, user_data);
-}
-
-
-int system_settings_unset_changed_cb(system_settings_key_e key)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_h system_setting_item;
-       system_setting_unset_changed_callback_cb system_setting_unset_changed_cb;
-
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       system_setting_unset_changed_cb = system_setting_item->unset_changed_cb;
-
-       /* free the callback function from application side */
-       if (system_setting_item->changed_cb)
-               system_setting_item->changed_cb = NULL;
-       /*----------------------------------------------------- */
-
-       if (system_setting_unset_changed_cb == NULL) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to call getter for the system settings", __FUNCTION__, SYSTEM_SETTINGS_ERROR_IO_ERROR);
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return system_setting_unset_changed_cb(system_setting_item);
-}
-
-int system_settings_add_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_h system_setting_item;
-
-       if (callback == NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       if (system_setting_item->vconf_key == NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       LOGE("[%s] key = %d %s", __FUNCTION__, key, system_setting_item->vconf_key);
-
-       /* Store the callback function from application side */
-       ret = add_multi_callback(&system_setting_item->changed_cb_list, callback, user_data);
-       if (ret != SYSTEM_SETTINGS_ERROR_NONE) {
-               LOGE("[%s] IO_ERROR(0x%08x) : failed to add muti-callback for the system settings", __FUNCTION__, ret);
-               return ret;
-       }
-
-       if (!system_setting_item->changed_cb_list.is_registered) {
-               int ret = system_setting_vconf_set_changed_multi_cb(system_setting_item->vconf_key, key);
-               if (ret == SYSTEM_SETTINGS_ERROR_NONE)
-                       system_setting_item->changed_cb_list.is_registered = 1;
-               LOGE("Leave [%s]", __FUNCTION__);
-               return ret;
-       }
-
-       LOGE("Leave [%s]", __FUNCTION__);
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int system_settings_remove_changed_cb(system_settings_key_e key, system_settings_changed_cb callback)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_h system_setting_item;
-
-       if (callback == NULL) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       if (key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       int ret = system_settings_get_item(key, &system_setting_item);
-       if (ret != 0) {
-               if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                       LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               return ret;
-       }
-
-       delete_multi_callback(&system_setting_item->changed_cb_list, callback);
-
-       if (system_setting_item->changed_cb_list.list == NULL) {
-               int ret = 0;
-               if (system_setting_item->vconf_key == NULL)
-                       return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-               ret = system_setting_vconf_unset_changed_multi_cb(system_setting_item->vconf_key, key);
-               if (ret == SYSTEM_SETTINGS_ERROR_NONE)
-                       system_setting_item->changed_cb_list.is_registered = 0;
-               LOGE("Leave [%s]", __FUNCTION__);
-               return ret;
-       }
-
-       LOGE("Leave [%s]", __FUNCTION__);
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-//////////////////////////////////////////////////////////////////////////////////////////////////
-// list
-//////////////////////////////////////////////////////////////////////////////////////////////////
-
-int system_settings_foreach_value_string(system_settings_key_e key, system_settings_iter_cb callback, void *value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       return system_settings_list_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, callback, (void *)value);
-}
-
-//////////////////////////////////////////////////////////////////////////////////////////////////
-// add
-//////////////////////////////////////////////////////////////////////////////////////////////////
-
-int system_settings_add_value_string(system_settings_key_e key, const char* value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       return system_settings_add_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
-}
-
-//////////////////////////////////////////////////////////////////////////////////////////////////
-// del
-//////////////////////////////////////////////////////////////////////////////////////////////////
-
-int system_settings_delete_value_string(system_settings_key_e key, const char* value)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       if (!(key >= 0 && SYSTEM_SETTINGS_KEY_MAX > key)) {
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-       }
-
-       return system_settings_del_value(key, SYSTEM_SETTING_DATA_TYPE_STRING, (void *)value);
-}
-
diff --git a/src/system_settings_json.c b/src/system_settings_json.c
deleted file mode 100644 (file)
index c37e8d2..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-#include <system_settings_json.h>
-
-#include <vconf.h>
-
-//#define VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST
-
-/* LCOV_EXCL_START */
-static void ss_json_ringtone_save(JsonNode *root)
-{
-       // write here
-       JsonGenerator *generator = json_generator_new();
-       json_generator_set_root(generator, root);
-       json_generator_set_pretty(generator, TRUE);
-#ifdef USE_JSONFILE
-       GError *error = NULL;
-       gboolean ret = json_generator_to_file(generator, filename, &error);
-#else
-       gchar* result = json_generator_to_data(generator, NULL);
-       vconf_set_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST, (char*)result);
-#endif
-       g_object_unref(generator);
-}
-/* LCOV_EXCL_STOP */
-
-
-/* LCOV_EXCL_START */
-JsonParser* ss_json_ringtone_open_file(char* path)
-{
-       JsonParser *parser;
-       //JsonNode *root;
-       GError *error;
-
-       parser = json_parser_new();
-
-       error = NULL;
-       json_parser_load_from_file(parser, path, &error);
-       if (error) {
-               SETTING_TRACE("Unable to parse `%s': %s\n", path, error->message);
-               g_error_free(error);
-               g_object_unref(parser);
-               return NULL;
-       }
-
-       return parser;
-}
-/* LCOV_EXCL_STOP */
-
-JsonParser* ss_json_ringtone_load_from_data()
-{
-       JsonParser *parser;
-       //JsonNode *root;
-       GError *error;
-
-       parser = json_parser_new();
-
-       error = NULL;
-       char* load_data = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST);
-       json_parser_load_from_data(parser, load_data, -1, &error);
-       if (error) {
-               SETTING_TRACE("Unable to load data : %s \n", error->message);
-               g_error_free(error);
-               g_object_unref(parser);
-               return NULL;
-       }
-       return parser;
-}
-
-void ss_json_ringtone_add(JsonNode *root, char* filename, char* nameval, char* pathval)
-{
-       SETTING_TRACE_BEGIN;
-
-       JsonNode* menu_item = json_node_new(JSON_NODE_OBJECT);
-       JsonObject *object = json_object_new();
-       json_node_take_object(menu_item, object);
-       json_object_set_string_member(object, "name", nameval);
-       json_object_set_string_member(object, "path", pathval);
-
-       JsonArray* menu = json_node_get_array(root);
-       json_array_add_element(menu, menu_item);
-
-       ss_json_ringtone_save(root);
-}
-
-void ss_json_ringtone_print(JsonNode *root)
-{
-       JsonNode *node = root;
-
-       JsonGenerator *generator = json_generator_new();
-       json_generator_set_root(generator, node);
-       json_generator_set_pretty(generator, TRUE);
-       gchar *data = json_generator_to_data(generator, NULL);
-       //SETTING_TRACE("%s", (char * )data);
-       SETTING_TRACE("-------------------------------------------------------\n");
-       SETTING_TRACE("%s", data);
-       SETTING_TRACE("-------------------------------------------------------\n");
-
-       SETTING_TRACE("VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST SET !!!!\n");
-       vconf_set_str(VCONFKEY_SETAPPL_CALL_RINGTONE_USER_LIST, (char*)data);
-       g_free(data);
-       g_object_unref(generator);
-}
-
-void ss_json_ringtone_remove(JsonNode *root,  char* filename, char* path_to_del)
-{
-       int size = json_array_get_length(json_node_get_array(root));
-
-       SETTING_TRACE("BBB size : (%d) \n", size);
-       int i = 0;
-       for (i = 0; i < size ; i++) {
-               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
-               //char *nameval = (char *)json_object_get_string_member(ringtone, "name");
-               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
-
-               if (pathval && !strcmp(pathval, path_to_del)) {
-                       json_array_remove_element(json_node_get_array(root), i);
-                       SETTING_TRACE("remove BBB : (%s) --- (%s) \n", pathval, path_to_del);
-               }
-       }
-
-       ss_json_ringtone_save(root);
-}
-
-bool ss_json_ringtone_contain(JsonNode *root, char* newfile)
-{
-       int size = json_array_get_length(json_node_get_array(root));
-
-       bool ret = false;
-
-       int i = 0;
-       for (i = 0; i < size ; i++) {
-               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
-               //char *nameval = (char *)json_object_get_string_member(ringtone, "name");
-               char *pathval = (char *)json_object_get_string_member(ringtone, "path");
-               //SETTING_TRACE("(%s) --- (%s) \n", name, path);
-
-
-               if (pathval && !strcmp(pathval, newfile)) {
-                       //SETTING_TRACE("FOUND\n");
-                       ret = true;
-                       break;
-               } else {
-                       //SETTING_TRACE("*NOT* FOUND\n");
-                       ret = false;
-               }
-       }
-
-       return ret;
-}
-
-/* LCOV_EXCL_START */
-void ss_json_ringtone_list(JsonNode *root)
-{
-       int size = json_array_get_length(json_node_get_array(root));
-
-       int i = 0;
-       for (i = 0; i < size ; i++) {
-               JsonObject *ringtone = json_array_get_object_element(json_node_get_array(root), i);
-               char *name = (char *)json_object_get_string_member(ringtone, "name");
-               char *path = (char *)json_object_get_string_member(ringtone, "path");
-               SETTING_TRACE("(%s) --- (%s) \n", name, path);
-       }
-}
-/* LCOV_EXCL_STOP */
-
-
diff --git a/src/system_settings_multi_callback.c b/src/system_settings_multi_callback.c
deleted file mode 100644 (file)
index 7e741b8..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#include <stdlib.h>
-#include <system_settings_private.h>
-
-void clean_node(callback_node* node)
-{
-       if (!node)
-               return;
-
-       node->callback = NULL;
-       node->user_data = NULL;
-}
-
-
-callback_node* alloc_multi_callback_node()
-{
-       callback_node* node = NULL;
-       node = (callback_node*)malloc(sizeof(callback_node));
-
-       if (node == NULL) {
-               SETTING_TRACE("Not enough node....");
-               return NULL;
-       }
-
-       clean_node(node);
-
-       return node;
-}
-
-void free_multi_callback_node(callback_node* node)
-{
-       if (node)
-               free(node);
-       return;
-}
-
-static gint _compare_cb(gconstpointer val, gconstpointer s_val)
-{
-       if (NULL == val) return 1;
-       if (NULL == s_val) return 1;
-
-       callback_node* node = (callback_node*)val;
-       if (node->callback == s_val)
-               return 0;
-       return -1;
-}
-
-int delete_multi_callback(callback_list *handle, system_settings_changed_cb ptr)
-{
-       SETTING_TRACE_BEGIN;
-       if (!handle || !ptr)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       GList *found = g_list_find_custom(handle->list, ptr, _compare_cb);
-       if (found) {
-               handle->list = g_list_remove_link(handle->list, found);
-               free_multi_callback_node((callback_node*)found->data);
-               g_list_free(found);
-       }
-
-       SETTING_TRACE_END;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int add_multi_callback(callback_list *handle, system_settings_changed_cb ptr, void *user_data)
-{
-       SETTING_TRACE_BEGIN;
-       if (!handle || !ptr)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       GList *found = g_list_find_custom(handle->list, ptr, _compare_cb);
-       if (found != NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       callback_node* node = alloc_multi_callback_node();
-
-       if (node == NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       node->callback = ptr;
-       node->user_data = user_data;
-
-       /* append the node to list. free_multi_callback_node will free the node */
-       handle->list = g_list_append(handle->list, node);
-
-       SETTING_TRACE_END;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int invoke_callback_list(callback_list *handle, system_settings_key_e key)
-{
-       SETTING_TRACE_BEGIN;
-       if (!handle)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       GList *itr = handle->list;
-       while (itr != NULL) {
-               callback_node* node = (callback_node*)itr->data;
-               if (node->callback)
-                       node->callback(key, node->user_data);
-               itr = g_list_next(itr);
-       }
-
-       SETTING_TRACE_END;
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
diff --git a/src/system_settings_ringtones.c b/src/system_settings_ringtones.c
deleted file mode 100644 (file)
index 70402fc..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * system_settings_ringtones.c
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-#include <pthread.h>
-#include <stdio.h>
-
-#include <glib.h>
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-#include "system_settings_ringtones.h"
-#include "system_settings_json.h"
-
-/* LCOV_EXCL_START */
-/*remove ext name */
-char *get_filename_from_fullname(const char *fullname)
-{
-       //retvm_if(fullname == NULL, NULL, "fullname == NULL");
-       if (fullname == NULL) return NULL;
-
-       char tmp[512];
-       snprintf(tmp, sizeof(tmp), "%s", fullname);
-
-       char *name = strrchr(tmp, '.');
-       if (name != NULL)
-               *name = '\0';
-
-       return strdup((char*)tmp);
-}
-/* LCOV_EXCL_STOP */
-
-char *get_media_basename(const char *dir_path, const char *name)
-{
-       //retv_if(isEmptyStr(dir_path) || isEmptyStr(name), NULL);
-       if (dir_path == NULL) return NULL;
-
-       char path[512] = {0, };
-       snprintf(path, sizeof(path), "%s/%s", dir_path, name);
-
-       metadata_extractor_h metadata = NULL;
-       char *title = NULL;
-       int ret = metadata_extractor_create(&metadata);
-       if (ret == METADATA_EXTRACTOR_ERROR_NONE && metadata) {
-               ret = metadata_extractor_set_path(metadata, path);
-               if (ret == METADATA_EXTRACTOR_ERROR_NONE) {
-                       ret = metadata_extractor_get_metadata(
-                                       metadata, METADATA_TITLE, &title);
-                       metadata_extractor_destroy(metadata);
-                       if (title)
-                               /*return (char *)g_strdup(title);*/
-                               return (char *)title;
-                       else
-                               return strdup(name);
-               } else {
-                       metadata_extractor_destroy(metadata);
-                       return strdup(name);
-               }
-       } else {
-               return strdup(name);
-       }
-}
-
-int get_filelist_from_dir_path(char *path, GList **file_list)
-{
-       SETTING_TRACE_BEGIN;
-       DIR *pDir = NULL;
-       struct dirent *ent;
-       static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
-
-       if (path == NULL) {
-               SETTING_TRACE("dir path is null");
-               return -1;
-       }
-
-       if (file_list == NULL) {
-               SETTING_TRACE("file_list is null");
-               return -1;
-       }
-
-       pDir = opendir(path);
-
-       if (pDir == NULL)
-               return -2;
-
-       pthread_mutex_lock(&mutex);
-       while ((ent = readdir(pDir)) != NULL) {
-               fileNodeInfo *pNode = NULL;
-
-               if (strncmp(ent->d_name, ".", 1) == 0 || strcmp(ent->d_name, "..") == 0)
-                       continue;
-
-               if ((ent->d_type & DT_REG) == 0)
-                       continue;
-
-               pNode = calloc(1, sizeof(fileNodeInfo));
-               if (pNode == NULL)
-                       continue;
-
-               pNode->path = strdup(path);
-               pNode->name = strdup(ent->d_name);
-               pNode->media_name = get_media_basename(
-                               pNode->path, pNode->name);
-
-               *file_list = g_list_append(*file_list, pNode);
-       }
-       pthread_mutex_unlock(&mutex);
-
-       closedir(pDir);
-       //SETTING_TRACE_END;
-
-       return 0;
-}
-
diff --git a/src/system_settings_vconf.c b/src/system_settings_vconf.c
deleted file mode 100644 (file)
index 047cbf2..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <vconf.h>
-#include <dlog.h>
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "TIZEN_N_SYSTEM_SETTINGS"
-
-int system_setting_vconf_get_value_int(const char *vconf_key, int *value)
-{
-       return vconf_get_int(vconf_key, value);
-}
-
-int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value)
-{
-       int tempvalue = 0;
-       int ret = vconf_get_bool(vconf_key, &tempvalue);
-
-       if (tempvalue == 1) {
-               *value = true;
-       } else {
-               *value = false;
-       }
-       return ret;
-}
-
-int system_setting_vconf_get_value_string(const char *vconf_key, char **value)
-{
-       char *str_value = NULL;
-
-       str_value = vconf_get_str(vconf_key);
-
-       if (str_value != NULL) {
-               *value = str_value;
-               return 0;
-       } else {
-               return -1;
-       }
-}
-
-int system_setting_vconf_set_value_int(const char *vconf_key, int value)
-{
-       return vconf_set_int(vconf_key, value);
-}
-
-int system_setting_vconf_set_value_bool(const char *vconf_key, bool value)
-{
-       return vconf_set_bool(vconf_key, (int)value);
-}
-
-int system_setting_vconf_set_value_string(const char *vconf_key, char *value)
-{
-       return vconf_set_str(vconf_key, value);
-}
-
-/*/////////////////////////////////////////////////////////////////////////////////////////// */
-
-typedef void (*system_setting_vconf_event_cb)(keynode_t *node, void *event_data);
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_cb0(keynode_t *node, void *event_data)
-{
-       system_settings_key_e pkey = (system_settings_key_e)event_data;
-
-       if (node != NULL) {
-               system_setting_h system_setting_item;
-
-               int ret = system_settings_get_item(pkey, &system_setting_item);
-               if (ret != 0) {
-                       if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               }
-
-               void *user_data = NULL;
-               user_data = system_setting_item->user_data;
-               system_setting_item->changed_cb(pkey, user_data);
-       }
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_cb1(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_cb0(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_cb2(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_cb0(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_cb3(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_cb0(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_cb4(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_cb0(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static system_setting_vconf_event_cb system_setting_vconf_get_event_cb_slot(system_setting_callback_slot_e slot)
-{
-       switch (slot) {
-       case SYSTEM_SETTING_CALLBACK_SLOT_0:
-               return system_setting_vconf_event_cb0;
-       case SYSTEM_SETTING_CALLBACK_SLOT_1:
-               return system_setting_vconf_event_cb1;
-       case SYSTEM_SETTING_CALLBACK_SLOT_2:
-               return system_setting_vconf_event_cb2;
-       case SYSTEM_SETTING_CALLBACK_SLOT_3:
-               return system_setting_vconf_event_cb3;
-       case SYSTEM_SETTING_CALLBACK_SLOT_4:
-               return system_setting_vconf_event_cb4;
-       default:
-               return NULL;
-       }
-}
-/*  LCOV_EXCL_STOP */
-
-int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, system_setting_callback_slot_e slot, void *user_data)
-{
-       system_setting_vconf_event_cb vconf_event_cb;
-
-       vconf_event_cb = system_setting_vconf_get_event_cb_slot(slot);
-
-       if (vconf_event_cb == NULL) {
-               LOGE("[%s] INVALID_error , %s", __FUNCTION__, "vconf_event_cb == 0");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       if (vconf_notify_key_changed(vconf_key, vconf_event_cb, (void *)key))
-       {
-               LOGE("[%s] INVALID_error , %s", __FUNCTION__, "vconf_notify_key_changed error");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int system_setting_vconf_unset_changed_cb(const char *vconf_key, system_setting_callback_slot_e slot)
-{
-       system_setting_vconf_event_cb vconf_event_cb;
-
-       vconf_event_cb = system_setting_vconf_get_event_cb_slot(slot);
-
-       if (vconf_event_cb != NULL) {
-               vconf_ignore_key_changed(vconf_key, vconf_event_cb);
-       }
-
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-static void system_setting_vconf_event_multi_cb(keynode_t *node, void *event_data)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_settings_key_e pkey = (system_settings_key_e)event_data;
-
-       if (node != NULL) {
-               system_setting_h system_setting_item;
-
-               int ret = system_settings_get_item(pkey, &system_setting_item);
-               if (ret != 0) {
-                       if (ret == SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER)
-                               LOGE("[%s] INVALID_PARAMETER(0x%08x) : invalid key", __FUNCTION__, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-               }
-
-               invoke_callback_list(&system_setting_item->changed_cb_list, pkey);
-       }
-       LOGE("Leave [%s]", __FUNCTION__);
-}
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_multi_cb_slot_0(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_multi_cb(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_multi_cb_slot_1(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_multi_cb(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_multi_cb_slot_2(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_multi_cb(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static void system_setting_vconf_event_multi_cb_slot_3(keynode_t *node, void *event_data)
-{
-       system_setting_vconf_event_multi_cb(node, event_data);
-}
-/*  LCOV_EXCL_STOP */
-
-static system_setting_vconf_event_cb system_setting_vconf_get_event_multi_cb_slot(system_settings_key_e key)
-{
-       int cal = (int) key;
-       int slot = cal % 4;
-
-       switch (slot) {
-       case 0:
-               return system_setting_vconf_event_multi_cb_slot_0;
-
-       case 1:
-               return system_setting_vconf_event_multi_cb_slot_1;
-
-       case 2:
-               return system_setting_vconf_event_multi_cb_slot_2;
-
-       case 3:
-               return system_setting_vconf_event_multi_cb_slot_3;
-
-       default:
-               return NULL;
-       }
-}
-
-int system_setting_vconf_set_changed_multi_cb(const char *vconf_key, system_settings_key_e key)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_vconf_event_cb vconf_event_cb;
-
-       vconf_event_cb = system_setting_vconf_get_event_multi_cb_slot(key);
-
-       if (vconf_event_cb == NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       int ret = vconf_notify_key_changed(vconf_key, vconf_event_cb, (void *)key);
-       if (ret != 0) {
-               LOGE("[%s] INVALID_error , ret = %d, %s", __FUNCTION__, ret, "vconf_notify_key_changed error");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       LOGE("Leave [%s]", __FUNCTION__);
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
-int system_setting_vconf_unset_changed_multi_cb(const char *vconf_key, system_settings_key_e key)
-{
-       LOGE("Enter [%s]", __FUNCTION__);
-       system_setting_vconf_event_cb vconf_event_cb;
-
-       vconf_event_cb = system_setting_vconf_get_event_multi_cb_slot(key);
-
-       if (vconf_event_cb == NULL)
-               return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
-
-       int ret = vconf_ignore_key_changed(vconf_key, vconf_event_cb);
-       if (ret != 0) {
-               LOGE("[%s] INVALID_error , ret = %d, %s", __FUNCTION__, ret, "vconf_ignore_key_changed error");
-               return SYSTEM_SETTINGS_ERROR_IO_ERROR;
-       }
-
-       LOGE("Leave [%s]", __FUNCTION__);
-       return SYSTEM_SETTINGS_ERROR_NONE;
-}
-
diff --git a/system-setting-config.h.in b/system-setting-config.h.in
deleted file mode 100644 (file)
index dd85b98..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef __SYSTEM_SETTING_CONFIG_IN_H
-#define __SYSTEM_SETTING_CONFIG_IN_H
-
-#define VERSION_MAJOR @VERSION_MAJOR@
-
-#define VERSION_MINOR @VERSION_MINOR@
-
-#define SETTING_DEF_RES_PATH @SETTING_DEF_RES_PATH@
-
-#define SETTING_TIME_ZONEINFO_PATH             @SETTING_TIME_ZONEINFO_PATH@
-
-#define SETTING_TZONE_SYMLINK_PATH             @SETTING_TZONE_SYMLINK_PATH@
-
-#endif /* __SYSTEM_SETTING_CONFIG_IN_H */
diff --git a/system-settings-util/CMakeLists.txt b/system-settings-util/CMakeLists.txt
deleted file mode 100755 (executable)
index d5e9b43..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#set variable
-# SYSTEM_SETTINGS_UTIL - setting-common
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(${SYSTEM_SETTINGS_UTIL})
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-
-SET(requires "dlog vconf fontconfig libxml-2.0 pkgmgr pkgmgr-info libsystemd")
-
-PKG_CHECK_MODULES(system_settings_util REQUIRED ${requires})
-
-FOREACH(flag ${system_settings_util_CFLAGS})
-       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Werror-implicit-function-declaration ${COVERAGE_TEST_FLAGS}")
-
-IF (CMAKE_BUILD_TYPE STREQUAL "UNITTEST")
-       SET(COVERAGE_TEST_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage --coverage")
-       SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COVERAGE_TEST_FLAGS} ${EXTRA_CFLAGS}")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-ADD_DEFINITIONS("-DUNIT_TEST")
-ENDIF() #CMAKE_BUILD_TYPE STREQUAL "UNITTEST"
-
-
-
-
-IF("${ARCH}" STREQUAL "arm")
-       ADD_DEFINITIONS("-DTARGET")
-       MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-#SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl, --rpath=/usr/lib")
-
-#make lib-${LIB_SYSTEM_SETTINGS_UTIL}.so files
-ADD_LIBRARY(${LIB_SYSTEM_SETTINGS_UTIL} SHARED
-       ./src/system_settings_util.c
-)
-
-TARGET_LINK_LIBRARIES(${LIB_SYSTEM_SETTINGS_UTIL} ${system_settings_util_LDFLAGS})
-SET_TARGET_PROPERTIES(${LIB_SYSTEM_SETTINGS_UTIL} PROPERTIES VERSION 0.1.0 SOVERSION 1)
-INSTALL(TARGETS ${LIB_SYSTEM_SETTINGS_UTIL} DESTINATION ${CMAKE_LIBDIR})
-
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/system_settings_util.h DESTINATION ${CMAKE_INCLUDEDIR})
-IF (CMAKE_BUILD_TYPE STREQUAL "UNITTEST")
-INSTALL(
-               DIRECTORY "CMakeFiles" DESTINATION /usr/src/packages/BUILD/capi-system-system-settings-${FULLVER}/system-settings-util/
-                       FILES_MATCHING
-                       PATTERN "*.gcno"
-                       )
-ENDIF() #CMAKE_BUILD_TYPE STREQUAL "UNITTEST"
diff --git a/system-settings-util/include/system_settings_font.h b/system-settings-util/include/system_settings_font.h
deleted file mode 100644 (file)
index a8ab88b..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <fontconfig/fontconfig.h>
-#include <dlfcn.h>
-
-typedef struct _f_libs {
-       FcConfig *
-               (*d_FcInitLoadConfigAndFonts) (void);
-
-       FcPattern *
-               (*d_FcPatternBuild) (FcPattern *p, ...);
-
-       void
-               (*d_FcConfigDestroy) (FcConfig *config);
-
-       FcBool
-               (*d_FcConfigSubstitute) (FcConfig       *config,
-                               FcPattern       *p,
-                               FcMatchKind     kind);
-
-       void
-               (*d_FcDefaultSubstitute) (FcPattern *pattern);
-
-       FcFontSet *
-               (*d_FcFontSort) (FcConfig        *config,
-                               FcPattern    *p,
-                               FcBool   trim,
-                               FcCharSet    **csp,
-                               FcResult         *result);
-
-       FcResult
-               (*d_FcPatternGetString) (const FcPattern *p, const char *object, int n, FcChar8 ** s);
-
-       void
-               (*d_FcFontSetDestroy) (FcFontSet *s);
-
-       void
-               (*d_FcPatternDestroy) (FcPattern *p);
-
-       FcPattern *
-               (*d_FcPatternCreate) (void);
-
-       FcObjectSet *
-               (*d_FcObjectSetBuild) (const char *first, ...);
-
-       FcFontSet *
-               (*d_FcFontList) (FcConfig       *config,
-                               FcPattern       *p,
-                               FcObjectSet *os);
-
-       void
-               (*d_FcObjectSetDestroy) (FcObjectSet *os);
-}f_libs;
-
-
-typedef struct _e_libs {
-       int
-               (*d_evas_init) (void);
-
-       void *
-               (*d_ecore_evas_new) (const char *engine_name, int x, int y, int w, int h, const char *extra_options);
-
-       void *
-               (*d_ecore_evas_get) (const void *ee);
-
-       void *
-               (*d_evas_object_image_add) (void *eo_e);
-
-       void
-               (*d_evas_object_image_file_set) (void *obj, const char *file, const char *key);
-
-       int
-               (*d_evas_object_image_load_error_get) (const void *obj);
-
-       void
-               (*d_ecore_evas_free) (void *ee);
-
-       int
-               (*d_evas_shutdown) (void);
-
-       int
-               (*d_ecore_evas_init) (void);
-
-       int
-               (*d_ecore_evas_shutdown) (void);
-}e_libs;
-
-
-typedef struct _eext_libs {
-       bool
-               (*d_eext_config_font_set)(char *name, int size);
-}ex_libs;
-
diff --git a/system-settings-util/include/system_settings_util.h b/system-settings-util/include/system_settings_util.h
deleted file mode 100644 (file)
index 4df2829..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-bool font_config_set(char *font_name);
-int __is_available_font(char *font_name);
-char *_get_default_font();
-char *_get_cur_font();
-bool __is_supported_image_type_load(char *path);
-void __font_size_set();
-void font_config_set_notification();
diff --git a/system-settings-util/src/system_settings_util.c b/system-settings-util/src/system_settings_util.c
deleted file mode 100644 (file)
index 2a43651..0000000
+++ /dev/null
@@ -1,470 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <errno.h>
-#include <time.h>
-#include <locale.h>
-
-#include <regex.h>
-
-#include <dlog.h>
-#include <vconf.h>
-
-#include <glib.h>
-#include <libxml/xmlmemory.h>
-#include <libxml/parser.h>
-
-#include <fontconfig/fontconfig.h>
-
-#include <pkgmgr-info.h>
-
-#include <system_settings.h>
-#include <system_settings_private.h>
-
-#include <tzplatform_config.h>
-#include <system_settings_util.h>
-#include <system_settings_font.h>
-
-#ifdef TIZEN_WEARABLE
-#define SMALL_FONT_DPI                                         (-90)
-#endif
-#ifdef TIZEN_MOBILE
-#define SMALL_FONT_DPI                                         (-80)
-#endif
-#define MIDDLE_FONT_DPI                                                (-100)
-#ifdef TIZEN_WEARABLE
-#define LARGE_FONT_DPI                                         (-110)
-#endif
-#ifdef TIZEN_MOBILE
-#define LARGE_FONT_DPI                                         (-150)
-#endif
-#define HUGE_FONT_DPI                                          (-190)
-#define GIANT_FONT_DPI                                         (-250)
-
-#define SETTING_FONT_PRELOAD_FONT_PATH _TZ_SYS_RO_SHARE"/fonts"
-#define SETTING_FONT_DOWNLOADED_FONT_PATH _TZ_SYS_SHARE"/fonts"
-
-#define SETTING_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
-
-#define SETTING_FONT_TIZEN_FONT_ALIAS "Tizen"
-#define SETTING_FONT_TIZEN_DEFAULT_FONT_ALIAS "TizenDefaultFont"
-
-#define SETTING_FONT_CONFIG_SO_PATH "/usr/lib/libfontconfig.so.1"
-#define SETTING_ECORE_EVAS_SO_PATH "/usr/lib/libecore_evas.so.1"
-#define SETTING_EFL_EXTENSION_SO_PATH "/usr/lib/libefl-extension.so.0"
-#define SETTING_EVAS_SO_PATH "/usr/lib/libevas.so.1"
-
-static int __font_size_get();
-
-void *d_font_handle = NULL;
-void *d_ecore_evas_handle = NULL;
-void *d_evas_handle = NULL;
-void *d_efl_eext_handle = NULL;
-
-
-
-#define DYM_FUNC_LOADING(error, handle, pfunc, func_name) do { \
-       pfunc = (void*)dlsym(handle, func_name); \
-       if ((error = dlerror()) != NULL) { \
-               SETTING_TRACE("ERROR!! canNOT find %s function at %s", func_name, #handle); \
-               if (handle) \
-               dlclose(handle); \
-               return false; \
-       } \
-} while (0)
-
-#define DYM_CLOSE_HANDLE(handle) do { \
-       if (handle) { \
-               dlclose(handle); \
-               handle = NULL; \
-       } \
-} while (0)
-
-int loading_dym_font(f_libs *font_lib)
-{
-       char *error = NULL;
-
-       if (!font_lib)
-               return false;
-
-       if (!d_font_handle) {
-               d_font_handle = dlopen(SETTING_FONT_CONFIG_SO_PATH,  RTLD_LAZY);
-               if (!d_font_handle) {
-                       SETTING_TRACE("ERROR!! canNOT find "SETTING_FONT_CONFIG_SO_PATH);
-                       return false;
-               }
-       }
-
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcInitLoadConfigAndFonts, "FcInitLoadConfigAndFonts");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternBuild, "FcPatternBuild");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcConfigDestroy, "FcConfigDestroy");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcConfigSubstitute, "FcConfigSubstitute");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcDefaultSubstitute, "FcDefaultSubstitute");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontSort, "FcFontSort");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternGetString, "FcPatternGetString");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontSetDestroy, "FcFontSetDestroy");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternDestroy, "FcPatternDestroy");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternCreate, "FcPatternCreate");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcObjectSetBuild, "FcObjectSetBuild");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontList, "FcFontList");
-       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcObjectSetDestroy, "FcObjectSetDestroy");
-
-       return true;
-}
-
-int loading_dym_efl(e_libs *efl_libs)
-{
-       char *error = NULL;
-
-       if (!efl_libs)
-               return false;
-
-       if (!d_ecore_evas_handle) {
-               d_ecore_evas_handle = dlopen(SETTING_ECORE_EVAS_SO_PATH,  RTLD_LAZY);
-               if (!d_ecore_evas_handle) {
-                       SETTING_TRACE("ERROR!! canNOT find "SETTING_ECORE_EVAS_SO_PATH" %s", dlerror());
-
-                       return false;
-               }
-       }
-
-       if (!d_evas_handle) {
-               d_evas_handle = dlopen(SETTING_EVAS_SO_PATH,  RTLD_LAZY);
-               if (!d_evas_handle) {
-                       SETTING_TRACE("ERROR!! canNOT find "SETTING_EVAS_SO_PATH" %s", dlerror());
-                       return false;
-               }
-       }
-
-       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_init, "evas_init");
-       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_add, "evas_object_image_add");
-       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_file_set, "evas_object_image_file_set");
-       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_load_error_get, "evas_object_image_load_error_get");
-       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_shutdown, "evas_shutdown");
-
-       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_init, "ecore_evas_init");
-       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_shutdown, "ecore_evas_shutdown");
-       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_new, "ecore_evas_new");
-       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_get, "ecore_evas_get");
-       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_free, "ecore_evas_free");
-
-       return true;
-}
-
-void close_dym_efl()
-{
-       DYM_CLOSE_HANDLE(d_evas_handle);
-       DYM_CLOSE_HANDLE(d_ecore_evas_handle);
-}
-
-int loading_dym_efl_eext(ex_libs *eext_libs)
-{
-       char *error = NULL;
-
-       if (!eext_libs)
-               return false;
-
-       if (!d_efl_eext_handle) {
-               d_efl_eext_handle = dlopen(SETTING_EFL_EXTENSION_SO_PATH, RTLD_LAZY);
-               if (!d_efl_eext_handle) {
-                       SETTING_TRACE("ERROR!! canNOT find "SETTING_EFL_EXTENSION_SO_PATH" %s", dlerror());
-                       return false;
-               }
-       }
-
-       DYM_FUNC_LOADING(error, d_efl_eext_handle, eext_libs->d_eext_config_font_set, "eext_config_font_set");
-
-       return true;
-}
-
-/* Returned family name should be free'd manually. */
-char *__get_main_font_family_name_by_alias(char *alias)
-{
-       SETTING_TRACE_BEGIN;
-       FcFontSet *set = NULL;
-       FcPattern *pat = NULL;
-       FcConfig *font_config = NULL;
-       FcChar8 *family = NULL;
-       char *ret = NULL;
-       FcResult res = 0;
-       f_libs font_libs;
-
-       if (!loading_dym_font(&font_libs))
-               return NULL;
-
-       font_config = font_libs.d_FcInitLoadConfigAndFonts();
-       if (font_config == NULL) {
-               DYM_CLOSE_HANDLE(d_font_handle);
-               return ret;
-       }
-
-       pat = font_libs.d_FcPatternBuild(0, FC_FAMILY, FcTypeString, alias, (char *)0);
-
-       if (pat == NULL) {
-               if (font_config != NULL) {
-                       font_libs.d_FcConfigDestroy(font_config);
-                       font_config = NULL;
-               }
-               DYM_CLOSE_HANDLE(d_font_handle);
-               return ret;
-       }
-
-       font_libs.d_FcConfigSubstitute(font_config, pat, FcMatchPattern);
-       font_libs.d_FcDefaultSubstitute(pat);
-
-       /* do matching */
-       set = font_libs.d_FcFontSort(font_config, pat, FcTrue, NULL, &res);
-
-       if (set != NULL && (set->nfont > 0)) {
-               font_libs.d_FcPatternGetString(set->fonts[0], FC_FAMILY, 0, &family);
-               ret = g_strdup((char *)family);
-
-               font_libs.d_FcFontSetDestroy(set);
-               set = NULL;
-       }
-
-       if (set != NULL) {
-               font_libs.d_FcFontSetDestroy(set);
-               set = NULL;
-       }
-
-       if (pat != NULL) {
-               font_libs.d_FcPatternDestroy(pat);
-               pat = NULL;
-       }
-
-       if (font_config != NULL) {
-               font_libs.d_FcConfigDestroy(font_config);
-               font_config = NULL;
-       }
-       DYM_CLOSE_HANDLE(d_font_handle);
-       return ret;
-}
-
-/*  LCOV_EXCL_START */
-bool __is_supported_image_type_load(char *path)
-{
-       SETTING_TRACE_BEGIN;
-       e_libs efl_libs;
-       if (!loading_dym_efl(&efl_libs)) {
-               SETTING_TRACE("ERROR!! canNOT loading efl!!");
-               return false;
-       }
-
-       void *ee;
-       void *evas;
-
-       if (!efl_libs.d_ecore_evas_init()) {
-               close_dym_efl();
-               return false;
-       }
-
-       ee = efl_libs.d_ecore_evas_new(NULL, 0, 0, 100, 100, NULL);
-       evas = efl_libs.d_ecore_evas_get(ee);
-
-       void *img = efl_libs.d_evas_object_image_add(evas);
-       efl_libs.d_evas_object_image_file_set(img, path, NULL);
-       int ret = efl_libs.d_evas_object_image_load_error_get(img);
-
-       bool result = false;
-       if (ret == 0) {
-               SETTING_TRACE("%s - OK", path);
-               result = true;
-       } else {
-               SETTING_TRACE("%s - NO", path);
-               result = false;
-       }
-       efl_libs.d_ecore_evas_free(ee);
-       efl_libs.d_ecore_evas_shutdown();
-       close_dym_efl();
-       return result;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-void font_config_set_notification()
-{
-       SETTING_TRACE_BEGIN;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-int __is_available_font(char *font_name)
-{
-       SETTING_TRACE_BEGIN;
-       FcObjectSet *os = NULL;
-       FcFontSet *fs = NULL;
-       FcPattern *pat = NULL;
-       FcConfig *font_config = NULL;
-       int ret = 0;
-       f_libs font_libs = {0};
-
-       if (!loading_dym_font(&font_libs))
-               return -1;
-
-       if (font_name == NULL) {
-               DYM_CLOSE_HANDLE(d_font_handle);
-               return -1;
-       }
-
-       font_config = font_libs.d_FcInitLoadConfigAndFonts();
-
-       /*setting_retvm_if(font_config == NULL, NULL, "Failed: FcInitLoadConfigAndFonts"); */
-
-       char *locale = setlocale(0, NULL);
-
-       pat = font_libs.d_FcPatternCreate();
-
-       os = font_libs.d_FcObjectSetBuild(FC_FAMILY, FC_FILE, FC_FAMILYLANG, (char *) 0);
-
-       if (os) {
-               fs = font_libs.d_FcFontList(font_config, pat, os);
-               font_libs.d_FcObjectSetDestroy(os);
-               os = NULL;
-       }
-
-       if (pat) {
-               font_libs.d_FcPatternDestroy(pat);
-               pat = NULL;
-       }
-
-       if (fs) {
-               int j;
-               SETTING_TRACE("fs->nfont = %d", fs->nfont);
-
-               for (j = 0; j < fs->nfont; j++) {
-                       FcChar8 *family = NULL;
-                       FcChar8 *file = NULL;
-
-                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FILE, 0, &file) == FcResultMatch) {
-                               int preload_path_len = strlen(SETTING_FONT_PRELOAD_FONT_PATH);
-                               int download_path_len = strlen(SETTING_FONT_DOWNLOADED_FONT_PATH);
-
-                               if (file && (!strncmp((const char *)file, SETTING_FONT_PRELOAD_FONT_PATH, preload_path_len)
-                                                       || !strncmp((const char *)file, SETTING_FONT_DOWNLOADED_FONT_PATH, download_path_len))) {
-                                       char *family_result = NULL;
-                                       FcChar8 *lang = NULL;
-                                       int id = 0;
-                                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILY, id, &family) != FcResultMatch) {
-                                               break;
-                                       }
-                                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILYLANG, id, &lang) != FcResultMatch) {
-                                               break;
-                                       }
-                                       family_result = (char *)family;
-
-                                       /* Find proper family name for current locale. */
-                                       while (locale && family && lang) {
-                                               if (!strncmp(locale, (char *)lang, strlen((char *)lang))) {
-                                                       family_result = (char *)family;
-                                                       break;
-                                               }
-
-                                               /* I will set english as default family language. */
-                                               /* If there is no proper family language for current locale, */
-                                               /* we have to show the english family name. */
-                                               if (!strcmp((char *)lang, (char *)"en")) {
-                                                       family_result = (char *)family;
-                                               }
-                                               id++;
-                                               if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILY, id, &family) != FcResultMatch) {
-                                                       break;
-                                               }
-                                               if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILYLANG, id, &lang) != FcResultMatch) {
-                                                       break;
-                                               }
-                                       }
-
-                                       if (family_result) {
-                                               SETTING_TRACE("-------- FONT - family_result = %s", (char *)family_result);
-                                               if (strcmp(family_result, font_name) == 0) {
-                                                       ret = 1;
-                                                       break;
-                                               }
-                                       }
-                               }
-                       }
-               }
-               font_libs.d_FcFontSetDestroy(fs);
-               fs = NULL;
-       }
-       font_libs.d_FcConfigDestroy(font_config);
-       font_config = NULL;
-       DYM_CLOSE_HANDLE(d_font_handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-
-char *_get_default_font()
-{
-       return __get_main_font_family_name_by_alias(SETTING_FONT_TIZEN_DEFAULT_FONT_ALIAS);
-}
-
-
-/*  LCOV_EXCL_START */
-bool font_config_set(char *font_name)
-{
-       SETTING_TRACE_BEGIN;
-       ex_libs eext_libs;
-       if (!loading_dym_efl_eext(&eext_libs))
-               return false;
-       int font_size = __font_size_get();
-       bool ret = eext_libs.d_eext_config_font_set(font_name, font_size);
-       DYM_CLOSE_HANDLE(d_efl_eext_handle);
-       return ret;
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-void __font_size_set()
-{
-       SETTING_TRACE_BEGIN;
-       ex_libs eext_libs;
-       if (!loading_dym_efl_eext(&eext_libs))
-               return;
-       int font_size = __font_size_get();
-       char *font_name = NULL;
-       font_name = vconf_get_str(VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_NAME);
-
-       eext_libs.d_eext_config_font_set(font_name, font_size);
-
-       DYM_CLOSE_HANDLE(d_efl_eext_handle);
-       free(font_name);
-}
-/*  LCOV_EXCL_STOP */
-
-/*  LCOV_EXCL_START */
-static int __font_size_get()
-{
-       SETTING_TRACE_BEGIN;
-       int font_size = -1;
-
-       int vconf_value = -1;
-       if (vconf_get_int(VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_SIZE, &vconf_value)) {
-               return -1;
-       }
-
-       switch (vconf_value) {
-       case SYSTEM_SETTINGS_FONT_SIZE_SMALL:
-               font_size = SMALL_FONT_DPI;
-               break;
-       case SYSTEM_SETTINGS_FONT_SIZE_NORMAL:
-               font_size = MIDDLE_FONT_DPI;
-               break;
-       case SYSTEM_SETTINGS_FONT_SIZE_LARGE:
-               font_size = LARGE_FONT_DPI;
-               break;
-       case SYSTEM_SETTINGS_FONT_SIZE_HUGE:
-               font_size = HUGE_FONT_DPI;
-               break;
-       case SYSTEM_SETTINGS_FONT_SIZE_GIANT:
-               font_size = GIANT_FONT_DPI;
-               break;
-       default:
-               font_size = MIDDLE_FONT_DPI;
-               break;
-       }
-       return font_size;
-}
-/*  LCOV_EXCL_STOP */
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f47cc05
--- /dev/null
@@ -0,0 +1,22 @@
+SET(UNITTEST "sys-settings-test")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
+
+SET(VCONF_MOCK "vconf-mock")
+ADD_LIBRARY(${VCONF_MOCK} SHARED mocks/vconf.cpp)
+
+SET(PKGMGR_INFO_MOCK "pkgmgr-info-mock")
+ADD_LIBRARY(${PKGMGR_INFO_MOCK} SHARED mocks/pkgmgrinfo_appinfo.c)
+
+SET(EFL_EXTENSION_INFO_MOCK "efl-extension-mock")
+ADD_LIBRARY(${EFL_EXTENSION_INFO_MOCK} SHARED mocks/efl-extension.c)
+
+FILE(GLOB TEST_SRCS *.c)
+ADD_DEFINITIONS("-DN_THREADS=${N_THREADS}")
+ADD_DEFINITIONS(-DSYS_SETTINGS_TEST_DIR=\"${TEST_INSTALL_DIR}\")
+ADD_EXECUTABLE(${UNITTEST} ${TEST_SRCS})
+TARGET_LINK_LIBRARIES(${UNITTEST} ${PROJECT_NAME} dl)
+INSTALL(TARGETS ${UNITTEST} DESTINATION ${TEST_INSTALL_DIR})
+
+FILE(GLOB TEST_RES res/*)
+INSTALL(FILES ${TEST_RES} DESTINATION ${TEST_INSTALL_DIR})
diff --git a/tests/mocks/efl-extension.c b/tests/mocks/efl-extension.c
new file mode 100644 (file)
index 0000000..05a09c9
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+
+#ifndef API
+#define API __attribute__ ((visibility("default")))
+#endif
+
+API bool eext_config_font_set(char *name, int size)
+{
+       return true;
+}
+
diff --git a/tests/mocks/pkgmgrinfo_appinfo.c b/tests/mocks/pkgmgrinfo_appinfo.c
new file mode 100644 (file)
index 0000000..10aa835
--- /dev/null
@@ -0,0 +1,613 @@
+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <string.h>
+
+#include <pkgmgr-info.h>
+
+#ifndef API
+#define API __attribute__ ((visibility("default")))
+#endif
+
+API int pkgmgrinfo_appinfo_get_usr_disabled_appinfo(const char *appid, uid_t uid,
+               pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_disabled_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_usr_appinfo(const char *appid, uid_t uid,
+               pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_usr_all_appinfo(const char *appid, uid_t uid,
+               pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_all_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_clone_appinfo(pkgmgrinfo_appinfo_h handle,
+               pkgmgrinfo_appinfo_h *clone)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_usr_list(pkgmgrinfo_pkginfo_h handle,
+               pkgmgrinfo_app_component component,
+               pkgmgrinfo_app_list_cb app_func, void *user_data, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_list(pkgmgrinfo_pkginfo_h handle,
+               pkgmgrinfo_app_component component,
+               pkgmgrinfo_app_list_cb app_func, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_usr_installed_list_full(
+               pkgmgrinfo_app_list_cb app_func, uid_t uid, int flag,
+               void *user_data)
+{
+               return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_installed_list_full(
+               pkgmgrinfo_app_list_cb app_func, int flag, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_usr_installed_list(
+               pkgmgrinfo_app_list_cb app_func, uid_t uid, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_installed_list(pkgmgrinfo_app_list_cb app_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h handle, char **appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_pkgname(pkgmgrinfo_appinfo_h handle, char **pkg_name)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_pkgid(pkgmgrinfo_appinfo_h handle, char **pkgid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_pkgtype(pkgmgrinfo_appinfo_h  handle, char **pkgtype)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_exec(pkgmgrinfo_appinfo_h handle, char **exec)
+{
+       return PMINFO_R_OK;
+}
+
+
+API int pkgmgrinfo_appinfo_get_icon(pkgmgrinfo_appinfo_h handle, char **icon)
+{
+       return PMINFO_R_OK;
+}
+
+
+API int pkgmgrinfo_appinfo_get_label(pkgmgrinfo_appinfo_h handle, char **label)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_get_localed_label(const char *appid, const char *locale, uid_t uid, char **label)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_localed_label(const char *appid, const char *locale, char **label)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_metadata_value(pkgmgrinfo_appinfo_h handle, const char *metadata_key, char **metadata_value)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_component(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_component *component)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_apptype(pkgmgrinfo_appinfo_h handle, char **app_type)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_operation(pkgmgrinfo_appcontrol_h  handle,
+                                       int *operation_count, char ***operation)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_uri(pkgmgrinfo_appcontrol_h  handle,
+                                       int *uri_count, char ***uri)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_mime(pkgmgrinfo_appcontrol_h  handle,
+                                       int *mime_count, char ***mime)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_subapp(pkgmgrinfo_appcontrol_h  handle,
+                                       int *subapp_count, char ***subapp)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_notification_icon(pkgmgrinfo_appinfo_h handle, char **icon)
+{
+       return PMINFO_R_ERROR;
+}
+
+API int pkgmgrinfo_appinfo_get_recent_image_type(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_recentimage *type)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_preview_image(pkgmgrinfo_appinfo_h handle, char **preview_img)
+{
+       return PMINFO_R_ERROR;
+}
+
+API int pkgmgrinfo_appinfo_get_permission_type(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_permission_type *permission)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_component_type(pkgmgrinfo_appinfo_h handle, char **component_type)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_hwacceleration(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_hwacceleration *hwacceleration)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_screenreader(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_screenreader *screenreader)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_effectimage(pkgmgrinfo_appinfo_h handle, char **portrait_img, char **landscape_img)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_effectimage_type(pkgmgrinfo_appinfo_h handle, char **effectimage_type)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_submode_mainid(pkgmgrinfo_appinfo_h  handle, char **submode_mainid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_installed_storage_location(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_installed_storage *storage)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_launch_mode(pkgmgrinfo_appinfo_h handle, char **mode)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_alias_appid(pkgmgrinfo_appinfo_h handle, char **alias_appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_effective_appid(pkgmgrinfo_appinfo_h handle, char **effective_appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_tep_name(pkgmgrinfo_appinfo_h handle, char **tep_name)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_zip_mount_file(pkgmgrinfo_appinfo_h handle, char **zip_mount_file)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_root_path(pkgmgrinfo_appinfo_h handle, char **root_path)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_api_version(pkgmgrinfo_appinfo_h handle, char **api_version)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_installed_time(pkgmgrinfo_appinfo_h handle, int *installed_time)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_get_datacontrol_info(const char *providerid,
+               const char *type, uid_t uid, char **appid, char **access)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_datacontrol_info(const char *providerid,
+               const char *type, char **appid, char **access)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_get_datacontrol_appid(const char *providerid,
+               uid_t uid, char **appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_datacontrol_appid(const char *providerid, char **appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_get_datacontrol_trusted_info(
+               const char *providerid, const char *type, uid_t uid,
+               char **appid, bool *is_trusted)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_datacontrol_trsuted_info(const char *providerid,
+               const char *type, char **appid, bool *is_trusted)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_foreach_datacontrol_privileges(
+               const char *providerid, const char *type,
+               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
+               void *user_data, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_datacontrol_privileges(
+               const char *providerid, const char *type,
+               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_support_mode(pkgmgrinfo_appinfo_h  handle, int *support_mode)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_category(pkgmgrinfo_appinfo_h handle,
+                       pkgmgrinfo_app_category_list_cb category_func, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_metadata(pkgmgrinfo_appinfo_h handle,
+                       pkgmgrinfo_app_metadata_list_cb metadata_func, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_foreach_appcontrol_privileges(const char *appid,
+               const char *operation,
+               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
+               void *user_data, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_appcontrol_privileges(const char *appid,
+               const char *operation,
+               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_appcontrol(pkgmgrinfo_appinfo_h handle,
+                       pkgmgrinfo_app_control_list_cb appcontrol_func, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_remote_appcontrol(pkgmgrinfo_appinfo_h handle,
+                       pkgmgrinfo_app_control_list_cb appcontrol_func, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_background_category(
+               pkgmgrinfo_appinfo_h handle,
+               pkgmgrinfo_app_background_category_list_cb category_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_splash_screen(pkgmgrinfo_appinfo_h handle,
+               pkgmgrinfo_app_splash_screen_list_cb splash_screen_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_nodisplay(pkgmgrinfo_appinfo_h handle, bool *nodisplay)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_multiple(pkgmgrinfo_appinfo_h handle, bool *multiple)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_indicator_display_allowed(pkgmgrinfo_appinfo_h handle, bool *indicator_disp)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_taskmanage(pkgmgrinfo_appinfo_h  handle, bool *taskmanage)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_enabled(pkgmgrinfo_appinfo_h  handle, bool *enabled)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_onboot(pkgmgrinfo_appinfo_h  handle, bool *onboot)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_autorestart(pkgmgrinfo_appinfo_h  handle, bool *autorestart)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_mainapp(pkgmgrinfo_appinfo_h  handle, bool *mainapp)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_preload(pkgmgrinfo_appinfo_h handle, bool *preload)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_submode(pkgmgrinfo_appinfo_h handle, bool *submode)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_process_pool(pkgmgrinfo_appinfo_h handle, bool *process_pool)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_category_exist(pkgmgrinfo_appinfo_h handle, const char *category, bool *exist)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_ui_gadget(pkgmgrinfo_appinfo_h handle,
+               bool *ui_gadget)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_support_disable(pkgmgrinfo_appinfo_h handle,
+               bool *support_disable)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_removable(pkgmgrinfo_appinfo_h handle,
+               bool *removable)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_system(pkgmgrinfo_appinfo_h handle, bool *system)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_disabled(pkgmgrinfo_appinfo_h handle, bool *disabled)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_global(pkgmgrinfo_appinfo_h handle, bool *global)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_splash_screen_display(pkgmgrinfo_appinfo_h handle, bool *splash_screen_display)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_get_setup_appid(pkgmgrinfo_appinfo_h handle, char **setup_appid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_support_ambient(pkgmgrinfo_appinfo_h handle,
+               bool *support_ambient)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_destroy_appinfo(pkgmgrinfo_appinfo_h handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_filter_create(pkgmgrinfo_appinfo_filter_h *handle)
+{
+       return (pkgmgrinfo_pkginfo_filter_create(handle));
+}
+
+API int pkgmgrinfo_appinfo_filter_destroy(pkgmgrinfo_appinfo_filter_h handle)
+{
+       return (pkgmgrinfo_pkginfo_filter_destroy(handle));
+}
+
+API int pkgmgrinfo_appinfo_filter_add_int(pkgmgrinfo_appinfo_filter_h handle,
+                               const char *property, const int value)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_filter_add_bool(pkgmgrinfo_appinfo_filter_h handle,
+                               const char *property, const bool value)
+{
+       return PMINFO_R_OK;
+
+}
+
+API int pkgmgrinfo_appinfo_filter_add_string(pkgmgrinfo_appinfo_filter_h handle,
+                               const char *property, const char *value)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_filter_count(pkgmgrinfo_appinfo_filter_h handle, int *count, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_filter_count(pkgmgrinfo_appinfo_filter_h handle, int *count)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_filter_foreach_appinfo(
+               pkgmgrinfo_appinfo_filter_h handle,
+               pkgmgrinfo_app_list_cb app_cb, void *user_data, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_filter_foreach_appinfo(pkgmgrinfo_appinfo_filter_h handle,
+                               pkgmgrinfo_app_list_cb app_cb, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_metadata_filter_create(pkgmgrinfo_appinfo_metadata_filter_h *handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_metadata_filter_destroy(pkgmgrinfo_appinfo_metadata_filter_h handle)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_metadata_filter_add(
+               pkgmgrinfo_appinfo_metadata_filter_h handle,
+               const char *key, const char *value)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_usr_metadata_filter_foreach(
+               pkgmgrinfo_appinfo_metadata_filter_h handle,
+               pkgmgrinfo_app_list_cb app_cb, void *user_data, uid_t uid)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_metadata_filter_foreach(
+               pkgmgrinfo_appinfo_metadata_filter_h handle,
+               pkgmgrinfo_app_list_cb app_cb, void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_is_guestmode_visibility(pkgmgrinfo_appinfo_h handle, bool *status)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_appcontrol_v2(pkgmgrinfo_appinfo_h handle,
+               pkgmgrinfo_app_control_list_cb_v2 appcontrol_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
+
+API int pkgmgrinfo_appinfo_foreach_remote_appcontrol_v2(
+               pkgmgrinfo_appinfo_h handle,
+               pkgmgrinfo_app_control_list_cb_v2 appcontrol_func,
+               void *user_data)
+{
+       return PMINFO_R_OK;
+}
diff --git a/tests/mocks/vconf.cpp b/tests/mocks/vconf.cpp
new file mode 100644 (file)
index 0000000..40aeb6d
--- /dev/null
@@ -0,0 +1,598 @@
+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <sqlite3.h>
+#include <unistd.h>
+
+#include <iostream>
+#include <map>
+#include <string>
+
+#define LOG_D(fmt, arg...) //fprintf(fmt, arg...)
+#define LOG_E fprintf
+
+using namespace std;
+
+#ifndef EXPORT
+#  define EXPORT __attribute__((visibility("default")))
+#endif
+
+typedef std::map<string, pair<void*,void*>> NotifyMap;
+static NotifyMap notifyCallBackMap;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define VCONF_OK                    0
+#define VCONF_ERROR                 -1
+#define VCONF_ERROR_WRONG_PREFIX    -2
+#define VCONF_ERROR_WRONG_TYPE      -3
+#define VCONF_ERROR_WRONG_VALUE     -4
+#define VCONF_ERROR_NOT_INITIALIZED -5
+#define VCONF_ERROR_NO_MEM          -6
+#define VCONF_ERROR_FILE_PERM       -11
+#define VCONF_ERROR_FILE_BUSY       -12
+#define VCONF_ERROR_FILE_NO_MEM     -13
+#define VCONF_ERROR_FILE_NO_ENT     -14
+#define VCONF_ERROR_FILE_OPEN       -21
+#define VCONF_ERROR_FILE_FREAD      -22
+#define VCONF_ERROR_FILE_FGETS      -23
+#define VCONF_ERROR_FILE_WRITE      -24
+#define VCONF_ERROR_FILE_SYNC       -25
+#define VCONF_ERROR_FILE_CLOSE      -26
+#define VCONF_ERROR_FILE_ACCESS     -27
+#define VCONF_ERROR_FILE_CHMOD      -28
+#define VCONF_ERROR_FILE_LOCK       -29
+#define VCONF_ERROR_FILE_REMOVE     -30
+#define VCONF_ERROR_FILE_SEEK       -31
+#define VCONF_ERROR_FILE_TRUNCATE   -32
+#define VCONF_ERROR_NOT_SUPPORTED   -33
+
+#define MAX_BUF_LEN 2048
+#define DB_NAME "./vconf.db"
+
+    enum get_option_t {
+        VCONF_GET_KEY = 0, /**< Get only keys */
+        VCONF_GET_ALL,     /**< Get keys and directories */
+        VCONF_GET_DIR      /**< Get only directories */
+    };
+    typedef enum get_option_t get_option_t;
+    enum vconf_t {
+        VCONF_TYPE_NONE = 0,    /**< Vconf none type for Error detection */
+        VCONF_TYPE_STRING = 40, /**< Vconf string type */
+        VCONF_TYPE_INT = 41,    /**< Vconf integer type */
+        VCONF_TYPE_DOUBLE = 42, /**< Vconf double type */
+        VCONF_TYPE_BOOL = 43,   /**< Vconf boolean type */
+        VCONF_TYPE_DIR          /**< Vconf directory type */
+    };
+
+    typedef struct _keynode_t {
+        char *keyname;           /**< Keyname for keynode */
+        int type;                /**< Keynode type */
+        union {
+            int i;               /**< Integer type */
+            int b;               /**< Bool type */
+            double d;            /**< Double type */
+            char *s;             /**< String type */
+        } value;                 /**< Value for keynode */
+    } keynode_t;
+    typedef struct _keylist_t keylist_t;
+
+    typedef void (*vconf_callback_fn) (keynode_t *node, void *user_data);
+
+    union UnionValue {
+        int i;               /**< Integer type */
+        int b;               /**< Bool type */
+        double d;            /**< Double type */
+        char *s;             /**< String type */
+    };                 /**< Value for keynode */
+
+    void checkNotifyCallBack( const char* in_key, int type, UnionValue* value ){
+
+        string str;
+        str = in_key;
+
+        NotifyMap::iterator  itr;
+        for(itr = notifyCallBackMap.begin(); itr != notifyCallBackMap.end(); itr++){
+            LOG_D(stdout, "[%s][%d] map Key[%s]\n", __func__, __LINE__, itr->first.c_str());
+
+            if( str.compare( itr->first ) == 0 ){
+                vconf_callback_fn cb = (vconf_callback_fn)itr->second.first;
+                void* user_data = itr->second.second;
+
+                keynode_t node;
+                node.keyname = (char*)str.c_str();
+                node.type = type;
+                switch( node.type ) {
+                    case VCONF_TYPE_STRING:
+                        node.value.s = value->s;
+                        break;
+                    case VCONF_TYPE_INT:
+                        node.value.i = value->i;
+                        break;
+                    case VCONF_TYPE_DOUBLE:
+                        node.value.d = value->d;
+                        break;
+                    case VCONF_TYPE_BOOL:
+                        node.value.b = value->b;
+                        break;
+                    default:
+                        LOG_D(stdout, "[%s][%d] invalid type [%d] \n", __func__, __LINE__, node.type );
+                        return;
+                }
+                cb(&node, user_data);
+            }
+        }
+    }
+
+
+    static sqlite3 *db = NULL;
+
+    void _sqlite_close() {
+        if( db != NULL ){
+            sqlite3_close(db);
+            db = NULL;
+        }
+    }
+
+    int _sqlite_connect() {
+        if( db != NULL ) {
+            return VCONF_OK;
+        }
+
+        int rc = sqlite3_open(DB_NAME, &db);
+        if (rc != SQLITE_OK) {
+            LOG_E(stderr, "[%s][%d] sqlite3_open error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), sqlite3_errmsg(db));
+            _sqlite_close();
+            return VCONF_ERROR;
+        }
+        return VCONF_OK;
+    }
+
+    /************************************************
+     * keynode handling APIs                        *
+     ************************************************/
+    EXPORT char *vconf_keynode_get_name(keynode_t *keynode){
+        return NULL;
+    }
+
+    EXPORT int vconf_keynode_get_type(keynode_t *keynode){
+        return 0;
+    }
+
+    EXPORT int vconf_keynode_get_int(keynode_t *keynode){
+        return 0;
+    }
+
+    EXPORT double vconf_keynode_get_dbl(keynode_t *keynode){
+        return 0;
+    }
+
+    EXPORT int vconf_keynode_get_bool(keynode_t *keynode){
+        return 0;
+    }
+
+    EXPORT char *vconf_keynode_get_str(keynode_t *keynode){
+        return NULL;
+    }
+
+
+    /************************************************
+     * keylist handling APIs
+     ************************************************/
+    keylist_t *vconf_keylist_new(void){
+        return NULL;
+    }
+
+    EXPORT int vconf_keylist_rewind(keylist_t *keylist){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_free(keylist_t *keylist){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_lookup(keylist_t *keylist, const char *keyname,
+            keynode_t **return_node){
+        return 0;
+    }
+
+    EXPORT keynode_t *vconf_keylist_nextnode(keylist_t *keylist){
+        return NULL;
+    }
+
+    EXPORT int vconf_keylist_add_int(keylist_t *keylist, const char *keyname,
+            const int value){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_add_bool(keylist_t *keylist, const char *keyname,
+            const int value){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_add_dbl(keylist_t *keylist, const char *keyname,
+            const double value){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_add_str(keylist_t *keylist, const char *keyname,
+            const char *value){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_add_null(keylist_t *keylist, const char *keyname){
+        return 0;
+    }
+
+    EXPORT int vconf_keylist_del(keylist_t *keylist, const char *keyname){
+        return 0;
+    }
+
+    /************************************************
+     * setting APIs                                 *
+     ************************************************/
+
+    int _vconf_set_str(const char *in_key, const char *strval){
+
+        int rc;
+        char *err_msg = 0;
+        char sql[MAX_BUF_LEN+1];
+
+        rc = _sqlite_connect();
+        if (rc != SQLITE_OK) {
+            _sqlite_close();
+            return VCONF_ERROR;
+        }
+
+#if 1 /* journal mode */
+        {
+            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
+            snprintf(sql, MAX_BUF_LEN, "PRAGMA JOURNAL_MODE=MEMORY");
+
+            rc = sqlite3_exec(db, sql, 0, 0, &err_msg);
+            if (rc != SQLITE_OK ) {
+                LOG_E(stderr, "[%s][%d] sqlite3_exec error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), err_msg);
+
+                sqlite3_free(err_msg);
+                _sqlite_close();
+                return VCONF_ERROR;
+            }
+        }
+#endif
+
+
+#if 0 /* select key */
+        {
+            sqlite3_stmt *stmt = NULL;
+            snprintf(sql, MAX_BUF_LEN, "SELECT layer, key, value, type read_privilege, write_privilege FROM vconf WHERE key = ? and layer = 'system'");
+
+            rc = sqlite3_prepare(db, sql, -1, &stmt, 0);
+            if(rc != SQLITE_OK ){
+                LOG_E(stderr, "[%s][%d] sqlite3_prepare error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
+                sqlite3_finalize(stmt);
+                _sqlite_close();
+                return VCONF_ERROR;
+            }
+
+            sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
+            rc = sqlite3_step(stmt);
+            if( rc != SQLITE_ROW ) {
+                LOG_E(stderr, "[%s][%d] sqlite3_step error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
+                sqlite3_finalize(stmt);
+                _sqlite_close();
+                return VCONF_ERROR;
+            }
+
+            LOG_D(stdout, "vconf get: layer[%s] key[%s], value[%s]\n",
+                    sqlite3_column_text(stmt,0),
+                    sqlite3_column_text(stmt,1),
+                    sqlite3_column_text(stmt,2) );
+
+            sqlite3_finalize(stmt);
+        }
+#endif
+
+#if 0 /* insert key */
+        {
+            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
+            snprintf(sql, MAX_BUF_LEN, "INSERT OR REPLACE INTO vconf ( layer, key, value ) "
+                    "VALUES ( \"%s\", \"%s\", \'%s\');", "system", in_key, strval );
+
+            rc = sqlite3_exec(db, sql, 0, 0, &err_msg);
+            if (rc != SQLITE_OK ) {
+                LOG_E(stderr, "[%s][%d] sqlite3_exec error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), err_msg);
+
+                sqlite3_free(err_msg);
+                _sqlite_close();
+
+                return VCONF_ERROR;
+            }
+        }
+#endif
+
+#if 1 /* insert key with parameter */
+        {
+            sqlite3_stmt *stmt = NULL;
+            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
+            snprintf(sql, MAX_BUF_LEN, "INSERT OR REPLACE INTO vconf ( layer, key, value ) "
+                    "VALUES ( \"%s\", ?, ?);", "system" );
+
+            rc = sqlite3_prepare(db, sql, strlen(sql), &stmt, 0);
+            if(rc != SQLITE_OK ){
+                LOG_E(stderr, "[%s][%d] sqlite3_prepare error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
+                sqlite3_finalize(stmt);
+                _sqlite_close();
+                return VCONF_ERROR;
+            }
+
+            sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
+            sqlite3_bind_text(stmt, 2, strval, strlen(strval), SQLITE_STATIC);
+
+            rc = sqlite3_step(stmt);
+            if( rc != SQLITE_DONE ) {
+                LOG_E(stderr, "[%s][%d] sqlite3_step error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
+                sqlite3_finalize(stmt);
+                _sqlite_close();
+                return VCONF_ERROR;
+            }
+        }
+#endif
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_set(keylist_t *keylist){
+        return 0;
+    }
+
+    EXPORT int vconf_set_int(const char *in_key, const int intval){
+        int rc;
+        char buf[MAX_BUF_LEN+1];
+        snprintf(buf, MAX_BUF_LEN, "%d", intval);
+
+        rc = _vconf_set_str(in_key, buf);
+        if( rc != VCONF_OK ){
+            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
+            return VCONF_ERROR;
+        }
+
+        UnionValue uValue;
+        uValue.i = intval;
+        checkNotifyCallBack( in_key, VCONF_TYPE_INT, &uValue );
+
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_set_bool(const char *in_key, const int boolval){
+        int rc;
+        char buf[MAX_BUF_LEN+1];
+        snprintf(buf, MAX_BUF_LEN, "%d", boolval);
+
+        rc = _vconf_set_str(in_key, buf);
+        if( rc != VCONF_OK ){
+            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
+            return VCONF_ERROR;
+        }
+
+        UnionValue uValue;
+        uValue.b = boolval;
+        checkNotifyCallBack( in_key, VCONF_TYPE_BOOL, &uValue );
+
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_set_dbl(const char *in_key, const double dblval){
+
+        int rc;
+        char buf[MAX_BUF_LEN+1];
+        snprintf(buf, MAX_BUF_LEN, "%lf", dblval);
+
+        rc = _vconf_set_str(in_key, buf);
+        if( rc != VCONF_OK ){
+            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
+            return VCONF_ERROR;
+        }
+
+        UnionValue uValue;
+        uValue.d = dblval;
+        checkNotifyCallBack( in_key, VCONF_TYPE_DOUBLE, &uValue );
+
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_set_str(const char *in_key, const char *strval){
+        int rc;
+
+        rc = _vconf_set_str(in_key, strval);
+        if( rc != VCONF_OK ){
+            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
+            return VCONF_ERROR;
+        }
+
+        UnionValue uValue;
+        uValue.s = (char*)strval;
+        checkNotifyCallBack( in_key, VCONF_TYPE_STRING, &uValue );
+
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_get(keylist_t *keylist, const char *in_parentDIR, get_option_t option){
+        return 0;
+    }
+
+    EXPORT char *vconf_get_str(const char *in_key){
+
+        int rc;
+        char sql[MAX_BUF_LEN+1];
+        char* str = NULL;
+
+        LOG_D(stdout,"[%s][%d] start! key [%s] \n", __func__, __LINE__ , in_key );
+
+        rc = _sqlite_connect();
+        if (rc != SQLITE_OK) {
+            _sqlite_close();
+            return NULL;
+        }
+
+        sqlite3_stmt *stmt = NULL;
+        snprintf(sql, MAX_BUF_LEN, "SELECT layer, key, value, type read_privilege, write_privilege FROM vconf WHERE key = ? and layer = 'system'");
+
+        int count = 0;
+        do {
+            rc = sqlite3_prepare(db, sql, strlen(sql), &stmt, 0);
+            if(rc != SQLITE_OK ){
+                LOG_E(stderr, "[%s][%d] sqltie3_prepare error! rc[%d] : %s\n", __func__, __LINE__, rc, sqlite3_errmsg(db));
+
+                if( count >= 5 ){
+                    _sqlite_close();
+                    return NULL;
+                }
+
+                count++;
+                usleep(1000000);
+
+            }
+            else {
+                break;
+            }
+        }while(1);
+
+        sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
+        rc = sqlite3_step(stmt);
+        if( rc != SQLITE_ROW ) {
+            LOG_E(stderr, "[%s][%d] sqlite3_step error! key[%s]\n", __func__, __LINE__, in_key);
+            sqlite3_finalize(stmt);
+            _sqlite_close();
+            return NULL;
+        }
+
+        LOG_D(stdout, "[%s][%d] vconf get: layer[%s] key[%s], value[%s]\n",
+                __func__, __LINE__,
+                sqlite3_column_text(stmt,0),
+                sqlite3_column_text(stmt,1),
+                sqlite3_column_text(stmt,2) );
+
+        str = (char*)malloc(MAX_BUF_LEN+1);
+        strncpy( str, (char*)sqlite3_column_text(stmt,2), MAX_BUF_LEN);
+
+        sqlite3_finalize(stmt);
+
+        LOG_D(stdout, "[%s][%d] vconf get: key[%s], value[%s]\n", __func__, __LINE__, in_key, str );
+        return str;
+    }
+
+    EXPORT int vconf_get_int(const char *in_key, int *intval){
+
+        LOG_D(stdout,"[%s][%d] start!\n", __func__, __LINE__ );
+
+        char* value = vconf_get_str(in_key);
+
+        if( value == NULL ){
+            return VCONF_ERROR;
+        }
+
+        *intval = atoi(value);
+
+        free(value);
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_get_bool(const char *in_key, int *boolval){
+
+        LOG_D(stdout,"[%s][%d] start! key [%s] \n", __func__, __LINE__ , in_key );
+
+        char* value = vconf_get_str(in_key);
+
+        if( value == NULL ){
+            LOG_E(stdout, "[%s][%d] value is NULL! \n", __func__, __LINE__ );
+            return VCONF_ERROR;
+        }
+
+        if( *value == '0' ){
+            *boolval = 0;
+        } else {
+            *boolval = 1;
+        }
+
+        free(value);
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_get_dbl(const char *in_key, double *dblval){
+
+        LOG_D(stdout,"[%s][%d] start!\n", __func__, __LINE__ );
+
+        char* value = vconf_get_str(in_key);
+        char *ptr;
+
+        if( value == NULL ){
+            return VCONF_ERROR;
+        }
+
+        *dblval = strtod(value, &ptr);;
+
+        free(value);
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_unset(const char *in_key){
+        return 0;
+    }
+
+    EXPORT int vconf_sync_key(const char *in_key){
+        return 0;
+    }
+
+    EXPORT int vconf_unset_recursive(const char *in_dir){
+        return 0;
+    }
+
+    EXPORT int vconf_notify_key_changed(const char *in_key, vconf_callback_fn cb,
+            void *user_data){
+        string str;
+        str = in_key;
+        notifyCallBackMap.insert(make_pair(str, make_pair((void*)cb,user_data)));
+
+#if 0 /* map debug */
+        NotifyMap::iterator  itr;
+        for(itr = notifyCallBackMap.begin(); itr != notifyCallBackMap.end(); itr++){
+            LOG_D(stdout, "[%s][%d] map Key[%s]\n", __func__, __LINE__, itr->first.c_str());
+        }
+#endif
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_ignore_key_changed(const char *in_key, vconf_callback_fn cb){
+        string str;
+        str = in_key;
+        notifyCallBackMap.erase(notifyCallBackMap.find(str));
+
+        return VCONF_OK;
+    }
+
+    EXPORT int vconf_get_ext_errno(void){
+        return 0;
+    }
+
+#ifdef __cplusplus
+}
+#endif
+
+
diff --git a/tests/res/ringtone_sdk.mp3 b/tests/res/ringtone_sdk.mp3
new file mode 100644 (file)
index 0000000..f159e35
Binary files /dev/null and b/tests/res/ringtone_sdk.mp3 differ
diff --git a/tests/run_coverage.sh b/tests/run_coverage.sh
new file mode 100755 (executable)
index 0000000..30ccc34
--- /dev/null
@@ -0,0 +1,110 @@
+#!/bin/bash
+pushd ../
+RootDir=$PWD
+popd
+
+createVconfDb() {
+    pushd scripts
+    ./convert_vconf_script_to_sql.sh
+
+    if [ ! -f vconf.db ]
+    then
+        echo "vconf.db create failed!"
+        exit -1
+    fi
+
+    cp vconf.db ../
+    popd
+}
+
+
+if [ ! -f vconf.db ]
+then
+    createVconfDb
+fi
+
+#========================================================================================
+# /etc/config/model-config.xml <= tm1
+system_info_init_db -k "tizen.org/feature/profile" -t string -g platform -v "mobile"
+system_info_init_db -k "tizen.org/feature/systemsetting.incoming_call" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/systemsetting.home_screen" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/systemsetting.lock_screen" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/systemsetting.notification_email" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/network.wifi" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/systemsetting.font" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/network.telephony" -t bool -g platform -v true
+system_info_init_db -k "tizen.org/feature/accessibility.grayscale" -t bool -g platform -v false
+system_info_init_db -k "tizen.org/feature/accessibility.negative" -t bool -g platform -v false
+system_info_init_db -k "tizen.org/feature/input.rotating_bezel" -t bool -g platform -v false
+#========================================================================================
+
+#========================================================================================
+# Causion : Need to root permission
+#========================================================================================
+cp -f ../utils/libsystem-settings-util.so* /usr/lib
+
+echo "link [/opt/etc/localtime]"
+ln -sf /etc/localtime /opt/etc/localtime
+
+if [ -f /usr/lib/libefl-extension.so.0 ]
+then
+    cp -f /usr/lib/libefl-extension.so.0 /usr/lib/libefl-extension.so.0.back
+fi
+cp -f ./libefl-extension.so.0 /usr/lib/libefl-extension.so.0
+
+#========================================================================================
+# Dummy MP3 File List
+#========================================================================================
+mkdir -p "/opt/usr/data/settings/Ringtones"
+touch "/opt/usr/data/settings/Ringtones/ringtone_sdk.mp3"
+
+mkdir -p "/opt/usr/data/settings/Alerts"
+touch "/opt/usr/data/settings/Alerts/Over the horizon.mp3"
+
+mkdir -p "/opt/usr/share/"
+touch "/opt/usr/share/ringtone_sdk.mp3"
+
+mkdir -p "/opt/usr/test"
+touch "/opt/usr/test/big_buck_bunny.mp4"
+touch "/opt/usr/test/daliTestVideo.mp4"
+touch "/opt/usr/test/sound_5.wav"
+touch "/opt/usr/test/tct-content-tizen-tests_video.mp4"
+#========================================================================================
+
+unitTestFile=sys-settings-test
+if [ ! -x  "${unitTestFile}" ]
+then
+    echo "${unitTestFile} file does not exist!"
+    exit -1
+fi
+
+LD_PRELOAD=./libvconf-mock.so:./libpkgmgr-info-mock.so ./${unitTestFile}
+
+#========================================================================================
+# Causion : Need to root permission
+#========================================================================================
+if [ -f /usr/lib/libefl-extension.so.0.back ]
+then
+    cp -f /usr/lib/libefl-extension.so.0.back /usr/lib/libefl-extension.so.0
+fi
+#========================================================================================
+
+CMakeDir=${RootDir}/CMakeFiles/capi-system-system-settings.dir/src
+CoverageDir=${RootDir}/coverage
+
+pushd $CMakeDir
+    for obj in `ls *.o`
+    do
+        gcov -b -c $obj
+    done
+
+    if [ -f /usr/bin/lcov ]
+    then
+        lcov -c -d . -o cov.info
+        genhtml cov.info -o ${CoverageDir}
+        echo "Coverage test result created! [${CoverageDir}]"
+    else
+        echo "lcov does not exist!"
+    fi
+popd
+
diff --git a/tests/scripts/convert_vconf_script_to_sql.sh b/tests/scripts/convert_vconf_script_to_sql.sh
new file mode 100755 (executable)
index 0000000..602ea9d
--- /dev/null
@@ -0,0 +1,70 @@
+#!/bin/bash
+
+
+db_name=vconf.db
+tableName=vconf
+
+vconf_internal_keys_script=./vconf_all.sh
+vconf_internal_keys_script_copy=./vconf_all_copy.sh
+dbScriptFile=vconf.sql
+
+create_table(){
+
+sqlite3 $db_name << EOF
+DROP TABLE IF EXISTS ${tableName};
+
+CREATE TABLE IF NOT EXISTS ${tableName} (
+layer CHAR NOT NULL,
+key CHAR NOT NULL,
+value CHAR,
+type CHAR,
+read_privilege,
+write_privilege,
+PRIMARY KEY ( layer, key )
+);
+
+PRAGMA synchronous=OFF;
+PRAGMA count_changes=OFF;
+PRAGMA journal_mode=MEMORY;
+PRAGMA temp_store=MEMORY;
+EOF
+
+}
+
+create_insert_script(){
+
+if [ ! -f "${vconf_internal_keys_script}" ]
+then
+       echo "vconf-internal-keys script not found! [${vconf_internal_keys_script}]"
+       exit -1;
+fi
+
+       cp -f ${vconf_internal_keys_script} ${vconf_internal_keys_script_copy}
+
+       cat /dev/null > ${dbScriptFile}
+
+       echo "BEGIN TRANSACTION;" >> ${dbScriptFile}
+
+       # sed -i 's/General notification/General_notification/g' ${vconf_internal_keys_script_copy}
+       sed -i 's/ create-string / \"string\" /g' ${vconf_internal_keys_script_copy}
+       sed -i 's/ create-int32 / \"int32\" /g' ${vconf_internal_keys_script_copy}
+       sed -i 's/ create-bool / \"bool\" /g' ${vconf_internal_keys_script_copy}
+
+       sed -i 's/\${TZ_SYS_GLOBALUSER_DATA}/\/opt\/usr\/data/g' ${vconf_internal_keys_script_copy}
+
+       cat vconf_all_copy.sh | grep buxton2ctl | awk -v tableName=$tableName -F'\"' '{ printf "INSERT INTO %s ( layer, key, value, type, read_privilege, write_privilege ) values ( \"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\" );\n", tableName, $4, $6, $8, $2, $10, $12 }' > ${dbScriptFile}
+
+       echo "COMMIT TRANSACTION;"
+
+       echo "sqlite insert table!"
+       sqlite3 $db_name < ${dbScriptFile}
+       echo "sqlite insert end!"
+}
+
+
+main(){
+    create_table
+       create_insert_script
+}
+
+main $*
diff --git a/tests/scripts/unit_test_gdb_script b/tests/scripts/unit_test_gdb_script
new file mode 100644 (file)
index 0000000..5bf19a7
--- /dev/null
@@ -0,0 +1,12 @@
+set pagination off
+set logging file /opt/usr/share/unit_test_gdb_logs.txt
+set logging on
+set confirm off
+file /usr/bin/sys-settings/sys-settings-test
+r # run it once
+break exit
+commands
+run
+end
+set logging off
+#quit
diff --git a/tests/scripts/unittest.sh b/tests/scripts/unittest.sh
new file mode 100644 (file)
index 0000000..336da5c
--- /dev/null
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+PWD=`pwd`
+RPATH=$1
+
+SPECPATH=`find . -name *.spec`
+
+APP=`cat $SPECPATH  | grep Name: | awk '{ print $2 }'`
+VER1=`cat $SPECPATH  | grep "^Version:" | awk '{ print $2 }'`
+REL=`cat $SPECPATH  | grep Release: | awk '{ print $2 }'`
+VER=$VER1-$REL
+ARCH=$2
+VERSHORT=${VER%-*}             # 1.2.3
+
+THREAD_NUM=$3
+GDB_TEST=$4
+
+if [ -z $RPATH ]; then
+       echo "argument error : 1st arg is path "
+       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
+       exit 1
+fi
+
+if [ -z $ARCH ]; then
+       echo "argument error : 3th arg is Version"
+       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
+       exit 1
+fi
+
+if [ -z $THREAD_NUM ]; then
+       sudo gbs build -A $ARCH --include-all --define "run_tests 1" || exit 1
+else
+       sudo gbs build -A $ARCH --include-all --define "run_tests 1" --define "thread_number $THREAD_NUM" || exit 1
+fi
+
+# ex ) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l 5
+
+RPM_ROOT=$RPATH
+
+sudo mkdir -p /usr/src/packages/BUILD/$APP-$VERSHORT
+sudo cp -rf . /usr/src/packages/BUILD/$APP-$VERSHORT
+
+sudo mkdir -p /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
+sudo cp -rf . /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
+
+SDB=/usr/bin/sdb
+GDB_SCRIPT=$PWD/tests/scripts/unit_test_gdb_script
+UNIT_TEST_RESOURCE=$PWD/tests/res/*
+$SDB root on
+$SDB shell mount -o remount,rw /
+$SDB push $RPM_ROOT/$APP-$VER.$ARCH.rpm /opt
+$SDB push $RPM_ROOT/$APP-debuginfo-$VER.$ARCH.rpm /opt
+$SDB push $RPM_ROOT/$APP-debugsource-$VER.$ARCH.rpm /opt
+$SDB push $GDB_SCRIPT /usr/local/bin
+$SDB push $UNIT_TEST_RESOURCE /opt/usr/share
+
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-$VER.$ARCH.rpm
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debuginfo-$VER.$ARCH.rpm
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debugsource-$VER.$ARCH.rpm
+
+echo "UNIT TEST----------------------------------------------------"
+export GCOV_PREFIX=/opt
+
+if [ -z $GDB_TEST]; then
+$SDB shell su - -c "G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 /usr/bin/sys-settings/sys-settings-test"
+else
+$SDB shell su - -c "G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 gdb -x /usr/local/bin/unit_test_gdb_script"
+fi
+
+echo "COVERAGE TEST----------------------------------------------------"
+sdb pull /usr/src/packages/BUILD/$APP-$VERSHORT/
+rm -rf ./CMakeFiles/system-setting-unittest.dir
+rm -rf ./CMakeFiles/capi-system-system-settings.dir/src/system_setting_unittest.*
+lcov -c -d ./CMakeFiles/$APP.dir/ -o $APP.info
+lcov -c -d ./system-settings-util/CMakeFiles/system-settings-util.dir -o $APP.util.info
+
+VAR1="/usr/src/packages/BUILD/$APP-$VERSHORT"
+VAR2="/usr/include"
+GBS_INCLUDE="$HOME/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include"
+sed -i "s#$VAR1#$PWD#g" $APP.info
+sed -i "s#$VAR2#$GBS_INCLUDE#g" $APP.info
+sed -i "s#$VAR1#$PWD#g" $APP.util.info
+sed -i "s#$VAR2#$GBS_INCLUDE#g" $APP.util.info
+echo "sed -i \"s#$VAR1#$PWD#g\" $APP.info"
+
+echo "genhtml $APP.info $APP.util.info -o out"
+rm -rf out
+genhtml $APP.info $APP.util.info -o out
+find . -name "CMakeFiles" -type d -prune -exec rm -rf '{}' '+'
+rm $APP.info $APP.util.info
+sudo rm -rf /usr/src/packages/BUILD/$APP-$VERSHORT
+sudo rm -rf /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
diff --git a/tests/scripts/unittest2.sh b/tests/scripts/unittest2.sh
new file mode 100644 (file)
index 0000000..fa1f7e0
--- /dev/null
@@ -0,0 +1,59 @@
+#!/bin/bash
+
+RPATH=$1
+
+SPECPATH=`find . -name *.spec`
+
+APP=`cat $SPECPATH  | grep Name: | awk '{ print $2 }'`
+VER1=`cat $SPECPATH  | grep "^Version:" | awk '{ print $2 }'`
+REL=`cat $SPECPATH  | grep Release: | awk '{ print $2 }'`
+VER=$VER1-$REL
+ARCH=$2
+VERSHORT=${VER%-*}             # 1.2.3
+
+
+
+if [ -z $RPATH ]; then
+       echo "argument error : 1st arg is path "
+       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
+       exit 1
+fi
+
+if [ -z $ARCH ]; then
+       echo "argument error : 3th arg is Version"
+       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
+       exit 1
+fi
+
+sudo gbs build -A $ARCH --include-all --define "run_tests 1" || exit 1
+# ex ) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l
+
+RPM_ROOT=$RPATH
+
+SDB=/usr/bin/sdb
+$SDB root on
+$SDB shell mount -o remount,rw /
+$SDB push $RPM_ROOT/$APP-$VER.$ARCH.rpm /opt
+$SDB push $RPM_ROOT/$APP-debuginfo-$VER.$ARCH.rpm /opt
+$SDB push $RPM_ROOT/$APP-debugsource-$VER.$ARCH.rpm /opt
+
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-$VER.$ARCH.rpm
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debuginfo-$VER.$ARCH.rpm
+$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debugsource-$VER.$ARCH.rpm
+
+echo "UNIT TEST----------------------------------------------------"
+export GCOV_PREFIX=/opt
+$SDB shell G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 /usr/bin/sys-settings/sys-settings-test
+
+echo "COVERAGE TEST----------------------------------------------------"
+sdb pull /usr/src/packages/BUILD/$APP-$VERSHORT/CMakeFiles > /dev/null 2>&1
+lcov -c -d $APP.dir/ -o $APP.info > /dev/null 2>&1
+
+VAR1="/usr/src/packages/BUILD/$APP-$VERSHORT"
+PWD=`pwd`
+sed -i "s#$VAR1#$PWD#g" $APP.info
+
+genhtml $APP.info -o out
+find . -name "*.dir" -type d -prune -exec rm -rf '{}' '+'
+rm $APP.info
+
diff --git a/tests/scripts/vconf_all.sh b/tests/scripts/vconf_all.sh
new file mode 100755 (executable)
index 0000000..618d47b
--- /dev/null
@@ -0,0 +1,817 @@
+#!/bin/bash
+############################################################
+#                   SYSTEM VARIABLES                       #
+############################################################
+
+TZ_SYS_GLOBALUSER_DATA=`tzplatform-get TZ_SYS_GLOBALUSER_DATA | sed 's/^.*=//'`
+TZ_SYS_GLOBALUSER_DB=`tzplatform-get TZ_SYS_GLOBALUSER_DB | sed 's/^.*=//'`
+TZ_SYS_MEDIA=`tzplatform-get TZ_SYS_MEDIA | sed 's/^.*=//'`
+TZ_SYS_RW_APP=`tzplatform-get TZ_SYS_RW_APP | sed 's/^.*=//'`
+TZ_SYS_RO_APP=`tzplatform-get TZ_SYS_RO_APP | sed 's/^.*=//'`
+############################################################
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/account/msg"   ""  "http://tizen.org/privilege/internal/buxton/account.read" "http://tizen.org/privilege/account.write"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/account/lock_pwd_verify_status_key"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/account/lock_pwd_verify_status_ts_key"   ""-1""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/alarm/alarm_expire_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/audit/enable"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/aul/socket_timeout"   "5.2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/boot_animation/finished"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/bluetooth/btsco"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/bluetooth/sco_headset_name"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/lestatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/bluetooth/dutmode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-bluetooth-efl/visibility_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-service/bt_off_due_to_timeout"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-core/powersaving_mode_deactivated"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-core/flight_mode_deactivated"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/bluetooth/device"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/dpm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/bluetooth/bmstatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/bluetooth/avc_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/call/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/camera/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/camera/shutter_sound_policy"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/recorder/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/camera/pid"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/camera/flash_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/recorder/pid"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/show_my_number"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/incoming_call_notification"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/auto_reject_add_numbers_to_messages"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/reject_call_message_cnt"   "5"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message1"   "IDS_CST_MBODY_SORRY_IM_BUSY_CALL_YOU_LATER_ABB"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message2"   "IDS_CST_BODY_SORRY_IM_BUSY_PLEASE_TEXT_ME_ABB"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message3"   "IDS_CST_TMBODY_I_CANT_TALK_NOW_WHATS_UP_Q"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message4"   "IDS_CST_BODY_IM_IN_A_MEETING"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message5"   "IDS_CST_TMBODY_SORRY_IM_DRIVING_NOW"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message6"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/call_answering_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/call_power_key_ends_call"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/noise_reduction"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/in_call_sound_eq"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/increase_ringtone"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/personalised_eq"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/call_sound"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/intl_dial_auto_conversion"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/msg_noti_vib"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/msg_noti_sound"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/auto_reject_unknown"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/name_display_order"   "0"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/name_sorting_order"   "0"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/phonenumber_min_match_digit"   "8"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/network_config"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/ip"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/ip6"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/dnet/rndis_ip"   "192.168.129.3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/proxy"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/wifi"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/cellular"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/state2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/packet_state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalrcv2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalsnt2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastrcv2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastsnt2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/totalrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/totalsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/lastrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/lastsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/last_power_state"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_airplane"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_emergency"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_restricted"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/sleep_policy"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/dnet/mac_address"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/wifi/frequency"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/wifi/wearable_wifi_use"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dotnet/tizen_api_version"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/dpm/mode_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/data_router/osp_serial_open"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/org.tizen.email/is_inbox_active"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/email_handle/active_sync_handle"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/default_account_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/latest_mail_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_badge_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_display_content_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_notification_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/4"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/5"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/6"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/7"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/8"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/9"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/10"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_rep_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_use_default_ringtone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vibration_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vip_use_default_ringtone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vip_vibration_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/filemanager/Mmc"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/filemanager/dbupdate"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/homescreen/watch_face_visibility"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/homescreen/watch_resource_id"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/homescreen/watchface_visibility"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/sound_volume"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/sound_volume_backup"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/sound_volume"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/sound_volume_backup"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion/palm_swipe_capture"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion/palm_touch_mute"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/idle_lock/bgset"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Wallpapers/home_001.png"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/idle_lock/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/idle_lock/state_read_only"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/org.tizen.indicator/show_more_noti_port"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/isf/input_language"   "en_US"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/isf/input_keyboard_uuid"   "ise-default"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/isf/input_panel_state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/hw_keyboard_input_detected"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/recent_port_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/recent_land_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/isf_bind"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/input_panel_port_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/input_panel_land_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/isf_ime_launch_on_demand"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/data-provider-master/started"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/data-provider-master/restart_count"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/Usemylocation"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/GpsEnabled"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/NetworkEnabled"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/MockEnabled"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/GpsPopup"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/Restriction"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/setting/GyroDrift"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/position/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/gps/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/wps/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/mock/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/last/gps/Timestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Latitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Longitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Altitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Speed"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Direction"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/HorAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/VerAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Timestamp"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Latitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Longitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Altitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Speed"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Direction"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/HorAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/last/gps/LocTimestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/last/wps/LocTimestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/last/gps/Location"   "0.0;0.0;0.0;0.0;0.0;0.0;0.0;"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/last/wps/Location"   "0.0;0.0;0.0;0.0;0.0;0.0;"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/nmea/LoggingEnabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/replay/ReplayEnabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/replay/ReplayMode"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/replay/FileName"   "nmea_replay.log"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualLatitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualLongitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualAltitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualHAccuracy"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Operation"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/OperationTest"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Starting"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Session"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/gps/XtraDownloadTime"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/supl/Server"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/supl/Port"   "7275"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/SslEnabled"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/FQDNType"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/Version"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/heremaps/UserConsent"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/mapservice"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/lockscreen/quick_access_appid"   "org.tizen.camera-app"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/lockscreen/wallpaper_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/lockscreen/wallpaper_count"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/media-controller/latest_server/name"   ""  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/media-controller/latest_server/state"   "0"  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/media-controller/latest_server/playback_state"   "0"  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/connected_device"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mobile_hotspot/security"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mobile_hotspot/hide"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/mobileap-agent/ssid"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/libug-setting-mobileap-efl/prev_wifi_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/is_device_rename_local"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/wifi_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/bt_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/usb_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/libug-setting-mobileap-efl/trying_usb_tethering"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/wifi_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/msg/ready"   "0"  "http://tizen.org/privilege/internal/buxton/message.read" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/recv_sms"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/recv_mms"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/network_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/activated_conversation_id"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/notification_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_noti_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_msg_noti_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_full_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sentfail_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/read_report_sent_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/storage_full_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/read_report_sent_msg_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/auto_erase"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/block_msg"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/block_unknown_msg"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/keep_copy"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/sms_limit"   "1000"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/mms_limit"   "100"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/msg_id_counter"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/notification"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/preview"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/general/ringtone_path"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/ringtone_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/vibration"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/general/ua_profile"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/0"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/4"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/5"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/6"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/7"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/8"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/9"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/save"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sms_send/dcs"   "3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/sms_send/delivery_report"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/sms_send/reply_path"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sms_send/save_storage"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/abroad_network"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/home_network"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/delivery_receipt"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/read_receipt"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/reject_advertisement"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/reject_unknown"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/group_message"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/body_replying"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/creation_mode"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/custom_delivery"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/delivery_report"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/delivery_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/expiry_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/hide_recipients"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/keep_copy"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/msg_class"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/priority"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/read_reply"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging_deadline"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging_size"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/report_allowed"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/sender_visibility"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/blue"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/green"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/hue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/red"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/blue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/green"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/hue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/red"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_size"   "30"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/bold"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/italic"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/underline"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_dur"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_dur_manual"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_custom_dur"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/push_msg/recv_option"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/push_msg/service_load"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/1"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/size_opt/msg_size"   "300"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/default_network_sim"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/mtp/serial_number"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/mtp/sync_partner"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mtp/sync_time"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/feature"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/nfc/se_type"   "3"  "http://tizen.org/privilege/internal/buxton/nfc.cardemulation" "http://tizen.org/privilege/nfc.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/nfc/wallet_mode"   "3"  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/state_by_flight"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/nfc/payment_handlers"   ""  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/nfc/other_handlers"   ""  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/ese_disable"   "0"  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/crypto_state"   "unencrypted"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/crypto_type"   "none"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/encrypt_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/sde/encrypt_newfile"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/sde/exclude_mediafile"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sde/encrypt_size"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/mount_point"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_state"   "unencrypted"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_type"   "none"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_blkdev"   "nodev"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/encrypt_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ode/fast_encryption"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/ode/secure_erase"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/NbDevManagement"   "3"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/ConfVersion"   "0.1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/AccName"   "gcf"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServID"   "RSate"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServAddr"   "http://192.168.168.169/dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServPwd"   "RSatepass"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/Port"   "80"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/UserName"   "RSuser"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ClientPwd"   "RSpass"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/AccName"   "MSCTestserver"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServID"   "x6g1q14r75"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/Priority"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/countdown"   "-1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/forceinstall"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dd-datamargin"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dd-batterylevel"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServAddr"   "http://dms.ospserver.net/v1/device/magicsync/mdm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServPwd"   "T1NQIERNIFNlcnZlcg=="  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/Port"   "443"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/downloadstatus"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/AccName"   "MSCServer"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServID"   "5e8o9279r2"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServAddr"   "https://dm.samsungdive.com:443/v1/sdm/magicsync/dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServPwd"   "T1NQIERNIFNlcnZlcg=="  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/Port"   "443"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/AccName"   "SPDserver"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServID"   "q112w3e45t"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServAddr"   "http://54.248.91.13:38080/oma.dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServPwd"   "7ZAR3cibsiKs883AZ"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/Port"   "38080"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/UAresult"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/versionurl"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/fumo/push_id"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/versionfilename"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DD-multilanguage"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DD-objectname"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevDetail/FwV"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DownloadConType"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/polling-triger"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/UnlockNeedSendMsg"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/AlarmSetted"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/MaxSizeOnDataNetwork"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/software-update/wifionly/setting"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/software-update/autoupdate/setting"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DD-objectsize"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/heartbeaturl"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/cycleheartbeat"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/disclaimer"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dp_change"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dp_ctrl"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/mdfpp-fota-dw"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/mdfpp-fota-ua"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/PostPoneMaxCount"   "-1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/PostPoneCount"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/LastCheckedTime"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/fota-badge"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/custom_brightness_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/camera_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/battery_timetoempty"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/battery_timetofull"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/pm/brt_changed_lpm"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/lcdoff_source"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/key_ignore"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/current_brt"   "60"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/sip_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/psm/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/pwlock/first_boot"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pwlock/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/pwlock/ode_retry_cnt"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/radio/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/vibration_pattern_path"   "/usr/apps/org.tizen.setting/shared/res/settings/Vibrations/haptic/default/Ticktock.ivt"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/touch_sounds"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/button_sounds"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/sound_lock"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/region_automatic"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/media/sound_volume"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/media/sound_volume_backup"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/Brightness"   "100"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/automatic_brightness_level"   "50"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_display_adjustment"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lcd_backlight_normal"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/ringtone_sound_volume"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/ringtone_sound_volume_backup"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Ringtones/ringtone_sdk.mp3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/user_ringtone_list"   "[]"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_path_with_time"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_default_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Ringtones/ringtone_sdk.mp3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/vibration_level"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/vibration_type"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/msg_alert_rep_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/noti/msg_ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/General notification_sdk.wav"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/noti/ringtone_default_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/General notification_sdk.wav"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/vibration_level"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/noti/vibration_long_buzz"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/vibration_level"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setting/usb_in_mode_change"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setting/usb_mode"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/debug_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/usb_connection_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/select_network"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/network_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/power_on_lock"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/phone_lock_attempts_left"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/phone_lock_timestamp"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim_lock_timestamp"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/simple_password"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/screen_lock_type"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/3rd_lock_pkg_name"   "org.tizen.lockscreen"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/font_size"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/font_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/brightness_automatic"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/automatic_time_update"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/date_format"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/cityname_id"   "Seoul"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/weekofday_format"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lang"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/font_size"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/accessibility/font_name"   "Default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/accessibility/torch_light"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/rapid_key_input"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/turn_off_all_sounds"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/led_notify"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/lock_time"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/power_key_hold"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/easy_touch_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/greyscale"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/pwrsv/custom_mode/backlight/time"   "15"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/aod_on_pixel_ratio"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/pwrsv/custom_mode/cpu"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/language"   "en_US.UTF-8"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/languages"   "en_US:en_GB:en"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/regionformat"   "en_US.UTF-8"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/menuscreen/package_name"   "org.tizen.homescreen-efl"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/roaming_network"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/install_applications"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/wifi_direct"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/bluetooth"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/battery_percentage"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/high_contrast"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_zoom"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/screen_reader"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/description"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/haptic"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/keyboard_feedback"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/sound_feedback"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/timezone_id"   "Asia/Seoul"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/timezone"   "+9:00"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/rotate_lock"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_rotate_screen"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/mono_audio"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/menu_widget/regionformat_time1224"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim_lock_attempts_left"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/device_name"   "Tizen"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/sound_on"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibration_on"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibrate_when_ringing"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibrate_when_notification"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/haptic_feedback_on"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_roaming"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion_active"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_tilt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_panning"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_panning_browser"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/panning_sensitivity"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/panning_browser_sensitivity"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_double_tap"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_turn_over"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_pick_up"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_pick_up_call"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_shake"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_mute_pause"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/bgset"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Wallpapers/home_001.png"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/devoption/bgprocess"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_rendering_engine"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_limit"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/select_network_act"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/lang_automatic"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_usage_cycle"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_each_month"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_limit_unit"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_usage_roaming_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/set_data_usage_limit"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/accessibility/taphold_delay"   "IDS_COM_POP_SHORT"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/sound_balance"   "50"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/selected_num"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/screenmode/selected_name"   "Dynamic"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lcd_timeout_normal_backup"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/charging"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/low_batt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/notifications"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/rotate_hold"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/psmode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/mmc_encryption/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/display/touchkey_light_duration"   "90"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/display/screen_capture_destination"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/display/edit_after_screen_capture"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network_restrict_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/display/dynamic_status_bar"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/homescreen_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network/mobile_data_on_reminder"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network/mobile_data_off_reminder"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/usb_otg"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/firewall"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/personal"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/personal_unlock_method"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/developer_option_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/app_hw_acceleration"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/change_ui/theme"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/win_gray"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/win_fps"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/emergency/mode"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/dark_screen"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim1_name"   "SIM1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim2_name"   "SIM2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim1_icon"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim2_icon"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lock_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/ambient_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/time"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/battery"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/signal_strenght"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/missed_events"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/date"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/bluetooth"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/notification_indicator"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/double_press_home_key"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_open_apps"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/blockmode_wearable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/d2d_convergence"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/d2d_convergence_service"   "0x3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/ad_id_opt_out"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/ad_id"   "00000000-0000-0000-0000-000000000000"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setup_wizard/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/Brightness_Dim"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_restriction"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/enhance_touch_sensitivity"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/wakeup_by_bezel_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/theater_mode_enable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/goodnight_mode_enable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/automatic_low_brightness"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/touch_wakeup_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/diagnostics"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/diagnostics/identified"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/swipe_up_down_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/swipe_up_down_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/vibration_feedback_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/sound_feedback_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/udsm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/udsm/pkgid_list"   "NONE"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/softap/connected_device"   "0"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/security"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/hide"   "0"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/channel"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/mode"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/ssid"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/key"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/vsie"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/Sound/SoundStatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/master"   "20"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/system"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/notification"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/alarm"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/ringtone"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/media"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/call"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/voip"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/voice"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/bixby"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sound/PrimaryVolumeType"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/master"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/system"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/notification"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/alarm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/ringtone"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/media"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/call"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/voip"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/voice"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sound/pcm_dump"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sound/booting"   "/usr/share/keysound/poweron.wav"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/starter/sequence"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/starter/quick_launch_enable"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/starter/use_volume_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/starter/is_fallback"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/starter/fallback_pkg"   "org.tizen.homescreen-efl"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/stc/background_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/stc/firewall_lock_state"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/stt/engine/default"   "org.tizen.stt-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/stt/engine/custom"   "org.tizen.stt-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/appmanager.launch"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/added_usb_storage"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/removed_usb_storage"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charger_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charge_now"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_status_low"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_capacity"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_level_status"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/usb_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/usbhost_status"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/earjack"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/earjack_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/cradle_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/low_memory"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/sliding_keyboard"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_mount"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_unmount"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_format"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_err_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/mmc_dev_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/hdmi"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/stime_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/power_off"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_format_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/low_power_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/battery_warning_level"   "15"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/booting_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charger_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/system/timechanged"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/system/timechange"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-double "system"  "db/system/timechange_external"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/system/lazy_mount_show_ui"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/daemon_load_count"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/nw_name"   ""  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/plmn"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/lac"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/cell_id"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/roam_icon_mode"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_type"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_cs"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_ps"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_roam"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot_count"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/pb_init"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_status"   "255"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_is_changed"   "-1"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/call_forward_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/call_forward_state2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/ss_cli_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/ss_cli_state2"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/tapi_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/spn_disp_condition"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/spn"   ""  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/rssi"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/ps_type"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/3gEnabled"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/telephony/telephony_ready"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/nitz_gmt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/nitz_event_gmt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/nitz_zone"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/flight_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_act"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/sim_power_state1"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/sim_power_state2"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/dualsim/receive_incoming_call"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/modem_always_on"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/activation_completed"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/emergency_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/telephony/mdn"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_alert_signal_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_alert_pitch_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_signal"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/default_data_service"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/preferred_voice_subscription"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/default_subscription"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/sim1_network_mode"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/sim2_network_mode"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/modem_on_count"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/ps_data_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/no_sim_popup_checkbox"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/data_roaming_popup_checkbox"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/telephony/net_mode_user_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/telephony/perso_nwk_puk"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/telephony/modem_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/nitz_iso"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/manual_plmn"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/nck_unlock_count"   "3"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/telephony/pdp_last_connected_context_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/pdp_last_connected_context_profile_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/pdp_last_connected_context_plmn"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/telephony/modemd_assert_reason"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/tts/engine/default"   "org.tizen.tts-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/browser/user_agent"   "Mozilla/5.0 (Linux; Tizen 2.3; m0) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.3 Mobile Safari/537.3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/deviced/lcd_brightness_init"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/email-service/noti_ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/Over the horizon.mp3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/slot_size"   "100"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/requestinfo/command"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/requestinfo/options"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/rpm-installer/requestinfo/pkgname"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/stateinfo"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/cool_down_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_outdoor"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_scenario"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_tone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/sysman/mmc_device_id"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/usb/usb_control"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/contacts-service/default_lang"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/isf/autocapital_allow"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/isf/autoperiod_allow"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/added_storage_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sysman/enhance_pid"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/removed_storage_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sysman/siop_disable"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/siop_level_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/usb/conf_enabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/factory_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/atspi"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/usb/cur_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/usb/sel_mode"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/voice/vc/voice_touch/automode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/vc/engine/default"   "org.tizen.vc-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/watch/current_watch_info"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/webkit/user_agent"   "Default system user agent for backup in testmode"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/transfer_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/strength"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/wifi_qs_exit"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/wifi/enable_quick_start"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/wifi/connected_ap_name"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/ug_run_state"   "3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/wifi/bssid_address"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/bgscan_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/wifi_direct_manager/dhcp_ip_lease"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/dhcpc_server_ip"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_gateway"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_ifname"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_local_ip"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_subnet_mask"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi_direct/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/network_bonding"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/device/status_uevent"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/sort_by"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
+/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/wms/wakeup_by_gesture_setting"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/wms/clocks_set_idle"   "org.tizen.classic-watch"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-string "system"  "db/wms/powerkey_double_pressing"   "none"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-bool "system"  "db/wms/smart_relay"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
+/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wms/wmanager_connected"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
diff --git a/tests/sys_settings_test.c b/tests/sys_settings_test.c
new file mode 100644 (file)
index 0000000..4919296
--- /dev/null
@@ -0,0 +1,3229 @@
+/*
+ * Copyright (c) 2017-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <string.h>
+#include <system_settings.h>
+
+#include "sys_settings_test_fw.h"
+
+void unit_test_callback0(system_settings_key_e key, void *user_data) { }
+void unit_test_callback1(system_settings_key_e key, void *user_data) { }
+void unit_test_callback2(system_settings_key_e key, void *user_data) { }
+void unit_test_callback3(system_settings_key_e key, void *user_data) { }
+void unit_test_callback4(system_settings_key_e key, void *user_data) { }
+void unit_test_callback5(system_settings_key_e key, void *user_data) { }
+void unit_test_callback6(system_settings_key_e key, void *user_data) { }
+void unit_test_callback7(system_settings_key_e key, void *user_data) { }
+void unit_test_callback8(system_settings_key_e key, void *user_data) { }
+void unit_test_callback9(system_settings_key_e key, void *user_data) { }
+void unit_test_callback10(system_settings_key_e key, void *user_data) { }
+void unit_test_callback11(system_settings_key_e key, void *user_data) { }
+void unit_test_callback12(system_settings_key_e key, void *user_data) { }
+void unit_test_callback13(system_settings_key_e key, void *user_data) { }
+void unit_test_callback14(system_settings_key_e key, void *user_data) { }
+void unit_test_callback15(system_settings_key_e key, void *user_data) { }
+void unit_test_callback16(system_settings_key_e key, void *user_data) { }
+void unit_test_callback17(system_settings_key_e key, void *user_data) { }
+void unit_test_callback18(system_settings_key_e key, void *user_data) { }
+void unit_test_callback19(system_settings_key_e key, void *user_data) { }
+void unit_test_callback20(system_settings_key_e key, void *user_data) { }
+void unit_test_callback21(system_settings_key_e key, void *user_data) { }
+void unit_test_callback22(system_settings_key_e key, void *user_data) { }
+void unit_test_callback23(system_settings_key_e key, void *user_data) { }
+void unit_test_callback24(system_settings_key_e key, void *user_data) { }
+void unit_test_callback25(system_settings_key_e key, void *user_data) { }
+void unit_test_callback26(system_settings_key_e key, void *user_data) { }
+void unit_test_callback27(system_settings_key_e key, void *user_data) { }
+void unit_test_callback28(system_settings_key_e key, void *user_data) { }
+void unit_test_callback29(system_settings_key_e key, void *user_data) { }
+void unit_test_callback30(system_settings_key_e key, void *user_data) { }
+void unit_test_callback31(system_settings_key_e key, void *user_data) { }
+void unit_test_callback32(system_settings_key_e key, void *user_data) { }
+void unit_test_callback33(system_settings_key_e key, void *user_data) { }
+void unit_test_callback34(system_settings_key_e key, void *user_data) { }
+void unit_test_callback35(system_settings_key_e key, void *user_data) { }
+void unit_test_callback36(system_settings_key_e key, void *user_data) { }
+void unit_test_callback37(system_settings_key_e key, void *user_data) { }
+void unit_test_callback38(system_settings_key_e key, void *user_data) { }
+void unit_test_callback39(system_settings_key_e key, void *user_data) { }
+void unit_test_callback40(system_settings_key_e key, void *user_data) { }
+void unit_test_callback41(system_settings_key_e key, void *user_data) { }
+void unit_test_callback42(system_settings_key_e key, void *user_data) { }
+void unit_test_callback43(system_settings_key_e key, void *user_data) { }
+void unit_test_callback44(system_settings_key_e key, void *user_data) { }
+void unit_test_callback45(system_settings_key_e key, void *user_data) { }
+void unit_test_callback46(system_settings_key_e key, void *user_data) { }
+void unit_test_callback47(system_settings_key_e key, void *user_data) { }
+void unit_test_callback48(system_settings_key_e key, void *user_data) { }
+void unit_test_callback49(system_settings_key_e key, void *user_data) { }
+void unit_test_callback50(system_settings_key_e key, void *user_data) { }
+void unit_test_callback51(system_settings_key_e key, void *user_data) { }
+void unit_test_callback52(system_settings_key_e key, void *user_data) { }
+void unit_test_callback53(system_settings_key_e key, void *user_data) { }
+void unit_test_callback54(system_settings_key_e key, void *user_data) { }
+void unit_test_callback55(system_settings_key_e key, void *user_data) { }
+void unit_test_callback56(system_settings_key_e key, void *user_data) { }
+void unit_test_callback57(system_settings_key_e key, void *user_data) { }
+void unit_test_callback58(system_settings_key_e key, void *user_data) { }
+void unit_test_callback59(system_settings_key_e key, void *user_data) { }
+
+#if 0
+static int my_assert_ret(int retcode)
+{
+       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+               if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
+                       printf("Error!!\n");
+               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE);
+       }
+       return 1;
+}
+
+static int my_assert_ret_eq_bool(int retcode, bool a, bool b)
+{
+       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+               if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
+                       printf("Error!!\n");
+               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE);
+               assert_eq(a, b);
+       }
+       return 1;
+}
+#else
+#define my_assert_ret(retcode) do{ \
+       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) { \
+               if (retcode != SYSTEM_SETTINGS_ERROR_NONE) \
+                       printf("Error!!(%d)\n", retcode); \
+               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE); \
+       } \
+}while(0)
+
+#define my_assert_ret_eq_bool(retcode,a,b) do{ \
+       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) { \
+               if (retcode != SYSTEM_SETTINGS_ERROR_NONE) \
+                       printf("Error!!\n"); \
+               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE); \
+               assert_eq(a, b); \
+       } \
+}while(0)
+#endif
+
+
+system_settings_changed_cb get_system_settings_test_callback()
+{
+       static system_settings_changed_cb func_array[] = {
+               unit_test_callback0,
+               unit_test_callback1,
+               unit_test_callback2,
+               unit_test_callback3,
+               unit_test_callback4,
+               unit_test_callback5,
+               unit_test_callback6,
+               unit_test_callback7,
+               unit_test_callback8,
+               unit_test_callback9,
+               unit_test_callback10,
+               unit_test_callback11,
+               unit_test_callback12,
+               unit_test_callback13,
+               unit_test_callback14,
+               unit_test_callback15,
+               unit_test_callback16,
+               unit_test_callback17,
+               unit_test_callback18,
+               unit_test_callback19,
+               unit_test_callback20,
+               unit_test_callback21,
+               unit_test_callback22,
+               unit_test_callback23,
+               unit_test_callback24,
+               unit_test_callback25,
+               unit_test_callback26,
+               unit_test_callback27,
+               unit_test_callback28,
+               unit_test_callback29,
+               unit_test_callback30,
+               unit_test_callback31,
+               unit_test_callback32,
+               unit_test_callback33,
+               unit_test_callback34,
+               unit_test_callback35,
+               unit_test_callback36,
+               unit_test_callback37,
+               unit_test_callback38,
+               unit_test_callback39,
+               unit_test_callback40,
+               unit_test_callback41,
+               unit_test_callback42,
+               unit_test_callback43,
+               unit_test_callback44,
+               unit_test_callback45,
+               unit_test_callback46,
+               unit_test_callback47,
+               unit_test_callback48,
+               unit_test_callback49,
+               unit_test_callback50,
+               unit_test_callback51,
+               unit_test_callback52,
+               unit_test_callback53,
+               unit_test_callback54,
+               unit_test_callback55,
+               unit_test_callback56,
+               unit_test_callback57,
+               unit_test_callback58,
+               unit_test_callback59
+       };
+
+       static int func_num = 0;
+       func_num++;
+       if (func_num > 61)
+               func_num = 0;
+       int slot = func_num % 60;
+       return func_array[slot];
+}
+
+static bool _callback_called = false;
+static char *new_ringtonepath = SYS_SETTINGS_TEST_DIR "/ringtone_sdk.mp3";
+
+/**
+ * @function           utc_system_settings_startup
+ * @description                Called before each test
+ * @parameter          NA
+ * @return                     NA
+ */
+RETTYPE utc_system_settings_startup(void)
+{
+       RETURN(0);
+}
+
+/**
+ * @function           utc_system_settings_cleanup
+ * @description                Called after each test
+ * @parameter          NA
+ * @return                     NA
+ */
+RETTYPE utc_system_settings_cleanup(void)
+{
+       RETURN(0);
+}
+
+/**
+ * TEST GETTING SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE
+ */
+/**
+ * @testcase           utc_system_settings_get_value_string_p1
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_string_p1(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * TEST GETTING SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY
+ */
+/**
+ * @testcase           utc_system_settings_get_value_string_p2
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_string_p2(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * TEST GETTING SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE
+ */
+/**
+ * @testcase           utc_system_settings_get_value_string_p3
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_string_p3(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * TEST GETTING SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
+ */
+/**
+ * @testcase           utc_system_settings_get_value_string_p4
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_string_p4(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * TEST SETTING SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
+ */
+/**
+ * @testcase           utc_system_settings_get_value_string_p5
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p5(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p11
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p11(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, &value);
+       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p7
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p7(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &value);
+       my_assert_ret(retcode);
+       free(value);
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p6
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZON is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p6(void)
+{
+       char *value = NULL;
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, &value);
+       my_assert_ret(retcode);
+       free(value);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p10
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p10(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, &value);
+       my_assert_ret(retcode);
+       if (retcode == SYSTEM_SETTINGS_ERROR_NONE)
+               assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p8
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p8(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, &value);
+       my_assert_ret(retcode);
+       assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_string_p9
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_string_p9(void)
+{
+       char *value = NULL;
+
+       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, &value);
+       my_assert_ret(retcode);
+       if (retcode == SYSTEM_SETTINGS_ERROR_NONE)
+               assert(value != NULL);
+       free(value);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_string_n
+ * @since_tizen                2.3
+ * @description                check if system_settings_get_value_string is able to handle invalid parameters.
+ */
+RETTYPE utc_system_settings_get_value_string_n(void)
+{
+       int retcode = system_settings_get_value_string(-1, NULL);
+       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p1
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p1(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, &value);
+       my_assert_ret(retcode);
+       RETURN(0);
+
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p2(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &value);
+       my_assert_ret(retcode);
+       RETURN(0);
+
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p3(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, &value);
+       my_assert_ret(retcode);
+       RETURN(0);
+
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p4(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &value);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p5
+ * @since_tizen                2.3
+ *                                     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p5(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, &value);
+       my_assert_ret(retcode);
+       RETURN(0);
+
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p6
+ * @since_tizen                2.3
+ *                                     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p6(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p7
+ * @since_tizen                2.3
+ *                                     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p7(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p8
+ * @since_tizen                2.3
+ *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p8(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p9
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p9(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p10
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_bool_p10(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_n
+ * @since_tizen                2.3
+ * @description                check if system_settings_get_value_bool is able to handle invalid parameters.
+ */
+RETTYPE utc_system_settings_get_value_bool_n(void)
+{
+       int retcode = system_settings_get_value_bool(-1, NULL);
+       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_int_p1
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_int_p1(void)
+{
+       int value = 0;
+
+       int retcode = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_int_p2
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_int_p2(void)
+{
+       int font_size = 0;
+
+       int retcode = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &font_size);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_n
+ * @since_tizen                2.3
+ * @description                check if system_settings_get_value_int is able to handle invalid parameters.
+ */
+RETTYPE utc_system_settings_get_value_n(void)
+{
+       int retcode = system_settings_get_value_int(-1, NULL);
+       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
+       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_int_p3
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_int_p3(void)
+{
+       int value;
+       int nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, &value);
+       my_assert_ret(nRetVal);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p11
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_bool_p11(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p12
+ * @since_tizen                5.5
+ * @description                check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_bool_p12(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p13
+ * @since_tizen                5.5
+ * @description                check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_bool_p13(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_get_value_bool_p14
+ * @since_tizen                5.5
+ * @description                check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to get the property
+ */
+RETTYPE utc_system_settings_get_value_bool_p14(void)
+{
+       bool value = false;
+
+       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &value);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p1
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p1(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p1
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p1(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p2(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p2(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p3(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p3(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p4(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_LOCK_SCREEN_unset_changed_cb_p
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_LOCK_SCREEN_unset_changed_cb_p(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p5
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p5(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p4(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p6
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p6(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p5
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the callback for change-notification.
+ *                                     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p5(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE,
+                                                                                                callback, NULL);
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p7
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p7(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p6
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p6(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p8
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p8(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p7
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p7(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p9
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set callback for getting notification of change
+ */
+RETTYPE utc_system_settings_set_changed_cb_p9(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p8
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p8(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p10
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to set callback for getting notification of change
+ */
+RETTYPE utc_system_settings_set_changed_cb_p10(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p9
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p9(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p11
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set callback for getting notification of change
+ */
+RETTYPE utc_system_settings_set_changed_cb_p11(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p10
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set callback for getting notification of change and unset doing
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p10(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p12
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p12(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p11
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p11(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p13
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p13(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR
+ */
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p12
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p12(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p14
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p14(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p13
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p13(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p15
+ * @since_tizen                2.3
+ * @description     check if  SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p15(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p14
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p14(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p16
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p16(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p15
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p15(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p17
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p17(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p16
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p16(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p18
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p18(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p17
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p17(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p19
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p19(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p18
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p18(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p20
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p20(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p19
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p19(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p21
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p21(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p20
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p20(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p22
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p22(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p21
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_DEVICE_NAME  is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p21(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p23
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p23(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p22
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p22(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p24
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p24(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p23
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p23(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p25
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p25(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p24
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p24(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_p1
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to get the property
+ */
+RETTYPE utc_system_settings_set_value_string_p1(void)
+{
+       int ret;
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, new_ringtonepath);
+       my_assert_ret(ret);
+
+       char *ret_ringtonepath = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, &ret_ringtonepath);
+       my_assert_ret(ret);
+
+       if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED)
+               RETURN(0);
+
+       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
+               assert(1);
+       } else {
+               assert(0);
+       }
+       RETURN(0);
+}
+
+
+/**
+ * TEST SETTING SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
+ */
+/**
+ * @testcase           utc_system_settings_set_value_string_n2
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the property in error-case.
+ */
+RETTYPE utc_system_settings_set_value_string_n2(void)
+{
+       int ret;
+       char *wallpaper = NULL;
+
+       char *wrong_wallpaper_path = "/wrongpath/aaa.png";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, wrong_wallpaper_path);
+       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
+
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, &wallpaper);
+       assert(ret == SYSTEM_SETTINGS_ERROR_NONE);
+       free(wallpaper);
+       RETURN(0);
+}
+
+/**
+ * SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
+ */
+/**
+ * @testcase           utc_system_settings_set_value_string_n3
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to set the property in error-case.
+ */
+RETTYPE utc_system_settings_set_value_string_n3(void)
+{
+       int ret;
+       char *wallpaper = NULL;
+
+       char *wrong_wallpaper_path = "/wrongpath/aaa.png";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, wrong_wallpaper_path);
+       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
+
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, &wallpaper);
+       //assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+       free(wallpaper);
+       RETURN(0);
+}
+
+/**
+ * SYSTEM_SETTINGS_KEY_FONT_TYPE
+ */
+/**
+ * @testcase           utc_system_settings_set_value_string_n4
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the property in error-case.
+ */
+RETTYPE utc_system_settings_set_value_string_n4(void)
+{
+       int ret;
+
+       char *wrong_font_name = "WrongFontName";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, wrong_font_name);
+       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
+
+       char *font_name_set = "BreezeSans";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, font_name_set);
+       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+
+       char *font_name = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, &font_name);
+       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+       free(font_name);
+       RETURN(0);
+}
+
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_n1
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the property in a normal-case.
+ */
+RETTYPE utc_system_settings_set_value_bool_n1(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, &cur_state);
+       my_assert_ret(ret);
+
+       /* not support to set value */
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, state);
+       my_assert_ret(ret);
+
+
+       assert(state != cur_state);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_n2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_bool_n2(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, &cur_state);
+       my_assert_ret(ret);
+
+
+       /* not support to set value */
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, state);
+       my_assert_ret(ret);
+
+       assert(state != cur_state);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_n3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_bool_n3(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, &cur_state);
+       my_assert_ret(ret);
+
+
+       /* not support to set value */
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, state);
+       my_assert_ret(ret);
+
+       assert(state != cur_state);
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_n4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_bool_n4(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, &cur_state);
+       my_assert_ret(ret);
+
+       /* not support to set value */
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, state);
+       my_assert_ret(ret);
+
+       assert(state != cur_state);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_n5
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_bool_n5(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, &cur_state);
+       my_assert_ret(ret);
+
+
+       /* not support to set value */
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, state);
+       my_assert_ret(ret);
+
+       assert(state != cur_state);
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_string_n8
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_string_n8(void)
+{
+       int ret;
+       char *new_font = "DefaultFontName";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, new_font);
+       //my_assert_ret(ret);
+       assert_neq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+
+       char *ret_font = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, &ret_font);
+       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_n7
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_string_n7(void)
+{
+       int ret;
+       char *new_zone = "Asia/Seoul";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, new_zone);
+       my_assert_ret(ret);
+
+       char *ret_device = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, &ret_device);
+       my_assert_ret(ret);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_int_n1
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_int_n1(void)
+{
+       int ret;
+       int value  = 3600;
+       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_TIME_CHANGED, value);
+       my_assert_ret(ret);
+
+       int time_changed;
+       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_TIME_CHANGED, &time_changed);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * SYSTEM_SETTINGS_KEY_DEVICE_NAME
+ * check_SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API
+ */
+/**
+ * @testcase           utc_system_settings_set_value_string_n5
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the property in an exceptional-case. (not supported)
+ */
+RETTYPE utc_system_settings_set_value_string_n5(void)
+{
+       int ret;
+       char *new_device = "Tizen222";
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, new_device);
+       my_assert_ret(ret);
+
+       char *ret_device = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, &ret_device);
+
+       if (ret_device != NULL && 0 == strcmp(ret_device, new_device)) {
+               assert(0);
+       } else {
+               assert(1);
+       }
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the property in a normal-case.
+ */
+RETTYPE utc_system_settings_set_value_string_p2(void)
+{
+       int ret;
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, new_ringtonepath);
+       my_assert_ret(ret);
+
+       char *ret_ringtonepath = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, &ret_ringtonepath);
+
+       if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED)
+               RETURN(0);
+
+       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
+               assert(1);
+       } else {
+               assert(0);
+       }
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_p3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set the property in a normal-case.
+ */
+RETTYPE utc_system_settings_set_value_string_p3(void)
+{
+       int ret;
+       char *new_country = "ko_KR";
+
+       /* backup */
+       char *backup = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &backup);
+       my_assert_ret(ret);
+
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, new_country);
+       my_assert_ret(ret);
+
+       char *ret_country = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &ret_country);
+       my_assert_ret(ret);
+
+       if (ret_country != NULL && 0 == strcmp(ret_country, new_country)) {
+               assert(1);
+       } else {
+               assert(0);
+       }
+
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, backup);
+       my_assert_ret(ret);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_p4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to get the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the property in a normal-case.
+ */
+RETTYPE utc_system_settings_set_value_string_p4(void)
+{
+       int ret;
+       char *new_country = "ko_KR";
+
+       /* backup */
+       char *backup = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &backup);
+       my_assert_ret(ret);
+
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, new_country);
+       my_assert_ret(ret);
+
+       char *ret_country = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &ret_country);
+       my_assert_ret(ret);
+
+       if (ret_country != NULL && 0 == strcmp(ret_country, new_country)) {
+               assert(1);
+       } else {
+               printf("ret:%s new:%s not same\n", ret_country, new_country);
+               assert(0);
+       }
+
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, backup);
+       my_assert_ret(ret);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p1
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p1(void)
+{
+       int ret;
+
+       bool ret_state = false;
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p2(void)
+{
+       int ret;
+
+       bool ret_state = false;
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_n
+ * @since_tizen                2.3
+ * @description                check if system_settings_set_changed_cb is able to handle invalid parameters.
+ */
+RETTYPE utc_system_settings_set_changed_cb_n(void)
+{
+       int retcode = system_settings_set_changed_cb(-1, NULL, NULL);
+       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+
+/**
+ * @testcase           utc_system_settings_get_value_int_p4
+ * @since_tizen                3.0
+ * @description                check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to get the property.
+ */
+RETTYPE utc_system_settings_get_value_int_p4(void)
+{
+       int value = 0;
+       int nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE, &value);
+       my_assert_ret(nRetVal);
+       RETURN(0);
+}
+
+
+
+/**
+ * @testcase           utc_system_settings_set_value_int_p1
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_int_p1(void)
+{
+       int nRetVal =  system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 30);
+       my_assert_ret(nRetVal);
+
+       int value;
+       nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, &value);
+       //assert_eq(value, 30);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_int_n2
+ * @since_tizen                2.3
+ * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the properties with exceptional cases.
+ */
+RETTYPE utc_system_settings_set_value_int_n2(void)
+{
+       int ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, -5);
+       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+
+       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 601);
+       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+
+       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 0);
+       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p3
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p3(void)
+{
+       int ret;
+
+       bool ret_state = false;
+       bool cur_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p4
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p4(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p5
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p5(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p6
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p6(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p7
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p7(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p8
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p8(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p9
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p9(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p10
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p10(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p11
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS  is able to get the property.
+ *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS  is able to set the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p11(void)
+{
+       int ret;
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, &cur_state);
+       my_assert_ret(ret);
+
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_bool_p12
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_bool_p12(void)
+{
+       int ret;
+
+       /* get current state */
+       bool cur_state = false;
+       bool ret_state = false;
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &cur_state);
+       my_assert_ret(ret);
+
+       bool state = !cur_state;
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, state);
+       my_assert_ret(ret);
+
+       /* check current state */
+       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &ret_state);
+       my_assert_ret_eq_bool(ret, state, ret_state);
+
+       /* roll back */
+       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, cur_state);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_value_int_p2
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_int_p2(void)
+{
+       int ret = -1;
+       int backup;
+       int arr[] = {
+               SYSTEM_SETTINGS_FONT_SIZE_SMALL,
+               SYSTEM_SETTINGS_FONT_SIZE_NORMAL,
+               SYSTEM_SETTINGS_FONT_SIZE_LARGE,
+               SYSTEM_SETTINGS_FONT_SIZE_HUGE,
+               SYSTEM_SETTINGS_FONT_SIZE_GIANT
+       };
+
+       srand(time(NULL));
+       int size = sizeof(arr)/sizeof(arr[0]);
+       int sel = rand() % size;
+
+       /* backup */
+       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &backup);
+       my_assert_ret(ret);
+
+       /* change font at random */
+       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, sel);
+       my_assert_ret(ret);
+
+       /* check if selection and result are identical. */
+       int after;
+       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &after);
+       //assert_eq(sel, after);
+
+       /* roll back to backup */
+       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, backup);
+       my_assert_ret(ret);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_value_string_n6
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the property.
+ *                                     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to get the property.
+ */
+RETTYPE utc_system_settings_set_value_string_n6(void)
+{
+       int ret;
+       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, new_ringtonepath);
+       my_assert_ret(ret);
+       //assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
+
+       char *ret_ringtonepath = NULL;
+       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &ret_ringtonepath);
+
+       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
+               my_assert_ret(0);
+       } else {
+               my_assert_ret(1);
+       }
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_n
+ * @since_tizen                2.3
+ * @description                check if system_settings_unset_changed_cb is able to handle invalid parameters.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_n(void)
+{
+       int retcode = system_settings_unset_changed_cb(-1);
+       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
+       RETURN(0);
+}
+
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p27
+ * @since_tizen                3.0
+ * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p27(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p26
+ * @since_tizen                3.0
+ * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p26(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p29
+ * @since_tizen                3.0
+ * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p29(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p28
+ * @since_tizen                3.0
+ * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p28(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p31
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p31(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p30
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p30(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p33
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p33(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p32
+ * @since_tizen                2.3
+ * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_VIBRATION is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p32(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+static int cb_count;
+static bool system_setting_get_ringtone_list_cb(int index, const char* data, void *user_data)
+{
+       cb_count += 1;
+/*     printf("%s\n", (char*)data); */
+       return true;
+}
+
+RETTYPE utc_system_settings_add_ringtone_list_p1(void)
+{
+       int retcode = -1;
+       cb_count = 0;
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_foreach_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, system_setting_get_ringtone_list_cb, NULL);
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
+
+       my_assert_ret(retcode);
+       assert_eq(cb_count, 5);
+
+       RETURN(0);
+}
+
+/**
+ * @function           utc_system_settings_delete_ringtone_list_p1_startup
+ * @description                Called before each test
+ * @parameter          NA
+ * @return                     NA
+ */
+
+/* system_settings - del ringtone list */
+RETTYPE utc_system_settings_delete_ringtone_list_p1(void)
+{
+       int retcode = -1;
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
+       my_assert_ret(retcode);
+       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
+       my_assert_ret(retcode);
+
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
+       my_assert_ret(retcode);
+       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+#include <unistd.h> /* to use sleep */
+typedef struct __in_callback_test {
+       int call_cnt1;
+       int call_cnt2;
+} __in_callback_data;
+
+static void utc_system_settings_changed_multi_callback1(system_settings_key_e key, void *user_data)
+{
+       __in_callback_data *cb_data = (__in_callback_data*)user_data;
+       if (!cb_data)
+               return;
+       cb_data->call_cnt1++;
+}
+
+static void utc_system_settings_changed_multi_callback2(system_settings_key_e key, void *user_data)
+{
+       __in_callback_data *cb_data = (__in_callback_data*)user_data;
+       if (!cb_data)
+               return;
+       cb_data->call_cnt2++;
+}
+
+static gpointer test_multi_callback_thread(gpointer arg)
+{
+       int retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                utc_system_settings_changed_multi_callback1, arg);
+       my_assert_ret(retcode);
+
+       retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                utc_system_settings_changed_multi_callback1, arg);
+
+       /* not support same callback about 1 system-settings key */
+       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
+
+       retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                utc_system_settings_changed_multi_callback2, arg);
+
+       bool bk_state = false;
+       system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , &bk_state);
+
+       bool state = true;
+       system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , state);
+
+       sleep(1);
+
+       my_assert_ret(retcode);
+       retcode = system_settings_remove_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                utc_system_settings_changed_multi_callback1);
+       my_assert_ret(retcode);
+       retcode = system_settings_remove_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
+                                                                                                utc_system_settings_changed_multi_callback2);
+       my_assert_ret(retcode);
+
+       system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , bk_state);
+
+       return 0;
+
+}
+/**
+ * @testcase           utc_system_settings_add_changed_cb_p1
+ * @since_tizen                4.0
+ * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_add_changed_cb_p1(void)
+{
+       __in_callback_data *cb_data = calloc(sizeof(__in_callback_data), 1);
+       GThread *test_thread;
+
+       test_thread = g_thread_new(NULL, test_multi_callback_thread, cb_data);
+
+       g_thread_join(test_thread);
+       assert_eq(cb_data->call_cnt1, 1);
+       assert_eq(cb_data->call_cnt2, 1);
+       if (cb_data)
+               free(cb_data);
+
+       RETURN(0);
+}
+
+
+RETTYPE utc_system_settings_changed_callback_1(system_settings_key_e key, void *user_data)
+{
+       _callback_called = true;
+}
+
+RETTYPE utc_system_settings_changed_callback_2(system_settings_key_e key, void *user_data)
+{
+       _callback_called = true;
+}
+
+RETTYPE utc_system_settings_add_remove_changed_cb_p1(void)
+{
+       int retcode = 0;
+       int key_idx = 0;
+
+       for (key_idx = SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE; key_idx < SYSTEM_SETTINGS_KEY_MAX ; key_idx++) {
+               system_settings_changed_cb callback_1 = get_system_settings_test_callback();
+               system_settings_changed_cb callback_2 = get_system_settings_test_callback();
+
+               if (key_idx == SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED + 1)
+                       continue; /* skip removed system-setting key */
+
+               if (key_idx == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
+                       continue; /* skip not supported notification callback of system-setting key */
+
+               retcode = system_settings_add_changed_cb(key_idx,
+                                                                                                       callback_1, NULL);
+
+               if (retcode == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+                       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               } else {
+                       if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
+                               printf("ERROR !! key =%d , ret = %d\n", key_idx, retcode);
+               }
+
+               retcode = system_settings_remove_changed_cb(key_idx,
+                                                                                                       callback_1);
+
+               if (retcode == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
+                       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
+               } else {
+                       if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
+                               printf("ERROR !! key =%d , ret = %d\n", key_idx, retcode);
+               }
+
+               retcode = system_settings_add_changed_cb(key_idx,
+                                                                                                        callback_1, NULL);
+               my_assert_ret(retcode);
+
+               retcode = system_settings_add_changed_cb(key_idx,
+                                                                                                        callback_2, NULL);
+               my_assert_ret(retcode);
+
+               retcode = system_settings_remove_changed_cb(key_idx,
+                                                                                                       callback_1);
+               my_assert_ret(retcode);
+
+               retcode = system_settings_remove_changed_cb(key_idx,
+                                                                                                       callback_2);
+               my_assert_ret(retcode);
+       }
+
+       RETURN(0);
+}
+
+RETTYPE utc_system_settings_ads_id_p1(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = 0;
+       char *ret_ads_id = NULL;
+       retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, &ret_ads_id);
+
+       char *set_ads_id = "00000215-0156-0133-0034-000000000102";
+       retcode = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, set_ads_id);
+       my_assert_ret(retcode);
+
+       system_settings_set_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, ret_ads_id);
+       if (ret_ads_id)
+               free(ret_ads_id);
+
+       retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ADS_ID,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ADS_ID);
+       my_assert_ret(retcode);
+       RETURN(0);
+}
+
+RETTYPE utc_system_settings_lock_screen_app_p1(void)
+{
+       int retcode = 0;
+       char *ret_lock_screen_id = NULL;
+       retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, &ret_lock_screen_id);
+
+       char *set_lock_screen_id = "org.tizen.voice-control-panel";
+       retcode = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, set_lock_screen_id);
+       my_assert_ret(retcode);
+
+       system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, ret_lock_screen_id);
+       if (ret_lock_screen_id)
+               free(ret_lock_screen_id);
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p35
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p35(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p34
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p34(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p37
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p37(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p36
+ * @since_tizen                5.0
+ * @description     check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p36(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p39
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p39(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p38
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p38(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p41
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p41(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p40
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p40(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+/**
+ * @testcase           utc_system_settings_set_changed_cb_p43
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the callback for change-notification.
+ */
+RETTYPE utc_system_settings_set_changed_cb_p43(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
+                                                                                                callback, NULL);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+
+/**
+ * @testcase           utc_system_settings_unset_changed_cb_p42
+ * @since_tizen                5.5
+ * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the callback for change-notification.
+ *                  check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to unset the callback for change-notification.
+ */
+RETTYPE utc_system_settings_unset_changed_cb_p42(void)
+{
+       system_settings_changed_cb callback = get_system_settings_test_callback();
+       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
+                                                                                                callback, NULL);
+
+       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED);
+       my_assert_ret(retcode);
+
+       RETURN(0);
+}
+
+void unittest_api()
+{
+       /* hook up your test functions */
+       g_test_add_func("/utc_system_settings_add_changed_cb_p1", utc_system_settings_add_changed_cb_p1);
+       g_test_add_func("/utc_system_settings_add_remove_changed_cb_p1", utc_system_settings_add_remove_changed_cb_p1);
+       g_test_add_func("/utc_system_settings_ads_id_p1", utc_system_settings_ads_id_p1);
+       add_test_func("/utc_system_settings_lock_screen_app_p1", utc_system_settings_lock_screen_app_p1);
+       add_test_func("/utc_system_settings_get_value_string_p1", utc_system_settings_get_value_string_p1);
+       add_test_func("/utc_system_settings_get_value_string_p2", utc_system_settings_get_value_string_p2);
+       add_test_func("/utc_system_settings_get_value_string_p3", utc_system_settings_get_value_string_p3);
+       add_test_func("/utc_system_settings_get_value_string_p4", utc_system_settings_get_value_string_p4);
+       add_test_func("/utc_system_settings_get_value_string_p5", utc_system_settings_get_value_string_p5);
+       add_test_func("/utc_system_settings_get_value_string_p7", utc_system_settings_get_value_string_p7);
+       add_test_func("/utc_system_settings_get_value_string_p6", utc_system_settings_get_value_string_p6);
+       add_test_func("/utc_system_settings_get_value_string_p10", utc_system_settings_get_value_string_p10);
+       add_test_func("/utc_system_settings_get_value_string_p8", utc_system_settings_get_value_string_p8);
+       add_test_func("/utc_system_settings_get_value_string_p9", utc_system_settings_get_value_string_p9);
+       add_test_func("/utc_system_settings_get_value_string_p11", utc_system_settings_get_value_string_p11);
+       add_test_func("/utc_system_settings_get_value_string_n", utc_system_settings_get_value_string_n);
+       add_test_func("/utc_system_settings_get_value_bool_p1", utc_system_settings_get_value_bool_p1);
+       add_test_func("/utc_system_settings_get_value_bool_p2", utc_system_settings_get_value_bool_p2);
+       add_test_func("/utc_system_settings_get_value_bool_p3", utc_system_settings_get_value_bool_p3);
+       add_test_func("/utc_system_settings_get_value_bool_p4", utc_system_settings_get_value_bool_p4);
+       add_test_func("/utc_system_settings_get_value_bool_p5", utc_system_settings_get_value_bool_p5);
+       add_test_func("/utc_system_settings_get_value_bool_p6", utc_system_settings_get_value_bool_p6);
+       add_test_func("/utc_system_settings_get_value_bool_p7", utc_system_settings_get_value_bool_p7);
+       add_test_func("/utc_system_settings_get_value_bool_p8", utc_system_settings_get_value_bool_p8);
+       add_test_func("/utc_system_settings_get_value_bool_p9", utc_system_settings_get_value_bool_p9);
+       add_test_func("/utc_system_settings_get_value_bool_p10", utc_system_settings_get_value_bool_p10);
+       add_test_func("/utc_system_settings_get_value_bool_p11", utc_system_settings_get_value_bool_p11);
+       add_test_func("/utc_system_settings_get_value_bool_p12", utc_system_settings_get_value_bool_p12);
+       add_test_func("/utc_system_settings_get_value_bool_p13", utc_system_settings_get_value_bool_p13);
+       add_test_func("/utc_system_settings_get_value_bool_p14", utc_system_settings_get_value_bool_p14);
+       add_test_func("/utc_system_settings_get_value_bool_n", utc_system_settings_get_value_bool_n);
+       add_test_func("/utc_system_settings_get_value_int_p1", utc_system_settings_get_value_int_p1);
+       add_test_func("/utc_system_settings_get_value_int_p2", utc_system_settings_get_value_int_p2);
+       add_test_func("/utc_system_settings_get_value_n", utc_system_settings_get_value_n);
+       add_test_func("/utc_system_settings_get_value_int_p3", utc_system_settings_get_value_int_p3);
+       add_test_func("/utc_system_settings_get_value_int_p4", utc_system_settings_get_value_int_p4);
+       g_test_add_func("/utc_system_settings_set_value_string_n2", utc_system_settings_set_value_string_n2);
+       g_test_add_func("/utc_system_settings_set_value_string_n3", utc_system_settings_set_value_string_n3);
+       g_test_add_func("/utc_system_settings_set_value_string_n4", utc_system_settings_set_value_string_n4);
+       add_test_func("/utc_system_settings_set_value_string_n5", utc_system_settings_set_value_string_n5);
+       g_test_add_func("/utc_system_settings_set_value_string_n7", utc_system_settings_set_value_string_n7);
+       add_test_func("/utc_system_settings_set_value_string_n8", utc_system_settings_set_value_string_n8);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p1", utc_system_settings_set_changed_cb_p1);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p1", utc_system_settings_unset_changed_cb_p1);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p2", utc_system_settings_set_changed_cb_p2);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p2", utc_system_settings_unset_changed_cb_p2);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p3", utc_system_settings_set_changed_cb_p3);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p3", utc_system_settings_unset_changed_cb_p3);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p4", utc_system_settings_set_changed_cb_p4);
+       g_test_add_func("/utc_system_settings_LOCK_SCREEN_unset_changed_cb_p", utc_system_settings_LOCK_SCREEN_unset_changed_cb_p);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p5", utc_system_settings_set_changed_cb_p5);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p4", utc_system_settings_unset_changed_cb_p4);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p6", utc_system_settings_set_changed_cb_p6);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p5", utc_system_settings_unset_changed_cb_p5);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p7", utc_system_settings_set_changed_cb_p7);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p6", utc_system_settings_unset_changed_cb_p6);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p8", utc_system_settings_set_changed_cb_p8);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p7", utc_system_settings_unset_changed_cb_p7);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p9", utc_system_settings_set_changed_cb_p9);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p8", utc_system_settings_unset_changed_cb_p8);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p10", utc_system_settings_set_changed_cb_p10);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p9", utc_system_settings_unset_changed_cb_p9);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p11", utc_system_settings_set_changed_cb_p11);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p10", utc_system_settings_unset_changed_cb_p10);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p12", utc_system_settings_set_changed_cb_p12);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p11", utc_system_settings_unset_changed_cb_p11);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p13", utc_system_settings_set_changed_cb_p13);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p12", utc_system_settings_unset_changed_cb_p12);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p14", utc_system_settings_set_changed_cb_p14);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p13", utc_system_settings_unset_changed_cb_p13);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p15", utc_system_settings_set_changed_cb_p15);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p14", utc_system_settings_unset_changed_cb_p14);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p16", utc_system_settings_set_changed_cb_p16);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p15", utc_system_settings_unset_changed_cb_p15);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p17", utc_system_settings_set_changed_cb_p17);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p16", utc_system_settings_unset_changed_cb_p16);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p18", utc_system_settings_set_changed_cb_p18);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p17", utc_system_settings_unset_changed_cb_p17);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p19", utc_system_settings_set_changed_cb_p19);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p18", utc_system_settings_unset_changed_cb_p18);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p20", utc_system_settings_set_changed_cb_p20);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p19;", utc_system_settings_unset_changed_cb_p19);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p21", utc_system_settings_set_changed_cb_p21);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p20", utc_system_settings_unset_changed_cb_p20);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p22", utc_system_settings_set_changed_cb_p22);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p21", utc_system_settings_unset_changed_cb_p21);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p23", utc_system_settings_set_changed_cb_p23);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p22", utc_system_settings_unset_changed_cb_p22);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p24", utc_system_settings_set_changed_cb_p24);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p23", utc_system_settings_unset_changed_cb_p23);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p25", utc_system_settings_set_changed_cb_p25);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p24", utc_system_settings_unset_changed_cb_p24);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p27", utc_system_settings_set_changed_cb_p27);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p26", utc_system_settings_unset_changed_cb_p26);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p29", utc_system_settings_set_changed_cb_p29);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p28", utc_system_settings_unset_changed_cb_p28);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p31", utc_system_settings_set_changed_cb_p31);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p30", utc_system_settings_unset_changed_cb_p30);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p33", utc_system_settings_set_changed_cb_p33);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p32", utc_system_settings_unset_changed_cb_p32);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p35", utc_system_settings_set_changed_cb_p35);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p34", utc_system_settings_unset_changed_cb_p34);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p37", utc_system_settings_set_changed_cb_p37);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p36", utc_system_settings_unset_changed_cb_p36);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p39", utc_system_settings_set_changed_cb_p39);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p38", utc_system_settings_unset_changed_cb_p38);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p41", utc_system_settings_set_changed_cb_p41);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p40", utc_system_settings_unset_changed_cb_p40);
+       g_test_add_func("/utc_system_settings_set_changed_cb_p43", utc_system_settings_set_changed_cb_p43);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_p42", utc_system_settings_unset_changed_cb_p42);
+       g_test_add_func("/utc_system_settings_add_ringtone_list_p1", utc_system_settings_add_ringtone_list_p1);
+       g_test_add_func("/utc_system_settings_delete_ringtone_list_p1", utc_system_settings_delete_ringtone_list_p1);
+       add_test_func("/utc_system_settings_set_value_string_p1", utc_system_settings_set_value_string_p1);
+       add_test_func("/utc_system_settings_set_value_string_p2", utc_system_settings_set_value_string_p2);
+       g_test_add_func("/utc_system_settings_set_value_string_p3", utc_system_settings_set_value_string_p3);
+       g_test_add_func("/utc_system_settings_set_value_string_p4", utc_system_settings_set_value_string_p4);
+       add_test_func("/utc_system_settings_set_value_bool_n1", utc_system_settings_set_value_bool_n1);
+       add_test_func("/utc_system_settings_set_value_bool_n4", utc_system_settings_set_value_bool_n4);
+       add_test_func("/utc_system_settings_set_value_bool_n5", utc_system_settings_set_value_bool_n5);
+       add_test_func("/utc_system_settings_set_value_bool_p1", utc_system_settings_set_value_bool_p1);
+       add_test_func("/utc_system_settings_set_value_bool_p2", utc_system_settings_set_value_bool_p2);
+       add_test_func("/utc_system_settings_set_value_int_n1", utc_system_settings_set_value_int_n1);
+       g_test_add_func("/utc_system_settings_set_changed_cb_n", utc_system_settings_set_changed_cb_n);
+       add_test_func("/utc_system_settings_set_value_int_p1", utc_system_settings_set_value_int_p1);
+       add_test_func("/utc_system_settings_set_value_int_n2", utc_system_settings_set_value_int_n2);
+       add_test_func("/utc_system_settings_set_value_bool_p3", utc_system_settings_set_value_bool_p3);
+       add_test_func("/utc_system_settings_set_value_bool_p4", utc_system_settings_set_value_bool_p4);
+       add_test_func("/utc_system_settings_set_value_bool_p5", utc_system_settings_set_value_bool_p5);
+       add_test_func("/utc_system_settings_set_value_bool_p6", utc_system_settings_set_value_bool_p6);
+       add_test_func("/utc_system_settings_set_value_bool_p7", utc_system_settings_set_value_bool_p7);
+       add_test_func("/utc_system_settings_set_value_bool_p8", utc_system_settings_set_value_bool_p8);
+       add_test_func("/utc_system_settings_set_value_bool_p9", utc_system_settings_set_value_bool_p9);
+       add_test_func("/utc_system_settings_set_value_bool_p10", utc_system_settings_set_value_bool_p10);
+       add_test_func("/utc_system_settings_set_value_bool_p11", utc_system_settings_set_value_bool_p11);
+       add_test_func("/utc_system_settings_set_value_bool_p12", utc_system_settings_set_value_bool_p12);
+       add_test_func("/utc_system_settings_set_value_int_p2", utc_system_settings_set_value_int_p2);
+       add_test_func("/utc_system_settings_set_value_string_n6", utc_system_settings_set_value_string_n6);
+       g_test_add_func("/utc_system_settings_unset_changed_cb_n", utc_system_settings_unset_changed_cb_n);
+}
+
diff --git a/tests/sys_settings_test.h b/tests/sys_settings_test.h
new file mode 100644 (file)
index 0000000..c701717
--- /dev/null
@@ -0,0 +1,102 @@
+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#pragma once
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#ifndef GLIB_MODE
+#define assert(exp) \
+    do { \
+        if (!(exp)) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert Fail; Following expression is not true: %s\\n", \
+                __FILE__, __LINE__, #exp); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_eq(var, ref) \
+    do { \
+        if (var != ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) and (%s == 0x%x) are not equal\\n", \
+                __FILE__, __LINE__, #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_neq(var, ref) \
+    do { \
+        if (var == ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) and (%s == 0x%x) are equal\\n", \
+                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_gt(var, ref) \
+    do { \
+        if (var <= ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not greater than (%s == 0x%x)\\n", \
+            __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_geq(var, ref) \
+    do { \
+        if (var < ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not greater than or equal to (%s == 0x%x)\\n", \
+                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_lt(var, ref) \
+    do { \
+        if (var >= ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not lower than (%s == 0x%x)\\n", \
+                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#define assert_leq(var, ref) \
+    do { \
+        if (var > ref) { \
+            fprintf(stderr, \
+                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not lower than or equal to (%s == 0x%x)\\n", \
+            __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
+            return 1; \
+        } \
+    } while (0)
+
+#else //GLIB_MODE
+
+#define assert(exp) g_assert(exp)
+#define assert_eq(var, ref)    g_assert(var == ref)
+#define assert_neq(var, ref) g_assert(var != ref)
+#define assert_gt(var, ref)  g_assert(var > ref)
+#define assert_geq(var, ref) g_assert(var >= ref)
+#define assert_lt(var, ref)  g_assert(var < ref)
+#define assert_leq(var, ref) g_assert(var <= ref)
+
+#endif //GLIB_MODE
diff --git a/tests/sys_settings_test_fw.c b/tests/sys_settings_test_fw.c
new file mode 100644 (file)
index 0000000..f4a4cd4
--- /dev/null
@@ -0,0 +1,132 @@
+/*
+ * Copyright (c) 2017-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include "sys_settings_test_fw.h"
+
+typedef struct __thread_test_table {
+       char * test_name;
+       GTestFunc t_func;
+} thread_test_node;
+
+static GThread *my_thread = NULL;
+static GMainLoop *main_loop = NULL;
+static thread_test_node thread_test_table[1000] = {0};
+static int thread_test_idx = 0;
+static int loop = 100;
+static int thread_sw = 1;
+
+void *thread_function(void *data)
+{
+       int cnt = 0;
+       int test_idx = (int)data;
+
+       while (thread_sw) {
+               if (cnt > loop)
+                       break;
+               cnt++;
+               thread_test_table[test_idx].t_func();
+               sleep(0);
+       }
+
+       return 0;
+
+}
+
+static GThread **unit_test_thread_start(int test_num)
+{
+       int i;
+       GThread **thread_list = (GThread **)calloc(sizeof(GThread*), N_THREADS);
+       for (i = 0; i < N_THREADS; i++) {
+               thread_list[i] = g_thread_new(NULL, thread_function, (void*)test_num);
+       }
+       return thread_list;
+}
+
+static void unit_test_thread_stop(GThread **thread_list)
+{
+       int i;
+       for (i = 0; i < N_THREADS; i++) {
+               g_thread_join(thread_list[i]);
+       }
+
+       g_free(thread_list);
+}
+
+static void unit_thread_test()
+{
+       int i;
+       GThread **thread_test[MAX_TEST_CASE];
+
+       printf("START!!!! thread test for system-settings %d tests\n", thread_test_idx);
+
+       thread_sw = 1;
+       for (i = 0; i < thread_test_idx; i++) {
+               thread_test[i] = unit_test_thread_start(i);
+               printf("%3d %s:start!\n", i, thread_test_table[i].test_name);
+
+               unit_test_thread_stop(thread_test[i]);
+               printf("%3d %s:OK\n", i, thread_test_table[i].test_name);
+       }
+
+       printf("END!!!! thread test for system-settings\n");
+}
+
+static gpointer loop_func(gpointer data)
+{
+       g_main_loop_run(main_loop);
+       return NULL;
+}
+
+static void start_main_loop_thread()
+{
+       my_thread = g_thread_new(NULL, loop_func, NULL);
+}
+
+static void stop_main_loop_thread()
+{
+       g_main_loop_quit(main_loop);
+       g_thread_join(my_thread);
+       g_main_loop_unref(main_loop);
+}
+
+
+int main(int argc, char* argv[])
+{
+       main_loop = g_main_loop_new(NULL, FALSE);
+
+       g_test_init(&argc, &argv, NULL);
+       g_test_set_nonfatal_assertions();
+
+       start_main_loop_thread();
+
+       unittest_api();
+
+       g_test_run();
+       unit_thread_test();
+
+       stop_main_loop_thread();
+       return 0;
+}
+
+void add_test_func(char * test_name,  GTestFunc func_pointer)
+{
+       g_test_add_func(test_name, func_pointer);
+
+       thread_test_table[thread_test_idx].test_name = test_name;
+       thread_test_table[thread_test_idx].t_func = func_pointer;
+
+       thread_test_idx++;
+}
+
diff --git a/tests/sys_settings_test_fw.h b/tests/sys_settings_test_fw.h
new file mode 100644 (file)
index 0000000..c3d9ddb
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2017-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __UNIT_TEST_FW__
+#define __UNIT_TEST_FW__
+
+#define GLIB_MODE
+
+#include <stdio.h>
+#include <glib.h>
+#include <unistd.h>
+
+#include "sys_settings_test.h"
+
+void add_test_func(char * test_name,  GTestFunc func_pointer);
+void unittest_api();
+
+#ifndef SYS_SETTINGS_TEST_DIR
+#define SYS_SETTINGS_TEST_DIR "/usr/bin/sys-settings"
+#warning "SYS_SETTINGS_TEST_DIR is redefined"
+#endif
+
+#ifdef GLIB_MODE
+#define RETTYPE void
+#define RETURN(a) return
+#else
+#define RETTYPE int
+#define RETURN(a) return a
+#endif
+
+#ifndef N_THREADS
+#define N_THERADS 0
+#endif
+
+#define MAX_TEST_CASE 1000
+
+#endif
diff --git a/unit_test/CMakeLists.txt b/unit_test/CMakeLists.txt
deleted file mode 100755 (executable)
index f74b9ca..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-SET(fw_name "capi-system-system-settings")
-SET(unit_test "system-setting-unittest")
-
-SET(requires "dlog vconf fontconfig libxml-2.0 sqlite3 pkgmgr pkgmgr-info alarm-service capi-media-metadata-extractor aul json-glib-1.0 capi-appfw-app-manager capi-appfw-package-manager capi-system-info glib-2.0")
-
-PROJECT(${unit_test})
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(${fw_name} REQUIRED ${requires})
-FOREACH(flag ${${fw_name}_CFLAGS})
-    SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(${unit_test} REQUIRED ${requires})
-FOREACH(flag ${${unit_test}_CFLAGS})
-       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-#=======================================================================================#
-SET(VCONF_MOCK "vconf-mock")
-SET(VCONF_MOCK_SRCS src/vconf.cpp )
-SET(VCONF_MOCK_CFLAGS "${CMAKE_C_FLAGS}" )
-ADD_LIBRARY(${VCONF_MOCK} SHARED ${VCONF_MOCK_SRCS})
-SET_TARGET_PROPERTIES(${VCONF_MOCK} PROPERTIES
-    COMPILE_FLAGS ${VCONF_MOCK_CFLAGS}
-)
-#=======================================================================================#
-SET(PKGMGR_INFO_MOCK "pkgmgr-info-mock")
-SET(PKGMGR_INFO_MOCK_SRCS src/pkgmgrinfo_appinfo.c )
-SET(PKGMGR_INFO_MOCK_CFLAGS "${CMAKE_C_FLAGS}" )
-ADD_LIBRARY(${PKGMGR_INFO_MOCK} SHARED ${PKGMGR_INFO_MOCK_SRCS})
-SET_TARGET_PROPERTIES(${PKGMGR_INFO_MOCK} PROPERTIES
-    COMPILE_FLAGS ${PKGMGR_INFO_MOCK_CFLAGS}
-)
-#=======================================================================================#
-SET(EFL_EXTENSION_INFO_MOCK "efl-extension-mock")
-SET(EFL_EXTENSION_INFO_MOCK_SRCS src/efl-extension.c )
-SET(EFL_EXTENSION_INFO_MOCK_CFLAGS "${CMAKE_C_FLAGS}" )
-ADD_LIBRARY(${EFL_EXTENSION_INFO_MOCK} SHARED ${EFL_EXTENSION_INFO_MOCK_SRCS})
-SET_TARGET_PROPERTIES(${EFL_EXTENSION_INFO_MOCK} PROPERTIES
-    COMPILE_FLAGS ${EFL_EXTENSION_INFO_MOCK_CFLAGS}
-)
-#=======================================================================================#
-SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
-ADD_DEFINITIONS("-DN_THREADS=${N_THREADS}")
-ADD_EXECUTABLE(${unit_test} src/unit_test.c
-                                                       src/unit_test_fw.c)
-
-TARGET_LINK_LIBRARIES(${unit_test} ${fw_name} "-ldl")
-INSTALL(TARGETS ${unit_test} DESTINATION /usr/local/bin)
-
diff --git a/unit_test/include/unit_test_assert.h b/unit_test/include/unit_test_assert.h
deleted file mode 100755 (executable)
index 93f54c5..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-#ifndef _ASSERT_H_
-#define _ASSERT_H_
-#include <stdio.h>
-#include <stdlib.h>
-
-#ifndef GLIB_MODE
-#define assert(exp) \
-    do { \
-        if (!(exp)) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert Fail; Following expression is not true: %s\\n", \
-                __FILE__, __LINE__, #exp); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_eq(var, ref) \
-    do { \
-        if (var != ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) and (%s == 0x%x) are not equal\\n", \
-                __FILE__, __LINE__, #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_neq(var, ref) \
-    do { \
-        if (var == ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) and (%s == 0x%x) are equal\\n", \
-                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_gt(var, ref) \
-    do { \
-        if (var <= ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not greater than (%s == 0x%x)\\n", \
-            __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_geq(var, ref) \
-    do { \
-        if (var < ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not greater than or equal to (%s == 0x%x)\\n", \
-                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_lt(var, ref) \
-    do { \
-        if (var >= ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not lower than (%s == 0x%x)\\n", \
-                __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#define assert_leq(var, ref) \
-    do { \
-        if (var > ref) { \
-            fprintf(stderr, \
-                "\\n[TCT][%s][Line : %d] Assert fail; Values (%s == 0x%x) is not lower than or equal to (%s == 0x%x)\\n", \
-            __FILE__, __LINE__,  #var, (int)var, #ref, (int)ref); \
-            return 1; \
-        } \
-    } while (0)
-
-#else //GLIB_MODE
-
-#define assert(exp) g_assert(exp)
-#define assert_eq(var, ref)    g_assert(var == ref)
-#define assert_neq(var, ref) g_assert(var != ref)
-#define assert_gt(var, ref)  g_assert(var > ref)
-#define assert_geq(var, ref) g_assert(var >= ref)
-#define assert_lt(var, ref)  g_assert(var < ref)
-#define assert_leq(var, ref) g_assert(var <= ref)
-
-#endif //GLIB_MODE
-
-#endif //  _ASSERT_H_
diff --git a/unit_test/include/unit_test_fw.h b/unit_test/include/unit_test_fw.h
deleted file mode 100644 (file)
index d4de420..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef __UNIT_TEST_FW__
-#define __UNIT_TEST_FW__
-
-#define GLIB_MODE
-
-#include <stdio.h>
-#include <glib.h>
-#include <unistd.h>
-
-#include <unit_test_assert.h>
-
-void add_test_func(char * test_name,  GTestFunc func_pointer);
-void unittest_api();
-
-#ifdef GLIB_MODE
-#define RETTYPE void
-#define RETURN(a) return
-#else
-#define RETTYPE int
-#define RETURN(a) return a
-#endif
-
-#ifndef N_THREADS
-#define N_THERADS 0
-#endif
-
-#define MAX_TEST_CASE 1000
-
-#endif
diff --git a/unit_test/resource/ringtone_sdk.mp3 b/unit_test/resource/ringtone_sdk.mp3
deleted file mode 100644 (file)
index f159e35..0000000
Binary files a/unit_test/resource/ringtone_sdk.mp3 and /dev/null differ
diff --git a/unit_test/run_coverage.sh b/unit_test/run_coverage.sh
deleted file mode 100755 (executable)
index 2191fb4..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/bash
-pushd ../
-RootDir=$PWD
-popd
-
-createVconfDb() {
-    pushd script
-    ./convert_vconf_script_to_sql.sh
-
-    if [ ! -f vconf.db ]
-    then
-        echo "vconf.db create failed!"
-        exit -1
-    fi
-
-    cp vconf.db ../
-    popd
-}
-
-
-if [ ! -f vconf.db ]
-then
-    createVconfDb
-fi
-
-#========================================================================================
-# /etc/config/model-config.xml <= tm1
-system_info_init_db -k "tizen.org/feature/profile" -t string -g platform -v "mobile"
-system_info_init_db -k "tizen.org/feature/systemsetting.incoming_call" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/systemsetting.home_screen" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/systemsetting.lock_screen" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/systemsetting.notification_email" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/network.wifi" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/systemsetting.font" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/network.telephony" -t bool -g platform -v true
-system_info_init_db -k "tizen.org/feature/accessibility.grayscale" -t bool -g platform -v false
-system_info_init_db -k "tizen.org/feature/accessibility.negative" -t bool -g platform -v false
-system_info_init_db -k "tizen.org/feature/input.rotating_bezel" -t bool -g platform -v false
-#========================================================================================
-
-#========================================================================================
-# Causion : Need to root permission
-#========================================================================================
-cp -f ../system-settings-util/libsystem-settings-util.so* /usr/lib
-
-echo "link [/opt/etc/localtime]"
-ln -sf /etc/localtime /opt/etc/localtime
-
-if [ -f /usr/lib/libefl-extension.so.0 ]
-then
-    cp -f /usr/lib/libefl-extension.so.0 /usr/lib/libefl-extension.so.0.back
-fi
-cp -f ./libefl-extension.so.0 /usr/lib/libefl-extension.so.0
-
-#========================================================================================
-# Dummy MP3 File List
-#========================================================================================
-mkdir -p "/opt/usr/data/settings/Ringtones"
-touch "/opt/usr/data/settings/Ringtones/ringtone_sdk.mp3"
-
-mkdir -p "/opt/usr/data/settings/Alerts"
-touch "/opt/usr/data/settings/Alerts/Over the horizon.mp3"
-
-mkdir -p "/opt/usr/share/"
-touch "/opt/usr/share/ringtone_sdk.mp3"
-
-mkdir -p "/opt/usr/test"
-touch "/opt/usr/test/big_buck_bunny.mp4"
-touch "/opt/usr/test/daliTestVideo.mp4"
-touch "/opt/usr/test/sound_5.wav"
-touch "/opt/usr/test/tct-content-tizen-tests_video.mp4"
-#========================================================================================
-
-unitTestFile=system-setting-unittest
-if [ ! -x  "${unitTestFile}" ]
-then
-    echo "${unitTestFile} file does not exist!"
-    exit -1
-fi
-
-LD_PRELOAD=./libvconf-mock.so:./libpkgmgr-info-mock.so ./${unitTestFile}
-
-#========================================================================================
-# Causion : Need to root permission
-#========================================================================================
-if [ -f /usr/lib/libefl-extension.so.0.back ]
-then
-    cp -f /usr/lib/libefl-extension.so.0.back /usr/lib/libefl-extension.so.0
-fi
-#========================================================================================
-
-CMakeDir=${RootDir}/CMakeFiles/capi-system-system-settings.dir/src
-CoverageDir=${RootDir}/coverage
-
-pushd $CMakeDir
-    for obj in `ls *.o`
-    do
-        gcov -b -c $obj
-    done
-
-    if [ -f /usr/bin/lcov ]
-    then
-        lcov -c -d . -o cov.info
-        genhtml cov.info -o ${CoverageDir}
-        echo "Coverage test result created! [${CoverageDir}]"
-    else
-        echo "lcov does not exist!"
-    fi
-popd
-
diff --git a/unit_test/script/convert_vconf_script_to_sql.sh b/unit_test/script/convert_vconf_script_to_sql.sh
deleted file mode 100755 (executable)
index 602ea9d..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/bash
-
-
-db_name=vconf.db
-tableName=vconf
-
-vconf_internal_keys_script=./vconf_all.sh
-vconf_internal_keys_script_copy=./vconf_all_copy.sh
-dbScriptFile=vconf.sql
-
-create_table(){
-
-sqlite3 $db_name << EOF
-DROP TABLE IF EXISTS ${tableName};
-
-CREATE TABLE IF NOT EXISTS ${tableName} (
-layer CHAR NOT NULL,
-key CHAR NOT NULL,
-value CHAR,
-type CHAR,
-read_privilege,
-write_privilege,
-PRIMARY KEY ( layer, key )
-);
-
-PRAGMA synchronous=OFF;
-PRAGMA count_changes=OFF;
-PRAGMA journal_mode=MEMORY;
-PRAGMA temp_store=MEMORY;
-EOF
-
-}
-
-create_insert_script(){
-
-if [ ! -f "${vconf_internal_keys_script}" ]
-then
-       echo "vconf-internal-keys script not found! [${vconf_internal_keys_script}]"
-       exit -1;
-fi
-
-       cp -f ${vconf_internal_keys_script} ${vconf_internal_keys_script_copy}
-
-       cat /dev/null > ${dbScriptFile}
-
-       echo "BEGIN TRANSACTION;" >> ${dbScriptFile}
-
-       # sed -i 's/General notification/General_notification/g' ${vconf_internal_keys_script_copy}
-       sed -i 's/ create-string / \"string\" /g' ${vconf_internal_keys_script_copy}
-       sed -i 's/ create-int32 / \"int32\" /g' ${vconf_internal_keys_script_copy}
-       sed -i 's/ create-bool / \"bool\" /g' ${vconf_internal_keys_script_copy}
-
-       sed -i 's/\${TZ_SYS_GLOBALUSER_DATA}/\/opt\/usr\/data/g' ${vconf_internal_keys_script_copy}
-
-       cat vconf_all_copy.sh | grep buxton2ctl | awk -v tableName=$tableName -F'\"' '{ printf "INSERT INTO %s ( layer, key, value, type, read_privilege, write_privilege ) values ( \"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\" );\n", tableName, $4, $6, $8, $2, $10, $12 }' > ${dbScriptFile}
-
-       echo "COMMIT TRANSACTION;"
-
-       echo "sqlite insert table!"
-       sqlite3 $db_name < ${dbScriptFile}
-       echo "sqlite insert end!"
-}
-
-
-main(){
-    create_table
-       create_insert_script
-}
-
-main $*
diff --git a/unit_test/script/unit_test_gdb_script b/unit_test/script/unit_test_gdb_script
deleted file mode 100644 (file)
index e04a506..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-set pagination off
-set logging file /opt/usr/share/unit_test_gdb_logs.txt
-set logging on
-set confirm off
-file /usr/local/bin/system-setting-unittest
-r # run it once
-break exit
-commands
-run
-end
-set logging off
-#quit
diff --git a/unit_test/script/unittest.sh b/unit_test/script/unittest.sh
deleted file mode 100755 (executable)
index 22d90ea..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/bash
-
-PWD=`pwd`
-RPATH=$1
-
-SPECPATH=`find . -name *.spec`
-
-APP=`cat $SPECPATH  | grep Name: | awk '{ print $2 }'`
-VER1=`cat $SPECPATH  | grep "^Version:" | awk '{ print $2 }'`
-REL=`cat $SPECPATH  | grep Release: | awk '{ print $2 }'`
-VER=$VER1-$REL
-ARCH=$2
-VERSHORT=${VER%-*}             # 1.2.3
-
-THREAD_NUM=$3
-GDB_TEST=$4
-
-if [ -z $RPATH ]; then
-       echo "argument error : 1st arg is path "
-       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
-       exit 1
-fi
-
-if [ -z $ARCH ]; then
-       echo "argument error : 3th arg is Version"
-       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
-       exit 1
-fi
-
-if [ -z $THREAD_NUM ]; then
-       sudo gbs build -A $ARCH --include-all --define "run_tests 1" || exit 1
-else
-       sudo gbs build -A $ARCH --include-all --define "run_tests 1" --define "thread_number $THREAD_NUM" || exit 1
-fi
-
-# ex ) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l 5
-
-RPM_ROOT=$RPATH
-
-sudo mkdir -p /usr/src/packages/BUILD/$APP-$VERSHORT
-sudo cp -rf . /usr/src/packages/BUILD/$APP-$VERSHORT
-
-sudo mkdir -p /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
-sudo cp -rf . /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
-
-SDB=/usr/bin/sdb
-GDB_SCRIPT=$PWD/unit_test/script/unit_test_gdb_script
-UNIT_TEST_RESOURCE=$PWD/unit_test/resource/*
-$SDB root on
-$SDB shell mount -o remount,rw /
-$SDB push $RPM_ROOT/$APP-$VER.$ARCH.rpm /opt
-$SDB push $RPM_ROOT/$APP-debuginfo-$VER.$ARCH.rpm /opt
-$SDB push $RPM_ROOT/$APP-debugsource-$VER.$ARCH.rpm /opt
-$SDB push $GDB_SCRIPT /usr/local/bin
-$SDB push $UNIT_TEST_RESOURCE /opt/usr/share
-
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-$VER.$ARCH.rpm
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debuginfo-$VER.$ARCH.rpm
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debugsource-$VER.$ARCH.rpm
-
-echo "UNIT TEST----------------------------------------------------"
-export GCOV_PREFIX=/opt
-
-if [ -z $GDB_TEST]; then
-$SDB shell su - -c "G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 /usr/local/bin/system-setting-unittest"
-else
-$SDB shell su - -c "G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 gdb -x /usr/local/bin/unit_test_gdb_script"
-fi
-
-echo "COVERAGE TEST----------------------------------------------------"
-sdb pull /usr/src/packages/BUILD/$APP-$VERSHORT/
-rm -rf ./CMakeFiles/system-setting-unittest.dir
-rm -rf ./CMakeFiles/capi-system-system-settings.dir/src/system_setting_unittest.*
-lcov -c -d ./CMakeFiles/$APP.dir/ -o $APP.info
-lcov -c -d ./system-settings-util/CMakeFiles/system-settings-util.dir -o $APP.util.info
-
-VAR1="/usr/src/packages/BUILD/$APP-$VERSHORT"
-VAR2="/usr/include"
-GBS_INCLUDE="$HOME/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include"
-sed -i "s#$VAR1#$PWD#g" $APP.info
-sed -i "s#$VAR2#$GBS_INCLUDE#g" $APP.info
-sed -i "s#$VAR1#$PWD#g" $APP.util.info
-sed -i "s#$VAR2#$GBS_INCLUDE#g" $APP.util.info
-echo "sed -i \"s#$VAR1#$PWD#g\" $APP.info"
-
-echo "genhtml $APP.info $APP.util.info -o out"
-rm -rf out
-genhtml $APP.info $APP.util.info -o out
-find . -name "CMakeFiles" -type d -prune -exec rm -rf '{}' '+'
-rm $APP.info $APP.util.info
-sudo rm -rf /usr/src/packages/BUILD/$APP-$VERSHORT
-sudo rm -rf /home/abuild/rpmbuild/BUILD/$APP-$VERSHORT
diff --git a/unit_test/script/unittest2.sh b/unit_test/script/unittest2.sh
deleted file mode 100755 (executable)
index 8c4b58f..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-RPATH=$1
-
-SPECPATH=`find . -name *.spec`
-
-APP=`cat $SPECPATH  | grep Name: | awk '{ print $2 }'`
-VER1=`cat $SPECPATH  | grep "^Version:" | awk '{ print $2 }'`
-REL=`cat $SPECPATH  | grep Release: | awk '{ print $2 }'`
-VER=$VER1-$REL
-ARCH=$2
-VERSHORT=${VER%-*}             # 1.2.3
-
-
-
-if [ -z $RPATH ]; then
-       echo "argument error : 1st arg is path "
-       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
-       exit 1
-fi
-
-if [ -z $ARCH ]; then
-       echo "argument error : 3th arg is Version"
-       echo "usage) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l"
-       exit 1
-fi
-
-sudo gbs build -A $ARCH --include-all --define "run_tests 1" || exit 1
-# ex ) ./unittest.sh /home/mjpark/GBS-ROOT/local/repos/slp/armv7l/RPMS capi-system-system-settings 0.0.3-3 armv7l
-
-RPM_ROOT=$RPATH
-
-SDB=/usr/bin/sdb
-$SDB root on
-$SDB shell mount -o remount,rw /
-$SDB push $RPM_ROOT/$APP-$VER.$ARCH.rpm /opt
-$SDB push $RPM_ROOT/$APP-debuginfo-$VER.$ARCH.rpm /opt
-$SDB push $RPM_ROOT/$APP-debugsource-$VER.$ARCH.rpm /opt
-
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-$VER.$ARCH.rpm
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debuginfo-$VER.$ARCH.rpm
-$SDB shell rpm -Uvh --force --nodeps /opt/$APP-debugsource-$VER.$ARCH.rpm
-
-echo "UNIT TEST----------------------------------------------------"
-export GCOV_PREFIX=/opt
-$SDB shell G_DEBUG=fatal-criticals GCOV_PREFIX=/usr/src/packages GCOV_PREFIX_STRIP=3 /usr/local/bin/system-setting-unittest
-
-echo "COVERAGE TEST----------------------------------------------------"
-sdb pull /usr/src/packages/BUILD/$APP-$VERSHORT/CMakeFiles > /dev/null 2>&1
-lcov -c -d $APP.dir/ -o $APP.info > /dev/null 2>&1
-
-VAR1="/usr/src/packages/BUILD/$APP-$VERSHORT"
-PWD=`pwd`
-sed -i "s#$VAR1#$PWD#g" $APP.info
-
-genhtml $APP.info -o out
-find . -name "*.dir" -type d -prune -exec rm -rf '{}' '+'
-rm $APP.info
-
diff --git a/unit_test/script/vconf_all.sh b/unit_test/script/vconf_all.sh
deleted file mode 100755 (executable)
index 618d47b..0000000
+++ /dev/null
@@ -1,817 +0,0 @@
-#!/bin/bash
-############################################################
-#                   SYSTEM VARIABLES                       #
-############################################################
-
-TZ_SYS_GLOBALUSER_DATA=`tzplatform-get TZ_SYS_GLOBALUSER_DATA | sed 's/^.*=//'`
-TZ_SYS_GLOBALUSER_DB=`tzplatform-get TZ_SYS_GLOBALUSER_DB | sed 's/^.*=//'`
-TZ_SYS_MEDIA=`tzplatform-get TZ_SYS_MEDIA | sed 's/^.*=//'`
-TZ_SYS_RW_APP=`tzplatform-get TZ_SYS_RW_APP | sed 's/^.*=//'`
-TZ_SYS_RO_APP=`tzplatform-get TZ_SYS_RO_APP | sed 's/^.*=//'`
-############################################################
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/account/msg"   ""  "http://tizen.org/privilege/internal/buxton/account.read" "http://tizen.org/privilege/account.write"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/account/lock_pwd_verify_status_key"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/account/lock_pwd_verify_status_ts_key"   ""-1""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/alarm/alarm_expire_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/audit/enable"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/aul/socket_timeout"   "5.2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/boot_animation/finished"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/bluetooth/btsco"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/bluetooth/sco_headset_name"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/lestatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/bluetooth/dutmode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-bluetooth-efl/visibility_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-service/bt_off_due_to_timeout"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-core/powersaving_mode_deactivated"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/bt-core/flight_mode_deactivated"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/bluetooth/device"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/bluetooth/dpm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/bluetooth/bmstatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/bluetooth/avc_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/call/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/camera/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/camera/shutter_sound_policy"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/recorder/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/camera/pid"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/camera/flash_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/recorder/pid"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/camcorder"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/show_my_number"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/incoming_call_notification"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/auto_reject_add_numbers_to_messages"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/reject_call_message_cnt"   "5"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message1"   "IDS_CST_MBODY_SORRY_IM_BUSY_CALL_YOU_LATER_ABB"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message2"   "IDS_CST_BODY_SORRY_IM_BUSY_PLEASE_TEXT_ME_ABB"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message3"   "IDS_CST_TMBODY_I_CANT_TALK_NOW_WHATS_UP_Q"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message4"   "IDS_CST_BODY_IM_IN_A_MEETING"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message5"   "IDS_CST_TMBODY_SORRY_IM_DRIVING_NOW"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ciss/user_create_message6"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/call_answering_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/call_power_key_ends_call"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/noise_reduction"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/in_call_sound_eq"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/increase_ringtone"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/personalised_eq"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/call_sound"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/intl_dial_auto_conversion"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/ciss/msg_noti_vib"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/msg_noti_sound"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ciss/auto_reject_unknown"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/name_display_order"   "0"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/name_sorting_order"   "0"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/contacts-svc/phonenumber_min_match_digit"   "8"  "http://tizen.org/privilege/internal/buxton/contact.read" "http://tizen.org/privilege/contact.write"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/network_config"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/ip"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/ip6"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/dnet/rndis_ip"   "192.168.129.3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/dnet/proxy"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/wifi"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/cellular"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/state2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/dnet/packet_state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalrcv2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/totalsnt2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastrcv2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/cellular/lastsnt2"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/totalrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/totalsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/lastrcv"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dnet/statistics/wifi/lastsnt"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/last_power_state"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_airplane"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_emergency"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/wifi_off_by_restricted"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/sleep_policy"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/dnet/mac_address"   ""  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/wifi/frequency"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/wifi/wearable_wifi_use"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/dotnet/tizen_api_version"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/dpm/mode_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/data_router/osp_serial_open"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/org.tizen.email/is_inbox_active"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/email_handle/active_sync_handle"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/default_account_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/latest_mail_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_badge_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_display_content_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_notification_ticker"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/4"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/5"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/6"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/7"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/8"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/9"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_private_id/10"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/noti_rep_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_use_default_ringtone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vibration_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vip_use_default_ringtone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/email-service/noti_vip_vibration_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/filemanager/Mmc"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/filemanager/dbupdate"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/homescreen/watch_face_visibility"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/homescreen/watch_resource_id"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/homescreen/watchface_visibility"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/sound_volume"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/sound_volume_backup"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/sound_volume"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/sound_volume_backup"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion/palm_swipe_capture"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion/palm_touch_mute"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/idle_lock/bgset"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Wallpapers/home_001.png"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/idle_lock/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/idle_lock/state_read_only"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/org.tizen.indicator/show_more_noti_port"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/isf/input_language"   "en_US"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/isf/input_keyboard_uuid"   "ise-default"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/isf/input_panel_state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/hw_keyboard_input_detected"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/recent_port_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/recent_land_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/isf_bind"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/input_panel_port_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/isf/input_panel_land_geometry"   "-1,-1,-1,-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/isf/isf_ime_launch_on_demand"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/data-provider-master/started"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/data-provider-master/restart_count"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/Usemylocation"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/GpsEnabled"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/NetworkEnabled"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/MockEnabled"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/GpsPopup"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/location.enable"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/setting/Restriction"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/setting/GyroDrift"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/position/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/gps/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/wps/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/mock/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/location/last/gps/Timestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Latitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Longitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Altitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Speed"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/Direction"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/HorAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/gps/VerAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Timestamp"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Latitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Longitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Altitude"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Speed"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/Direction"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-double "memory"  "memory/location/last/wps/HorAccuracy"   "0.0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/last/gps/LocTimestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/last/wps/LocTimestamp"   "0"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/last/gps/Location"   "0.0;0.0;0.0;0.0;0.0;0.0;0.0;"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/last/wps/Location"   "0.0;0.0;0.0;0.0;0.0;0.0;"  "http://tizen.org/privilege/internal/buxton/location" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/nmea/LoggingEnabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/replay/ReplayEnabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/replay/ReplayMode"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/replay/FileName"   "nmea_replay.log"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualLatitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualLongitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualAltitude"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/replay/ManualHAccuracy"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Operation"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/OperationTest"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Starting"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/gps/Session"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/location/gps/XtraDownloadTime"   "0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/supl/Server"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/location/supl/Port"   "7275"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/SslEnabled"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/FQDNType"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/supl/Version"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/location/heremaps/UserConsent"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/mapservice"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/lockscreen/quick_access_appid"   "org.tizen.camera-app"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/lockscreen/wallpaper_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/lockscreen/wallpaper_count"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/media-controller/latest_server/name"   ""  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/media-controller/latest_server/state"   "0"  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/media-controller/latest_server/playback_state"   "0"  "http://tizen.org/privilege/mediacontroller.client" "http://tizen.org/privilege/mediacontroller.server"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/connected_device"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mobile_hotspot/security"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mobile_hotspot/hide"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/mobileap-agent/ssid"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/libug-setting-mobileap-efl/prev_wifi_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/is_device_rename_local"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/wifi_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/bt_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/libug-setting-mobileap-efl/usb_popup_check_box_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/libug-setting-mobileap-efl/trying_usb_tethering"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/mobile_hotspot/wifi_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/tethering.admin"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/msg/ready"   "0"  "http://tizen.org/privilege/internal/buxton/message.read" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/recv_sms"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/recv_mms"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/network_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/msg/activated_conversation_id"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/notification_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_noti_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_msg_noti_priv_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_full_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sentfail_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/read_report_sent_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/storage_full_noti_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/read_report_sent_msg_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id1/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_noti_id2/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/auto_erase"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/block_msg"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/block_unknown_msg"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/keep_copy"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/sms_limit"   "1000"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/mms_limit"   "100"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/msg_id_counter"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/notification"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/preview"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/general/ringtone_path"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/general/ringtone_type"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/general/vibration"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/general/ua_profile"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/0"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/4"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/5"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/6"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/7"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/8"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/language/9"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/cb_msg/max_sim_count/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/receive/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/cb_msg/save"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sms_send/dcs"   "3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/sms_send/delivery_report"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/sms_send/reply_path"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sms_send/save_storage"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/abroad_network"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/home_network"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/delivery_receipt"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/read_receipt"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/reject_advertisement"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_recv/reject_unknown"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_recv/group_message"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/body_replying"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/creation_mode"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/custom_delivery"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/delivery_report"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/delivery_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/expiry_time"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/hide_recipients"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/keep_copy"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/msg_class"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/priority"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/read_reply"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging_deadline"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_send/reply_charging_size"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/report_allowed"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_send/sender_visibility"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/blue"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/green"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/hue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/bg_color/red"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/blue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/green"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/hue"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_color/red"   "255"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/font_size"   "30"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/bold"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/italic"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/mms_style/font_style/underline"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_dur"   "2"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_dur_manual"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/mms_style/page_custom_dur"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/msg-service/push_msg/recv_option"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/push_msg/service_load"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/total_cnt/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/sim_count/used_cnt/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/sim_changed/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_mo_ctrl/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/1"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/msg-service/sim_st/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/sim_subs_id/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/msg-service/msisdn/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_alphaid/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/1"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/2"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/voice_mail/voice_mail_count/3"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/1"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/2"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/msg-service/voice_mail/voice_mail_number/3"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/msg-service/size_opt/msg_size"   "300"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/msg-service/default_network_sim"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/mtp/serial_number"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/mtp/sync_partner"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/mtp/sync_time"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/feature"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/nfc/se_type"   "3"  "http://tizen.org/privilege/internal/buxton/nfc.cardemulation" "http://tizen.org/privilege/nfc.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/nfc/wallet_mode"   "3"  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/state_by_flight"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/nfc/payment_handlers"   ""  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/nfc/other_handlers"   ""  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/nfc/ese_disable"   "0"  "http://tizen.org/privilege/nfc.admin" "http://tizen.org/privilege/nfc.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/crypto_state"   "unencrypted"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/crypto_type"   "none"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/encrypt_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/sde/encrypt_newfile"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/sde/exclude_mediafile"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sde/encrypt_size"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/sde/mount_point"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_state"   "unencrypted"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_type"   "none"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/crypto_blkdev"   "nodev"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/ode/encrypt_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/ode/fast_encryption"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/ode/secure_erase"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/NbDevManagement"   "3"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/ConfVersion"   "0.1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/AccName"   "gcf"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServID"   "RSate"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServAddr"   "http://192.168.168.169/dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServPwd"   "RSatepass"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/Port"   "80"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/UserName"   "RSuser"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/1/ClientPwd"   "RSpass"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/AccName"   "MSCTestserver"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServID"   "x6g1q14r75"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/Priority"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/countdown"   "-1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/Ext/forceinstall"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dd-datamargin"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dd-batterylevel"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServAddr"   "http://dms.ospserver.net/v1/device/magicsync/mdm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServPwd"   "T1NQIERNIFNlcnZlcg=="  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/2/Port"   "443"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/downloadstatus"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/AccName"   "MSCServer"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServID"   "5e8o9279r2"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServAddr"   "https://dm.samsungdive.com:443/v1/sdm/magicsync/dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServPwd"   "T1NQIERNIFNlcnZlcg=="  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/3/Port"   "443"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/AccName"   "SPDserver"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServID"   "q112w3e45t"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServAddr"   "http://54.248.91.13:38080/oma.dm"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServPwd"   "7ZAR3cibsiKs883AZ"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ServNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/ClientNonce"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/AuthType"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DevManagement/4/Port"   "38080"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/UAresult"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/versionurl"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/fumo/push_id"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/versionfilename"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DD-multilanguage"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DD-objectname"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DevDetail/FwV"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/DownloadConType"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/polling-triger"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/UnlockNeedSendMsg"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/AlarmSetted"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/MaxSizeOnDataNetwork"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/software-update/wifionly/setting"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/software-update/autoupdate/setting"   "1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/DD-objectsize"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/heartbeaturl"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/cycleheartbeat"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/disclaimer"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dp_change"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/dp_ctrl"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/mdfpp-fota-dw"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/mdfpp-fota-ua"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/PostPoneMaxCount"   "-1"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/PostPoneCount"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/SyncML/ivi-oma-dm-service/LastCheckedTime"   ""  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/SyncML/ivi-oma-dm-service/fota-badge"   "0"  "http://tizen.org/privilege/internal/buxton" "http://tizen.org/privilege/internal/buxton"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/custom_brightness_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/camera_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/battery_timetoempty"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/battery_timetofull"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/pm/brt_changed_lpm"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/lcdoff_source"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/key_ignore"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/current_brt"   "60"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pm/sip_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/psm/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/pwlock/first_boot"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/pwlock/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/pwlock/ode_retry_cnt"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/radio/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/vibration_pattern_path"   "/usr/apps/org.tizen.setting/shared/res/settings/Vibrations/haptic/default/Ticktock.ivt"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/touch_sounds"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/button_sounds"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/sound_lock"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/region_automatic"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/media/sound_volume"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/media/sound_volume_backup"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/Brightness"   "100"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/automatic_brightness_level"   "50"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_display_adjustment"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lcd_backlight_normal"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/ringtone_sound_volume"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/ringtone_sound_volume_backup"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Ringtones/ringtone_sdk.mp3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/user_ringtone_list"   "[]"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_path_with_time"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/call/ringtone_default_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Ringtones/ringtone_sdk.mp3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/vibration_level"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/call/vibration_type"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/msg_alert_rep_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/noti/msg_ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/General notification_sdk.wav"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sound/noti/ringtone_default_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/General notification_sdk.wav"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/noti/vibration_level"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/noti/vibration_long_buzz"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sound/touch_feedback/vibration_level"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setting/usb_in_mode_change"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setting/usb_mode"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/debug_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/usb_connection_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/select_network"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/network_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/power_on_lock"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/phone_lock_attempts_left"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/phone_lock_timestamp"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim_lock_timestamp"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/simple_password"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/screen_lock_type"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/3rd_lock_pkg_name"   "org.tizen.lockscreen"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/font_size"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/font_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/brightness_automatic"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/automatic_time_update"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/date_format"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/cityname_id"   "Seoul"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/weekofday_format"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lang"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/font_size"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/accessibility/font_name"   "Default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/accessibility/torch_light"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/rapid_key_input"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/turn_off_all_sounds"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/led_notify"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/lock_time"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/power_key_hold"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/easy_touch_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/greyscale"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/pwrsv/custom_mode/backlight/time"   "15"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/aod_on_pixel_ratio"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/pwrsv/custom_mode/cpu"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/language"   "en_US.UTF-8"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/languages"   "en_US:en_GB:en"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/regionformat"   "en_US.UTF-8"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/menuscreen/package_name"   "org.tizen.homescreen-efl"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/roaming_network"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/install_applications"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/wifi_direct"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_memory/bluetooth"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/battery_percentage"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/high_contrast"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_zoom"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/screen_reader"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/description"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/haptic"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/keyboard_feedback"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/screen_reader/sound_feedback"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/timezone_id"   "Asia/Seoul"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/timezone"   "+9:00"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/rotate_lock"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_rotate_screen"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/mono_audio"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/menu_widget/regionformat_time1224"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim_lock_attempts_left"   "5"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/device_name"   "Tizen"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/sound_on"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibration_on"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibrate_when_ringing"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/vibrate_when_notification"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/sound/haptic_feedback_on"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_roaming"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/motion_active"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_tilt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_panning"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_panning_browser"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/panning_sensitivity"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/panning_browser_sensitivity"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_double_tap"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_turn_over"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_pick_up"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_pick_up_call"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_shake"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/use_mute_pause"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/menu_widget/bgset"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Wallpapers/home_001.png"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/systemsettings"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/devoption/bgprocess"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/default_rendering_engine"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_limit"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/select_network_act"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/lang_automatic"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_usage_cycle"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_each_month"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_limit_unit"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/data_usage_roaming_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/set_data_usage_limit"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/accessibility/taphold_delay"   "IDS_COM_POP_SHORT"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/sound_balance"   "50"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/selected_num"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/screenmode/selected_name"   "Dynamic"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lcd_timeout_normal_backup"   "30"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/charging"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/low_batt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/led_indicator/notifications"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/rotate_hold"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/psmode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/mmc_encryption/status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/display/touchkey_light_duration"   "90"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/display/screen_capture_destination"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/display/edit_after_screen_capture"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network_restrict_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/display/dynamic_status_bar"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/homescreen_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network/mobile_data_on_reminder"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/network/mobile_data_off_reminder"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/usb_otg"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/firewall"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/setting/personal"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/personal_unlock_method"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/developer_option_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/app_hw_acceleration"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/change_ui/theme"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/win_gray"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/win_fps"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/emergency/mode"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/dark_screen"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim1_name"   "SIM1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/sim2_name"   "SIM2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim1_icon"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/sim2_icon"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/lock_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/ambient_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/time"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/battery"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/signal_strenght"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/missed_events"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/date"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/tts/indicator/bluetooth"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/notification_indicator"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/double_press_home_key"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/auto_open_apps"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/blockmode_wearable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/d2d_convergence"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/d2d_convergence_service"   "0x3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/ad_id_opt_out"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/ad_id"   "00000000-0000-0000-0000-000000000000"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/setup_wizard/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/Brightness_Dim"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/data_restriction"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/enhance_touch_sensitivity"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/wakeup_by_bezel_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/theater_mode_enable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/goodnight_mode_enable"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/automatic_low_brightness"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/touch_wakeup_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/diagnostics"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/diagnostics/identified"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/swipe_up_down_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/accessibility/swipe_up_down_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/vibration_feedback_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/sound_feedback_enable"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/setting/udsm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/setting/udsm/pkgid_list"   "NONE"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/softap/connected_device"   "0"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/security"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/hide"   "0"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/channel"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/softap/mode"   "1"  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/ssid"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/key"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/softap/vsie"   ""  "http://tizen.org/privilege/softap" "http://tizen.org/privilege/softap"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/Sound/SoundStatus"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/master"   "20"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/system"   "9"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/notification"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/alarm"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/ringtone"   "11"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/media"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/call"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/voip"   "4"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/voice"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/sound/volume/bixby"   "7"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sound/PrimaryVolumeType"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/master"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/system"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/notification"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/alarm"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/ringtone"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/media"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/call"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/voip"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/sound/mute/voice"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/volume.set"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sound/pcm_dump"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sound/booting"   "/usr/share/keysound/poweron.wav"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/starter/sequence"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/starter/quick_launch_enable"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/starter/use_volume_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/starter/is_fallback"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/starter/fallback_pkg"   "org.tizen.homescreen-efl"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/stc/background_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/stc/firewall_lock_state"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/stt/engine/default"   "org.tizen.stt-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/stt/engine/custom"   "org.tizen.stt-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/appmanager.launch"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/added_usb_storage"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/removed_usb_storage"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charger_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charge_now"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_status_low"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_capacity"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/battery_level_status"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/usb_status"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/usbhost_status"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/earjack"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/earjack_key"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/cradle_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/low_memory"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/sliding_keyboard"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_mount"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_unmount"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_format"   "-1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_err_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/mmc_dev_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/hdmi"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/stime_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/power_off"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/mmc_format_progress"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/low_power_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/sysman/battery_warning_level"   "15"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/booting_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/charger_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/system/timechanged"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/system/timechange"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-double "system"  "db/system/timechange_external"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/system/lazy_mount_show_ui"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/daemon_load_count"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/nw_name"   ""  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/plmn"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/lac"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/cell_id"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/roam_icon_mode"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_type"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_cs"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_ps"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_roam"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_slot_count"   "-1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/pb_init"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_status"   "255"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/sim_is_changed"   "-1"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/call_forward_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/call_forward_state2"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/ss_cli_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/ss_cli_state2"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/tapi_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/spn_disp_condition"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/spn"   ""  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/rssi"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/ps_type"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/3gEnabled"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/telephony/telephony_ready"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/nitz_gmt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/nitz_event_gmt"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/telephony/nitz_zone"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/flight_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/svc_act"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/sim_power_state1"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/sim_power_state2"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/dualsim/receive_incoming_call"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/modem_always_on"   "2"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/telephony/activation_completed"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/emergency_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/telephony/mdn"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_alert_signal_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_alert_pitch_type"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/telephony/call_signal"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/default_data_service"   "0"  "http://tizen.org/privilege/internal/buxton/network.get" "http://tizen.org/privilege/network.set"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/preferred_voice_subscription"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/telephony/dualsim/default_subscription"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/sim1_network_mode"   "3"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/sim2_network_mode"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/modem_on_count"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/ps_data_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/no_sim_popup_checkbox"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/data_roaming_popup_checkbox"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/telephony/net_mode_user_changed"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/telephony/perso_nwk_puk"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "memory"  "memory/private/telephony/modem_state"   "0"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/nitz_iso"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/manual_plmn"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/telephony/nck_unlock_count"   "3"  "http://tizen.org/privilege/internal/buxton/telephony" "http://tizen.org/privilege/telephony.admin"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/telephony/pdp_last_connected_context_status"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/telephony/pdp_last_connected_context_profile_id"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/telephony/pdp_last_connected_context_plmn"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/telephony/modemd_assert_reason"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/tts/engine/default"   "org.tizen.tts-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/browser/user_agent"   "Mozilla/5.0 (Linux; Tizen 2.3; m0) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.3 Mobile Safari/537.3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/private/deviced/lcd_brightness_init"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/email-service/noti_ringtone_path"   "${TZ_SYS_GLOBALUSER_DATA}/settings/Alerts/Over the horizon.mp3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/email-service/slot_size"   "100"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/requestinfo/command"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/requestinfo/options"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/rpm-installer/requestinfo/pkgname"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/state"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/rpm-installer/stateinfo"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/cool_down_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_outdoor"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_scenario"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/sysman/enhance_tone"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/private/sysman/mmc_device_id"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/private/usb/usb_control"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/contacts-service/default_lang"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/isf/autocapital_allow"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "file/private/isf/autoperiod_allow"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/added_storage_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sysman/enhance_pid"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/removed_storage_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/sysman/siop_disable"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/sysman/siop_level_uevent"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/usb/conf_enabled"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/sysman/factory_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/setting/accessibility/atspi"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/usb/cur_mode"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/usb/sel_mode"   "1"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/voice/vc/voice_touch/automode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/voice/vc/engine/default"   "org.tizen.vc-engine-default"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/watch/current_watch_info"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/webkit/user_agent"   "Default system user agent for backup in testmode"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/transfer_state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/strength"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/wifi_qs_exit"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/wifi/enable_quick_start"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/wifi/connected_ap_name"   ""  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/ug_run_state"   "3"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/wifi/bssid_address"   ""  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/bgscan_mode"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/private/wifi_direct_manager/dhcp_ip_lease"   "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/dhcpc_server_ip"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_gateway"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_ifname"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_local_ip"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "memory"  "memory/private/wifi_direct_manager/p2p_subnet_mask"   "0.0.0.0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi_direct/state"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/readonly"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/network_bonding"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wifi/device/status_uevent"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "file/private/wifi/sort_by"   "1"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/systemsettings.admin"
-/usr/bin/buxton2ctl -i -d create-int32 "system"  "db/wms/wakeup_by_gesture_setting"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/wms/clocks_set_idle"   "org.tizen.classic-watch"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-string "system"  "db/wms/powerkey_double_pressing"   "none"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-bool "system"  "db/wms/smart_relay"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
-/usr/bin/buxton2ctl -i -d create-int32 "memory"  "memory/wms/wmanager_connected"   "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform"
diff --git a/unit_test/src/efl-extension.c b/unit_test/src/efl-extension.c
deleted file mode 100644 (file)
index d7799b7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdbool.h>
-
-#ifndef API
-#define API __attribute__ ((visibility("default")))
-#endif
-
-API bool eext_config_font_set(char *name, int size)
-{
-       return true;
-}
-
diff --git a/unit_test/src/pkgmgrinfo_appinfo.c b/unit_test/src/pkgmgrinfo_appinfo.c
deleted file mode 100644 (file)
index 17aa2fb..0000000
+++ /dev/null
@@ -1,598 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdbool.h>
-#include <string.h>
-
-#include <pkgmgr-info.h>
-
-#ifndef API
-#define API __attribute__ ((visibility("default")))
-#endif
-
-API int pkgmgrinfo_appinfo_get_usr_disabled_appinfo(const char *appid, uid_t uid,
-               pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_disabled_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_usr_appinfo(const char *appid, uid_t uid,
-               pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_usr_all_appinfo(const char *appid, uid_t uid,
-               pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_all_appinfo(const char *appid, pkgmgrinfo_appinfo_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_clone_appinfo(pkgmgrinfo_appinfo_h handle,
-               pkgmgrinfo_appinfo_h *clone)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_usr_list(pkgmgrinfo_pkginfo_h handle,
-               pkgmgrinfo_app_component component,
-               pkgmgrinfo_app_list_cb app_func, void *user_data, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_list(pkgmgrinfo_pkginfo_h handle,
-               pkgmgrinfo_app_component component,
-               pkgmgrinfo_app_list_cb app_func, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_usr_installed_list_full(
-               pkgmgrinfo_app_list_cb app_func, uid_t uid, int flag,
-               void *user_data)
-{
-               return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_installed_list_full(
-               pkgmgrinfo_app_list_cb app_func, int flag, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_usr_installed_list(
-               pkgmgrinfo_app_list_cb app_func, uid_t uid, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_installed_list(pkgmgrinfo_app_list_cb app_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h handle, char **appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_pkgname(pkgmgrinfo_appinfo_h handle, char **pkg_name)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_pkgid(pkgmgrinfo_appinfo_h handle, char **pkgid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_pkgtype(pkgmgrinfo_appinfo_h  handle, char **pkgtype)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_exec(pkgmgrinfo_appinfo_h handle, char **exec)
-{
-       return PMINFO_R_OK;
-}
-
-
-API int pkgmgrinfo_appinfo_get_icon(pkgmgrinfo_appinfo_h handle, char **icon)
-{
-       return PMINFO_R_OK;
-}
-
-
-API int pkgmgrinfo_appinfo_get_label(pkgmgrinfo_appinfo_h handle, char **label)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_get_localed_label(const char *appid, const char *locale, uid_t uid, char **label)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_localed_label(const char *appid, const char *locale, char **label)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_metadata_value(pkgmgrinfo_appinfo_h handle, const char *metadata_key, char **metadata_value)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_component(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_component *component)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_apptype(pkgmgrinfo_appinfo_h handle, char **app_type)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_operation(pkgmgrinfo_appcontrol_h  handle,
-                                       int *operation_count, char ***operation)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_uri(pkgmgrinfo_appcontrol_h  handle,
-                                       int *uri_count, char ***uri)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_mime(pkgmgrinfo_appcontrol_h  handle,
-                                       int *mime_count, char ***mime)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_subapp(pkgmgrinfo_appcontrol_h  handle,
-                                       int *subapp_count, char ***subapp)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_notification_icon(pkgmgrinfo_appinfo_h handle, char **icon)
-{
-       return PMINFO_R_ERROR;
-}
-
-API int pkgmgrinfo_appinfo_get_recent_image_type(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_recentimage *type)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_preview_image(pkgmgrinfo_appinfo_h handle, char **preview_img)
-{
-       return PMINFO_R_ERROR;
-}
-
-API int pkgmgrinfo_appinfo_get_permission_type(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_permission_type *permission)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_component_type(pkgmgrinfo_appinfo_h handle, char **component_type)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_hwacceleration(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_hwacceleration *hwacceleration)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_screenreader(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_screenreader *screenreader)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_effectimage(pkgmgrinfo_appinfo_h handle, char **portrait_img, char **landscape_img)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_effectimage_type(pkgmgrinfo_appinfo_h handle, char **effectimage_type)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_submode_mainid(pkgmgrinfo_appinfo_h  handle, char **submode_mainid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_installed_storage_location(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_installed_storage *storage)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_launch_mode(pkgmgrinfo_appinfo_h handle, char **mode)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_alias_appid(pkgmgrinfo_appinfo_h handle, char **alias_appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_effective_appid(pkgmgrinfo_appinfo_h handle, char **effective_appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_tep_name(pkgmgrinfo_appinfo_h handle, char **tep_name)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_zip_mount_file(pkgmgrinfo_appinfo_h handle, char **zip_mount_file)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_root_path(pkgmgrinfo_appinfo_h handle, char **root_path)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_api_version(pkgmgrinfo_appinfo_h handle, char **api_version)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_installed_time(pkgmgrinfo_appinfo_h handle, int *installed_time)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_get_datacontrol_info(const char *providerid,
-               const char *type, uid_t uid, char **appid, char **access)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_datacontrol_info(const char *providerid,
-               const char *type, char **appid, char **access)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_get_datacontrol_appid(const char *providerid,
-               uid_t uid, char **appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_datacontrol_appid(const char *providerid, char **appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_get_datacontrol_trusted_info(
-               const char *providerid, const char *type, uid_t uid,
-               char **appid, bool *is_trusted)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_datacontrol_trsuted_info(const char *providerid,
-               const char *type, char **appid, bool *is_trusted)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_foreach_datacontrol_privileges(
-               const char *providerid, const char *type,
-               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
-               void *user_data, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_datacontrol_privileges(
-               const char *providerid, const char *type,
-               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_support_mode(pkgmgrinfo_appinfo_h  handle, int *support_mode)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_category(pkgmgrinfo_appinfo_h handle,
-                       pkgmgrinfo_app_category_list_cb category_func, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_metadata(pkgmgrinfo_appinfo_h handle,
-                       pkgmgrinfo_app_metadata_list_cb metadata_func, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_foreach_appcontrol_privileges(const char *appid,
-               const char *operation,
-               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
-               void *user_data, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_appcontrol_privileges(const char *appid,
-               const char *operation,
-               pkgmgrinfo_pkg_privilege_list_cb privilege_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_appcontrol(pkgmgrinfo_appinfo_h handle,
-                       pkgmgrinfo_app_control_list_cb appcontrol_func, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_remote_appcontrol(pkgmgrinfo_appinfo_h handle,
-                       pkgmgrinfo_app_control_list_cb appcontrol_func, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_background_category(
-               pkgmgrinfo_appinfo_h handle,
-               pkgmgrinfo_app_background_category_list_cb category_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_splash_screen(pkgmgrinfo_appinfo_h handle,
-               pkgmgrinfo_app_splash_screen_list_cb splash_screen_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_nodisplay(pkgmgrinfo_appinfo_h handle, bool *nodisplay)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_multiple(pkgmgrinfo_appinfo_h handle, bool *multiple)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_indicator_display_allowed(pkgmgrinfo_appinfo_h handle, bool *indicator_disp)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_taskmanage(pkgmgrinfo_appinfo_h  handle, bool *taskmanage)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_enabled(pkgmgrinfo_appinfo_h  handle, bool *enabled)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_onboot(pkgmgrinfo_appinfo_h  handle, bool *onboot)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_autorestart(pkgmgrinfo_appinfo_h  handle, bool *autorestart)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_mainapp(pkgmgrinfo_appinfo_h  handle, bool *mainapp)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_preload(pkgmgrinfo_appinfo_h handle, bool *preload)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_submode(pkgmgrinfo_appinfo_h handle, bool *submode)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_process_pool(pkgmgrinfo_appinfo_h handle, bool *process_pool)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_category_exist(pkgmgrinfo_appinfo_h handle, const char *category, bool *exist)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_ui_gadget(pkgmgrinfo_appinfo_h handle,
-               bool *ui_gadget)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_support_disable(pkgmgrinfo_appinfo_h handle,
-               bool *support_disable)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_removable(pkgmgrinfo_appinfo_h handle,
-               bool *removable)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_system(pkgmgrinfo_appinfo_h handle, bool *system)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_disabled(pkgmgrinfo_appinfo_h handle, bool *disabled)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_global(pkgmgrinfo_appinfo_h handle, bool *global)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_splash_screen_display(pkgmgrinfo_appinfo_h handle, bool *splash_screen_display)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_get_setup_appid(pkgmgrinfo_appinfo_h handle, char **setup_appid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_support_ambient(pkgmgrinfo_appinfo_h handle,
-               bool *support_ambient)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_destroy_appinfo(pkgmgrinfo_appinfo_h handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_filter_create(pkgmgrinfo_appinfo_filter_h *handle)
-{
-       return (pkgmgrinfo_pkginfo_filter_create(handle));
-}
-
-API int pkgmgrinfo_appinfo_filter_destroy(pkgmgrinfo_appinfo_filter_h handle)
-{
-       return (pkgmgrinfo_pkginfo_filter_destroy(handle));
-}
-
-API int pkgmgrinfo_appinfo_filter_add_int(pkgmgrinfo_appinfo_filter_h handle,
-                               const char *property, const int value)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_filter_add_bool(pkgmgrinfo_appinfo_filter_h handle,
-                               const char *property, const bool value)
-{
-       return PMINFO_R_OK;
-
-}
-
-API int pkgmgrinfo_appinfo_filter_add_string(pkgmgrinfo_appinfo_filter_h handle,
-                               const char *property, const char *value)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_filter_count(pkgmgrinfo_appinfo_filter_h handle, int *count, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_filter_count(pkgmgrinfo_appinfo_filter_h handle, int *count)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_filter_foreach_appinfo(
-               pkgmgrinfo_appinfo_filter_h handle,
-               pkgmgrinfo_app_list_cb app_cb, void *user_data, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_filter_foreach_appinfo(pkgmgrinfo_appinfo_filter_h handle,
-                               pkgmgrinfo_app_list_cb app_cb, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_metadata_filter_create(pkgmgrinfo_appinfo_metadata_filter_h *handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_metadata_filter_destroy(pkgmgrinfo_appinfo_metadata_filter_h handle)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_metadata_filter_add(
-               pkgmgrinfo_appinfo_metadata_filter_h handle,
-               const char *key, const char *value)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_usr_metadata_filter_foreach(
-               pkgmgrinfo_appinfo_metadata_filter_h handle,
-               pkgmgrinfo_app_list_cb app_cb, void *user_data, uid_t uid)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_metadata_filter_foreach(
-               pkgmgrinfo_appinfo_metadata_filter_h handle,
-               pkgmgrinfo_app_list_cb app_cb, void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_is_guestmode_visibility(pkgmgrinfo_appinfo_h handle, bool *status)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_appcontrol_v2(pkgmgrinfo_appinfo_h handle,
-               pkgmgrinfo_app_control_list_cb_v2 appcontrol_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
-
-API int pkgmgrinfo_appinfo_foreach_remote_appcontrol_v2(
-               pkgmgrinfo_appinfo_h handle,
-               pkgmgrinfo_app_control_list_cb_v2 appcontrol_func,
-               void *user_data)
-{
-       return PMINFO_R_OK;
-}
diff --git a/unit_test/src/unit_test.c b/unit_test/src/unit_test.c
deleted file mode 100644 (file)
index cef6a19..0000000
+++ /dev/null
@@ -1,3215 +0,0 @@
-#include <system_settings.h>
-
-#include <unit_test_fw.h>
-#include <string.h>
-
-
-void unit_test_callback0(system_settings_key_e key, void *user_data) { }
-void unit_test_callback1(system_settings_key_e key, void *user_data) { }
-void unit_test_callback2(system_settings_key_e key, void *user_data) { }
-void unit_test_callback3(system_settings_key_e key, void *user_data) { }
-void unit_test_callback4(system_settings_key_e key, void *user_data) { }
-void unit_test_callback5(system_settings_key_e key, void *user_data) { }
-void unit_test_callback6(system_settings_key_e key, void *user_data) { }
-void unit_test_callback7(system_settings_key_e key, void *user_data) { }
-void unit_test_callback8(system_settings_key_e key, void *user_data) { }
-void unit_test_callback9(system_settings_key_e key, void *user_data) { }
-void unit_test_callback10(system_settings_key_e key, void *user_data) { }
-void unit_test_callback11(system_settings_key_e key, void *user_data) { }
-void unit_test_callback12(system_settings_key_e key, void *user_data) { }
-void unit_test_callback13(system_settings_key_e key, void *user_data) { }
-void unit_test_callback14(system_settings_key_e key, void *user_data) { }
-void unit_test_callback15(system_settings_key_e key, void *user_data) { }
-void unit_test_callback16(system_settings_key_e key, void *user_data) { }
-void unit_test_callback17(system_settings_key_e key, void *user_data) { }
-void unit_test_callback18(system_settings_key_e key, void *user_data) { }
-void unit_test_callback19(system_settings_key_e key, void *user_data) { }
-void unit_test_callback20(system_settings_key_e key, void *user_data) { }
-void unit_test_callback21(system_settings_key_e key, void *user_data) { }
-void unit_test_callback22(system_settings_key_e key, void *user_data) { }
-void unit_test_callback23(system_settings_key_e key, void *user_data) { }
-void unit_test_callback24(system_settings_key_e key, void *user_data) { }
-void unit_test_callback25(system_settings_key_e key, void *user_data) { }
-void unit_test_callback26(system_settings_key_e key, void *user_data) { }
-void unit_test_callback27(system_settings_key_e key, void *user_data) { }
-void unit_test_callback28(system_settings_key_e key, void *user_data) { }
-void unit_test_callback29(system_settings_key_e key, void *user_data) { }
-void unit_test_callback30(system_settings_key_e key, void *user_data) { }
-void unit_test_callback31(system_settings_key_e key, void *user_data) { }
-void unit_test_callback32(system_settings_key_e key, void *user_data) { }
-void unit_test_callback33(system_settings_key_e key, void *user_data) { }
-void unit_test_callback34(system_settings_key_e key, void *user_data) { }
-void unit_test_callback35(system_settings_key_e key, void *user_data) { }
-void unit_test_callback36(system_settings_key_e key, void *user_data) { }
-void unit_test_callback37(system_settings_key_e key, void *user_data) { }
-void unit_test_callback38(system_settings_key_e key, void *user_data) { }
-void unit_test_callback39(system_settings_key_e key, void *user_data) { }
-void unit_test_callback40(system_settings_key_e key, void *user_data) { }
-void unit_test_callback41(system_settings_key_e key, void *user_data) { }
-void unit_test_callback42(system_settings_key_e key, void *user_data) { }
-void unit_test_callback43(system_settings_key_e key, void *user_data) { }
-void unit_test_callback44(system_settings_key_e key, void *user_data) { }
-void unit_test_callback45(system_settings_key_e key, void *user_data) { }
-void unit_test_callback46(system_settings_key_e key, void *user_data) { }
-void unit_test_callback47(system_settings_key_e key, void *user_data) { }
-void unit_test_callback48(system_settings_key_e key, void *user_data) { }
-void unit_test_callback49(system_settings_key_e key, void *user_data) { }
-void unit_test_callback50(system_settings_key_e key, void *user_data) { }
-void unit_test_callback51(system_settings_key_e key, void *user_data) { }
-void unit_test_callback52(system_settings_key_e key, void *user_data) { }
-void unit_test_callback53(system_settings_key_e key, void *user_data) { }
-void unit_test_callback54(system_settings_key_e key, void *user_data) { }
-void unit_test_callback55(system_settings_key_e key, void *user_data) { }
-void unit_test_callback56(system_settings_key_e key, void *user_data) { }
-void unit_test_callback57(system_settings_key_e key, void *user_data) { }
-void unit_test_callback58(system_settings_key_e key, void *user_data) { }
-void unit_test_callback59(system_settings_key_e key, void *user_data) { }
-
-#if 0
-static int my_assert_ret(int retcode)
-{
-       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-               if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
-                       printf("Error!!\n");
-               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE);
-       }
-       return 1;
-}
-
-static int my_assert_ret_eq_bool(int retcode, bool a, bool b)
-{
-       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-               if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
-                       printf("Error!!\n");
-               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE);
-               assert_eq(a, b);
-       }
-       return 1;
-}
-#else
-#define my_assert_ret(retcode) do{ \
-       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) { \
-               if (retcode != SYSTEM_SETTINGS_ERROR_NONE) \
-                       printf("Error!!\n"); \
-               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE); \
-       } \
-}while(0)
-
-#define my_assert_ret_eq_bool(retcode,a,b) do{ \
-       if (retcode != SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) { \
-               if (retcode != SYSTEM_SETTINGS_ERROR_NONE) \
-                       printf("Error!!\n"); \
-               assert(retcode == SYSTEM_SETTINGS_ERROR_NONE); \
-               assert_eq(a, b); \
-       } \
-}while(0)
-#endif
-
-
-system_settings_changed_cb get_system_settings_test_callback()
-{
-       static system_settings_changed_cb func_array[] = {
-               unit_test_callback0,
-               unit_test_callback1,
-               unit_test_callback2,
-               unit_test_callback3,
-               unit_test_callback4,
-               unit_test_callback5,
-               unit_test_callback6,
-               unit_test_callback7,
-               unit_test_callback8,
-               unit_test_callback9,
-               unit_test_callback10,
-               unit_test_callback11,
-               unit_test_callback12,
-               unit_test_callback13,
-               unit_test_callback14,
-               unit_test_callback15,
-               unit_test_callback16,
-               unit_test_callback17,
-               unit_test_callback18,
-               unit_test_callback19,
-               unit_test_callback20,
-               unit_test_callback21,
-               unit_test_callback22,
-               unit_test_callback23,
-               unit_test_callback24,
-               unit_test_callback25,
-               unit_test_callback26,
-               unit_test_callback27,
-               unit_test_callback28,
-               unit_test_callback29,
-               unit_test_callback30,
-               unit_test_callback31,
-               unit_test_callback32,
-               unit_test_callback33,
-               unit_test_callback34,
-               unit_test_callback35,
-               unit_test_callback36,
-               unit_test_callback37,
-               unit_test_callback38,
-               unit_test_callback39,
-               unit_test_callback40,
-               unit_test_callback41,
-               unit_test_callback42,
-               unit_test_callback43,
-               unit_test_callback44,
-               unit_test_callback45,
-               unit_test_callback46,
-               unit_test_callback47,
-               unit_test_callback48,
-               unit_test_callback49,
-               unit_test_callback50,
-               unit_test_callback51,
-               unit_test_callback52,
-               unit_test_callback53,
-               unit_test_callback54,
-               unit_test_callback55,
-               unit_test_callback56,
-               unit_test_callback57,
-               unit_test_callback58,
-               unit_test_callback59
-       };
-
-       static int func_num = 0;
-       func_num++;
-       if (func_num > 61)
-               func_num = 0;
-       int slot = func_num % 60;
-       return func_array[slot];
-}
-
-static bool _callback_called = false;
-static char *new_ringtonepath = "/opt/usr/share/ringtone_sdk.mp3";
-
-/**
- * @function           utc_system_settings_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */
-RETTYPE utc_system_settings_startup(void)
-{
-       RETURN(0);
-}
-
-/**
- * @function           utc_system_settings_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */
-RETTYPE utc_system_settings_cleanup(void)
-{
-       RETURN(0);
-}
-
-/**
- * TEST GETTING SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE
- */
-/**
- * @testcase           utc_system_settings_get_value_string_p1
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to get the property
- */
-RETTYPE utc_system_settings_get_value_string_p1(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * TEST GETTING SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY
- */
-/**
- * @testcase           utc_system_settings_get_value_string_p2
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to get the property
- */
-RETTYPE utc_system_settings_get_value_string_p2(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * TEST GETTING SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE
- */
-/**
- * @testcase           utc_system_settings_get_value_string_p3
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to get the property
- */
-RETTYPE utc_system_settings_get_value_string_p3(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * TEST GETTING SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
- */
-/**
- * @testcase           utc_system_settings_get_value_string_p4
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to get the property
- */
-RETTYPE utc_system_settings_get_value_string_p4(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * TEST SETTING SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
- */
-/**
- * @testcase           utc_system_settings_get_value_string_p5
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p5(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_get_value_string_p11
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p11(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, &value);
-       //assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_string_p7
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p7(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &value);
-       my_assert_ret(retcode);
-       free(value);
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_get_value_string_p6
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZON is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p6(void)
-{
-       char *value = NULL;
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, &value);
-       my_assert_ret(retcode);
-       free(value);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_string_p10
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p10(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, &value);
-       my_assert_ret(retcode);
-       if (retcode == SYSTEM_SETTINGS_ERROR_NONE)
-               assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_string_p8
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p8(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, &value);
-       my_assert_ret(retcode);
-       assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_string_p9
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_string_p9(void)
-{
-       char *value = NULL;
-
-       int retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, &value);
-       my_assert_ret(retcode);
-       if (retcode == SYSTEM_SETTINGS_ERROR_NONE)
-               assert(value != NULL);
-       free(value);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_string_n
- * @since_tizen                2.3
- * @description                check if system_settings_get_value_string is able to handle invalid parameters.
- */
-RETTYPE utc_system_settings_get_value_string_n(void)
-{
-       int retcode = system_settings_get_value_string(-1, NULL);
-       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p1
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p1(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, &value);
-       my_assert_ret(retcode);
-       RETURN(0);
-
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p2(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &value);
-       my_assert_ret(retcode);
-       RETURN(0);
-
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p3(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, &value);
-       my_assert_ret(retcode);
-       RETURN(0);
-
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p4(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &value);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p5
- * @since_tizen                2.3
- *                                     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p5(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, &value);
-       my_assert_ret(retcode);
-       RETURN(0);
-
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p6
- * @since_tizen                2.3
- *                                     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p6(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p7
- * @since_tizen                2.3
- *                                     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p7(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p8
- * @since_tizen                2.3
- *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p8(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p9
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p9(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p10
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_bool_p10(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_n
- * @since_tizen                2.3
- * @description                check if system_settings_get_value_bool is able to handle invalid parameters.
- */
-RETTYPE utc_system_settings_get_value_bool_n(void)
-{
-       int retcode = system_settings_get_value_bool(-1, NULL);
-       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_int_p1
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_int_p1(void)
-{
-       int value = 0;
-
-       int retcode = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_int_p2
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_int_p2(void)
-{
-       int font_size = 0;
-
-       int retcode = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &font_size);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_n
- * @since_tizen                2.3
- * @description                check if system_settings_get_value_int is able to handle invalid parameters.
- */
-RETTYPE utc_system_settings_get_value_n(void)
-{
-       int retcode = system_settings_get_value_int(-1, NULL);
-       //assert_neq(retcode, SYSTEM_SETTINGS_ERROR_NONE);
-       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_int_p3
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_int_p3(void)
-{
-       int value;
-       int nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, &value);
-       my_assert_ret(nRetVal);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p11
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to get the property
- */
-RETTYPE utc_system_settings_get_value_bool_p11(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p12
- * @since_tizen                5.5
- * @description                check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to get the property
- */
-RETTYPE utc_system_settings_get_value_bool_p12(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p13
- * @since_tizen                5.5
- * @description                check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to get the property
- */
-RETTYPE utc_system_settings_get_value_bool_p13(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_get_value_bool_p14
- * @since_tizen                5.5
- * @description                check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to get the property
- */
-RETTYPE utc_system_settings_get_value_bool_p14(void)
-{
-       bool value = false;
-
-       int retcode = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &value);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p1
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p1(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p1
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p1(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p2(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p2(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p3(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p3(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p4(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_LOCK_SCREEN_unset_changed_cb_p
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_WALLPAPER is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_LOCK_SCREEN_unset_changed_cb_p(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p5
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p5(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p4(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p6
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p6(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p5
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the callback for change-notification.
- *                                     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p5(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE,
-                                                                                                callback, NULL);
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p7
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p7(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p6
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p6(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p8
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p8(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p7
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p7(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p9
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set callback for getting notification of change
- */
-RETTYPE utc_system_settings_set_changed_cb_p9(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p8
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p8(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p10
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to set callback for getting notification of change
- */
-RETTYPE utc_system_settings_set_changed_cb_p10(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p9
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p9(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p11
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set callback for getting notification of change
- */
-RETTYPE utc_system_settings_set_changed_cb_p11(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p10
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set callback for getting notification of change and unset doing
- */
-RETTYPE utc_system_settings_unset_changed_cb_p10(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p12
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p12(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p11
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p11(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p13
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p13(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR
- */
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p12
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p12(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p14
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p14(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p13
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p13(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_TIME_CHANGED);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p15
- * @since_tizen                2.3
- * @description     check if  SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p15(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p14
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p14(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_LOCK);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p16
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p16(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p15
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p15(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p17
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p17(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p16
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p16(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_TOUCH);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p18
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p18(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p17
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p17(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p19
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p19(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p18
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p18(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p20
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p20(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p19
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p19(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p21
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p21(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p20
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p20(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p22
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p22(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p21
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_DEVICE_NAME  is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p21(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DEVICE_NAME);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p23
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p23(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p22
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p22(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_MOTION_ENABLED);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p24
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p24(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p23
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p23(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p25
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p25(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p24
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p24(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_p1
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE is able to get the property
- */
-RETTYPE utc_system_settings_set_value_string_p1(void)
-{
-       int ret;
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, new_ringtonepath);
-       my_assert_ret(ret);
-
-       char *ret_ringtonepath = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, &ret_ringtonepath);
-       my_assert_ret(ret);
-
-       if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED)
-               RETURN(0);
-
-       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
-               assert(1);
-       } else {
-               assert(0);
-       }
-       RETURN(0);
-}
-
-
-/**
- * TEST SETTING SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
- */
-/**
- * @testcase           utc_system_settings_set_value_string_n2
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN is able to set the property in error-case.
- */
-RETTYPE utc_system_settings_set_value_string_n2(void)
-{
-       int ret;
-       char *wallpaper = NULL;
-
-       char *wrong_wallpaper_path = "/wrongpath/aaa.png";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, wrong_wallpaper_path);
-       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
-
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, &wallpaper);
-       assert(ret == SYSTEM_SETTINGS_ERROR_NONE);
-       free(wallpaper);
-       RETURN(0);
-}
-
-/**
- * SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
- */
-/**
- * @testcase           utc_system_settings_set_value_string_n3
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN is able to set the property in error-case.
- */
-RETTYPE utc_system_settings_set_value_string_n3(void)
-{
-       int ret;
-       char *wallpaper = NULL;
-
-       char *wrong_wallpaper_path = "/wrongpath/aaa.png";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, wrong_wallpaper_path);
-       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
-
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, &wallpaper);
-       //assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-       free(wallpaper);
-       RETURN(0);
-}
-
-/**
- * SYSTEM_SETTINGS_KEY_FONT_TYPE
- */
-/**
- * @testcase           utc_system_settings_set_value_string_n4
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_FONT_TYPE is able to set the property in error-case.
- */
-RETTYPE utc_system_settings_set_value_string_n4(void)
-{
-       int ret;
-
-       char *wrong_font_name = "WrongFontName";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, wrong_font_name);
-       assert(ret != SYSTEM_SETTINGS_ERROR_NONE);
-
-       char *font_name_set = "BreezeSans";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, font_name_set);
-       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-
-       char *font_name = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_FONT_TYPE, &font_name);
-       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-       free(font_name);
-       RETURN(0);
-}
-
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_n1
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION is able to set the property in a normal-case.
- */
-RETTYPE utc_system_settings_set_value_bool_n1(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, &cur_state);
-       my_assert_ret(ret);
-
-       /* not support to set value */
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, state);
-       my_assert_ret(ret);
-
-
-       assert(state != cur_state);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_n2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_bool_n2(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, &cur_state);
-       my_assert_ret(ret);
-
-
-       /* not support to set value */
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, state);
-       my_assert_ret(ret);
-
-       assert(state != cur_state);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_n3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_MOTION_ENABLED is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_bool_n3(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, &cur_state);
-       my_assert_ret(ret);
-
-
-       /* not support to set value */
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ENABLED, state);
-       my_assert_ret(ret);
-
-       assert(state != cur_state);
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_n4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_TOUCH is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_bool_n4(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, &cur_state);
-       my_assert_ret(ret);
-
-       /* not support to set value */
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_TOUCH, state);
-       my_assert_ret(ret);
-
-       assert(state != cur_state);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_n5
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_SOUND_LOCK is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_bool_n5(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, &cur_state);
-       my_assert_ret(ret);
-
-
-       /* not support to set value */
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_LOCK, state);
-       my_assert_ret(ret);
-
-       assert(state != cur_state);
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_string_n8
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_string_n8(void)
-{
-       int ret;
-       char *new_font = "DefaultFontName";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, new_font);
-       //my_assert_ret(ret);
-       assert_neq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-
-       char *ret_font = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, &ret_font);
-       assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_n7
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_string_n7(void)
-{
-       int ret;
-       char *new_zone = "Asia/Seoul";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, new_zone);
-       my_assert_ret(ret);
-
-       char *ret_device = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, &ret_device);
-       my_assert_ret(ret);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_int_n1
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_TIME_CHANGED is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_int_n1(void)
-{
-       int ret;
-       int value  = 3600;
-       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_TIME_CHANGED, value);
-       my_assert_ret(ret);
-
-       int time_changed;
-       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_TIME_CHANGED, &time_changed);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * SYSTEM_SETTINGS_KEY_DEVICE_NAME
- * check_SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API
- */
-/**
- * @testcase           utc_system_settings_set_value_string_n5
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_DEVICE_NAME is able to set the property in an exceptional-case. (not supported)
- */
-RETTYPE utc_system_settings_set_value_string_n5(void)
-{
-       int ret;
-       char *new_device = "Tizen222";
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, new_device);
-       my_assert_ret(ret);
-
-       char *ret_device = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_DEVICE_NAME, &ret_device);
-
-       if (ret_device != NULL && 0 == strcmp(ret_device, new_device)) {
-               assert(0);
-       } else {
-               assert(1);
-       }
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE is able to set the property in a normal-case.
- */
-RETTYPE utc_system_settings_set_value_string_p2(void)
-{
-       int ret;
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, new_ringtonepath);
-       my_assert_ret(ret);
-
-       char *ret_ringtonepath = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, &ret_ringtonepath);
-
-       if (ret == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED)
-               RETURN(0);
-
-       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
-               assert(1);
-       } else {
-               assert(0);
-       }
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_p3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY is able to set the property in a normal-case.
- */
-RETTYPE utc_system_settings_set_value_string_p3(void)
-{
-       int ret;
-       char *new_country = "ko_KR";
-
-       /* backup */
-       char *backup = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &backup);
-       my_assert_ret(ret);
-
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, new_country);
-       my_assert_ret(ret);
-
-       char *ret_country = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &ret_country);
-       my_assert_ret(ret);
-
-       if (ret_country != NULL && 0 == strcmp(ret_country, new_country)) {
-               assert(1);
-       } else {
-               assert(0);
-       }
-
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, backup);
-       my_assert_ret(ret);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_p4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to get the property.
- *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE is able to set the property in a normal-case.
- */
-RETTYPE utc_system_settings_set_value_string_p4(void)
-{
-       int ret;
-       char *new_country = "ko_KR";
-
-       /* backup */
-       char *backup = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &backup);
-       my_assert_ret(ret);
-
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, new_country);
-       my_assert_ret(ret);
-
-       char *ret_country = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &ret_country);
-       my_assert_ret(ret);
-
-       if (ret_country != NULL && 0 == strcmp(ret_country, new_country)) {
-               assert(1);
-       } else {
-               printf("ret:%s new:%s not same\n", ret_country, new_country);
-               assert(0);
-       }
-
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, backup);
-       my_assert_ret(ret);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p1
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p1(void)
-{
-       int ret;
-
-       bool ret_state = false;
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p2(void)
-{
-       int ret;
-
-       bool ret_state = false;
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_n
- * @since_tizen                2.3
- * @description                check if system_settings_set_changed_cb is able to handle invalid parameters.
- */
-RETTYPE utc_system_settings_set_changed_cb_n(void)
-{
-       int retcode = system_settings_set_changed_cb(-1, NULL, NULL);
-       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-
-/**
- * @testcase           utc_system_settings_get_value_int_p4
- * @since_tizen                3.0
- * @description                check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to get the property.
- */
-RETTYPE utc_system_settings_get_value_int_p4(void)
-{
-       int value = 0;
-       int nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE, &value);
-       my_assert_ret(nRetVal);
-       RETURN(0);
-}
-
-
-
-/**
- * @testcase           utc_system_settings_set_value_int_p1
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_int_p1(void)
-{
-       int nRetVal =  system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 30);
-       my_assert_ret(nRetVal);
-
-       int value;
-       nRetVal =  system_settings_get_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, &value);
-       //assert_eq(value, 30);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_int_n2
- * @since_tizen                2.3
- * @description                check if SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME is able to set the properties with exceptional cases.
- */
-RETTYPE utc_system_settings_set_value_int_n2(void)
-{
-       int ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, -5);
-       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-
-       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 601);
-       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-
-       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, 0);
-       assert(ret ==  SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p3
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p3(void)
-{
-       int ret;
-
-       bool ret_state = false;
-       bool cur_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p4
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p4(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p5
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p5(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p6
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p6(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_VIBRATION, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p7
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p7(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p8
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p8(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p9
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p9(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p10
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p10(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p11
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS  is able to get the property.
- *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS  is able to set the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p11(void)
-{
-       int ret;
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, &cur_state);
-       my_assert_ret(ret);
-
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_bool_p12
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_bool_p12(void)
-{
-       int ret;
-
-       /* get current state */
-       bool cur_state = false;
-       bool ret_state = false;
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &cur_state);
-       my_assert_ret(ret);
-
-       bool state = !cur_state;
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, state);
-       my_assert_ret(ret);
-
-       /* check current state */
-       ret = system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, &ret_state);
-       my_assert_ret_eq_bool(ret, state, ret_state);
-
-       /* roll back */
-       ret = system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED, cur_state);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_value_int_p2
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_FONT_SIZE is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_int_p2(void)
-{
-       int ret = -1;
-       int backup;
-       int arr[] = {
-               SYSTEM_SETTINGS_FONT_SIZE_SMALL,
-               SYSTEM_SETTINGS_FONT_SIZE_NORMAL,
-               SYSTEM_SETTINGS_FONT_SIZE_LARGE,
-               SYSTEM_SETTINGS_FONT_SIZE_HUGE,
-               SYSTEM_SETTINGS_FONT_SIZE_GIANT
-       };
-
-       srand(time(NULL));
-       int size = sizeof(arr)/sizeof(arr[0]);
-       int sel = rand() % size;
-
-       /* backup */
-       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &backup);
-       my_assert_ret(ret);
-
-       /* change font at random */
-       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, sel);
-       my_assert_ret(ret);
-
-       /* check if selection and result are identical. */
-       int after;
-       ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, &after);
-       //assert_eq(sel, after);
-
-       /* roll back to backup */
-       ret = system_settings_set_value_int(SYSTEM_SETTINGS_KEY_FONT_SIZE, backup);
-       my_assert_ret(ret);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_value_string_n6
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to set the property.
- *                                     check if SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION is able to get the property.
- */
-RETTYPE utc_system_settings_set_value_string_n6(void)
-{
-       int ret;
-       ret = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, new_ringtonepath);
-       my_assert_ret(ret);
-       //assert_eq(ret, SYSTEM_SETTINGS_ERROR_NONE);
-
-       char *ret_ringtonepath = NULL;
-       ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &ret_ringtonepath);
-
-       if (ret_ringtonepath != NULL && 0 == strcmp(ret_ringtonepath, new_ringtonepath)) {
-               my_assert_ret(0);
-       } else {
-               my_assert_ret(1);
-       }
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_n
- * @since_tizen                2.3
- * @description                check if system_settings_unset_changed_cb is able to handle invalid parameters.
- */
-RETTYPE utc_system_settings_unset_changed_cb_n(void)
-{
-       int retcode = system_settings_unset_changed_cb(-1);
-       assert(retcode !=  SYSTEM_SETTINGS_ERROR_NONE);
-       RETURN(0);
-}
-
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p27
- * @since_tizen                3.0
- * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p27(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p26
- * @since_tizen                3.0
- * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p26(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p29
- * @since_tizen                3.0
- * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p29(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p28
- * @since_tizen                3.0
- * @description     check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p28(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p31
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p31(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p30
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p30(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p33
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p33(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p32
- * @since_tizen                2.3
- * @description     check if SYSTEM_SETTINGS_KEY_VIBRATION is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_VIBRATION is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p32(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_VIBRATION);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-static int cb_count;
-static bool system_setting_get_ringtone_list_cb(int index, const char* data, void *user_data)
-{
-       cb_count += 1;
-/*     printf("%s\n", (char*)data); */
-       return true;
-}
-
-RETTYPE utc_system_settings_add_ringtone_list_p1(void)
-{
-       int retcode = -1;
-       cb_count = 0;
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_foreach_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, system_setting_get_ringtone_list_cb, NULL);
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
-
-       my_assert_ret(retcode);
-       assert_eq(cb_count, 5);
-
-       RETURN(0);
-}
-
-/**
- * @function           utc_system_settings_delete_ringtone_list_p1_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */
-
-/* system_settings - del ringtone list */
-RETTYPE utc_system_settings_delete_ringtone_list_p1(void)
-{
-       int retcode = -1;
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
-       my_assert_ret(retcode);
-       retcode = system_settings_add_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
-       my_assert_ret(retcode);
-
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/tct-content-tizen-tests_video.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/sound_5.wav");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/daliTestVideo.mp4");
-       my_assert_ret(retcode);
-       retcode = system_settings_delete_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, "/opt/usr/test/big_buck_bunny.mp4");
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-#include <unistd.h> /* to use sleep */
-typedef struct __in_callback_test {
-       int call_cnt1;
-       int call_cnt2;
-} __in_callback_data;
-
-static void utc_system_settings_changed_multi_callback1(system_settings_key_e key, void *user_data)
-{
-       __in_callback_data *cb_data = (__in_callback_data*)user_data;
-       if (!cb_data)
-               return;
-       cb_data->call_cnt1++;
-}
-
-static void utc_system_settings_changed_multi_callback2(system_settings_key_e key, void *user_data)
-{
-       __in_callback_data *cb_data = (__in_callback_data*)user_data;
-       if (!cb_data)
-               return;
-       cb_data->call_cnt2++;
-}
-
-static gpointer test_multi_callback_thread(gpointer arg)
-{
-       int retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                utc_system_settings_changed_multi_callback1, arg);
-       my_assert_ret(retcode);
-
-       retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                utc_system_settings_changed_multi_callback1, arg);
-
-       /* not support same callback about 1 system-settings key */
-       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER);
-
-       retcode = system_settings_add_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                utc_system_settings_changed_multi_callback2, arg);
-
-       bool bk_state = false;
-       system_settings_get_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , &bk_state);
-
-       bool state = true;
-       system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , state);
-
-       sleep(1);
-
-       my_assert_ret(retcode);
-       retcode = system_settings_remove_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                utc_system_settings_changed_multi_callback1);
-       my_assert_ret(retcode);
-       retcode = system_settings_remove_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
-                                                                                                utc_system_settings_changed_multi_callback2);
-       my_assert_ret(retcode);
-
-       system_settings_set_value_bool(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR , bk_state);
-
-       return 0;
-
-}
-/**
- * @testcase           utc_system_settings_add_changed_cb_p1
- * @since_tizen                4.0
- * @description     check if SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_add_changed_cb_p1(void)
-{
-       __in_callback_data *cb_data = calloc(sizeof(__in_callback_data), 1);
-       GThread *test_thread;
-
-       test_thread = g_thread_new(NULL, test_multi_callback_thread, cb_data);
-
-       g_thread_join(test_thread);
-       assert_eq(cb_data->call_cnt1, 1);
-       assert_eq(cb_data->call_cnt2, 1);
-       if (cb_data)
-               free(cb_data);
-
-       RETURN(0);
-}
-
-
-RETTYPE utc_system_settings_changed_callback_1(system_settings_key_e key, void *user_data)
-{
-       _callback_called = true;
-}
-
-RETTYPE utc_system_settings_changed_callback_2(system_settings_key_e key, void *user_data)
-{
-       _callback_called = true;
-}
-
-RETTYPE utc_system_settings_add_remove_changed_cb_p1(void)
-{
-       int retcode = 0;
-       int key_idx = 0;
-
-       for (key_idx = SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE; key_idx < SYSTEM_SETTINGS_KEY_MAX ; key_idx++) {
-               system_settings_changed_cb callback_1 = get_system_settings_test_callback();
-               system_settings_changed_cb callback_2 = get_system_settings_test_callback();
-
-               if (key_idx == SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED + 1)
-                       continue; /* skip removed system-setting key */
-
-               if (key_idx == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)
-                       continue; /* skip not supported notification callback of system-setting key */
-
-               retcode = system_settings_add_changed_cb(key_idx,
-                                                                                                       callback_1, NULL);
-
-               if (retcode == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-                       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               } else {
-                       if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
-                               printf("ERROR !! key =%d , ret = %d\n", key_idx, retcode);
-               }
-
-               retcode = system_settings_remove_changed_cb(key_idx,
-                                                                                                       callback_1);
-
-               if (retcode == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED) {
-                       assert_eq(retcode, SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED);
-               } else {
-                       if (retcode != SYSTEM_SETTINGS_ERROR_NONE)
-                               printf("ERROR !! key =%d , ret = %d\n", key_idx, retcode);
-               }
-
-               retcode = system_settings_add_changed_cb(key_idx,
-                                                                                                        callback_1, NULL);
-               my_assert_ret(retcode);
-
-               retcode = system_settings_add_changed_cb(key_idx,
-                                                                                                        callback_2, NULL);
-               my_assert_ret(retcode);
-
-               retcode = system_settings_remove_changed_cb(key_idx,
-                                                                                                       callback_1);
-               my_assert_ret(retcode);
-
-               retcode = system_settings_remove_changed_cb(key_idx,
-                                                                                                       callback_2);
-               my_assert_ret(retcode);
-       }
-
-       RETURN(0);
-}
-
-RETTYPE utc_system_settings_ads_id_p1(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = 0;
-       char *ret_ads_id = NULL;
-       retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, &ret_ads_id);
-
-       char *set_ads_id = "00000215-0156-0133-0034-000000000102";
-       retcode = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, set_ads_id);
-       my_assert_ret(retcode);
-
-       system_settings_set_value_string(SYSTEM_SETTINGS_KEY_ADS_ID, ret_ads_id);
-       if (ret_ads_id)
-               free(ret_ads_id);
-
-       retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ADS_ID,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ADS_ID);
-       my_assert_ret(retcode);
-       RETURN(0);
-}
-
-RETTYPE utc_system_settings_lock_screen_app_p1(void)
-{
-       int retcode = 0;
-       char *ret_lock_screen_id = NULL;
-       retcode = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, &ret_lock_screen_id);
-
-       char *set_lock_screen_id = "org.tizen.voice-control-panel";
-       retcode = system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, set_lock_screen_id);
-       my_assert_ret(retcode);
-
-       system_settings_set_value_string(SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, ret_lock_screen_id);
-       if (ret_lock_screen_id)
-               free(ret_lock_screen_id);
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p35
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p35(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p34
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p34(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p37
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p37(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p36
- * @since_tizen                5.0
- * @description     check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p36(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p39
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p39(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p38
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p38(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p41
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p41(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p40
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p40(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-/**
- * @testcase           utc_system_settings_set_changed_cb_p43
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the callback for change-notification.
- */
-RETTYPE utc_system_settings_set_changed_cb_p43(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
-                                                                                                callback, NULL);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-
-/**
- * @testcase           utc_system_settings_unset_changed_cb_p42
- * @since_tizen                5.5
- * @description     check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to set the callback for change-notification.
- *                  check if SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED is able to unset the callback for change-notification.
- */
-RETTYPE utc_system_settings_unset_changed_cb_p42(void)
-{
-       system_settings_changed_cb callback = get_system_settings_test_callback();
-       int retcode = system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,
-                                                                                                callback, NULL);
-
-       retcode = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED);
-       my_assert_ret(retcode);
-
-       RETURN(0);
-}
-
-void unittest_api()
-{
-       /* hook up your test functions */
-       g_test_add_func("/utc_system_settings_add_changed_cb_p1", utc_system_settings_add_changed_cb_p1);
-       g_test_add_func("/utc_system_settings_add_remove_changed_cb_p1", utc_system_settings_add_remove_changed_cb_p1);
-       g_test_add_func("/utc_system_settings_ads_id_p1", utc_system_settings_ads_id_p1);
-       add_test_func("/utc_system_settings_lock_screen_app_p1", utc_system_settings_lock_screen_app_p1);
-       add_test_func("/utc_system_settings_get_value_string_p1", utc_system_settings_get_value_string_p1);
-       add_test_func("/utc_system_settings_get_value_string_p2", utc_system_settings_get_value_string_p2);
-       add_test_func("/utc_system_settings_get_value_string_p3", utc_system_settings_get_value_string_p3);
-       add_test_func("/utc_system_settings_get_value_string_p4", utc_system_settings_get_value_string_p4);
-       add_test_func("/utc_system_settings_get_value_string_p5", utc_system_settings_get_value_string_p5);
-       add_test_func("/utc_system_settings_get_value_string_p7", utc_system_settings_get_value_string_p7);
-       add_test_func("/utc_system_settings_get_value_string_p6", utc_system_settings_get_value_string_p6);
-       add_test_func("/utc_system_settings_get_value_string_p10", utc_system_settings_get_value_string_p10);
-       add_test_func("/utc_system_settings_get_value_string_p8", utc_system_settings_get_value_string_p8);
-       add_test_func("/utc_system_settings_get_value_string_p9", utc_system_settings_get_value_string_p9);
-       add_test_func("/utc_system_settings_get_value_string_p11", utc_system_settings_get_value_string_p11);
-       add_test_func("/utc_system_settings_get_value_string_n", utc_system_settings_get_value_string_n);
-       add_test_func("/utc_system_settings_get_value_bool_p1", utc_system_settings_get_value_bool_p1);
-       add_test_func("/utc_system_settings_get_value_bool_p2", utc_system_settings_get_value_bool_p2);
-       add_test_func("/utc_system_settings_get_value_bool_p3", utc_system_settings_get_value_bool_p3);
-       add_test_func("/utc_system_settings_get_value_bool_p4", utc_system_settings_get_value_bool_p4);
-       add_test_func("/utc_system_settings_get_value_bool_p5", utc_system_settings_get_value_bool_p5);
-       add_test_func("/utc_system_settings_get_value_bool_p6", utc_system_settings_get_value_bool_p6);
-       add_test_func("/utc_system_settings_get_value_bool_p7", utc_system_settings_get_value_bool_p7);
-       add_test_func("/utc_system_settings_get_value_bool_p8", utc_system_settings_get_value_bool_p8);
-       add_test_func("/utc_system_settings_get_value_bool_p9", utc_system_settings_get_value_bool_p9);
-       add_test_func("/utc_system_settings_get_value_bool_p10", utc_system_settings_get_value_bool_p10);
-       add_test_func("/utc_system_settings_get_value_bool_p11", utc_system_settings_get_value_bool_p11);
-       add_test_func("/utc_system_settings_get_value_bool_p12", utc_system_settings_get_value_bool_p12);
-       add_test_func("/utc_system_settings_get_value_bool_p13", utc_system_settings_get_value_bool_p13);
-       add_test_func("/utc_system_settings_get_value_bool_p14", utc_system_settings_get_value_bool_p14);
-       add_test_func("/utc_system_settings_get_value_bool_n", utc_system_settings_get_value_bool_n);
-       add_test_func("/utc_system_settings_get_value_int_p1", utc_system_settings_get_value_int_p1);
-       add_test_func("/utc_system_settings_get_value_int_p2", utc_system_settings_get_value_int_p2);
-       add_test_func("/utc_system_settings_get_value_n", utc_system_settings_get_value_n);
-       add_test_func("/utc_system_settings_get_value_int_p3", utc_system_settings_get_value_int_p3);
-       add_test_func("/utc_system_settings_get_value_int_p4", utc_system_settings_get_value_int_p4);
-       g_test_add_func("/utc_system_settings_set_value_string_n2", utc_system_settings_set_value_string_n2);
-       g_test_add_func("/utc_system_settings_set_value_string_n3", utc_system_settings_set_value_string_n3);
-       g_test_add_func("/utc_system_settings_set_value_string_n4", utc_system_settings_set_value_string_n4);
-       add_test_func("/utc_system_settings_set_value_string_n5", utc_system_settings_set_value_string_n5);
-       g_test_add_func("/utc_system_settings_set_value_string_n7", utc_system_settings_set_value_string_n7);
-       add_test_func("/utc_system_settings_set_value_string_n8", utc_system_settings_set_value_string_n8);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p1", utc_system_settings_set_changed_cb_p1);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p1", utc_system_settings_unset_changed_cb_p1);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p2", utc_system_settings_set_changed_cb_p2);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p2", utc_system_settings_unset_changed_cb_p2);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p3", utc_system_settings_set_changed_cb_p3);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p3", utc_system_settings_unset_changed_cb_p3);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p4", utc_system_settings_set_changed_cb_p4);
-       g_test_add_func("/utc_system_settings_LOCK_SCREEN_unset_changed_cb_p", utc_system_settings_LOCK_SCREEN_unset_changed_cb_p);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p5", utc_system_settings_set_changed_cb_p5);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p4", utc_system_settings_unset_changed_cb_p4);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p6", utc_system_settings_set_changed_cb_p6);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p5", utc_system_settings_unset_changed_cb_p5);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p7", utc_system_settings_set_changed_cb_p7);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p6", utc_system_settings_unset_changed_cb_p6);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p8", utc_system_settings_set_changed_cb_p8);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p7", utc_system_settings_unset_changed_cb_p7);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p9", utc_system_settings_set_changed_cb_p9);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p8", utc_system_settings_unset_changed_cb_p8);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p10", utc_system_settings_set_changed_cb_p10);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p9", utc_system_settings_unset_changed_cb_p9);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p11", utc_system_settings_set_changed_cb_p11);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p10", utc_system_settings_unset_changed_cb_p10);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p12", utc_system_settings_set_changed_cb_p12);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p11", utc_system_settings_unset_changed_cb_p11);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p13", utc_system_settings_set_changed_cb_p13);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p12", utc_system_settings_unset_changed_cb_p12);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p14", utc_system_settings_set_changed_cb_p14);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p13", utc_system_settings_unset_changed_cb_p13);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p15", utc_system_settings_set_changed_cb_p15);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p14", utc_system_settings_unset_changed_cb_p14);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p16", utc_system_settings_set_changed_cb_p16);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p15", utc_system_settings_unset_changed_cb_p15);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p17", utc_system_settings_set_changed_cb_p17);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p16", utc_system_settings_unset_changed_cb_p16);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p18", utc_system_settings_set_changed_cb_p18);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p17", utc_system_settings_unset_changed_cb_p17);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p19", utc_system_settings_set_changed_cb_p19);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p18", utc_system_settings_unset_changed_cb_p18);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p20", utc_system_settings_set_changed_cb_p20);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p19;", utc_system_settings_unset_changed_cb_p19);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p21", utc_system_settings_set_changed_cb_p21);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p20", utc_system_settings_unset_changed_cb_p20);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p22", utc_system_settings_set_changed_cb_p22);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p21", utc_system_settings_unset_changed_cb_p21);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p23", utc_system_settings_set_changed_cb_p23);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p22", utc_system_settings_unset_changed_cb_p22);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p24", utc_system_settings_set_changed_cb_p24);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p23", utc_system_settings_unset_changed_cb_p23);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p25", utc_system_settings_set_changed_cb_p25);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p24", utc_system_settings_unset_changed_cb_p24);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p27", utc_system_settings_set_changed_cb_p27);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p26", utc_system_settings_unset_changed_cb_p26);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p29", utc_system_settings_set_changed_cb_p29);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p28", utc_system_settings_unset_changed_cb_p28);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p31", utc_system_settings_set_changed_cb_p31);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p30", utc_system_settings_unset_changed_cb_p30);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p33", utc_system_settings_set_changed_cb_p33);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p32", utc_system_settings_unset_changed_cb_p32);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p35", utc_system_settings_set_changed_cb_p35);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p34", utc_system_settings_unset_changed_cb_p34);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p37", utc_system_settings_set_changed_cb_p37);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p36", utc_system_settings_unset_changed_cb_p36);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p39", utc_system_settings_set_changed_cb_p39);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p38", utc_system_settings_unset_changed_cb_p38);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p41", utc_system_settings_set_changed_cb_p41);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p40", utc_system_settings_unset_changed_cb_p40);
-       g_test_add_func("/utc_system_settings_set_changed_cb_p43", utc_system_settings_set_changed_cb_p43);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_p42", utc_system_settings_unset_changed_cb_p42);
-       g_test_add_func("/utc_system_settings_add_ringtone_list_p1", utc_system_settings_add_ringtone_list_p1);
-       g_test_add_func("/utc_system_settings_delete_ringtone_list_p1", utc_system_settings_delete_ringtone_list_p1);
-       add_test_func("/utc_system_settings_set_value_string_p1", utc_system_settings_set_value_string_p1);
-       add_test_func("/utc_system_settings_set_value_string_p2", utc_system_settings_set_value_string_p2);
-       g_test_add_func("/utc_system_settings_set_value_string_p3", utc_system_settings_set_value_string_p3);
-       g_test_add_func("/utc_system_settings_set_value_string_p4", utc_system_settings_set_value_string_p4);
-       add_test_func("/utc_system_settings_set_value_bool_n1", utc_system_settings_set_value_bool_n1);
-       add_test_func("/utc_system_settings_set_value_bool_n4", utc_system_settings_set_value_bool_n4);
-       add_test_func("/utc_system_settings_set_value_bool_n5", utc_system_settings_set_value_bool_n5);
-       add_test_func("/utc_system_settings_set_value_bool_p1", utc_system_settings_set_value_bool_p1);
-       add_test_func("/utc_system_settings_set_value_bool_p2", utc_system_settings_set_value_bool_p2);
-       add_test_func("/utc_system_settings_set_value_int_n1", utc_system_settings_set_value_int_n1);
-       g_test_add_func("/utc_system_settings_set_changed_cb_n", utc_system_settings_set_changed_cb_n);
-       add_test_func("/utc_system_settings_set_value_int_p1", utc_system_settings_set_value_int_p1);
-       add_test_func("/utc_system_settings_set_value_int_n2", utc_system_settings_set_value_int_n2);
-       add_test_func("/utc_system_settings_set_value_bool_p3", utc_system_settings_set_value_bool_p3);
-       add_test_func("/utc_system_settings_set_value_bool_p4", utc_system_settings_set_value_bool_p4);
-       add_test_func("/utc_system_settings_set_value_bool_p5", utc_system_settings_set_value_bool_p5);
-       add_test_func("/utc_system_settings_set_value_bool_p6", utc_system_settings_set_value_bool_p6);
-       add_test_func("/utc_system_settings_set_value_bool_p7", utc_system_settings_set_value_bool_p7);
-       add_test_func("/utc_system_settings_set_value_bool_p8", utc_system_settings_set_value_bool_p8);
-       add_test_func("/utc_system_settings_set_value_bool_p9", utc_system_settings_set_value_bool_p9);
-       add_test_func("/utc_system_settings_set_value_bool_p10", utc_system_settings_set_value_bool_p10);
-       add_test_func("/utc_system_settings_set_value_bool_p11", utc_system_settings_set_value_bool_p11);
-       add_test_func("/utc_system_settings_set_value_bool_p12", utc_system_settings_set_value_bool_p12);
-       add_test_func("/utc_system_settings_set_value_int_p2", utc_system_settings_set_value_int_p2);
-       add_test_func("/utc_system_settings_set_value_string_n6", utc_system_settings_set_value_string_n6);
-       g_test_add_func("/utc_system_settings_unset_changed_cb_n", utc_system_settings_unset_changed_cb_n);
-}
-
diff --git a/unit_test/src/unit_test_fw.c b/unit_test/src/unit_test_fw.c
deleted file mode 100644 (file)
index 65a9a37..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#include <unit_test_fw.h>
-
-typedef struct __thread_test_table {
-       char * test_name;
-       GTestFunc t_func;
-} thread_test_node;
-
-static GThread *my_thread = NULL;
-static GMainLoop *main_loop = NULL;
-static thread_test_node thread_test_table[1000] = {0};
-static int thread_test_idx = 0;
-static int loop = 100;
-static int thread_sw = 1;
-
-void *thread_function(void *data)
-{
-       int cnt = 0;
-       int test_idx = (int)data;
-
-       while (thread_sw) {
-               if (cnt > loop)
-                       break;
-               cnt++;
-               thread_test_table[test_idx].t_func();
-               sleep(0);
-       }
-
-       return 0;
-
-}
-
-static GThread **unit_test_thread_start(int test_num)
-{
-       int i;
-       GThread **thread_list = (GThread **)calloc(sizeof(GThread*), N_THREADS);
-       for (i = 0; i < N_THREADS; i++) {
-               thread_list[i] = g_thread_new(NULL, thread_function, (void*)test_num);
-       }
-       return thread_list;
-}
-
-static void unit_test_thread_stop(GThread **thread_list)
-{
-       int i;
-       for (i = 0; i < N_THREADS; i++) {
-               g_thread_join(thread_list[i]);
-       }
-
-       g_free(thread_list);
-}
-
-static void unit_thread_test()
-{
-       int i;
-       GThread **thread_test[MAX_TEST_CASE];
-
-       printf("START!!!! thread test for system-settings %d tests\n", thread_test_idx);
-
-       thread_sw = 1;
-       for (i = 0; i < thread_test_idx; i++) {
-               thread_test[i] = unit_test_thread_start(i);
-               printf("%3d %s:start!\n", i, thread_test_table[i].test_name);
-
-               unit_test_thread_stop(thread_test[i]);
-               printf("%3d %s:OK\n", i, thread_test_table[i].test_name);
-       }
-
-       printf("END!!!! thread test for system-settings\n");
-}
-
-static gpointer loop_func(gpointer data)
-{
-       g_main_loop_run(main_loop);
-       return NULL;
-}
-
-static void start_main_loop_thread()
-{
-       my_thread = g_thread_new(NULL, loop_func, NULL);
-}
-
-static void stop_main_loop_thread()
-{
-       g_main_loop_quit(main_loop);
-       g_thread_join(my_thread);
-       g_main_loop_unref(main_loop);
-}
-
-
-int main(int argc, char* argv[])
-{
-       main_loop = g_main_loop_new(NULL, FALSE);
-
-       g_test_init(&argc, &argv, NULL);
-       g_test_set_nonfatal_assertions();
-
-       start_main_loop_thread();
-
-       unittest_api();
-
-       g_test_run();
-       unit_thread_test();
-
-       stop_main_loop_thread();
-       return 0;
-}
-
-void add_test_func(char * test_name,  GTestFunc func_pointer)
-{
-       g_test_add_func(test_name, func_pointer);
-
-       thread_test_table[thread_test_idx].test_name = test_name;
-       thread_test_table[thread_test_idx].t_func = func_pointer;
-
-       thread_test_idx++;
-}
-
diff --git a/unit_test/src/vconf.cpp b/unit_test/src/vconf.cpp
deleted file mode 100644 (file)
index af0af23..0000000
+++ /dev/null
@@ -1,606 +0,0 @@
-/*
- * Copyright (C) 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#pragma once
-
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <sqlite3.h>
-#include <unistd.h>
-
-
-#include <iostream>
-#include <map>
-#include <string>
-
-#define LOG_D //fprintf
-#define LOG_E fprintf
-
-using namespace std;
-
-#ifndef EXPORT
-#  define EXPORT __attribute__((visibility("default")))
-#endif
-
-typedef std::map<string, pair<void*,void*>> NotifyMap;
-static NotifyMap notifyCallBackMap;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define VCONF_OK                    0
-#define VCONF_ERROR                 -1
-#define VCONF_ERROR_WRONG_PREFIX    -2
-#define VCONF_ERROR_WRONG_TYPE      -3
-#define VCONF_ERROR_WRONG_VALUE     -4
-#define VCONF_ERROR_NOT_INITIALIZED -5
-#define VCONF_ERROR_NO_MEM          -6
-#define VCONF_ERROR_FILE_PERM       -11
-#define VCONF_ERROR_FILE_BUSY       -12
-#define VCONF_ERROR_FILE_NO_MEM     -13
-#define VCONF_ERROR_FILE_NO_ENT     -14
-#define VCONF_ERROR_FILE_OPEN       -21
-#define VCONF_ERROR_FILE_FREAD      -22
-#define VCONF_ERROR_FILE_FGETS      -23
-#define VCONF_ERROR_FILE_WRITE      -24
-#define VCONF_ERROR_FILE_SYNC       -25
-#define VCONF_ERROR_FILE_CLOSE      -26
-#define VCONF_ERROR_FILE_ACCESS     -27
-#define VCONF_ERROR_FILE_CHMOD      -28
-#define VCONF_ERROR_FILE_LOCK       -29
-#define VCONF_ERROR_FILE_REMOVE     -30
-#define VCONF_ERROR_FILE_SEEK       -31
-#define VCONF_ERROR_FILE_TRUNCATE   -32
-#define VCONF_ERROR_NOT_SUPPORTED   -33
-
-#define MAX_BUF_LEN 2048
-#define DB_NAME "./vconf.db"
-
-    enum get_option_t {
-        VCONF_GET_KEY = 0, /**< Get only keys */
-        VCONF_GET_ALL,     /**< Get keys and directories */
-        VCONF_GET_DIR      /**< Get only directories */
-    };
-    typedef enum get_option_t get_option_t;
-    enum vconf_t {
-        VCONF_TYPE_NONE = 0,    /**< Vconf none type for Error detection */
-        VCONF_TYPE_STRING = 40, /**< Vconf string type */
-        VCONF_TYPE_INT = 41,    /**< Vconf integer type */
-        VCONF_TYPE_DOUBLE = 42, /**< Vconf double type */
-        VCONF_TYPE_BOOL = 43,   /**< Vconf boolean type */
-        VCONF_TYPE_DIR          /**< Vconf directory type */
-    };
-
-    typedef struct _keynode_t {
-        char *keyname;           /**< Keyname for keynode */
-        int type;                /**< Keynode type */
-        union {
-            int i;               /**< Integer type */
-            int b;               /**< Bool type */
-            double d;            /**< Double type */
-            char *s;             /**< String type */
-        } value;                 /**< Value for keynode */
-    } keynode_t;
-    typedef struct _keylist_t keylist_t;
-
-    typedef void (*vconf_callback_fn) (keynode_t *node, void *user_data);
-
-    union UnionValue {
-        int i;               /**< Integer type */
-        int b;               /**< Bool type */
-        double d;            /**< Double type */
-        char *s;             /**< String type */
-    };                 /**< Value for keynode */
-
-    void checkNotifyCallBack( const char* in_key, int type, UnionValue* value ){
-
-        string str;
-        str = in_key;
-
-        NotifyMap::iterator  itr;
-        for(itr = notifyCallBackMap.begin(); itr != notifyCallBackMap.end(); itr++){
-            LOG_D(stdout, "[%s][%d] map Key[%s]\n", __func__, __LINE__, itr->first.c_str());
-
-            if( str.compare( itr->first ) == 0 ){
-                vconf_callback_fn cb = (vconf_callback_fn)itr->second.first;
-                void* user_data = itr->second.second;
-
-                keynode_t node;
-                node.keyname = (char*)str.c_str();
-                node.type = type;
-                switch( node.type ) {
-                    case VCONF_TYPE_STRING:
-                        node.value.s = value->s;
-                        break;
-                    case VCONF_TYPE_INT:
-                        node.value.i = value->i;
-                        break;
-                    case VCONF_TYPE_DOUBLE:
-                        node.value.d = value->d;
-                        break;
-                    case VCONF_TYPE_BOOL:
-                        node.value.b = value->b;
-                        break;
-defalut:
-                        LOG_D(stdout, "[%s][%d] invalid type [%d] \n", __func__, __LINE__, node.type );
-                        return;
-                }
-                cb(&node, user_data);
-            }
-        }
-    }
-
-
-    static sqlite3 *db = NULL;
-
-    int _sqlite_close() {
-        if( db != NULL ){
-            sqlite3_close(db);
-            db = NULL;
-        }
-    }
-
-    int _sqlite_connect() {
-
-        int rc;
-        char *err_msg = 0;
-        char sql[MAX_BUF_LEN+1];
-
-        if( db != NULL ) {
-            return VCONF_OK;
-        }
-
-        rc = sqlite3_open(DB_NAME, &db);
-        if (rc != SQLITE_OK) {
-            LOG_E(stderr, "[%s][%d] sqlite3_open error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), sqlite3_errmsg(db));
-            _sqlite_close();
-            return VCONF_ERROR;
-        }
-    }
-
-    /************************************************
-     * keynode handling APIs                        *
-     ************************************************/
-    EXPORT char *vconf_keynode_get_name(keynode_t *keynode){
-        return NULL;
-    }
-
-    EXPORT int vconf_keynode_get_type(keynode_t *keynode){
-        return 0;
-    }
-
-    EXPORT int vconf_keynode_get_int(keynode_t *keynode){
-        return 0;
-    }
-
-    EXPORT double vconf_keynode_get_dbl(keynode_t *keynode){
-        return 0;
-    }
-
-    EXPORT int vconf_keynode_get_bool(keynode_t *keynode){
-        return 0;
-    }
-
-    EXPORT char *vconf_keynode_get_str(keynode_t *keynode){
-        return NULL;
-    }
-
-
-    /************************************************
-     * keylist handling APIs
-     ************************************************/
-    keylist_t *vconf_keylist_new(void){
-        return NULL;
-    }
-
-    EXPORT int vconf_keylist_rewind(keylist_t *keylist){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_free(keylist_t *keylist){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_lookup(keylist_t *keylist, const char *keyname,
-            keynode_t **return_node){
-        return 0;
-    }
-
-    EXPORT keynode_t *vconf_keylist_nextnode(keylist_t *keylist){
-        return NULL;
-    }
-
-    EXPORT int vconf_keylist_add_int(keylist_t *keylist, const char *keyname,
-            const int value){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_add_bool(keylist_t *keylist, const char *keyname,
-            const int value){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_add_dbl(keylist_t *keylist, const char *keyname,
-            const double value){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_add_str(keylist_t *keylist, const char *keyname,
-            const char *value){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_add_null(keylist_t *keylist, const char *keyname){
-        return 0;
-    }
-
-    EXPORT int vconf_keylist_del(keylist_t *keylist, const char *keyname){
-        return 0;
-    }
-
-    /************************************************
-     * setting APIs                                 *
-     ************************************************/
-
-    int _vconf_set_str(const char *in_key, const char *strval){
-
-        int rc;
-        char *err_msg = 0;
-        char sql[MAX_BUF_LEN+1];
-
-        rc = _sqlite_connect();
-        if (rc != SQLITE_OK) {
-            _sqlite_close();
-            return VCONF_ERROR;
-        }
-
-#if 1 /* journal mode */
-        {
-            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
-            snprintf(sql, MAX_BUF_LEN, "PRAGMA JOURNAL_MODE=MEMORY");
-
-            rc = sqlite3_exec(db, sql, 0, 0, &err_msg);
-            if (rc != SQLITE_OK ) {
-                LOG_E(stderr, "[%s][%d] sqlite3_exec error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), err_msg);
-
-                sqlite3_free(err_msg);
-                _sqlite_close();
-                return VCONF_ERROR;
-            }
-        }
-#endif
-
-
-#if 0 /* select key */
-        {
-            sqlite3_stmt *stmt = NULL;
-            snprintf(sql, MAX_BUF_LEN, "SELECT layer, key, value, type read_privilege, write_privilege FROM vconf WHERE key = ? and layer = 'system'");
-
-            rc = sqlite3_prepare(db, sql, -1, &stmt, 0);
-            if(rc != SQLITE_OK ){
-                LOG_E(stderr, "[%s][%d] sqlite3_prepare error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
-                sqlite3_finalize(stmt);
-                _sqlite_close();
-                return VCONF_ERROR;
-            }
-
-            sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
-            rc = sqlite3_step(stmt);
-            if( rc != SQLITE_ROW ) {
-                LOG_E(stderr, "[%s][%d] sqlite3_step error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
-                sqlite3_finalize(stmt);
-                _sqlite_close();
-                return VCONF_ERROR;
-            }
-
-            LOG_D(stdout, "vconf get: layer[%s] key[%s], value[%s]\n",
-                    sqlite3_column_text(stmt,0),
-                    sqlite3_column_text(stmt,1),
-                    sqlite3_column_text(stmt,2) );
-
-            sqlite3_finalize(stmt);
-        }
-#endif
-
-#if 0 /* insert key */
-        {
-            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
-            snprintf(sql, MAX_BUF_LEN, "INSERT OR REPLACE INTO vconf ( layer, key, value ) "
-                    "VALUES ( \"%s\", \"%s\", \'%s\');", "system", in_key, strval );
-
-            rc = sqlite3_exec(db, sql, 0, 0, &err_msg);
-            if (rc != SQLITE_OK ) {
-                LOG_E(stderr, "[%s][%d] sqlite3_exec error: rc [%d] sqlerrcode[%d] sqlexterrcode[%d] sqlmessage[%s]\n", __func__, __LINE__, rc, sqlite3_errcode(db), sqlite3_extended_errcode(db), err_msg);
-
-                sqlite3_free(err_msg);
-                _sqlite_close();
-
-                return VCONF_ERROR;
-            }
-        }
-#endif
-
-#if 1 /* insert key with parameter */
-        {
-            sqlite3_stmt *stmt = NULL;
-            LOG_D(stdout, "[%s][%d] key[%s] value[%s]\n", __func__, __LINE__, in_key, strval);
-            snprintf(sql, MAX_BUF_LEN, "INSERT OR REPLACE INTO vconf ( layer, key, value ) "
-                    "VALUES ( \"%s\", ?, ?);", "system" );
-
-            rc = sqlite3_prepare(db, sql, strlen(sql), &stmt, 0);
-            if(rc != SQLITE_OK ){
-                LOG_E(stderr, "[%s][%d] sqlite3_prepare error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
-                sqlite3_finalize(stmt);
-                _sqlite_close();
-                return VCONF_ERROR;
-            }
-
-            sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
-            sqlite3_bind_text(stmt, 2, strval, strlen(strval), SQLITE_STATIC);
-
-            rc = sqlite3_step(stmt);
-            if( rc != SQLITE_DONE ) {
-                LOG_E(stderr, "[%s][%d] sqlite3_step error! : %s\n", __func__, __LINE__, sqlite3_errmsg(db));
-                sqlite3_finalize(stmt);
-                _sqlite_close();
-                return VCONF_ERROR;
-            }
-        }
-#endif
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_set(keylist_t *keylist){
-        return 0;
-    }
-
-    EXPORT int vconf_set_int(const char *in_key, const int intval){
-        int rc;
-        char buf[MAX_BUF_LEN+1];
-        snprintf(buf, MAX_BUF_LEN, "%d", intval);
-
-        rc = _vconf_set_str(in_key, buf);
-        if( rc != VCONF_OK ){
-            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
-            return VCONF_ERROR;
-        }
-
-        UnionValue uValue;
-        uValue.i = intval;
-        checkNotifyCallBack( in_key, VCONF_TYPE_INT, &uValue );
-
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_set_bool(const char *in_key, const int boolval){
-        int rc;
-        char buf[MAX_BUF_LEN+1];
-        snprintf(buf, MAX_BUF_LEN, "%d", boolval);
-
-        rc = _vconf_set_str(in_key, buf);
-        if( rc != VCONF_OK ){
-            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
-            return VCONF_ERROR;
-        }
-
-        UnionValue uValue;
-        uValue.b = boolval;
-        checkNotifyCallBack( in_key, VCONF_TYPE_BOOL, &uValue );
-
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_set_dbl(const char *in_key, const double dblval){
-
-        int rc;
-        char buf[MAX_BUF_LEN+1];
-        snprintf(buf, MAX_BUF_LEN, "%lf", dblval);
-
-        rc = _vconf_set_str(in_key, buf);
-        if( rc != VCONF_OK ){
-            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
-            return VCONF_ERROR;
-        }
-
-        UnionValue uValue;
-        uValue.d = dblval;
-        checkNotifyCallBack( in_key, VCONF_TYPE_DOUBLE, &uValue );
-
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_set_str(const char *in_key, const char *strval){
-        int rc;
-
-        rc = _vconf_set_str(in_key, strval);
-        if( rc != VCONF_OK ){
-            LOG_E(stderr,"[%s][%d] _vconf_set_str error!\n", __func__,__LINE__);
-            return VCONF_ERROR;
-        }
-
-        UnionValue uValue;
-        uValue.s = (char*)strval;
-        checkNotifyCallBack( in_key, VCONF_TYPE_STRING, &uValue );
-
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_get(keylist_t *keylist, const char *in_parentDIR, get_option_t option){
-        return 0;
-    }
-
-    EXPORT char *vconf_get_str(const char *in_key){
-
-        int rc;
-        char sql[MAX_BUF_LEN+1];
-        char* str = NULL;
-
-        LOG_D(stdout,"[%s][%d] start! key [%s] \n", __func__, __LINE__ , in_key );
-
-        rc = _sqlite_connect();
-        if (rc != SQLITE_OK) {
-            _sqlite_close();
-            return NULL;
-        }
-
-        sqlite3_stmt *stmt = NULL;
-        snprintf(sql, MAX_BUF_LEN, "SELECT layer, key, value, type read_privilege, write_privilege FROM vconf WHERE key = ? and layer = 'system'");
-
-        int count = 0;
-        do {
-            rc = sqlite3_prepare(db, sql, strlen(sql), &stmt, 0);
-            if(rc != SQLITE_OK ){
-                LOG_E(stderr, "[%s][%d] sqltie3_prepare error! rc[%d] : %s\n", __func__, __LINE__, rc, sqlite3_errmsg(db));
-
-                if( count >= 5 ){
-                    _sqlite_close();
-                    return NULL;
-                }
-
-                count++;
-                usleep(1000000);
-
-            }
-            else {
-                break;
-            }
-        }while(1);
-
-        sqlite3_bind_text(stmt, 1, in_key, strlen(in_key), SQLITE_STATIC);
-        rc = sqlite3_step(stmt);
-        if( rc != SQLITE_ROW ) {
-            LOG_E(stderr, "[%s][%d] sqlite3_step error! key[%s]\n", __func__, __LINE__, in_key);
-            sqlite3_finalize(stmt);
-            _sqlite_close();
-            return NULL;
-        }
-
-        LOG_D(stdout, "[%s][%d] vconf get: layer[%s] key[%s], value[%s]\n",
-                __func__, __LINE__,
-                sqlite3_column_text(stmt,0),
-                sqlite3_column_text(stmt,1),
-                sqlite3_column_text(stmt,2) );
-
-        str = (char*)malloc(MAX_BUF_LEN+1);
-        strncpy( str, (char*)sqlite3_column_text(stmt,2), MAX_BUF_LEN);
-
-        sqlite3_finalize(stmt);
-
-        LOG_D(stdout, "[%s][%d] vconf get: key[%s], value[%s]\n", __func__, __LINE__, in_key, str );
-        return str;
-    }
-
-    EXPORT int vconf_get_int(const char *in_key, int *intval){
-
-        LOG_D(stdout,"[%s][%d] start!\n", __func__, __LINE__ );
-
-        char* value = vconf_get_str(in_key);
-
-        if( value == NULL ){
-            return VCONF_ERROR;
-        }
-
-        *intval = atoi(value);
-
-        free(value);
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_get_bool(const char *in_key, int *boolval){
-
-        LOG_D(stdout,"[%s][%d] start! key [%s] \n", __func__, __LINE__ , in_key );
-
-        char* value = vconf_get_str(in_key);
-
-        if( value == NULL ){
-            LOG_E(stdout, "[%s][%d] value is NULL! \n", __func__, __LINE__ );
-            return VCONF_ERROR;
-        }
-
-        if( *value == '0' ){
-            *boolval = 0;
-        } else {
-            *boolval = 1;
-        }
-
-        free(value);
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_get_dbl(const char *in_key, double *dblval){
-
-        LOG_D(stdout,"[%s][%d] start!\n", __func__, __LINE__ );
-
-        char* value = vconf_get_str(in_key);
-        char *ptr;
-
-        if( value == NULL ){
-            return VCONF_ERROR;
-        }
-
-        *dblval = strtod(value, &ptr);;
-
-        free(value);
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_unset(const char *in_key){
-        return 0;
-    }
-
-    EXPORT int vconf_sync_key(const char *in_key){
-        return 0;
-    }
-
-    EXPORT int vconf_unset_recursive(const char *in_dir){
-        return 0;
-    }
-
-    EXPORT int vconf_notify_key_changed(const char *in_key, vconf_callback_fn cb,
-            void *user_data){
-        string str;
-        str = in_key;
-        notifyCallBackMap.insert(make_pair(str, make_pair((void*)cb,user_data)));
-
-#if 0 /* map debug */
-        NotifyMap::iterator  itr;
-        for(itr = notifyCallBackMap.begin(); itr != notifyCallBackMap.end(); itr++){
-            LOG_D(stdout, "[%s][%d] map Key[%s]\n", __func__, __LINE__, itr->first.c_str());
-        }
-#endif
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_ignore_key_changed(const char *in_key, vconf_callback_fn cb){
-        string str;
-        str = in_key;
-        notifyCallBackMap.erase(notifyCallBackMap.find(str));
-
-        return VCONF_OK;
-    }
-
-    EXPORT int vconf_get_ext_errno(void){
-        return 0;
-    }
-
-#ifdef __cplusplus
-}
-#endif
-
-
diff --git a/unit_test/src/vconf.sym b/unit_test/src/vconf.sym
deleted file mode 100644 (file)
index 745cacf..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-VCONF_BUXTON_1.0 {
-       global:
-               vconf_keynode_get_name;
-               vconf_keynode_get_type;
-               vconf_keynode_get_int;
-               vconf_keynode_get_dbl;
-               vconf_keynode_get_bool;
-               vconf_keynode_get_str;
-               vconf_notify_key_changed;
-               vconf_ignore_key_changed;
-               vconf_set_int;
-               vconf_set_bool;
-               vconf_set_str;
-               vconf_set_dbl;
-               vconf_get_int;
-               vconf_get_bool;
-               vconf_get_str;
-               vconf_get_dbl;
-               vconf_get_ext_errno;
-               vconf_keylist_new;
-               vconf_keylist_free;
-               vconf_keylist_add_int;
-               vconf_keylist_add_bool;
-               vconf_keylist_add_dbl;
-               vconf_keylist_add_str;
-               vconf_keylist_add_null;
-               vconf_keylist_del;
-               vconf_keylist_nextnode;
-               vconf_keylist_rewind;
-               vconf_get;
-               vconf_set;
-               vconf_unset;
-               vconf_unset_recursive;
-               vconf_sync_key;
-               vconf_keylist_lookup;
-       local:
-               *;
-};
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4db1ea7
--- /dev/null
@@ -0,0 +1,13 @@
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
+
+SET(LIB_UTILS system-settings-util)
+
+FILE(GLOB UTILS_SRCS *.c)
+
+PKG_CHECK_MODULES(utils_pkgs REQUIRED dlog vconf fontconfig libxml-2.0 pkgmgr pkgmgr-info libsystemd)
+INCLUDE_DIRECTORIES(${client_pkgs_INCLUDE_DIRS})
+LINK_DIRECTORIES(${client_pkgs_LIBRARY_DIRS})
+
+ADD_LIBRARY(${LIB_UTILS} SHARED ${UTILS_SRCS})
+TARGET_LINK_LIBRARIES(${LIB_UTILS} ${utils_LIBRARIES})
+INSTALL(TARGETS ${LIB_UTILS} DESTINATION ${LIB_INSTALL_DIR})
diff --git a/utils/sys_settings_font.h b/utils/sys_settings_font.h
new file mode 100644 (file)
index 0000000..a8ab88b
--- /dev/null
@@ -0,0 +1,106 @@
+/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <fontconfig/fontconfig.h>
+#include <dlfcn.h>
+
+typedef struct _f_libs {
+       FcConfig *
+               (*d_FcInitLoadConfigAndFonts) (void);
+
+       FcPattern *
+               (*d_FcPatternBuild) (FcPattern *p, ...);
+
+       void
+               (*d_FcConfigDestroy) (FcConfig *config);
+
+       FcBool
+               (*d_FcConfigSubstitute) (FcConfig       *config,
+                               FcPattern       *p,
+                               FcMatchKind     kind);
+
+       void
+               (*d_FcDefaultSubstitute) (FcPattern *pattern);
+
+       FcFontSet *
+               (*d_FcFontSort) (FcConfig        *config,
+                               FcPattern    *p,
+                               FcBool   trim,
+                               FcCharSet    **csp,
+                               FcResult         *result);
+
+       FcResult
+               (*d_FcPatternGetString) (const FcPattern *p, const char *object, int n, FcChar8 ** s);
+
+       void
+               (*d_FcFontSetDestroy) (FcFontSet *s);
+
+       void
+               (*d_FcPatternDestroy) (FcPattern *p);
+
+       FcPattern *
+               (*d_FcPatternCreate) (void);
+
+       FcObjectSet *
+               (*d_FcObjectSetBuild) (const char *first, ...);
+
+       FcFontSet *
+               (*d_FcFontList) (FcConfig       *config,
+                               FcPattern       *p,
+                               FcObjectSet *os);
+
+       void
+               (*d_FcObjectSetDestroy) (FcObjectSet *os);
+}f_libs;
+
+
+typedef struct _e_libs {
+       int
+               (*d_evas_init) (void);
+
+       void *
+               (*d_ecore_evas_new) (const char *engine_name, int x, int y, int w, int h, const char *extra_options);
+
+       void *
+               (*d_ecore_evas_get) (const void *ee);
+
+       void *
+               (*d_evas_object_image_add) (void *eo_e);
+
+       void
+               (*d_evas_object_image_file_set) (void *obj, const char *file, const char *key);
+
+       int
+               (*d_evas_object_image_load_error_get) (const void *obj);
+
+       void
+               (*d_ecore_evas_free) (void *ee);
+
+       int
+               (*d_evas_shutdown) (void);
+
+       int
+               (*d_ecore_evas_init) (void);
+
+       int
+               (*d_ecore_evas_shutdown) (void);
+}e_libs;
+
+
+typedef struct _eext_libs {
+       bool
+               (*d_eext_config_font_set)(char *name, int size);
+}ex_libs;
+
diff --git a/utils/sys_settings_util.c b/utils/sys_settings_util.c
new file mode 100644 (file)
index 0000000..1ce407d
--- /dev/null
@@ -0,0 +1,469 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+#include <time.h>
+#include <locale.h>
+
+#include <regex.h>
+
+#include <dlog.h>
+#include <vconf.h>
+
+#include <glib.h>
+#include <libxml/xmlmemory.h>
+#include <libxml/parser.h>
+
+#include <fontconfig/fontconfig.h>
+
+#include <pkgmgr-info.h>
+#include <tzplatform_config.h>
+
+#include "system_settings.h"
+#include "sys_settings.h"
+#include "sys_settings_util.h"
+#include "sys_settings_font.h"
+
+#ifdef TIZEN_WEARABLE
+#define SMALL_FONT_DPI                                         (-90)
+#endif
+#ifdef TIZEN_MOBILE
+#define SMALL_FONT_DPI                                         (-80)
+#endif
+#define MIDDLE_FONT_DPI                                                (-100)
+#ifdef TIZEN_WEARABLE
+#define LARGE_FONT_DPI                                         (-110)
+#endif
+#ifdef TIZEN_MOBILE
+#define LARGE_FONT_DPI                                         (-150)
+#endif
+#define HUGE_FONT_DPI                                          (-190)
+#define GIANT_FONT_DPI                                         (-250)
+
+#define SETTING_FONT_PRELOAD_FONT_PATH _TZ_SYS_RO_SHARE"/fonts"
+#define SETTING_FONT_DOWNLOADED_FONT_PATH _TZ_SYS_SHARE"/fonts"
+
+#define SETTING_FONT_CONF_FILE _TZ_SYS_ETC"/fonts/conf.avail/99-tizen.conf"
+
+#define SETTING_FONT_TIZEN_FONT_ALIAS "Tizen"
+#define SETTING_FONT_TIZEN_DEFAULT_FONT_ALIAS "TizenDefaultFont"
+
+#define SETTING_FONT_CONFIG_SO_PATH "/usr/lib/libfontconfig.so.1"
+#define SETTING_ECORE_EVAS_SO_PATH "/usr/lib/libecore_evas.so.1"
+#define SETTING_EFL_EXTENSION_SO_PATH "/usr/lib/libefl-extension.so.0"
+#define SETTING_EVAS_SO_PATH "/usr/lib/libevas.so.1"
+
+static int __font_size_get();
+
+void *d_font_handle = NULL;
+void *d_ecore_evas_handle = NULL;
+void *d_evas_handle = NULL;
+void *d_efl_eext_handle = NULL;
+
+
+
+#define DYM_FUNC_LOADING(error, handle, pfunc, func_name) do { \
+       pfunc = (void*)dlsym(handle, func_name); \
+       if ((error = dlerror()) != NULL) { \
+               SETTING_TRACE("ERROR!! canNOT find %s function at %s", func_name, #handle); \
+               if (handle) \
+               dlclose(handle); \
+               return false; \
+       } \
+} while (0)
+
+#define DYM_CLOSE_HANDLE(handle) do { \
+       if (handle) { \
+               dlclose(handle); \
+               handle = NULL; \
+       } \
+} while (0)
+
+int loading_dym_font(f_libs *font_lib)
+{
+       char *error = NULL;
+
+       if (!font_lib)
+               return false;
+
+       if (!d_font_handle) {
+               d_font_handle = dlopen(SETTING_FONT_CONFIG_SO_PATH,  RTLD_LAZY);
+               if (!d_font_handle) {
+                       SETTING_TRACE("ERROR!! canNOT find "SETTING_FONT_CONFIG_SO_PATH);
+                       return false;
+               }
+       }
+
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcInitLoadConfigAndFonts, "FcInitLoadConfigAndFonts");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternBuild, "FcPatternBuild");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcConfigDestroy, "FcConfigDestroy");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcConfigSubstitute, "FcConfigSubstitute");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcDefaultSubstitute, "FcDefaultSubstitute");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontSort, "FcFontSort");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternGetString, "FcPatternGetString");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontSetDestroy, "FcFontSetDestroy");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternDestroy, "FcPatternDestroy");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcPatternCreate, "FcPatternCreate");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcObjectSetBuild, "FcObjectSetBuild");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcFontList, "FcFontList");
+       DYM_FUNC_LOADING(error, d_font_handle, font_lib->d_FcObjectSetDestroy, "FcObjectSetDestroy");
+
+       return true;
+}
+
+int loading_dym_efl(e_libs *efl_libs)
+{
+       char *error = NULL;
+
+       if (!efl_libs)
+               return false;
+
+       if (!d_ecore_evas_handle) {
+               d_ecore_evas_handle = dlopen(SETTING_ECORE_EVAS_SO_PATH,  RTLD_LAZY);
+               if (!d_ecore_evas_handle) {
+                       SETTING_TRACE("ERROR!! canNOT find "SETTING_ECORE_EVAS_SO_PATH" %s", dlerror());
+
+                       return false;
+               }
+       }
+
+       if (!d_evas_handle) {
+               d_evas_handle = dlopen(SETTING_EVAS_SO_PATH,  RTLD_LAZY);
+               if (!d_evas_handle) {
+                       SETTING_TRACE("ERROR!! canNOT find "SETTING_EVAS_SO_PATH" %s", dlerror());
+                       return false;
+               }
+       }
+
+       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_init, "evas_init");
+       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_add, "evas_object_image_add");
+       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_file_set, "evas_object_image_file_set");
+       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_object_image_load_error_get, "evas_object_image_load_error_get");
+       DYM_FUNC_LOADING(error, d_evas_handle, efl_libs->d_evas_shutdown, "evas_shutdown");
+
+       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_init, "ecore_evas_init");
+       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_shutdown, "ecore_evas_shutdown");
+       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_new, "ecore_evas_new");
+       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_get, "ecore_evas_get");
+       DYM_FUNC_LOADING(error, d_ecore_evas_handle, efl_libs->d_ecore_evas_free, "ecore_evas_free");
+
+       return true;
+}
+
+void close_dym_efl()
+{
+       DYM_CLOSE_HANDLE(d_evas_handle);
+       DYM_CLOSE_HANDLE(d_ecore_evas_handle);
+}
+
+int loading_dym_efl_eext(ex_libs *eext_libs)
+{
+       char *error = NULL;
+
+       if (!eext_libs)
+               return false;
+
+       if (!d_efl_eext_handle) {
+               d_efl_eext_handle = dlopen(SETTING_EFL_EXTENSION_SO_PATH, RTLD_LAZY);
+               if (!d_efl_eext_handle) {
+                       SETTING_TRACE("ERROR!! canNOT find "SETTING_EFL_EXTENSION_SO_PATH" %s", dlerror());
+                       return false;
+               }
+       }
+
+       DYM_FUNC_LOADING(error, d_efl_eext_handle, eext_libs->d_eext_config_font_set, "eext_config_font_set");
+
+       return true;
+}
+
+/* Returned family name should be free'd manually. */
+char *__get_main_font_family_name_by_alias(char *alias)
+{
+       SETTING_TRACE_BEGIN;
+       FcFontSet *set = NULL;
+       FcPattern *pat = NULL;
+       FcConfig *font_config = NULL;
+       FcChar8 *family = NULL;
+       char *ret = NULL;
+       FcResult res = 0;
+       f_libs font_libs;
+
+       if (!loading_dym_font(&font_libs))
+               return NULL;
+
+       font_config = font_libs.d_FcInitLoadConfigAndFonts();
+       if (font_config == NULL) {
+               DYM_CLOSE_HANDLE(d_font_handle);
+               return ret;
+       }
+
+       pat = font_libs.d_FcPatternBuild(0, FC_FAMILY, FcTypeString, alias, (char *)0);
+
+       if (pat == NULL) {
+               if (font_config != NULL) {
+                       font_libs.d_FcConfigDestroy(font_config);
+                       font_config = NULL;
+               }
+               DYM_CLOSE_HANDLE(d_font_handle);
+               return ret;
+       }
+
+       font_libs.d_FcConfigSubstitute(font_config, pat, FcMatchPattern);
+       font_libs.d_FcDefaultSubstitute(pat);
+
+       /* do matching */
+       set = font_libs.d_FcFontSort(font_config, pat, FcTrue, NULL, &res);
+
+       if (set != NULL && (set->nfont > 0)) {
+               font_libs.d_FcPatternGetString(set->fonts[0], FC_FAMILY, 0, &family);
+               ret = g_strdup((char *)family);
+
+               font_libs.d_FcFontSetDestroy(set);
+               set = NULL;
+       }
+
+       if (set != NULL) {
+               font_libs.d_FcFontSetDestroy(set);
+               set = NULL;
+       }
+
+       if (pat != NULL) {
+               font_libs.d_FcPatternDestroy(pat);
+               pat = NULL;
+       }
+
+       if (font_config != NULL) {
+               font_libs.d_FcConfigDestroy(font_config);
+               font_config = NULL;
+       }
+       DYM_CLOSE_HANDLE(d_font_handle);
+       return ret;
+}
+
+/*  LCOV_EXCL_START */
+bool __is_supported_image_type_load(char *path)
+{
+       SETTING_TRACE_BEGIN;
+       e_libs efl_libs;
+       if (!loading_dym_efl(&efl_libs)) {
+               SETTING_TRACE("ERROR!! canNOT loading efl!!");
+               return false;
+       }
+
+       void *ee;
+       void *evas;
+
+       if (!efl_libs.d_ecore_evas_init()) {
+               close_dym_efl();
+               return false;
+       }
+
+       ee = efl_libs.d_ecore_evas_new(NULL, 0, 0, 100, 100, NULL);
+       evas = efl_libs.d_ecore_evas_get(ee);
+
+       void *img = efl_libs.d_evas_object_image_add(evas);
+       efl_libs.d_evas_object_image_file_set(img, path, NULL);
+       int ret = efl_libs.d_evas_object_image_load_error_get(img);
+
+       bool result = false;
+       if (ret == 0) {
+               SETTING_TRACE("%s - OK", path);
+               result = true;
+       } else {
+               SETTING_TRACE("%s - NO", path);
+               result = false;
+       }
+       efl_libs.d_ecore_evas_free(ee);
+       efl_libs.d_ecore_evas_shutdown();
+       close_dym_efl();
+       return result;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+void font_config_set_notification()
+{
+       SETTING_TRACE_BEGIN;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+int __is_available_font(char *font_name)
+{
+       SETTING_TRACE_BEGIN;
+       FcObjectSet *os = NULL;
+       FcFontSet *fs = NULL;
+       FcPattern *pat = NULL;
+       FcConfig *font_config = NULL;
+       int ret = 0;
+       f_libs font_libs = {0};
+
+       if (!loading_dym_font(&font_libs))
+               return -1;
+
+       if (font_name == NULL) {
+               DYM_CLOSE_HANDLE(d_font_handle);
+               return -1;
+       }
+
+       font_config = font_libs.d_FcInitLoadConfigAndFonts();
+
+       /*setting_retvm_if(font_config == NULL, NULL, "Failed: FcInitLoadConfigAndFonts"); */
+
+       char *locale = setlocale(0, NULL);
+
+       pat = font_libs.d_FcPatternCreate();
+
+       os = font_libs.d_FcObjectSetBuild(FC_FAMILY, FC_FILE, FC_FAMILYLANG, (char *) 0);
+
+       if (os) {
+               fs = font_libs.d_FcFontList(font_config, pat, os);
+               font_libs.d_FcObjectSetDestroy(os);
+               os = NULL;
+       }
+
+       if (pat) {
+               font_libs.d_FcPatternDestroy(pat);
+               pat = NULL;
+       }
+
+       if (fs) {
+               int j;
+               SETTING_TRACE("fs->nfont = %d", fs->nfont);
+
+               for (j = 0; j < fs->nfont; j++) {
+                       FcChar8 *family = NULL;
+                       FcChar8 *file = NULL;
+
+                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FILE, 0, &file) == FcResultMatch) {
+                               int preload_path_len = strlen(SETTING_FONT_PRELOAD_FONT_PATH);
+                               int download_path_len = strlen(SETTING_FONT_DOWNLOADED_FONT_PATH);
+
+                               if (file && (!strncmp((const char *)file, SETTING_FONT_PRELOAD_FONT_PATH, preload_path_len)
+                                                       || !strncmp((const char *)file, SETTING_FONT_DOWNLOADED_FONT_PATH, download_path_len))) {
+                                       char *family_result = NULL;
+                                       FcChar8 *lang = NULL;
+                                       int id = 0;
+                                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILY, id, &family) != FcResultMatch) {
+                                               break;
+                                       }
+                                       if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILYLANG, id, &lang) != FcResultMatch) {
+                                               break;
+                                       }
+                                       family_result = (char *)family;
+
+                                       /* Find proper family name for current locale. */
+                                       while (locale && family && lang) {
+                                               if (!strncmp(locale, (char *)lang, strlen((char *)lang))) {
+                                                       family_result = (char *)family;
+                                                       break;
+                                               }
+
+                                               /* I will set english as default family language. */
+                                               /* If there is no proper family language for current locale, */
+                                               /* we have to show the english family name. */
+                                               if (!strcmp((char *)lang, (char *)"en")) {
+                                                       family_result = (char *)family;
+                                               }
+                                               id++;
+                                               if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILY, id, &family) != FcResultMatch) {
+                                                       break;
+                                               }
+                                               if (font_libs.d_FcPatternGetString(fs->fonts[j], FC_FAMILYLANG, id, &lang) != FcResultMatch) {
+                                                       break;
+                                               }
+                                       }
+
+                                       if (family_result) {
+                                               SETTING_TRACE("-------- FONT - family_result = %s", (char *)family_result);
+                                               if (strcmp(family_result, font_name) == 0) {
+                                                       ret = 1;
+                                                       break;
+                                               }
+                                       }
+                               }
+                       }
+               }
+               font_libs.d_FcFontSetDestroy(fs);
+               fs = NULL;
+       }
+       font_libs.d_FcConfigDestroy(font_config);
+       font_config = NULL;
+       DYM_CLOSE_HANDLE(d_font_handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+
+char *_get_default_font()
+{
+       return __get_main_font_family_name_by_alias(SETTING_FONT_TIZEN_DEFAULT_FONT_ALIAS);
+}
+
+
+/*  LCOV_EXCL_START */
+bool font_config_set(char *font_name)
+{
+       SETTING_TRACE_BEGIN;
+       ex_libs eext_libs;
+       if (!loading_dym_efl_eext(&eext_libs))
+               return false;
+       int font_size = __font_size_get();
+       bool ret = eext_libs.d_eext_config_font_set(font_name, font_size);
+       DYM_CLOSE_HANDLE(d_efl_eext_handle);
+       return ret;
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+void __font_size_set()
+{
+       SETTING_TRACE_BEGIN;
+       ex_libs eext_libs;
+       if (!loading_dym_efl_eext(&eext_libs))
+               return;
+       int font_size = __font_size_get();
+       char *font_name = NULL;
+       font_name = vconf_get_str(VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_NAME);
+
+       eext_libs.d_eext_config_font_set(font_name, font_size);
+
+       DYM_CLOSE_HANDLE(d_efl_eext_handle);
+       free(font_name);
+}
+/*  LCOV_EXCL_STOP */
+
+/*  LCOV_EXCL_START */
+static int __font_size_get()
+{
+       SETTING_TRACE_BEGIN;
+       int font_size = -1;
+
+       int vconf_value = -1;
+       if (vconf_get_int(VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_SIZE, &vconf_value)) {
+               return -1;
+       }
+
+       switch (vconf_value) {
+       case SYSTEM_SETTINGS_FONT_SIZE_SMALL:
+               font_size = SMALL_FONT_DPI;
+               break;
+       case SYSTEM_SETTINGS_FONT_SIZE_NORMAL:
+               font_size = MIDDLE_FONT_DPI;
+               break;
+       case SYSTEM_SETTINGS_FONT_SIZE_LARGE:
+               font_size = LARGE_FONT_DPI;
+               break;
+       case SYSTEM_SETTINGS_FONT_SIZE_HUGE:
+               font_size = HUGE_FONT_DPI;
+               break;
+       case SYSTEM_SETTINGS_FONT_SIZE_GIANT:
+               font_size = GIANT_FONT_DPI;
+               break;
+       default:
+               font_size = MIDDLE_FONT_DPI;
+               break;
+       }
+       return font_size;
+}
+/*  LCOV_EXCL_STOP */
diff --git a/utils/sys_settings_util.h b/utils/sys_settings_util.h
new file mode 100644 (file)
index 0000000..4df2829
--- /dev/null
@@ -0,0 +1,22 @@
+/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+bool font_config_set(char *font_name);
+int __is_available_font(char *font_name);
+char *_get_default_font();
+char *_get_cur_font();
+bool __is_supported_image_type_load(char *path);
+void __font_size_set();
+void font_config_set_notification();