Fix initialization of SystemInfo
authorJoohyun Kim <joohyune.kim@samsung.com>
Tue, 3 Sep 2013 03:09:23 +0000 (12:09 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 3 Sep 2013 05:04:18 +0000 (05:04 +0000)
Change-Id: Ie0171779c786cf1a6fe4432fdf04f6eca90a2c1e
Signed-off-by: Joohyun Kim <joohyune.kim@samsung.com>
src/system/FSys_SystemInfoService.cpp

index 290304f..6846da7 100644 (file)
@@ -261,14 +261,17 @@ _SystemInfoService::CreateCacheFile(void)
        String sValue;
 
        //For improve launch performance
+       nValue = 0;
        this->GetValue(_SCREEN_DPI, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SCREEN_HEIGHT, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SCREEN_WIDTH, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
        reg.Flush();
@@ -281,6 +284,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_CAMERA_BACK, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -289,6 +293,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_CAMERA_BACK_FLASH, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -297,6 +302,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_CAMERA_FRONT, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -305,6 +311,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_CAMERA_FRONT_FLASH, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -313,6 +320,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_DATABASE_ENCRYPTION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -321,6 +329,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_FMRADIO, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -329,6 +338,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_GRAPHIC_ACCELERATION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -337,6 +347,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_INPUT_KEYBOARD, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -345,6 +356,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
        reg.Flush();
 
+       sValue.Clear();
        this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
        reg.Flush();
@@ -357,6 +369,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_LOCATION_GPS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -365,6 +378,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_LOCATION_WPS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -373,6 +387,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_MICROPHONE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -381,6 +396,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -389,6 +405,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_MULTIPOINTTOUCH_POINTCOUNT, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
        reg.Flush();
@@ -401,6 +418,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_NFC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -409,6 +427,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_NFC_RESERVED_PUSH, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -417,6 +436,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_PUSH, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -425,6 +445,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_SECURE_ELEMENT, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -433,6 +454,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -441,6 +463,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_MMS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -449,6 +472,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SMS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -457,6 +481,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -465,6 +490,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -473,6 +499,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -481,6 +508,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -489,6 +517,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -497,6 +526,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -505,6 +535,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -513,6 +544,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -521,6 +553,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -529,6 +562,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -537,6 +571,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_WIFI, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -545,6 +580,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_NETWORK_WIFI_DIRECT, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -553,6 +589,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -561,6 +598,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -569,6 +607,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -577,6 +616,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -585,6 +625,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -593,6 +634,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -601,6 +643,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -609,6 +652,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_VERSION_1_1, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -617,6 +661,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_OPENGLES_VERSION_2_0, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -625,6 +670,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -633,6 +679,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -641,6 +688,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -649,6 +697,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -657,6 +706,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -665,6 +715,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -673,6 +724,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -681,6 +733,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -689,6 +742,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
        reg.Flush();
 
+       sValue.Clear();
        this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
        reg.Flush();
@@ -701,6 +755,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
        reg.Flush();
 
+       sValue.Clear();
        this->GetValue(_PLATFORM_VERSION, sValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
        reg.Flush();
@@ -717,6 +772,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SCREEN_BPP, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
        reg.Flush();
@@ -729,6 +785,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -737,6 +794,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_DESKTOPMODE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -745,6 +803,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_LARGE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -753,6 +812,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -761,7 +821,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
        reg.Flush();
 
-
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_240_400, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -771,6 +831,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_320_480, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -780,6 +841,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_480_800, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -789,6 +851,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_540_960, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -798,6 +861,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -807,6 +871,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -816,6 +881,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -825,6 +891,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_OUTPUT_HDMI, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -833,6 +900,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SCREEN_OUTPUT_RCA, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -841,6 +909,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SHELL_APPWIDGET, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -849,6 +918,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_ACCELEROMETER, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -857,6 +927,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -865,6 +936,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_BAROMETER, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -873,6 +945,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_BAROMETER_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -881,6 +954,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_GYROSCOPE, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -889,6 +963,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -897,6 +972,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_MAGNETOMETER, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -905,6 +981,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -913,6 +990,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_PHOTOMETER, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -921,6 +999,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -929,6 +1008,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_PROXIMITY, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -937,6 +1017,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_PROXIMITY_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -945,6 +1026,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_TILTMETER, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -953,6 +1035,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SENSOR_TILTMETER_WAKEUP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -961,6 +1044,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SIP_VOIP, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -969,6 +1053,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SPEECH_RECOGNITION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -977,6 +1062,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_SPEECH_SYNTHESIS, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -985,6 +1071,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_USB_ACCESSORY, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -993,6 +1080,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_USB_CLIENT, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1001,6 +1089,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_USB_HOST, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1009,6 +1098,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_VISION_FACE_RECOGNITION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1017,6 +1107,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_VISION_IMAGE_RECOGNITION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1025,6 +1116,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_VISION_QRCODE_GENERATION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1033,6 +1125,7 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
        reg.Flush();
 
+       bValue = false;
        this->GetValue(_VISION_QRCODE_RECOGNITION, bValue);
        if(bValue == true)
                systemValue = _SYSTEM_CACHING_TRUE;
@@ -1041,11 +1134,13 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
        reg.Flush();
 
-       this->GetValue(_BUILD_STRING, systemValue);
+       sValue.Clear();
+       this->GetValue(_BUILD_STRING, sValue);
        reg.Flush();
-       reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
+       reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
        reg.Flush();
 
+       sValue.Clear();
        r = this->GetValue(_DUID, sValue);
        if(r != E_SUCCESS)
        {
@@ -1054,26 +1149,32 @@ _SystemInfoService::CreateCacheFile(void)
        reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
        reg.Flush();
 
+       sValue.Clear();
        this->GetValue(_MODELNAME, sValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
        reg.Flush();
 
+       sValue.Clear();
        this->GetValue(_PLATFORM_NAME, sValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
        reg.Flush();
 
+       nValue = 0;
        this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
        reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
        reg.Flush();
@@ -1096,6 +1197,7 @@ _SystemInfoService::UpdateCacheFile(void)
        String sValue;
 
        //For improve launch performance
+       nValue = 0;
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
        if(r != E_SUCCESS)
        {
@@ -1104,26 +1206,27 @@ _SystemInfoService::UpdateCacheFile(void)
                reg.Flush();
        }
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
-       if(r != E_SUCCESS)
+       nValue = 0;
+       this->GetValue(_SCREEN_HEIGHT, nValue);
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue) == E_KEY_ALREADY_EXIST)
        {
-               this->GetValue(_SCREEN_HEIGHT, nValue);
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
-               reg.Flush();
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
        }
+       reg.Flush();
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
-       if(r != E_SUCCESS)
+       nValue = 0;
+       this->GetValue(_SCREEN_WIDTH, nValue);
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue) == E_KEY_ALREADY_EXIST)
        {
-               this->GetValue(_SCREEN_WIDTH, nValue);
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
-               reg.Flush();
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
        }
+       reg.Flush();
 
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_CAMERA, systemValue);
+               bValue = false;
+               this->GetValue(_CAMERA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1136,7 +1239,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_CAMERA_BACK, systemValue);
+               bValue = false;
+               this->GetValue(_CAMERA_BACK, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1149,7 +1253,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_CAMERA_BACK_FLASH, systemValue);
+               bValue = false;
+               this->GetValue(_CAMERA_BACK_FLASH, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1162,7 +1267,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_CAMERA_FRONT, systemValue);
+               bValue = false;
+               this->GetValue(_CAMERA_FRONT, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1175,7 +1281,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_CAMERA_FRONT_FLASH, systemValue);
+               bValue = false;
+               this->GetValue(_CAMERA_FRONT_FLASH, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1188,7 +1295,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_DATABASE_ENCRYPTION, systemValue);
+               bValue = false;
+               this->GetValue(_DATABASE_ENCRYPTION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1201,7 +1309,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_FMRADIO, systemValue);
+               bValue = false;
+               this->GetValue(_FMRADIO, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1214,7 +1323,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_GRAPHIC_ACCELERATION, systemValue);
+               bValue = false;
+               this->GetValue(_GRAPHIC_ACCELERATION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1227,7 +1337,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_INPUT_KEYBOARD, systemValue);
+               bValue = false;
+               this->GetValue(_INPUT_KEYBOARD, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1240,6 +1351,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
                reg.Flush();
@@ -1248,7 +1360,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_LOCATION, systemValue);
+               bValue = false;
+               this->GetValue(_LOCATION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1261,7 +1374,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_LOCATION_GPS, systemValue);
+               bValue = false;
+               this->GetValue(_LOCATION_GPS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1274,7 +1388,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_LOCATION_WPS, systemValue);
+               bValue = false;
+               this->GetValue(_LOCATION_WPS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1287,7 +1402,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_MICROPHONE, systemValue);
+               bValue = false;
+               this->GetValue(_MICROPHONE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1300,7 +1416,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, systemValue);
+               bValue = false;
+               this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1310,9 +1427,11 @@ _SystemInfoService::UpdateCacheFile(void)
                reg.Flush();
        }
 
