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();
reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_CAMERA_BACK, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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;
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;
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;
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;
reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_FMRADIO, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_GRAPHIC_ACCELERATION, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_INPUT_KEYBOARD, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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();
reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_LOCATION_GPS, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_LOCATION_WPS, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_MICROPHONE, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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();
reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_NETWORK_NFC, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_OPENGLES, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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();
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();
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();
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_SENSOR_ACCELEROMETER, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_SPEECH_RECOGNITION, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_SPEECH_SYNTHESIS, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_USB_ACCESSORY, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_USB_CLIENT, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
reg.Flush();
+ bValue = false;
this->GetValue(_USB_HOST, bValue);
if(bValue == true)
systemValue = _SYSTEM_CACHING_TRUE;
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;
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;
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;
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;
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)
{
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();
String sValue;
//For improve launch performance
+ nValue = 0;
r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
if(r != E_SUCCESS)
{
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
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
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
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
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
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
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
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
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
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();
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
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
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
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
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
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();
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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();
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
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();
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();
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
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();
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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();
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();
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();
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();
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();
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();