2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FSys_SystemInfoService.cpp
19 * @brief This is the implementation file for _SystemInfoService class.
22 #include <unique_ptr.h>
24 #include <sys/utsname.h>
27 #include <media/sound_manager.h>
28 #include <system_info.h>
30 #include <FBaseColIMapEnumerator.h>
31 #include <FBaseInteger.h>
32 #include <FBaseSysLog.h>
33 #include <FBaseUtilStringUtil.h>
34 #include <FBaseUtilStringTokenizer.h>
36 #include <FIoRegistry.h>
37 #include <FIoDirectory.h>
38 #include <FSysIDeviceEventListener.h>
39 #include <FSysIScreenEventListener.h>
40 #include <FSysIChargingEventListener.h>
41 #include <FSysIBatteryEventListener.h>
43 #include <FAppPkg_PackageManagerImpl.h>
44 #include <FBase_NativeError.h>
45 #include <FBase_StringConverter.h>
46 #include <FIo_RegistryImpl.h>
47 #include <FSys_DeviceId.h>
48 #include <FSys_SystemInfoService.h>
51 using namespace Tizen::App;
52 using namespace Tizen::App::Package;
53 using namespace Tizen::Base;
54 using namespace Tizen::Base::Collection;
55 using namespace Tizen::Base::Utility;
56 using namespace Tizen::Io;
58 namespace Tizen { namespace System
61 static const wchar_t* _CAMERA = L"http://tizen.org/feature/camera";
62 static const wchar_t* _CAMERA_BACK = L"http://tizen.org/feature/camera.back";
63 static const wchar_t* _CAMERA_BACK_FLASH = L"http://tizen.org/feature/camera.back.flash";
64 static const wchar_t* _CAMERA_FRONT = L"http://tizen.org/feature/camera.front";
65 static const wchar_t* _CAMERA_FRONT_FLASH = L"http://tizen.org/feature/camera.front.flash";
67 static const wchar_t* _DATABASE_ENCRYPTION = L"http://tizen.org/feature/database.encryption";
69 static const wchar_t* _FMRADIO = L"http://tizen.org/feature/fmradio";
71 static const wchar_t* _GRAPHIC_ACCELERATION = L"http://tizen.org/feature/graphics.acceleration";
73 static const wchar_t* _INPUT_KEYBOARD = L"http://tizen.org/feature/input.keyboard";
74 static const wchar_t* _INPUT_KEYBOARD_LAYOUT = L"http://tizen.org/feature/input.keyboard.layout";
76 static const wchar_t* _LOCATION = L"http://tizen.org/feature/location";
77 static const wchar_t* _LOCATION_GPS = L"http://tizen.org/feature/location.gps";
78 static const wchar_t* _LOCATION_WPS = L"http://tizen.org/feature/location.wps";
80 static const wchar_t* _MICROPHONE = L"http://tizen.org/feature/microphone";
82 static const wchar_t* _MULTIPOINTTOUCH_PINCHZOOM = L"http://tizen.org/feature/multi_point_touch.pinch_zoom";
83 static const wchar_t* _MULTIPOINTTOUCH_POINTCOUNT = L"http://tizen.org/feature/multi_point_touch.point_count";
85 static const wchar_t* _NETWORK_BLUETOOTH = L"http://tizen.org/feature/network.bluetooth";
87 static const wchar_t* _NETWORK_NFC = L"http://tizen.org/feature/network.nfc";
88 static const wchar_t* _NETWORK_NFC_RESERVED_PUSH = L"http://tizen.org/feature/network.nfc.reserved_push";
90 static const wchar_t* _NETWORK_PUSH = L"http://tizen.org/feature/network.push";
91 static const wchar_t* _NETWORK_SECURE_ELEMENT = L"http://tizen.org/feature/network.secure_element";
93 static const wchar_t* _NETWORK_TELEPHONY = L"http://tizen.org/feature/network.telephony";
94 static const wchar_t* _NETWORK_TELEPHONY_MMS = L"http://tizen.org/feature/network.telephony.mms";
95 static const wchar_t* _NETWORK_TELEPHONY_SMS = L"http://tizen.org/feature/network.telephony.sms";
96 static const wchar_t* _NETWORK_TELEPHONY_SMS_CBS = L"http://tizen.org/feature/network.telephony.sms.cbs";
97 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_CDMA = L"http://tizen.org/feature/network.telephony.service.cdma";
98 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_EDGE = L"http://tizen.org/feature/network.telephony.service.edge";
99 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_GPRS = L"http://tizen.org/feature/network.telephony.service.gprs";
100 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_GSM = L"http://tizen.org/feature/network.telephony.service.gsm";
101 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_HSDPA = L"http://tizen.org/feature/network.telephony.service.hsdpa";
102 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_HSPA = L"http://tizen.org/feature/network.telephony.service.hspa";
103 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_HSUPA = L"http://tizen.org/feature/network.telephony.service.hsupa";
104 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_LTE = L"http://tizen.org/feature/network.telephony.service.lte";
105 static const wchar_t* _NETWORK_TELEPHONY_SERVICE_UMTS = L"http://tizen.org/feature/network.telephony.service.umts";
107 static const wchar_t* _NETWORK_WIFI = L"http://tizen.org/feature/network.wifi";
108 static const wchar_t* _NETWORK_WIFI_DIRECT = L"http://tizen.org/feature/network.wifi.direct";
110 static const wchar_t* _OPENGLES = L"http://tizen.org/feature/opengles";
111 static const wchar_t* _OPENGLES_TEXTUREFORMAT_3DC = L"http://tizen.org/feature/opengles.texture_format.3dc";
112 static const wchar_t* _OPENGLES_TEXTUREFORMAT_ATC = L"http://tizen.org/feature/opengles.texture_format.atc";
113 static const wchar_t* _OPENGLES_TEXTUREFORMAT_ETC = L"http://tizen.org/feature/opengles.texture_format.etc";
114 static const wchar_t* _OPENGLES_TEXTUREFORMAT_PTC = L"http://tizen.org/feature/opengles.texture_format.ptc";
115 static const wchar_t* _OPENGLES_TEXTUREFORMAT_PVRTC = L"http://tizen.org/feature/opengles.texture_format.pvrtc";
116 static const wchar_t* _OPENGLES_TEXTUREFORMAT_UTC = L"http://tizen.org/feature/opengles.texture_format.utc";
117 static const wchar_t* _OPENGLES_VERSION_1_1 = L"http://tizen.org/feature/opengles.version.1_1";
118 static const wchar_t* _OPENGLES_VERSION_2_0 = L"http://tizen.org/feature/opengles.version.2_0";
120 static const wchar_t* _PLATFORM_CORE_CPU_ARCH_ARMV6 = L"http://tizen.org/feature/platform.core.cpu.arch.armv6";
121 static const wchar_t* _PLATFORM_CORE_CPU_ARCH_ARMV7 = L"http://tizen.org/feature/platform.core.cpu.arch.armv7";
122 static const wchar_t* _PLATFORM_CORE_CPU_ARCH_X86 = L"http://tizen.org/feature/platform.core.cpu.arch.x86";
124 static const wchar_t* _PLATFORM_CORE_FPU_ARCH_SSE2 = L"http://tizen.org/feature/platform.core.fpu.arch.sse2";
125 static const wchar_t* _PLATFORM_CORE_FPU_ARCH_SSE3 = L"http://tizen.org/feature/platform.core.fpu.arch.sse3";
126 static const wchar_t* _PLATFORM_CORE_FPU_ARCH_SSSE3 = L"http://tizen.org/feature/platform.core.fpu.arch.ssse3";
127 static const wchar_t* _PLATFORM_CORE_FPU_ARCH_VFPV2 = L"http://tizen.org/feature/platform.core.fpu.arch.vfpv2";
128 static const wchar_t* _PLATFORM_CORE_FPU_ARCH_VFPV3 = L"http://tizen.org/feature/platform.core.fpu.arch.vfpv3";
130 static const wchar_t* _PLATFORM_NATIVE_API_VERSION = L"http://tizen.org/feature/platform.native.api.version";
131 static const wchar_t* _PLATFORM_NATIVE_OSP_COMPATIBLE = L"http://tizen.org/feature/platform.native.osp_compatible";
132 static const wchar_t* _PLATFORM_VERSION = L"http://tizen.org/feature/platform.version";
133 static const wchar_t* _PLATFORM_WEB_API_VERSION = L"http://tizen.org/feature/platform.web.api.version";
135 static const wchar_t* _SCREEN_AUTO_ROTATION = L"http://tizen.org/feature/screen.auto_rotation";
136 static const wchar_t* _SCREEN_BPP = L"http://tizen.org/feature/screen.bpp";
137 static const wchar_t* _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE = L"http://tizen.org/feature/screen.coordinate_system.size.large";
138 static const wchar_t* _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL = L"http://tizen.org/feature/screen.coordinate_system.size.normal";
139 static const wchar_t* _SCREEN_DESKTOPMODE = L"http://tizen.org/feature/screen.desktop_mode";
140 static const wchar_t* _SCREEN_DPI = L"http://tizen.org/feature/screen.dpi";
141 static const wchar_t* _SCREEN_HEIGHT = L"http://tizen.org/feature/screen.height";
142 static const wchar_t* _SCREEN_SIZE_LARGE = L"http://tizen.org/feature/screen.size.large";
143 static const wchar_t* _SCREEN_SIZE_NORMAL = L"http://tizen.org/feature/screen.size.normal";
144 static const wchar_t* _SCREEN_SIZE_NORMAL_240_400 = L"http://tizen.org/feature/screen.size.normal.240.400";
145 static const wchar_t* _SCREEN_SIZE_NORMAL_320_480 = L"http://tizen.org/feature/screen.size.normal.320.480";
146 static const wchar_t* _SCREEN_SIZE_NORMAL_480_800 = L"http://tizen.org/feature/screen.size.normal.480.800";
147 static const wchar_t* _SCREEN_SIZE_NORMAL_540_960 = L"http://tizen.org/feature/screen.size.normal.540.960";
148 static const wchar_t* _SCREEN_SIZE_NORMAL_600_1024 = L"http://tizen.org/feature/screen.size.normal.600.1024";
149 static const wchar_t* _SCREEN_SIZE_NORMAL_720_1280 = L"http://tizen.org/feature/screen.size.normal.720.1280";
150 static const wchar_t* _SCREEN_SIZE_NORMAL_1080_1920 = L"http://tizen.org/feature/screen.size.normal.1080.1920";
151 static const wchar_t* _SCREEN_WIDTH = L"http://tizen.org/feature/screen.width";
153 static const wchar_t* _SCREEN_OUTPUT_HDMI = L"http://tizen.org/feature/screen.output.hdmi";
154 static const wchar_t* _SCREEN_OUTPUT_RCA = L"http://tizen.org/feature/screen.output.rca";
156 static const wchar_t* _SHELL_APPWIDGET = L"http://tizen.org/feature/shell.appwidget";
158 static const wchar_t* _SENSOR_ACCELEROMETER = L"http://tizen.org/feature/sensor.accelerometer";
159 static const wchar_t* _SENSOR_ACCELEROMETER_WAKEUP = L"http://tizen.org/feature/sensor.accelerometer.wakeup";
160 static const wchar_t* _SENSOR_BAROMETER = L"http://tizen.org/feature/sensor.barometer";
161 static const wchar_t* _SENSOR_BAROMETER_WAKEUP = L"http://tizen.org/feature/sensor.barometer.wakeup";
162 static const wchar_t* _SENSOR_GYROSCOPE = L"http://tizen.org/feature/sensor.gyroscope";
163 static const wchar_t* _SENSOR_GYROSCOPE_WAKEUP = L"http://tizen.org/feature/sensor.gyroscope.wakeup";
164 static const wchar_t* _SENSOR_MAGNETOMETER = L"http://tizen.org/feature/sensor.magnetometer";
165 static const wchar_t* _SENSOR_MAGNETOMETER_WAKEUP = L"http://tizen.org/feature/sensor.magnetometer.wakeup";
166 static const wchar_t* _SENSOR_PHOTOMETER = L"http://tizen.org/feature/sensor.photometer";
167 static const wchar_t* _SENSOR_PHOTOMETER_WAKEUP = L"http://tizen.org/feature/sensor.photometer.wakeup";
168 static const wchar_t* _SENSOR_PROXIMITY = L"http://tizen.org/feature/sensor.proximity";
169 static const wchar_t* _SENSOR_PROXIMITY_WAKEUP = L"http://tizen.org/feature/sensor.proximity.wakeup";
170 static const wchar_t* _SENSOR_TILTMETER = L"http://tizen.org/feature/sensor.tiltmeter";
171 static const wchar_t* _SENSOR_TILTMETER_WAKEUP = L"http://tizen.org/feature/sensor.tiltmeter.wakeup";
173 static const wchar_t* _SIP_VOIP = L"http://tizen.org/feature/sip.voip";
175 static const wchar_t* _SPEECH_RECOGNITION = L"http://tizen.org/feature/speech.recognition";
176 static const wchar_t* _SPEECH_SYNTHESIS = L"http://tizen.org/feature/speech.synthesis";
178 static const wchar_t* _USB_ACCESSORY = L"http://tizen.org/feature/usb.accessory";
179 static const wchar_t* _USB_CLIENT = L"http://tizen.org/feature/usb.client";
180 static const wchar_t* _USB_HOST = L"http://tizen.org/feature/usb.host";
182 static const wchar_t* _VISION_FACE_RECOGNITION = L"http://tizen.org/feature/vision.face_recognition";
183 static const wchar_t* _VISION_IMAGE_RECOGNITION = L"http://tizen.org/feature/vision.image_recognition";
184 static const wchar_t* _VISION_QRCODE_GENERATION = L"http://tizen.org/feature/vision.qrcode_generation";
185 static const wchar_t* _VISION_QRCODE_RECOGNITION = L"http://tizen.org/feature/vision.qrcode_recognition";
187 static const wchar_t* _BUILD_STRING = L"http://tizen.org/system/build.string";
189 static const wchar_t* _DUID = L"http://tizen.org/system/duid";
191 static const wchar_t* _MODELNAME = L"http://tizen.org/system/model_name";
193 static const wchar_t* _PLATFORM_NAME = L"http://tizen.org/system/platform.name";
195 static const wchar_t* _SOUND_MEDIA_VOLUME_MAX = L"http://tizen.org/system/sound.media.volume.resolution.max";
196 static const wchar_t* _SOUND_NOTIFICATION_VOLUME_MAX = L"http://tizen.org/system/sound.notification.volume.resolution.max";
197 static const wchar_t* _SOUND_RINGTONE_VOLUME_MAX = L"http://tizen.org/system/sound.ringtone.volume.resolution.max";
198 static const wchar_t* _SOUND_SYSTEM_VOLUME_MAX = L"http://tizen.org/system/sound.system.volume.resolution.max";
203 static const wchar_t* _SYSTEM_CACHING_FILE = L"/opt/usr/etc/system_info_cache.ini";
204 static const wchar_t* _SYSTEM_CACHING_SECTION = L"SystemInformation";
206 static const wchar_t* _SYSTEM_CACHING_TRUE = L"true";
207 static const wchar_t* _SYSTEM_CACHING_FALSE = L"false";
209 _SystemInfoService* _SystemInfoService::__pSystemInfoService = null;
211 _SystemInfoService::_SystemInfoService()
215 _SystemInfoService::~_SystemInfoService()
220 _SystemInfoService::GetInstance(void)
222 static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
223 if(__pSystemInfoService == null)
225 pthread_once(&onceBlock, InitSingleton);
227 return __pSystemInfoService;
231 _SystemInfoService::InitSingleton(void)
233 _SystemInfoService* pSystemInfoService = new (nothrow) _SystemInfoService();
234 SysTryReturnVoidResult(NID_SYS, pSystemInfoService != null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
236 __pSystemInfoService = pSystemInfoService;
237 atexit(DestroySingleton);
241 _SystemInfoService::DestroySingleton(void)
243 delete __pSystemInfoService;
247 _SystemInfoService::CreateCacheFile(void)
250 result r = E_SUCCESS;
253 r = reg.Construct(_SYSTEM_CACHING_FILE, "w+");
254 SysTryReturnResult(NID_SYS, r == E_SUCCESS, r, "It is failed to create the cache file.");
256 r = reg.AddSection(_SYSTEM_CACHING_SECTION);
257 SysTryReturnResult(NID_SYS, r == E_SUCCESS, r, "It is failed to create section on the cache file.");
263 //For improve launch performance
265 this->GetValue(_SCREEN_DPI, nValue);
266 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
270 this->GetValue(_SCREEN_HEIGHT, nValue);
271 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
275 this->GetValue(_SCREEN_WIDTH, nValue);
276 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
279 this->GetValue(_CAMERA, bValue);
281 systemValue = _SYSTEM_CACHING_TRUE;
283 systemValue = _SYSTEM_CACHING_FALSE;
284 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
288 this->GetValue(_CAMERA_BACK, bValue);
290 systemValue = _SYSTEM_CACHING_TRUE;
292 systemValue = _SYSTEM_CACHING_FALSE;
293 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
297 this->GetValue(_CAMERA_BACK_FLASH, bValue);
299 systemValue = _SYSTEM_CACHING_TRUE;
301 systemValue = _SYSTEM_CACHING_FALSE;
302 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
306 this->GetValue(_CAMERA_FRONT, bValue);
308 systemValue = _SYSTEM_CACHING_TRUE;
310 systemValue = _SYSTEM_CACHING_FALSE;
311 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
315 this->GetValue(_CAMERA_FRONT_FLASH, bValue);
317 systemValue = _SYSTEM_CACHING_TRUE;
319 systemValue = _SYSTEM_CACHING_FALSE;
320 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
324 this->GetValue(_DATABASE_ENCRYPTION, bValue);
326 systemValue = _SYSTEM_CACHING_TRUE;
328 systemValue = _SYSTEM_CACHING_FALSE;
329 reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
333 this->GetValue(_FMRADIO, bValue);
335 systemValue = _SYSTEM_CACHING_TRUE;
337 systemValue = _SYSTEM_CACHING_FALSE;
338 reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
342 this->GetValue(_GRAPHIC_ACCELERATION, bValue);
344 systemValue = _SYSTEM_CACHING_TRUE;
346 systemValue = _SYSTEM_CACHING_FALSE;
347 reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
351 this->GetValue(_INPUT_KEYBOARD, bValue);
353 systemValue = _SYSTEM_CACHING_TRUE;
355 systemValue = _SYSTEM_CACHING_FALSE;
356 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
360 this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
361 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
364 this->GetValue(_LOCATION, bValue);
366 systemValue = _SYSTEM_CACHING_TRUE;
368 systemValue = _SYSTEM_CACHING_FALSE;
369 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
373 this->GetValue(_LOCATION_GPS, bValue);
375 systemValue = _SYSTEM_CACHING_TRUE;
377 systemValue = _SYSTEM_CACHING_FALSE;
378 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
382 this->GetValue(_LOCATION_WPS, bValue);
384 systemValue = _SYSTEM_CACHING_TRUE;
386 systemValue = _SYSTEM_CACHING_FALSE;
387 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
391 this->GetValue(_MICROPHONE, bValue);
393 systemValue = _SYSTEM_CACHING_TRUE;
395 systemValue = _SYSTEM_CACHING_FALSE;
396 reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
400 this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
402 systemValue = _SYSTEM_CACHING_TRUE;
404 systemValue = _SYSTEM_CACHING_FALSE;
405 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
409 this->GetValue(_MULTIPOINTTOUCH_POINTCOUNT, nValue);
410 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
413 this->GetValue(_NETWORK_BLUETOOTH, bValue);
415 systemValue = _SYSTEM_CACHING_TRUE;
417 systemValue = _SYSTEM_CACHING_FALSE;
418 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
422 this->GetValue(_NETWORK_NFC, bValue);
424 systemValue = _SYSTEM_CACHING_TRUE;
426 systemValue = _SYSTEM_CACHING_FALSE;
427 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
431 this->GetValue(_NETWORK_NFC_RESERVED_PUSH, bValue);
433 systemValue = _SYSTEM_CACHING_TRUE;
435 systemValue = _SYSTEM_CACHING_FALSE;
436 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
440 this->GetValue(_NETWORK_PUSH, bValue);
442 systemValue = _SYSTEM_CACHING_TRUE;
444 systemValue = _SYSTEM_CACHING_FALSE;
445 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
449 this->GetValue(_NETWORK_SECURE_ELEMENT, bValue);
451 systemValue = _SYSTEM_CACHING_TRUE;
453 systemValue = _SYSTEM_CACHING_FALSE;
454 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
458 this->GetValue(_NETWORK_TELEPHONY, bValue);
460 systemValue = _SYSTEM_CACHING_TRUE;
462 systemValue = _SYSTEM_CACHING_FALSE;
463 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
467 this->GetValue(_NETWORK_TELEPHONY_MMS, bValue);
469 systemValue = _SYSTEM_CACHING_TRUE;
471 systemValue = _SYSTEM_CACHING_FALSE;
472 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
476 this->GetValue(_NETWORK_TELEPHONY_SMS, bValue);
478 systemValue = _SYSTEM_CACHING_TRUE;
480 systemValue = _SYSTEM_CACHING_FALSE;
481 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
485 this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, bValue);
487 systemValue = _SYSTEM_CACHING_TRUE;
489 systemValue = _SYSTEM_CACHING_FALSE;
490 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
494 this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, bValue);
496 systemValue = _SYSTEM_CACHING_TRUE;
498 systemValue = _SYSTEM_CACHING_FALSE;
499 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
503 this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, bValue);
505 systemValue = _SYSTEM_CACHING_TRUE;
507 systemValue = _SYSTEM_CACHING_FALSE;
508 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
512 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, bValue);
514 systemValue = _SYSTEM_CACHING_TRUE;
516 systemValue = _SYSTEM_CACHING_FALSE;
517 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
521 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, bValue);
523 systemValue = _SYSTEM_CACHING_TRUE;
525 systemValue = _SYSTEM_CACHING_FALSE;
526 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
530 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, bValue);
532 systemValue = _SYSTEM_CACHING_TRUE;
534 systemValue = _SYSTEM_CACHING_FALSE;
535 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
539 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, bValue);
541 systemValue = _SYSTEM_CACHING_TRUE;
543 systemValue = _SYSTEM_CACHING_FALSE;
544 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
548 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, bValue);
550 systemValue = _SYSTEM_CACHING_TRUE;
552 systemValue = _SYSTEM_CACHING_FALSE;
553 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
557 this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, bValue);
559 systemValue = _SYSTEM_CACHING_TRUE;
561 systemValue = _SYSTEM_CACHING_FALSE;
562 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
566 this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, bValue);
568 systemValue = _SYSTEM_CACHING_TRUE;
570 systemValue = _SYSTEM_CACHING_FALSE;
571 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
575 this->GetValue(_NETWORK_WIFI, bValue);
577 systemValue = _SYSTEM_CACHING_TRUE;
579 systemValue = _SYSTEM_CACHING_FALSE;
580 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
584 this->GetValue(_NETWORK_WIFI_DIRECT, bValue);
586 systemValue = _SYSTEM_CACHING_TRUE;
588 systemValue = _SYSTEM_CACHING_FALSE;
589 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
593 this->GetValue(_OPENGLES, bValue);
595 systemValue = _SYSTEM_CACHING_TRUE;
597 systemValue = _SYSTEM_CACHING_FALSE;
598 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
602 this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
604 systemValue = _SYSTEM_CACHING_TRUE;
606 systemValue = _SYSTEM_CACHING_FALSE;
607 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
611 this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, bValue);
613 systemValue = _SYSTEM_CACHING_TRUE;
615 systemValue = _SYSTEM_CACHING_FALSE;
616 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
620 this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, bValue);
622 systemValue = _SYSTEM_CACHING_TRUE;
624 systemValue = _SYSTEM_CACHING_FALSE;
625 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
629 this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, bValue);
631 systemValue = _SYSTEM_CACHING_TRUE;
633 systemValue = _SYSTEM_CACHING_FALSE;
634 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
638 this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, bValue);
640 systemValue = _SYSTEM_CACHING_TRUE;
642 systemValue = _SYSTEM_CACHING_FALSE;
643 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
647 this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, bValue);
649 systemValue = _SYSTEM_CACHING_TRUE;
651 systemValue = _SYSTEM_CACHING_FALSE;
652 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
656 this->GetValue(_OPENGLES_VERSION_1_1, bValue);
658 systemValue = _SYSTEM_CACHING_TRUE;
660 systemValue = _SYSTEM_CACHING_FALSE;
661 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
665 this->GetValue(_OPENGLES_VERSION_2_0, bValue);
667 systemValue = _SYSTEM_CACHING_TRUE;
669 systemValue = _SYSTEM_CACHING_FALSE;
670 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
674 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, bValue);
676 systemValue = _SYSTEM_CACHING_TRUE;
678 systemValue = _SYSTEM_CACHING_FALSE;
679 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
683 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, bValue);
685 systemValue = _SYSTEM_CACHING_TRUE;
687 systemValue = _SYSTEM_CACHING_FALSE;
688 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
692 this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, bValue);
694 systemValue = _SYSTEM_CACHING_TRUE;
696 systemValue = _SYSTEM_CACHING_FALSE;
697 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
701 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, bValue);
703 systemValue = _SYSTEM_CACHING_TRUE;
705 systemValue = _SYSTEM_CACHING_FALSE;
706 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
710 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, bValue);
712 systemValue = _SYSTEM_CACHING_TRUE;
714 systemValue = _SYSTEM_CACHING_FALSE;
715 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
719 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, bValue);
721 systemValue = _SYSTEM_CACHING_TRUE;
723 systemValue = _SYSTEM_CACHING_FALSE;
724 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
728 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, bValue);
730 systemValue = _SYSTEM_CACHING_TRUE;
732 systemValue = _SYSTEM_CACHING_FALSE;
733 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
737 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, bValue);
739 systemValue = _SYSTEM_CACHING_TRUE;
741 systemValue = _SYSTEM_CACHING_FALSE;
742 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
746 this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
747 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
750 this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, bValue);
752 systemValue = _SYSTEM_CACHING_TRUE;
754 systemValue = _SYSTEM_CACHING_FALSE;
755 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
759 this->GetValue(_PLATFORM_VERSION, sValue);
760 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
763 this->GetValue(_PLATFORM_WEB_API_VERSION, sValue);
764 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
767 this->GetValue(_SCREEN_AUTO_ROTATION, bValue);
769 systemValue = _SYSTEM_CACHING_TRUE;
771 systemValue = _SYSTEM_CACHING_FALSE;
772 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
776 this->GetValue(_SCREEN_BPP, nValue);
777 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
780 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, bValue);
782 systemValue = _SYSTEM_CACHING_TRUE;
784 systemValue = _SYSTEM_CACHING_FALSE;
785 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
789 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, bValue);
791 systemValue = _SYSTEM_CACHING_TRUE;
793 systemValue = _SYSTEM_CACHING_FALSE;
794 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
798 this->GetValue(_SCREEN_DESKTOPMODE, bValue);
800 systemValue = _SYSTEM_CACHING_TRUE;
802 systemValue = _SYSTEM_CACHING_FALSE;
803 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
807 this->GetValue(_SCREEN_SIZE_LARGE, bValue);
809 systemValue = _SYSTEM_CACHING_TRUE;
811 systemValue = _SYSTEM_CACHING_FALSE;
812 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
816 this->GetValue(_SCREEN_SIZE_NORMAL, bValue);
818 systemValue = _SYSTEM_CACHING_TRUE;
820 systemValue = _SYSTEM_CACHING_FALSE;
821 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
825 this->GetValue(_SCREEN_SIZE_NORMAL_240_400, bValue);
827 systemValue = _SYSTEM_CACHING_TRUE;
829 systemValue = _SYSTEM_CACHING_FALSE;
831 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
835 this->GetValue(_SCREEN_SIZE_NORMAL_320_480, bValue);
837 systemValue = _SYSTEM_CACHING_TRUE;
839 systemValue = _SYSTEM_CACHING_FALSE;
841 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
845 this->GetValue(_SCREEN_SIZE_NORMAL_480_800, bValue);
847 systemValue = _SYSTEM_CACHING_TRUE;
849 systemValue = _SYSTEM_CACHING_FALSE;
851 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
855 this->GetValue(_SCREEN_SIZE_NORMAL_540_960, bValue);
857 systemValue = _SYSTEM_CACHING_TRUE;
859 systemValue = _SYSTEM_CACHING_FALSE;
861 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
865 this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, bValue);
867 systemValue = _SYSTEM_CACHING_TRUE;
869 systemValue = _SYSTEM_CACHING_FALSE;
871 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
875 this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, bValue);
877 systemValue = _SYSTEM_CACHING_TRUE;
879 systemValue = _SYSTEM_CACHING_FALSE;
881 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
885 this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, bValue);
887 systemValue = _SYSTEM_CACHING_TRUE;
889 systemValue = _SYSTEM_CACHING_FALSE;
891 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
895 this->GetValue(_SCREEN_OUTPUT_HDMI, bValue);
897 systemValue = _SYSTEM_CACHING_TRUE;
899 systemValue = _SYSTEM_CACHING_FALSE;
900 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
904 this->GetValue(_SCREEN_OUTPUT_RCA, bValue);
906 systemValue = _SYSTEM_CACHING_TRUE;
908 systemValue = _SYSTEM_CACHING_FALSE;
909 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
913 this->GetValue(_SHELL_APPWIDGET, bValue);
915 systemValue = _SYSTEM_CACHING_TRUE;
917 systemValue = _SYSTEM_CACHING_FALSE;
918 reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
922 this->GetValue(_SENSOR_ACCELEROMETER, bValue);
924 systemValue = _SYSTEM_CACHING_TRUE;
926 systemValue = _SYSTEM_CACHING_FALSE;
927 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
931 this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, bValue);
933 systemValue = _SYSTEM_CACHING_TRUE;
935 systemValue = _SYSTEM_CACHING_FALSE;
936 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
940 this->GetValue(_SENSOR_BAROMETER, bValue);
942 systemValue = _SYSTEM_CACHING_TRUE;
944 systemValue = _SYSTEM_CACHING_FALSE;
945 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
949 this->GetValue(_SENSOR_BAROMETER_WAKEUP, bValue);
951 systemValue = _SYSTEM_CACHING_TRUE;
953 systemValue = _SYSTEM_CACHING_FALSE;
954 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
958 this->GetValue(_SENSOR_GYROSCOPE, bValue);
960 systemValue = _SYSTEM_CACHING_TRUE;
962 systemValue = _SYSTEM_CACHING_FALSE;
963 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
967 this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, bValue);
969 systemValue = _SYSTEM_CACHING_TRUE;
971 systemValue = _SYSTEM_CACHING_FALSE;
972 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
976 this->GetValue(_SENSOR_MAGNETOMETER, bValue);
978 systemValue = _SYSTEM_CACHING_TRUE;
980 systemValue = _SYSTEM_CACHING_FALSE;
981 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
985 this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, bValue);
987 systemValue = _SYSTEM_CACHING_TRUE;
989 systemValue = _SYSTEM_CACHING_FALSE;
990 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
994 this->GetValue(_SENSOR_PHOTOMETER, bValue);
996 systemValue = _SYSTEM_CACHING_TRUE;
998 systemValue = _SYSTEM_CACHING_FALSE;
999 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
1003 this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, bValue);
1005 systemValue = _SYSTEM_CACHING_TRUE;
1007 systemValue = _SYSTEM_CACHING_FALSE;
1008 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
1012 this->GetValue(_SENSOR_PROXIMITY, bValue);
1014 systemValue = _SYSTEM_CACHING_TRUE;
1016 systemValue = _SYSTEM_CACHING_FALSE;
1017 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
1021 this->GetValue(_SENSOR_PROXIMITY_WAKEUP, bValue);
1023 systemValue = _SYSTEM_CACHING_TRUE;
1025 systemValue = _SYSTEM_CACHING_FALSE;
1026 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
1030 this->GetValue(_SENSOR_TILTMETER, bValue);
1032 systemValue = _SYSTEM_CACHING_TRUE;
1034 systemValue = _SYSTEM_CACHING_FALSE;
1035 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
1039 this->GetValue(_SENSOR_TILTMETER_WAKEUP, bValue);
1041 systemValue = _SYSTEM_CACHING_TRUE;
1043 systemValue = _SYSTEM_CACHING_FALSE;
1044 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
1048 this->GetValue(_SIP_VOIP, bValue);
1050 systemValue = _SYSTEM_CACHING_TRUE;
1052 systemValue = _SYSTEM_CACHING_FALSE;
1053 reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
1057 this->GetValue(_SPEECH_RECOGNITION, bValue);
1059 systemValue = _SYSTEM_CACHING_TRUE;
1061 systemValue = _SYSTEM_CACHING_FALSE;
1062 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
1066 this->GetValue(_SPEECH_SYNTHESIS, bValue);
1068 systemValue = _SYSTEM_CACHING_TRUE;
1070 systemValue = _SYSTEM_CACHING_FALSE;
1071 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
1075 this->GetValue(_USB_ACCESSORY, bValue);
1077 systemValue = _SYSTEM_CACHING_TRUE;
1079 systemValue = _SYSTEM_CACHING_FALSE;
1080 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
1084 this->GetValue(_USB_CLIENT, bValue);
1086 systemValue = _SYSTEM_CACHING_TRUE;
1088 systemValue = _SYSTEM_CACHING_FALSE;
1089 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
1093 this->GetValue(_USB_HOST, bValue);
1095 systemValue = _SYSTEM_CACHING_TRUE;
1097 systemValue = _SYSTEM_CACHING_FALSE;
1098 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
1102 this->GetValue(_VISION_FACE_RECOGNITION, bValue);
1104 systemValue = _SYSTEM_CACHING_TRUE;
1106 systemValue = _SYSTEM_CACHING_FALSE;
1107 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
1111 this->GetValue(_VISION_IMAGE_RECOGNITION, bValue);
1113 systemValue = _SYSTEM_CACHING_TRUE;
1115 systemValue = _SYSTEM_CACHING_FALSE;
1116 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
1120 this->GetValue(_VISION_QRCODE_GENERATION, bValue);
1122 systemValue = _SYSTEM_CACHING_TRUE;
1124 systemValue = _SYSTEM_CACHING_FALSE;
1125 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
1129 this->GetValue(_VISION_QRCODE_RECOGNITION, bValue);
1131 systemValue = _SYSTEM_CACHING_TRUE;
1133 systemValue = _SYSTEM_CACHING_FALSE;
1134 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
1138 this->GetValue(_BUILD_STRING, sValue);
1140 reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
1144 r = this->GetValue(_DUID, sValue);
1147 sValue.Append(L"ERROR");
1149 reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
1153 this->GetValue(_MODELNAME, sValue);
1154 reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
1158 this->GetValue(_PLATFORM_NAME, sValue);
1159 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
1163 this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
1164 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
1168 this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
1169 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
1173 this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
1174 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
1178 this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
1179 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
1186 _SystemInfoService::UpdateCacheFile(void)
1189 result r = E_SUCCESS;
1192 r = reg.Construct(_SYSTEM_CACHING_FILE, "r+");
1193 SysTryReturnResult(NID_SYS, r == E_SUCCESS, r, "It is failed to create the cache file.");
1195 bool bValue = false;
1199 //For improve launch performance
1201 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
1204 this->GetValue(_SCREEN_DPI, nValue);
1205 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
1210 this->GetValue(_SCREEN_HEIGHT, nValue);
1211 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue) == E_KEY_ALREADY_EXIST)
1213 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
1218 this->GetValue(_SCREEN_WIDTH, nValue);
1219 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue) == E_KEY_ALREADY_EXIST)
1221 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
1225 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
1229 this->GetValue(_CAMERA, bValue);
1231 systemValue = _SYSTEM_CACHING_TRUE;
1233 systemValue = _SYSTEM_CACHING_FALSE;
1235 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
1239 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
1243 this->GetValue(_CAMERA_BACK, bValue);
1245 systemValue = _SYSTEM_CACHING_TRUE;
1247 systemValue = _SYSTEM_CACHING_FALSE;
1249 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
1253 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
1257 this->GetValue(_CAMERA_BACK_FLASH, bValue);
1259 systemValue = _SYSTEM_CACHING_TRUE;
1261 systemValue = _SYSTEM_CACHING_FALSE;
1263 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
1267 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
1271 this->GetValue(_CAMERA_FRONT, bValue);
1273 systemValue = _SYSTEM_CACHING_TRUE;
1275 systemValue = _SYSTEM_CACHING_FALSE;
1277 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
1281 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
1285 this->GetValue(_CAMERA_FRONT_FLASH, bValue);
1287 systemValue = _SYSTEM_CACHING_TRUE;
1289 systemValue = _SYSTEM_CACHING_FALSE;
1291 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
1295 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
1299 this->GetValue(_DATABASE_ENCRYPTION, bValue);
1301 systemValue = _SYSTEM_CACHING_TRUE;
1303 systemValue = _SYSTEM_CACHING_FALSE;
1305 reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
1309 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
1313 this->GetValue(_FMRADIO, bValue);
1315 systemValue = _SYSTEM_CACHING_TRUE;
1317 systemValue = _SYSTEM_CACHING_FALSE;
1319 reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
1323 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
1327 this->GetValue(_GRAPHIC_ACCELERATION, bValue);
1329 systemValue = _SYSTEM_CACHING_TRUE;
1331 systemValue = _SYSTEM_CACHING_FALSE;
1333 reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
1337 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
1341 this->GetValue(_INPUT_KEYBOARD, bValue);
1343 systemValue = _SYSTEM_CACHING_TRUE;
1345 systemValue = _SYSTEM_CACHING_FALSE;
1347 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
1351 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
1355 this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
1356 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
1360 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
1364 this->GetValue(_LOCATION, bValue);
1366 systemValue = _SYSTEM_CACHING_TRUE;
1368 systemValue = _SYSTEM_CACHING_FALSE;
1370 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
1374 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
1378 this->GetValue(_LOCATION_GPS, bValue);
1380 systemValue = _SYSTEM_CACHING_TRUE;
1382 systemValue = _SYSTEM_CACHING_FALSE;
1384 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
1388 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
1392 this->GetValue(_LOCATION_WPS, bValue);
1394 systemValue = _SYSTEM_CACHING_TRUE;
1396 systemValue = _SYSTEM_CACHING_FALSE;
1398 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
1402 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
1406 this->GetValue(_MICROPHONE, bValue);
1408 systemValue = _SYSTEM_CACHING_TRUE;
1410 systemValue = _SYSTEM_CACHING_FALSE;
1412 reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
1416 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
1420 this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
1422 systemValue = _SYSTEM_CACHING_TRUE;
1424 systemValue = _SYSTEM_CACHING_FALSE;
1426 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
1431 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1435 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1436 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1440 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
1444 this->GetValue(_NETWORK_BLUETOOTH, bValue);
1446 systemValue = _SYSTEM_CACHING_TRUE;
1448 systemValue = _SYSTEM_CACHING_FALSE;
1450 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
1454 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
1458 this->GetValue(_NETWORK_NFC, bValue);
1460 systemValue = _SYSTEM_CACHING_TRUE;
1462 systemValue = _SYSTEM_CACHING_FALSE;
1464 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
1468 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
1472 this->GetValue(_NETWORK_NFC_RESERVED_PUSH, bValue);
1474 systemValue = _SYSTEM_CACHING_TRUE;
1476 systemValue = _SYSTEM_CACHING_FALSE;
1478 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
1482 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
1486 this->GetValue(_NETWORK_PUSH, bValue);
1488 systemValue = _SYSTEM_CACHING_TRUE;
1490 systemValue = _SYSTEM_CACHING_FALSE;
1492 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
1496 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
1500 this->GetValue(_NETWORK_SECURE_ELEMENT, bValue);
1502 systemValue = _SYSTEM_CACHING_TRUE;
1504 systemValue = _SYSTEM_CACHING_FALSE;
1506 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
1510 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
1514 this->GetValue(_NETWORK_TELEPHONY, bValue);
1516 systemValue = _SYSTEM_CACHING_TRUE;
1518 systemValue = _SYSTEM_CACHING_FALSE;
1520 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
1524 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
1528 this->GetValue(_NETWORK_TELEPHONY_MMS, bValue);
1530 systemValue = _SYSTEM_CACHING_TRUE;
1532 systemValue = _SYSTEM_CACHING_FALSE;
1534 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
1538 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
1542 this->GetValue(_NETWORK_TELEPHONY_SMS, bValue);
1544 systemValue = _SYSTEM_CACHING_TRUE;
1546 systemValue = _SYSTEM_CACHING_FALSE;
1548 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
1552 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
1556 this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, bValue);
1558 systemValue = _SYSTEM_CACHING_TRUE;
1560 systemValue = _SYSTEM_CACHING_FALSE;
1562 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
1566 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
1570 this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, bValue);
1572 systemValue = _SYSTEM_CACHING_TRUE;
1574 systemValue = _SYSTEM_CACHING_FALSE;
1576 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
1580 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
1584 this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, bValue);
1586 systemValue = _SYSTEM_CACHING_TRUE;
1588 systemValue = _SYSTEM_CACHING_FALSE;
1590 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
1594 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
1598 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, bValue);
1600 systemValue = _SYSTEM_CACHING_TRUE;
1602 systemValue = _SYSTEM_CACHING_FALSE;
1604 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
1608 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
1612 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, bValue);
1614 systemValue = _SYSTEM_CACHING_TRUE;
1616 systemValue = _SYSTEM_CACHING_FALSE;
1618 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
1622 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
1626 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, bValue);
1628 systemValue = _SYSTEM_CACHING_TRUE;
1630 systemValue = _SYSTEM_CACHING_FALSE;
1632 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
1636 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
1640 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, bValue);
1642 systemValue = _SYSTEM_CACHING_TRUE;
1644 systemValue = _SYSTEM_CACHING_FALSE;
1646 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
1650 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
1654 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, bValue);
1656 systemValue = _SYSTEM_CACHING_TRUE;
1658 systemValue = _SYSTEM_CACHING_FALSE;
1660 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
1664 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
1668 this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, bValue);
1670 systemValue = _SYSTEM_CACHING_TRUE;
1672 systemValue = _SYSTEM_CACHING_FALSE;
1674 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
1678 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
1682 this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, bValue);
1684 systemValue = _SYSTEM_CACHING_TRUE;
1686 systemValue = _SYSTEM_CACHING_FALSE;
1688 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
1692 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
1696 this->GetValue(_NETWORK_WIFI, bValue);
1698 systemValue = _SYSTEM_CACHING_TRUE;
1700 systemValue = _SYSTEM_CACHING_FALSE;
1702 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
1706 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
1710 this->GetValue(_NETWORK_WIFI_DIRECT, bValue);
1712 systemValue = _SYSTEM_CACHING_TRUE;
1714 systemValue = _SYSTEM_CACHING_FALSE;
1716 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
1720 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
1724 this->GetValue(_OPENGLES, bValue);
1726 systemValue = _SYSTEM_CACHING_TRUE;
1728 systemValue = _SYSTEM_CACHING_FALSE;
1730 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
1734 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
1738 this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
1740 systemValue = _SYSTEM_CACHING_TRUE;
1742 systemValue = _SYSTEM_CACHING_FALSE;
1744 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
1748 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
1752 this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, bValue);
1754 systemValue = _SYSTEM_CACHING_TRUE;
1756 systemValue = _SYSTEM_CACHING_FALSE;
1758 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
1762 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
1766 this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, bValue);
1768 systemValue = _SYSTEM_CACHING_TRUE;
1770 systemValue = _SYSTEM_CACHING_FALSE;
1772 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
1776 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
1780 this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, bValue);
1782 systemValue = _SYSTEM_CACHING_TRUE;
1784 systemValue = _SYSTEM_CACHING_FALSE;
1786 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
1790 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
1794 this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, bValue);
1796 systemValue = _SYSTEM_CACHING_TRUE;
1798 systemValue = _SYSTEM_CACHING_FALSE;
1800 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
1804 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
1808 this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, bValue);
1810 systemValue = _SYSTEM_CACHING_TRUE;
1812 systemValue = _SYSTEM_CACHING_FALSE;
1814 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
1818 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
1822 this->GetValue(_OPENGLES_VERSION_1_1, bValue);
1824 systemValue = _SYSTEM_CACHING_TRUE;
1826 systemValue = _SYSTEM_CACHING_FALSE;
1828 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
1832 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
1836 this->GetValue(_OPENGLES_VERSION_2_0, bValue);
1838 systemValue = _SYSTEM_CACHING_TRUE;
1840 systemValue = _SYSTEM_CACHING_FALSE;
1842 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
1846 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
1850 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, bValue);
1852 systemValue = _SYSTEM_CACHING_TRUE;
1854 systemValue = _SYSTEM_CACHING_FALSE;
1856 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
1860 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
1864 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, bValue);
1866 systemValue = _SYSTEM_CACHING_TRUE;
1868 systemValue = _SYSTEM_CACHING_FALSE;
1870 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
1874 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
1878 this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, bValue);
1880 systemValue = _SYSTEM_CACHING_TRUE;
1882 systemValue = _SYSTEM_CACHING_FALSE;
1884 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
1888 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
1892 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, bValue);
1894 systemValue = _SYSTEM_CACHING_TRUE;
1896 systemValue = _SYSTEM_CACHING_FALSE;
1898 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
1902 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
1906 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, bValue);
1908 systemValue = _SYSTEM_CACHING_TRUE;
1910 systemValue = _SYSTEM_CACHING_FALSE;
1912 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
1916 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
1920 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, bValue);
1922 systemValue = _SYSTEM_CACHING_TRUE;
1924 systemValue = _SYSTEM_CACHING_FALSE;
1926 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
1930 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
1934 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, bValue);
1936 systemValue = _SYSTEM_CACHING_TRUE;
1938 systemValue = _SYSTEM_CACHING_FALSE;
1940 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
1944 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
1948 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, bValue);
1950 systemValue = _SYSTEM_CACHING_TRUE;
1952 systemValue = _SYSTEM_CACHING_FALSE;
1954 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
1958 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
1962 this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
1963 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
1967 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
1971 this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, bValue);
1973 systemValue = _SYSTEM_CACHING_TRUE;
1975 systemValue = _SYSTEM_CACHING_FALSE;
1977 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
1981 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
1985 this->GetValue(_PLATFORM_VERSION, sValue);
1986 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
1990 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
1994 this->GetValue(_PLATFORM_WEB_API_VERSION, sValue);
1995 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
1999 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
2004 this->GetValue(_SCREEN_AUTO_ROTATION, bValue);
2006 systemValue = _SYSTEM_CACHING_TRUE;
2008 systemValue = _SYSTEM_CACHING_FALSE;
2010 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
2014 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
2018 this->GetValue(_SCREEN_BPP, nValue);
2019 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
2023 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
2027 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, bValue);
2029 systemValue = _SYSTEM_CACHING_TRUE;
2031 systemValue = _SYSTEM_CACHING_FALSE;
2033 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
2037 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
2041 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, bValue);
2043 systemValue = _SYSTEM_CACHING_TRUE;
2045 systemValue = _SYSTEM_CACHING_FALSE;
2047 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
2051 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
2055 this->GetValue(_SCREEN_DESKTOPMODE, bValue);
2057 systemValue = _SYSTEM_CACHING_TRUE;
2059 systemValue = _SYSTEM_CACHING_FALSE;
2061 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
2066 this->GetValue(_SCREEN_SIZE_LARGE, bValue);
2068 systemValue = _SYSTEM_CACHING_TRUE;
2070 systemValue = _SYSTEM_CACHING_FALSE;
2072 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue) == E_KEY_ALREADY_EXIST)
2074 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
2079 this->GetValue(_SCREEN_SIZE_NORMAL, bValue);
2081 systemValue = _SYSTEM_CACHING_TRUE;
2083 systemValue = _SYSTEM_CACHING_FALSE;
2085 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue) == E_KEY_ALREADY_EXIST)
2087 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
2092 this->GetValue(_SCREEN_SIZE_NORMAL_240_400, bValue);
2094 systemValue = _SYSTEM_CACHING_TRUE;
2096 systemValue = _SYSTEM_CACHING_FALSE;
2098 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue) == E_KEY_ALREADY_EXIST)
2100 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
2105 this->GetValue(_SCREEN_SIZE_NORMAL_320_480, bValue);
2107 systemValue = _SYSTEM_CACHING_TRUE;
2109 systemValue = _SYSTEM_CACHING_FALSE;
2111 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue) == E_KEY_ALREADY_EXIST)
2113 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
2118 this->GetValue(_SCREEN_SIZE_NORMAL_480_800, bValue);
2120 systemValue = _SYSTEM_CACHING_TRUE;
2122 systemValue = _SYSTEM_CACHING_FALSE;
2124 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue) == E_KEY_ALREADY_EXIST)
2126 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
2131 this->GetValue(_SCREEN_SIZE_NORMAL_540_960, bValue);
2133 systemValue = _SYSTEM_CACHING_TRUE;
2135 systemValue = _SYSTEM_CACHING_FALSE;
2137 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue) == E_KEY_ALREADY_EXIST)
2139 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
2144 this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, bValue);
2146 systemValue = _SYSTEM_CACHING_TRUE;
2148 systemValue = _SYSTEM_CACHING_FALSE;
2150 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue) == E_KEY_ALREADY_EXIST)
2152 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
2157 this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, bValue);
2159 systemValue = _SYSTEM_CACHING_TRUE;
2161 systemValue = _SYSTEM_CACHING_FALSE;
2163 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue) == E_KEY_ALREADY_EXIST)
2165 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
2170 this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, bValue);
2172 systemValue = _SYSTEM_CACHING_TRUE;
2174 systemValue = _SYSTEM_CACHING_FALSE;
2176 if(reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue) == E_KEY_ALREADY_EXIST)
2178 reg.SetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
2183 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
2187 this->GetValue(_SCREEN_OUTPUT_HDMI, bValue);
2189 systemValue = _SYSTEM_CACHING_TRUE;
2191 systemValue = _SYSTEM_CACHING_FALSE;
2193 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
2197 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
2201 this->GetValue(_SCREEN_OUTPUT_RCA, bValue);
2203 systemValue = _SYSTEM_CACHING_TRUE;
2205 systemValue = _SYSTEM_CACHING_FALSE;
2207 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
2211 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
2215 this->GetValue(_SHELL_APPWIDGET, bValue);
2217 systemValue = _SYSTEM_CACHING_TRUE;
2219 systemValue = _SYSTEM_CACHING_FALSE;
2221 reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
2225 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
2229 this->GetValue(_SENSOR_ACCELEROMETER, bValue);
2231 systemValue = _SYSTEM_CACHING_TRUE;
2233 systemValue = _SYSTEM_CACHING_FALSE;
2235 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
2239 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
2243 this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, bValue);
2245 systemValue = _SYSTEM_CACHING_TRUE;
2247 systemValue = _SYSTEM_CACHING_FALSE;
2249 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
2253 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
2257 this->GetValue(_SENSOR_BAROMETER, bValue);
2259 systemValue = _SYSTEM_CACHING_TRUE;
2261 systemValue = _SYSTEM_CACHING_FALSE;
2263 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
2267 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
2271 this->GetValue(_SENSOR_BAROMETER_WAKEUP, bValue);
2273 systemValue = _SYSTEM_CACHING_TRUE;
2275 systemValue = _SYSTEM_CACHING_FALSE;
2277 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
2281 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
2285 this->GetValue(_SENSOR_GYROSCOPE, bValue);
2287 systemValue = _SYSTEM_CACHING_TRUE;
2289 systemValue = _SYSTEM_CACHING_FALSE;
2291 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
2295 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
2299 this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, bValue);
2301 systemValue = _SYSTEM_CACHING_TRUE;
2303 systemValue = _SYSTEM_CACHING_FALSE;
2305 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
2309 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
2313 this->GetValue(_SENSOR_MAGNETOMETER, bValue);
2315 systemValue = _SYSTEM_CACHING_TRUE;
2317 systemValue = _SYSTEM_CACHING_FALSE;
2319 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
2323 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
2327 this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, bValue);
2329 systemValue = _SYSTEM_CACHING_TRUE;
2331 systemValue = _SYSTEM_CACHING_FALSE;
2333 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
2337 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
2341 this->GetValue(_SENSOR_PHOTOMETER, bValue);
2343 systemValue = _SYSTEM_CACHING_TRUE;
2345 systemValue = _SYSTEM_CACHING_FALSE;
2347 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
2351 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
2355 this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, bValue);
2357 systemValue = _SYSTEM_CACHING_TRUE;
2359 systemValue = _SYSTEM_CACHING_FALSE;
2361 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
2365 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
2369 this->GetValue(_SENSOR_PROXIMITY, bValue);
2371 systemValue = _SYSTEM_CACHING_TRUE;
2373 systemValue = _SYSTEM_CACHING_FALSE;
2375 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
2379 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
2383 this->GetValue(_SENSOR_PROXIMITY_WAKEUP, bValue);
2385 systemValue = _SYSTEM_CACHING_TRUE;
2387 systemValue = _SYSTEM_CACHING_FALSE;
2389 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
2393 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
2397 this->GetValue(_SENSOR_TILTMETER, bValue);
2399 systemValue = _SYSTEM_CACHING_TRUE;
2401 systemValue = _SYSTEM_CACHING_FALSE;
2403 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
2407 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
2411 this->GetValue(_SENSOR_TILTMETER_WAKEUP, bValue);
2413 systemValue = _SYSTEM_CACHING_TRUE;
2415 systemValue = _SYSTEM_CACHING_FALSE;
2417 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
2421 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
2425 this->GetValue(_SIP_VOIP, bValue);
2427 systemValue = _SYSTEM_CACHING_TRUE;
2429 systemValue = _SYSTEM_CACHING_FALSE;
2431 reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
2435 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
2439 this->GetValue(_SPEECH_RECOGNITION, bValue);
2441 systemValue = _SYSTEM_CACHING_TRUE;
2443 systemValue = _SYSTEM_CACHING_FALSE;
2445 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
2449 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
2453 this->GetValue(_SPEECH_SYNTHESIS, bValue);
2455 systemValue = _SYSTEM_CACHING_TRUE;
2457 systemValue = _SYSTEM_CACHING_FALSE;
2459 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
2463 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
2467 this->GetValue(_USB_ACCESSORY, bValue);
2469 systemValue = _SYSTEM_CACHING_TRUE;
2471 systemValue = _SYSTEM_CACHING_FALSE;
2473 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
2477 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
2481 this->GetValue(_USB_CLIENT, bValue);
2483 systemValue = _SYSTEM_CACHING_TRUE;
2485 systemValue = _SYSTEM_CACHING_FALSE;
2487 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
2491 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
2495 this->GetValue(_USB_HOST, bValue);
2497 systemValue = _SYSTEM_CACHING_TRUE;
2499 systemValue = _SYSTEM_CACHING_FALSE;
2501 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
2505 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
2509 this->GetValue(_VISION_FACE_RECOGNITION, bValue);
2511 systemValue = _SYSTEM_CACHING_TRUE;
2513 systemValue = _SYSTEM_CACHING_FALSE;
2515 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
2519 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
2523 this->GetValue(_VISION_IMAGE_RECOGNITION, bValue);
2525 systemValue = _SYSTEM_CACHING_TRUE;
2527 systemValue = _SYSTEM_CACHING_FALSE;
2529 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
2533 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
2537 this->GetValue(_VISION_QRCODE_GENERATION, bValue);
2539 systemValue = _SYSTEM_CACHING_TRUE;
2541 systemValue = _SYSTEM_CACHING_FALSE;
2543 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
2547 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
2551 this->GetValue(_VISION_QRCODE_RECOGNITION, bValue);
2553 systemValue = _SYSTEM_CACHING_TRUE;
2555 systemValue = _SYSTEM_CACHING_FALSE;
2557 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
2561 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
2565 this->GetValue(_BUILD_STRING, sValue);
2567 reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, sValue);
2571 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
2575 r = this->GetValue(_DUID, sValue);
2578 sValue.Append(L"ERROR");
2581 reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
2585 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
2589 this->GetValue(_MODELNAME, sValue);
2590 reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
2594 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
2598 this->GetValue(_PLATFORM_NAME, sValue);
2599 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
2603 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
2607 this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
2608 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
2612 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2616 this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2617 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2621 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
2625 this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
2626 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
2630 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
2634 this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
2635 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
2643 _SystemInfoService::CachingSystemInformation(void)
2645 result r = E_SUCCESS;
2647 if(File::IsFileExist(_SYSTEM_CACHING_FILE) == false)
2649 r = CreateCacheFile();
2653 FileAttributes attr;
2654 File::GetAttributes(_SYSTEM_CACHING_FILE, attr);
2655 if(attr.GetFileSize() == 0)
2657 r = CreateCacheFile();
2661 r = UpdateCacheFile();
2669 _SystemInfoService::GetValue(const String& key, String& value)
2672 result r = E_SUCCESS;
2673 char* pValue = null;
2675 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2678 bool supported = false;
2679 SysLog(NID_SYS, "It trys to get DUID from telephony.");
2680 this->GetValue(_NETWORK_TELEPHONY, supported);
2681 if(supported == true)
2683 r = _DeviceId::GetId(value, 0);
2687 SysLog(NID_SYS, "It trys to get DUID from wifi.");
2688 this->GetValue(_NETWORK_WIFI, supported);
2689 if(supported == true)
2691 r = _DeviceId::GetId(value, 1);
2695 SysLog(NID_SYS, "It trys to get DUID from bluetooth.");
2696 this->GetValue(_NETWORK_BLUETOOTH, supported);
2697 if(supported == true)
2699 r = _DeviceId::GetId(value, 2);
2703 SysLogException(NID_SYS, E_SYSTEM, "It is failed to get telephony, wifi, bluetooth information.");
2708 SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_SYSTEM, "It is failed to get the key[%ls]", key.GetPointer());
2710 else if (key == _MODELNAME)
2712 ret = system_info_get_value_string(SYSTEM_INFO_KEY_MODEL, &pValue);
2713 SysTryReturnResult(NID_SYS, ret == SYSTEM_INFO_ERROR_NONE && pValue, E_SYSTEM, "It is failed to get the SYSTEM_INFO_KEY_MODEL");
2715 r = StringUtil::Utf8ToString(pValue, value);
2716 SysTryCatch(NID_SYS, r == E_SUCCESS, r = E_SYSTEM, r, "[%s] StringUtil::Utf8ToString It is failed", GetErrorMessage(r));
2718 else if (key == _BUILD_STRING)
2720 ret = system_info_get_value_string(SYSTEM_INFO_KEY_BUILD_STRING, &pValue);
2721 SysTryReturnResult(NID_SYS, ret == SYSTEM_INFO_ERROR_NONE, E_SYSTEM, "[E_SYSTEM] system_info_get_value_string : \"SYSTEM_INFO_KEY_TIZEN_VERSION_STRING\"It is failed");
2723 r = StringUtil::Utf8ToString(pValue, value);
2724 SysTryCatch(NID_SYS, r == E_SUCCESS, r = E_SYSTEM, r, "[%s] StringUtil::Utf8ToString It is failed", GetErrorMessage(r));
2729 key.SubString(7, tizenKey);
2732 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2733 r = GetLastResult();
2734 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2735 int ret = system_info_get_platform_string(systemKey.get(), &pValue);
2737 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from the configuration file", key.GetPointer());
2739 r = StringUtil::Utf8ToString(pValue, value);
2757 _SystemInfoService::GetValue(const String& key, int& value)
2760 result r = E_SUCCESS;
2762 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2765 key.SubString(7, tizenKey);
2768 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2769 r = GetLastResult();
2770 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2771 ret = system_info_get_platform_int(systemKey.get(), &value);
2773 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from configration file.", key.GetPointer());
2780 _SystemInfoService::GetValue(const String& key, bool& value)
2783 result r = E_SUCCESS;
2785 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2787 if (key == _SCREEN_DESKTOPMODE)
2791 else if (key == _USB_CLIENT)
2798 key.SubString(7, tizenKey);
2801 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2802 r = GetLastResult();
2803 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2805 bool supported = false;
2806 ret = system_info_get_platform_bool(systemKey.get(), &supported);
2807 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from configration file.", key.GetPointer());
2813 } } // Tizen::System