+       nValue = 0;
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
                reg.Flush();
@@ -1321,7 +1440,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_BLUETOOTH, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_BLUETOOTH, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1334,7 +1454,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_NFC, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_NFC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1347,7 +1468,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_NFC_RESERVED_PUSH, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_NFC_RESERVED_PUSH, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1360,7 +1482,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_PUSH, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_PUSH, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1373,7 +1496,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_SECURE_ELEMENT, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_SECURE_ELEMENT, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1386,7 +1510,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1399,7 +1524,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_MMS, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_MMS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1412,7 +1538,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SMS, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SMS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1425,7 +1552,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1438,7 +1566,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1451,7 +1580,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1464,7 +1594,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1477,7 +1608,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1490,7 +1622,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1503,7 +1636,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1516,7 +1650,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1529,7 +1664,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1542,7 +1678,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1555,7 +1692,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_WIFI, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_WIFI, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1568,7 +1706,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_NETWORK_WIFI_DIRECT, systemValue);
+               bValue = false;
+               this->GetValue(_NETWORK_WIFI_DIRECT, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1581,7 +1720,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1594,7 +1734,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1607,7 +1748,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1620,7 +1762,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1633,7 +1776,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1646,7 +1790,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1659,7 +1804,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1672,7 +1818,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_VERSION_1_1, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_VERSION_1_1, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1685,7 +1832,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_OPENGLES_VERSION_2_0, systemValue);
+               bValue = false;
+               this->GetValue(_OPENGLES_VERSION_2_0, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1698,7 +1846,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1711,7 +1860,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1724,7 +1874,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1737,7 +1888,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1750,7 +1902,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1763,7 +1916,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1776,7 +1930,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1789,7 +1944,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1802,6 +1958,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
                reg.Flush();
@@ -1810,7 +1967,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
+               bValue = false;
+               this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1823,6 +1981,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_PLATFORM_VERSION, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
                reg.Flush();
@@ -1831,6 +1990,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_PLATFORM_WEB_API_VERSION, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
                reg.Flush();
@@ -1839,7 +1999,9 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_AUTO_ROTATION, systemValue);
+               bValue = false;
+               bValue = false;
+               this->GetValue(_SCREEN_AUTO_ROTATION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1852,6 +2014,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                this->GetValue(_SCREEN_BPP, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
                reg.Flush();
@@ -1860,7 +2023,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
+               bValue = false;
+               this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1873,7 +2037,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
+               bValue = false;
+               this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1886,7 +2051,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_DESKTOPMODE, systemValue);
+               bValue = false;
+               this->GetValue(_SCREEN_DESKTOPMODE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -1896,127 +2062,129 @@ _SystemInfoService::UpdateCacheFile(void)
                reg.Flush();
        }
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_LARGE, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_LARGE, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
        }
+       reg.Flush();
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
        }
+       reg.Flush();
 
-       this->GetValue(_SCREEN_SIZE_NORMAL_240_400, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_240_400, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_240_400, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
        }
+       reg.Flush();
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_320_480, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_320_480, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
        }
+       reg.Flush();
 
-       this->GetValue(_SCREEN_SIZE_NORMAL_480_800, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_480_800, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_480_800, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
        }
+       reg.Flush();
 
-       this->GetValue(_SCREEN_SIZE_NORMAL_540_960, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_540_960, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_540_960, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
        }
+       reg.Flush();
 
-       this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
        }
+       reg.Flush();
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
        }
+       reg.Flush();
 
-       this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, systemValue);
-       if(r != E_SUCCESS)
-       {
-               this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, systemValue);
-               if(bValue == true)
-                       systemValue = _SYSTEM_CACHING_TRUE;
-               else
-                       systemValue = _SYSTEM_CACHING_FALSE;
+       bValue = false;
+       this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, bValue);
+       if(bValue == true)
+               systemValue = _SYSTEM_CACHING_TRUE;
+       else
+               systemValue = _SYSTEM_CACHING_FALSE;
 
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
-               reg.Flush();
+       if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue) == E_KEY_ALREADY_EXIST)
+       {
+               reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
        }
+       reg.Flush();
 
+       bValue = false;
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_OUTPUT_HDMI, systemValue);
+               bValue = false;
+               this->GetValue(_SCREEN_OUTPUT_HDMI, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2029,7 +2197,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SCREEN_OUTPUT_RCA, systemValue);
+               bValue = false;
+               this->GetValue(_SCREEN_OUTPUT_RCA, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2042,7 +2211,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SHELL_APPWIDGET, systemValue);
+               bValue = false;
+               this->GetValue(_SHELL_APPWIDGET, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2055,7 +2225,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_ACCELEROMETER, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_ACCELEROMETER, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2068,7 +2239,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2081,7 +2253,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_BAROMETER, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_BAROMETER, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2094,7 +2267,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_BAROMETER_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_BAROMETER_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2107,7 +2281,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_GYROSCOPE, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_GYROSCOPE, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2120,7 +2295,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2133,7 +2309,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_MAGNETOMETER, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_MAGNETOMETER, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2146,7 +2323,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2159,7 +2337,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_PHOTOMETER, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_PHOTOMETER, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2172,7 +2351,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2185,7 +2365,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_PROXIMITY, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_PROXIMITY, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2198,7 +2379,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_PROXIMITY_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_PROXIMITY_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2211,7 +2393,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_TILTMETER, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_TILTMETER, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2224,7 +2407,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SENSOR_TILTMETER_WAKEUP, systemValue);
+               bValue = false;
+               this->GetValue(_SENSOR_TILTMETER_WAKEUP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2237,7 +2421,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SIP_VOIP, systemValue);
+               bValue = false;
+               this->GetValue(_SIP_VOIP, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2250,7 +2435,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SPEECH_RECOGNITION, systemValue);
+               bValue = false;
+               this->GetValue(_SPEECH_RECOGNITION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2263,7 +2449,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_SPEECH_SYNTHESIS, systemValue);
+               bValue = false;
+               this->GetValue(_SPEECH_SYNTHESIS, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2276,7 +2463,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_USB_ACCESSORY, systemValue);
+               bValue = false;
+               this->GetValue(_USB_ACCESSORY, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2289,7 +2477,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_USB_CLIENT, systemValue);
+               bValue = false;
+               this->GetValue(_USB_CLIENT, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2302,7 +2491,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_USB_HOST, systemValue);
+               bValue = false;
+               this->GetValue(_USB_HOST, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2315,7 +2505,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_VISION_FACE_RECOGNITION, systemValue);
+               bValue = false;
+               this->GetValue(_VISION_FACE_RECOGNITION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2328,7 +2519,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_VISION_IMAGE_RECOGNITION, systemValue);
+               bValue = false;
+               this->GetValue(_VISION_IMAGE_RECOGNITION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2341,7 +2533,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_VISION_QRCODE_GENERATION, systemValue);
+               bValue = false;
+               this->GetValue(_VISION_QRCODE_GENERATION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2354,7 +2547,8 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_VISION_QRCODE_RECOGNITION, systemValue);
+               bValue = false;
+               this->GetValue(_VISION_QRCODE_RECOGNITION, bValue);
                if(bValue == true)
                        systemValue = _SYSTEM_CACHING_TRUE;
                else
@@ -2364,27 +2558,34 @@ _SystemInfoService::UpdateCacheFile(void)
                reg.Flush();
        }
 
-       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
+       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
        if(r != E_SUCCESS)
        {
-               this->GetValue(_BUILD_STRING, systemValue);
+               sValue.Clear();
+               this->GetValue(_BUILD_STRING, sValue);
                reg.Flush();
-               reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
+               reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
                reg.Flush();
+       }
 
-       r = this->GetValue(_DUID, sValue);
-       r = this->GetValue(_DUID, sValue);
+       r = reg.GetValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
        if(r != E_SUCCESS)
        {
-               sValue.Append(L"ERROR");
-       }
-       reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
+               sValue.Clear();
+               r = this->GetValue(_DUID, sValue);
+               if(r != E_SUCCESS)
+               {
+                       sValue.Append(L"ERROR");
+               }
+
+               reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
                reg.Flush();
        }
 
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_MODELNAME, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
                reg.Flush();
@@ -2393,6 +2594,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
        if(r != E_SUCCESS)
        {
+               sValue.Clear();
                this->GetValue(_PLATFORM_NAME, sValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
                reg.Flush();
@@ -2401,6 +2603,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
                reg.Flush();
@@ -2409,6 +2612,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
                reg.Flush();
@@ -2417,6 +2621,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
                reg.Flush();
@@ -2425,6 +2630,7 @@ _SystemInfoService::UpdateCacheFile(void)
        r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
        if(r != E_SUCCESS)
        {
+               nValue = 0;
                this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
                reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
                reg.Flush();