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
264 this->GetValue(_SCREEN_DPI, nValue);
265 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
268 this->GetValue(_SCREEN_HEIGHT, nValue);
269 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
272 this->GetValue(_SCREEN_WIDTH, nValue);
273 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
276 this->GetValue(_CAMERA, bValue);
278 systemValue = _SYSTEM_CACHING_TRUE;
280 systemValue = _SYSTEM_CACHING_FALSE;
281 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
284 this->GetValue(_CAMERA_BACK, bValue);
286 systemValue = _SYSTEM_CACHING_TRUE;
288 systemValue = _SYSTEM_CACHING_FALSE;
289 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
292 this->GetValue(_CAMERA_BACK_FLASH, bValue);
294 systemValue = _SYSTEM_CACHING_TRUE;
296 systemValue = _SYSTEM_CACHING_FALSE;
297 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
300 this->GetValue(_CAMERA_FRONT, bValue);
302 systemValue = _SYSTEM_CACHING_TRUE;
304 systemValue = _SYSTEM_CACHING_FALSE;
305 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
308 this->GetValue(_CAMERA_FRONT_FLASH, bValue);
310 systemValue = _SYSTEM_CACHING_TRUE;
312 systemValue = _SYSTEM_CACHING_FALSE;
313 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
316 this->GetValue(_DATABASE_ENCRYPTION, bValue);
318 systemValue = _SYSTEM_CACHING_TRUE;
320 systemValue = _SYSTEM_CACHING_FALSE;
321 reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
324 this->GetValue(_FMRADIO, bValue);
326 systemValue = _SYSTEM_CACHING_TRUE;
328 systemValue = _SYSTEM_CACHING_FALSE;
329 reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
332 this->GetValue(_GRAPHIC_ACCELERATION, bValue);
334 systemValue = _SYSTEM_CACHING_TRUE;
336 systemValue = _SYSTEM_CACHING_FALSE;
337 reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
340 this->GetValue(_INPUT_KEYBOARD, bValue);
342 systemValue = _SYSTEM_CACHING_TRUE;
344 systemValue = _SYSTEM_CACHING_FALSE;
345 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
348 this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
349 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
352 this->GetValue(_LOCATION, bValue);
354 systemValue = _SYSTEM_CACHING_TRUE;
356 systemValue = _SYSTEM_CACHING_FALSE;
357 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
360 this->GetValue(_LOCATION_GPS, bValue);
362 systemValue = _SYSTEM_CACHING_TRUE;
364 systemValue = _SYSTEM_CACHING_FALSE;
365 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
368 this->GetValue(_LOCATION_WPS, bValue);
370 systemValue = _SYSTEM_CACHING_TRUE;
372 systemValue = _SYSTEM_CACHING_FALSE;
373 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
376 this->GetValue(_MICROPHONE, bValue);
378 systemValue = _SYSTEM_CACHING_TRUE;
380 systemValue = _SYSTEM_CACHING_FALSE;
381 reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
384 this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, bValue);
386 systemValue = _SYSTEM_CACHING_TRUE;
388 systemValue = _SYSTEM_CACHING_FALSE;
389 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
392 this->GetValue(_MULTIPOINTTOUCH_POINTCOUNT, nValue);
393 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
396 this->GetValue(_NETWORK_BLUETOOTH, bValue);
398 systemValue = _SYSTEM_CACHING_TRUE;
400 systemValue = _SYSTEM_CACHING_FALSE;
401 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
404 this->GetValue(_NETWORK_NFC, bValue);
406 systemValue = _SYSTEM_CACHING_TRUE;
408 systemValue = _SYSTEM_CACHING_FALSE;
409 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
412 this->GetValue(_NETWORK_NFC_RESERVED_PUSH, bValue);
414 systemValue = _SYSTEM_CACHING_TRUE;
416 systemValue = _SYSTEM_CACHING_FALSE;
417 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
420 this->GetValue(_NETWORK_PUSH, bValue);
422 systemValue = _SYSTEM_CACHING_TRUE;
424 systemValue = _SYSTEM_CACHING_FALSE;
425 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
428 this->GetValue(_NETWORK_SECURE_ELEMENT, bValue);
430 systemValue = _SYSTEM_CACHING_TRUE;
432 systemValue = _SYSTEM_CACHING_FALSE;
433 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
436 this->GetValue(_NETWORK_TELEPHONY, bValue);
438 systemValue = _SYSTEM_CACHING_TRUE;
440 systemValue = _SYSTEM_CACHING_FALSE;
441 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
444 this->GetValue(_NETWORK_TELEPHONY_MMS, bValue);
446 systemValue = _SYSTEM_CACHING_TRUE;
448 systemValue = _SYSTEM_CACHING_FALSE;
449 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
452 this->GetValue(_NETWORK_TELEPHONY_SMS, bValue);
454 systemValue = _SYSTEM_CACHING_TRUE;
456 systemValue = _SYSTEM_CACHING_FALSE;
457 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
460 this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, bValue);
462 systemValue = _SYSTEM_CACHING_TRUE;
464 systemValue = _SYSTEM_CACHING_FALSE;
465 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
468 this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, bValue);
470 systemValue = _SYSTEM_CACHING_TRUE;
472 systemValue = _SYSTEM_CACHING_FALSE;
473 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
476 this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, bValue);
478 systemValue = _SYSTEM_CACHING_TRUE;
480 systemValue = _SYSTEM_CACHING_FALSE;
481 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
484 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, bValue);
486 systemValue = _SYSTEM_CACHING_TRUE;
488 systemValue = _SYSTEM_CACHING_FALSE;
489 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
492 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, bValue);
494 systemValue = _SYSTEM_CACHING_TRUE;
496 systemValue = _SYSTEM_CACHING_FALSE;
497 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
500 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, bValue);
502 systemValue = _SYSTEM_CACHING_TRUE;
504 systemValue = _SYSTEM_CACHING_FALSE;
505 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
508 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, bValue);
510 systemValue = _SYSTEM_CACHING_TRUE;
512 systemValue = _SYSTEM_CACHING_FALSE;
513 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
516 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, bValue);
518 systemValue = _SYSTEM_CACHING_TRUE;
520 systemValue = _SYSTEM_CACHING_FALSE;
521 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
524 this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, bValue);
526 systemValue = _SYSTEM_CACHING_TRUE;
528 systemValue = _SYSTEM_CACHING_FALSE;
529 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
532 this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, bValue);
534 systemValue = _SYSTEM_CACHING_TRUE;
536 systemValue = _SYSTEM_CACHING_FALSE;
537 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
540 this->GetValue(_NETWORK_WIFI, bValue);
542 systemValue = _SYSTEM_CACHING_TRUE;
544 systemValue = _SYSTEM_CACHING_FALSE;
545 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
548 this->GetValue(_NETWORK_WIFI_DIRECT, bValue);
550 systemValue = _SYSTEM_CACHING_TRUE;
552 systemValue = _SYSTEM_CACHING_FALSE;
553 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
556 this->GetValue(_OPENGLES, bValue);
558 systemValue = _SYSTEM_CACHING_TRUE;
560 systemValue = _SYSTEM_CACHING_FALSE;
561 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
564 this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, bValue);
566 systemValue = _SYSTEM_CACHING_TRUE;
568 systemValue = _SYSTEM_CACHING_FALSE;
569 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
572 this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, bValue);
574 systemValue = _SYSTEM_CACHING_TRUE;
576 systemValue = _SYSTEM_CACHING_FALSE;
577 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
580 this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, bValue);
582 systemValue = _SYSTEM_CACHING_TRUE;
584 systemValue = _SYSTEM_CACHING_FALSE;
585 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
588 this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, bValue);
590 systemValue = _SYSTEM_CACHING_TRUE;
592 systemValue = _SYSTEM_CACHING_FALSE;
593 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
596 this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, bValue);
598 systemValue = _SYSTEM_CACHING_TRUE;
600 systemValue = _SYSTEM_CACHING_FALSE;
601 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
604 this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, bValue);
606 systemValue = _SYSTEM_CACHING_TRUE;
608 systemValue = _SYSTEM_CACHING_FALSE;
609 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
612 this->GetValue(_OPENGLES_VERSION_1_1, bValue);
614 systemValue = _SYSTEM_CACHING_TRUE;
616 systemValue = _SYSTEM_CACHING_FALSE;
617 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
620 this->GetValue(_OPENGLES_VERSION_2_0, bValue);
622 systemValue = _SYSTEM_CACHING_TRUE;
624 systemValue = _SYSTEM_CACHING_FALSE;
625 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
628 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, bValue);
630 systemValue = _SYSTEM_CACHING_TRUE;
632 systemValue = _SYSTEM_CACHING_FALSE;
633 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
636 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, bValue);
638 systemValue = _SYSTEM_CACHING_TRUE;
640 systemValue = _SYSTEM_CACHING_FALSE;
641 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
644 this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, bValue);
646 systemValue = _SYSTEM_CACHING_TRUE;
648 systemValue = _SYSTEM_CACHING_FALSE;
649 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
652 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, bValue);
654 systemValue = _SYSTEM_CACHING_TRUE;
656 systemValue = _SYSTEM_CACHING_FALSE;
657 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
660 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, bValue);
662 systemValue = _SYSTEM_CACHING_TRUE;
664 systemValue = _SYSTEM_CACHING_FALSE;
665 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
668 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, bValue);
670 systemValue = _SYSTEM_CACHING_TRUE;
672 systemValue = _SYSTEM_CACHING_FALSE;
673 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
676 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, bValue);
678 systemValue = _SYSTEM_CACHING_TRUE;
680 systemValue = _SYSTEM_CACHING_FALSE;
681 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
684 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, bValue);
686 systemValue = _SYSTEM_CACHING_TRUE;
688 systemValue = _SYSTEM_CACHING_FALSE;
689 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
692 this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
693 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
696 this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, bValue);
698 systemValue = _SYSTEM_CACHING_TRUE;
700 systemValue = _SYSTEM_CACHING_FALSE;
701 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
704 this->GetValue(_PLATFORM_VERSION, sValue);
705 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
708 this->GetValue(_PLATFORM_WEB_API_VERSION, sValue);
709 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
712 this->GetValue(_SCREEN_AUTO_ROTATION, bValue);
714 systemValue = _SYSTEM_CACHING_TRUE;
716 systemValue = _SYSTEM_CACHING_FALSE;
717 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
720 this->GetValue(_SCREEN_BPP, nValue);
721 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
724 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, bValue);
726 systemValue = _SYSTEM_CACHING_TRUE;
728 systemValue = _SYSTEM_CACHING_FALSE;
729 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
732 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, bValue);
734 systemValue = _SYSTEM_CACHING_TRUE;
736 systemValue = _SYSTEM_CACHING_FALSE;
737 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
740 this->GetValue(_SCREEN_DESKTOPMODE, bValue);
742 systemValue = _SYSTEM_CACHING_TRUE;
744 systemValue = _SYSTEM_CACHING_FALSE;
745 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
748 this->GetValue(_SCREEN_SIZE_LARGE, bValue);
750 systemValue = _SYSTEM_CACHING_TRUE;
752 systemValue = _SYSTEM_CACHING_FALSE;
753 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
756 this->GetValue(_SCREEN_SIZE_NORMAL, bValue);
758 systemValue = _SYSTEM_CACHING_TRUE;
760 systemValue = _SYSTEM_CACHING_FALSE;
761 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
765 this->GetValue(_SCREEN_SIZE_NORMAL_240_400, bValue);
767 systemValue = _SYSTEM_CACHING_TRUE;
769 systemValue = _SYSTEM_CACHING_FALSE;
771 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
774 this->GetValue(_SCREEN_SIZE_NORMAL_320_480, bValue);
776 systemValue = _SYSTEM_CACHING_TRUE;
778 systemValue = _SYSTEM_CACHING_FALSE;
780 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
783 this->GetValue(_SCREEN_SIZE_NORMAL_480_800, bValue);
785 systemValue = _SYSTEM_CACHING_TRUE;
787 systemValue = _SYSTEM_CACHING_FALSE;
789 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
792 this->GetValue(_SCREEN_SIZE_NORMAL_540_960, bValue);
794 systemValue = _SYSTEM_CACHING_TRUE;
796 systemValue = _SYSTEM_CACHING_FALSE;
798 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
801 this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, bValue);
803 systemValue = _SYSTEM_CACHING_TRUE;
805 systemValue = _SYSTEM_CACHING_FALSE;
807 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
810 this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, bValue);
812 systemValue = _SYSTEM_CACHING_TRUE;
814 systemValue = _SYSTEM_CACHING_FALSE;
816 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
819 this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, bValue);
821 systemValue = _SYSTEM_CACHING_TRUE;
823 systemValue = _SYSTEM_CACHING_FALSE;
825 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
828 this->GetValue(_SCREEN_OUTPUT_HDMI, bValue);
830 systemValue = _SYSTEM_CACHING_TRUE;
832 systemValue = _SYSTEM_CACHING_FALSE;
833 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
836 this->GetValue(_SCREEN_OUTPUT_RCA, bValue);
838 systemValue = _SYSTEM_CACHING_TRUE;
840 systemValue = _SYSTEM_CACHING_FALSE;
841 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
844 this->GetValue(_SHELL_APPWIDGET, bValue);
846 systemValue = _SYSTEM_CACHING_TRUE;
848 systemValue = _SYSTEM_CACHING_FALSE;
849 reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
852 this->GetValue(_SENSOR_ACCELEROMETER, bValue);
854 systemValue = _SYSTEM_CACHING_TRUE;
856 systemValue = _SYSTEM_CACHING_FALSE;
857 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
860 this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, bValue);
862 systemValue = _SYSTEM_CACHING_TRUE;
864 systemValue = _SYSTEM_CACHING_FALSE;
865 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
868 this->GetValue(_SENSOR_BAROMETER, bValue);
870 systemValue = _SYSTEM_CACHING_TRUE;
872 systemValue = _SYSTEM_CACHING_FALSE;
873 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
876 this->GetValue(_SENSOR_BAROMETER_WAKEUP, bValue);
878 systemValue = _SYSTEM_CACHING_TRUE;
880 systemValue = _SYSTEM_CACHING_FALSE;
881 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
884 this->GetValue(_SENSOR_GYROSCOPE, bValue);
886 systemValue = _SYSTEM_CACHING_TRUE;
888 systemValue = _SYSTEM_CACHING_FALSE;
889 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
892 this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, bValue);
894 systemValue = _SYSTEM_CACHING_TRUE;
896 systemValue = _SYSTEM_CACHING_FALSE;
897 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
900 this->GetValue(_SENSOR_MAGNETOMETER, bValue);
902 systemValue = _SYSTEM_CACHING_TRUE;
904 systemValue = _SYSTEM_CACHING_FALSE;
905 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
908 this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, bValue);
910 systemValue = _SYSTEM_CACHING_TRUE;
912 systemValue = _SYSTEM_CACHING_FALSE;
913 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
916 this->GetValue(_SENSOR_PHOTOMETER, bValue);
918 systemValue = _SYSTEM_CACHING_TRUE;
920 systemValue = _SYSTEM_CACHING_FALSE;
921 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
924 this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, bValue);
926 systemValue = _SYSTEM_CACHING_TRUE;
928 systemValue = _SYSTEM_CACHING_FALSE;
929 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
932 this->GetValue(_SENSOR_PROXIMITY, bValue);
934 systemValue = _SYSTEM_CACHING_TRUE;
936 systemValue = _SYSTEM_CACHING_FALSE;
937 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
940 this->GetValue(_SENSOR_PROXIMITY_WAKEUP, bValue);
942 systemValue = _SYSTEM_CACHING_TRUE;
944 systemValue = _SYSTEM_CACHING_FALSE;
945 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
948 this->GetValue(_SENSOR_TILTMETER, bValue);
950 systemValue = _SYSTEM_CACHING_TRUE;
952 systemValue = _SYSTEM_CACHING_FALSE;
953 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
956 this->GetValue(_SENSOR_TILTMETER_WAKEUP, bValue);
958 systemValue = _SYSTEM_CACHING_TRUE;
960 systemValue = _SYSTEM_CACHING_FALSE;
961 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
964 this->GetValue(_SIP_VOIP, bValue);
966 systemValue = _SYSTEM_CACHING_TRUE;
968 systemValue = _SYSTEM_CACHING_FALSE;
969 reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
972 this->GetValue(_SPEECH_RECOGNITION, bValue);
974 systemValue = _SYSTEM_CACHING_TRUE;
976 systemValue = _SYSTEM_CACHING_FALSE;
977 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
980 this->GetValue(_SPEECH_SYNTHESIS, bValue);
982 systemValue = _SYSTEM_CACHING_TRUE;
984 systemValue = _SYSTEM_CACHING_FALSE;
985 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
988 this->GetValue(_USB_ACCESSORY, bValue);
990 systemValue = _SYSTEM_CACHING_TRUE;
992 systemValue = _SYSTEM_CACHING_FALSE;
993 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
996 this->GetValue(_USB_CLIENT, bValue);
998 systemValue = _SYSTEM_CACHING_TRUE;
1000 systemValue = _SYSTEM_CACHING_FALSE;
1001 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
1004 this->GetValue(_USB_HOST, bValue);
1006 systemValue = _SYSTEM_CACHING_TRUE;
1008 systemValue = _SYSTEM_CACHING_FALSE;
1009 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
1012 this->GetValue(_VISION_FACE_RECOGNITION, bValue);
1014 systemValue = _SYSTEM_CACHING_TRUE;
1016 systemValue = _SYSTEM_CACHING_FALSE;
1017 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
1020 this->GetValue(_VISION_IMAGE_RECOGNITION, bValue);
1022 systemValue = _SYSTEM_CACHING_TRUE;
1024 systemValue = _SYSTEM_CACHING_FALSE;
1025 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
1028 this->GetValue(_VISION_QRCODE_GENERATION, bValue);
1030 systemValue = _SYSTEM_CACHING_TRUE;
1032 systemValue = _SYSTEM_CACHING_FALSE;
1033 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
1036 this->GetValue(_VISION_QRCODE_RECOGNITION, bValue);
1038 systemValue = _SYSTEM_CACHING_TRUE;
1040 systemValue = _SYSTEM_CACHING_FALSE;
1041 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
1044 this->GetValue(_BUILD_STRING, systemValue);
1046 reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
1049 r = this->GetValue(_DUID, sValue);
1052 sValue.Append(L"ERROR");
1054 reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
1057 this->GetValue(_MODELNAME, sValue);
1058 reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
1061 this->GetValue(_PLATFORM_NAME, sValue);
1062 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
1065 this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
1066 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
1069 this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
1070 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
1073 this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
1074 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
1077 this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
1078 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
1085 _SystemInfoService::UpdateCacheFile(void)
1088 result r = E_SUCCESS;
1091 r = reg.Construct(_SYSTEM_CACHING_FILE, "r+");
1092 SysTryReturnResult(NID_SYS, r == E_SUCCESS, r, "It is failed to create the cache file.");
1094 bool bValue = false;
1098 //For improve launch performance
1099 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
1102 this->GetValue(_SCREEN_DPI, nValue);
1103 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DPI, nValue);
1107 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
1110 this->GetValue(_SCREEN_HEIGHT, nValue);
1111 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_HEIGHT, nValue);
1115 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
1118 this->GetValue(_SCREEN_WIDTH, nValue);
1119 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_WIDTH, nValue);
1123 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
1126 this->GetValue(_CAMERA, systemValue);
1128 systemValue = _SYSTEM_CACHING_TRUE;
1130 systemValue = _SYSTEM_CACHING_FALSE;
1132 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA, systemValue);
1136 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
1139 this->GetValue(_CAMERA_BACK, systemValue);
1141 systemValue = _SYSTEM_CACHING_TRUE;
1143 systemValue = _SYSTEM_CACHING_FALSE;
1145 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK, systemValue);
1149 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
1152 this->GetValue(_CAMERA_BACK_FLASH, systemValue);
1154 systemValue = _SYSTEM_CACHING_TRUE;
1156 systemValue = _SYSTEM_CACHING_FALSE;
1158 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_BACK_FLASH, systemValue);
1162 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
1165 this->GetValue(_CAMERA_FRONT, systemValue);
1167 systemValue = _SYSTEM_CACHING_TRUE;
1169 systemValue = _SYSTEM_CACHING_FALSE;
1171 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT, systemValue);
1175 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
1178 this->GetValue(_CAMERA_FRONT_FLASH, systemValue);
1180 systemValue = _SYSTEM_CACHING_TRUE;
1182 systemValue = _SYSTEM_CACHING_FALSE;
1184 reg.AddValue(_SYSTEM_CACHING_SECTION, _CAMERA_FRONT_FLASH, systemValue);
1188 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
1191 this->GetValue(_DATABASE_ENCRYPTION, systemValue);
1193 systemValue = _SYSTEM_CACHING_TRUE;
1195 systemValue = _SYSTEM_CACHING_FALSE;
1197 reg.AddValue(_SYSTEM_CACHING_SECTION, _DATABASE_ENCRYPTION, systemValue);
1201 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
1204 this->GetValue(_FMRADIO, systemValue);
1206 systemValue = _SYSTEM_CACHING_TRUE;
1208 systemValue = _SYSTEM_CACHING_FALSE;
1210 reg.AddValue(_SYSTEM_CACHING_SECTION, _FMRADIO, systemValue);
1214 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
1217 this->GetValue(_GRAPHIC_ACCELERATION, systemValue);
1219 systemValue = _SYSTEM_CACHING_TRUE;
1221 systemValue = _SYSTEM_CACHING_FALSE;
1223 reg.AddValue(_SYSTEM_CACHING_SECTION, _GRAPHIC_ACCELERATION, systemValue);
1227 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
1230 this->GetValue(_INPUT_KEYBOARD, systemValue);
1232 systemValue = _SYSTEM_CACHING_TRUE;
1234 systemValue = _SYSTEM_CACHING_FALSE;
1236 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD, systemValue);
1240 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
1243 this->GetValue(_INPUT_KEYBOARD_LAYOUT, sValue);
1244 reg.AddValue(_SYSTEM_CACHING_SECTION, _INPUT_KEYBOARD_LAYOUT, sValue);
1248 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
1251 this->GetValue(_LOCATION, systemValue);
1253 systemValue = _SYSTEM_CACHING_TRUE;
1255 systemValue = _SYSTEM_CACHING_FALSE;
1257 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION, systemValue);
1261 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
1264 this->GetValue(_LOCATION_GPS, systemValue);
1266 systemValue = _SYSTEM_CACHING_TRUE;
1268 systemValue = _SYSTEM_CACHING_FALSE;
1270 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_GPS, systemValue);
1274 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
1277 this->GetValue(_LOCATION_WPS, systemValue);
1279 systemValue = _SYSTEM_CACHING_TRUE;
1281 systemValue = _SYSTEM_CACHING_FALSE;
1283 reg.AddValue(_SYSTEM_CACHING_SECTION, _LOCATION_WPS, systemValue);
1287 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
1290 this->GetValue(_MICROPHONE, systemValue);
1292 systemValue = _SYSTEM_CACHING_TRUE;
1294 systemValue = _SYSTEM_CACHING_FALSE;
1296 reg.AddValue(_SYSTEM_CACHING_SECTION, _MICROPHONE, systemValue);
1300 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
1303 this->GetValue(_MULTIPOINTTOUCH_PINCHZOOM, systemValue);
1305 systemValue = _SYSTEM_CACHING_TRUE;
1307 systemValue = _SYSTEM_CACHING_FALSE;
1309 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_PINCHZOOM, systemValue);
1313 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1316 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1317 reg.AddValue(_SYSTEM_CACHING_SECTION, _MULTIPOINTTOUCH_POINTCOUNT, nValue);
1321 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
1324 this->GetValue(_NETWORK_BLUETOOTH, systemValue);
1326 systemValue = _SYSTEM_CACHING_TRUE;
1328 systemValue = _SYSTEM_CACHING_FALSE;
1330 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_BLUETOOTH, systemValue);
1334 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
1337 this->GetValue(_NETWORK_NFC, systemValue);
1339 systemValue = _SYSTEM_CACHING_TRUE;
1341 systemValue = _SYSTEM_CACHING_FALSE;
1343 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC, systemValue);
1347 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
1350 this->GetValue(_NETWORK_NFC_RESERVED_PUSH, systemValue);
1352 systemValue = _SYSTEM_CACHING_TRUE;
1354 systemValue = _SYSTEM_CACHING_FALSE;
1356 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_NFC_RESERVED_PUSH, systemValue);
1360 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
1363 this->GetValue(_NETWORK_PUSH, systemValue);
1365 systemValue = _SYSTEM_CACHING_TRUE;
1367 systemValue = _SYSTEM_CACHING_FALSE;
1369 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_PUSH, systemValue);
1373 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
1376 this->GetValue(_NETWORK_SECURE_ELEMENT, systemValue);
1378 systemValue = _SYSTEM_CACHING_TRUE;
1380 systemValue = _SYSTEM_CACHING_FALSE;
1382 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_SECURE_ELEMENT, systemValue);
1386 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
1389 this->GetValue(_NETWORK_TELEPHONY, systemValue);
1391 systemValue = _SYSTEM_CACHING_TRUE;
1393 systemValue = _SYSTEM_CACHING_FALSE;
1395 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY, systemValue);
1399 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
1402 this->GetValue(_NETWORK_TELEPHONY_MMS, systemValue);
1404 systemValue = _SYSTEM_CACHING_TRUE;
1406 systemValue = _SYSTEM_CACHING_FALSE;
1408 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_MMS, systemValue);
1412 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
1415 this->GetValue(_NETWORK_TELEPHONY_SMS, systemValue);
1417 systemValue = _SYSTEM_CACHING_TRUE;
1419 systemValue = _SYSTEM_CACHING_FALSE;
1421 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS, systemValue);
1425 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
1428 this->GetValue(_NETWORK_TELEPHONY_SMS_CBS, systemValue);
1430 systemValue = _SYSTEM_CACHING_TRUE;
1432 systemValue = _SYSTEM_CACHING_FALSE;
1434 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SMS_CBS, systemValue);
1438 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
1441 this->GetValue(_NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
1443 systemValue = _SYSTEM_CACHING_TRUE;
1445 systemValue = _SYSTEM_CACHING_FALSE;
1447 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_CDMA, systemValue);
1451 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
1454 this->GetValue(_NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
1456 systemValue = _SYSTEM_CACHING_TRUE;
1458 systemValue = _SYSTEM_CACHING_FALSE;
1460 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_EDGE, systemValue);
1464 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
1467 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
1469 systemValue = _SYSTEM_CACHING_TRUE;
1471 systemValue = _SYSTEM_CACHING_FALSE;
1473 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GPRS, systemValue);
1477 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
1480 this->GetValue(_NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
1482 systemValue = _SYSTEM_CACHING_TRUE;
1484 systemValue = _SYSTEM_CACHING_FALSE;
1486 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_GSM, systemValue);
1490 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
1493 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
1495 systemValue = _SYSTEM_CACHING_TRUE;
1497 systemValue = _SYSTEM_CACHING_FALSE;
1499 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSDPA, systemValue);
1503 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
1506 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
1508 systemValue = _SYSTEM_CACHING_TRUE;
1510 systemValue = _SYSTEM_CACHING_FALSE;
1512 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSPA, systemValue);
1516 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
1519 this->GetValue(_NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
1521 systemValue = _SYSTEM_CACHING_TRUE;
1523 systemValue = _SYSTEM_CACHING_FALSE;
1525 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_HSUPA, systemValue);
1529 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
1532 this->GetValue(_NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
1534 systemValue = _SYSTEM_CACHING_TRUE;
1536 systemValue = _SYSTEM_CACHING_FALSE;
1538 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_LTE, systemValue);
1542 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
1545 this->GetValue(_NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
1547 systemValue = _SYSTEM_CACHING_TRUE;
1549 systemValue = _SYSTEM_CACHING_FALSE;
1551 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_TELEPHONY_SERVICE_UMTS, systemValue);
1555 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
1558 this->GetValue(_NETWORK_WIFI, systemValue);
1560 systemValue = _SYSTEM_CACHING_TRUE;
1562 systemValue = _SYSTEM_CACHING_FALSE;
1564 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI, systemValue);
1568 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
1571 this->GetValue(_NETWORK_WIFI_DIRECT, systemValue);
1573 systemValue = _SYSTEM_CACHING_TRUE;
1575 systemValue = _SYSTEM_CACHING_FALSE;
1577 reg.AddValue(_SYSTEM_CACHING_SECTION, _NETWORK_WIFI_DIRECT, systemValue);
1581 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
1584 this->GetValue(_OPENGLES, systemValue);
1586 systemValue = _SYSTEM_CACHING_TRUE;
1588 systemValue = _SYSTEM_CACHING_FALSE;
1590 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES, systemValue);
1594 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
1597 this->GetValue(_OPENGLES_TEXTUREFORMAT_3DC, systemValue);
1599 systemValue = _SYSTEM_CACHING_TRUE;
1601 systemValue = _SYSTEM_CACHING_FALSE;
1603 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_3DC, systemValue);
1607 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
1610 this->GetValue(_OPENGLES_TEXTUREFORMAT_ATC, systemValue);
1612 systemValue = _SYSTEM_CACHING_TRUE;
1614 systemValue = _SYSTEM_CACHING_FALSE;
1616 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ATC, systemValue);
1620 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
1623 this->GetValue(_OPENGLES_TEXTUREFORMAT_ETC, systemValue);
1625 systemValue = _SYSTEM_CACHING_TRUE;
1627 systemValue = _SYSTEM_CACHING_FALSE;
1629 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_ETC, systemValue);
1633 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
1636 this->GetValue(_OPENGLES_TEXTUREFORMAT_PTC, systemValue);
1638 systemValue = _SYSTEM_CACHING_TRUE;
1640 systemValue = _SYSTEM_CACHING_FALSE;
1642 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PTC, systemValue);
1646 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
1649 this->GetValue(_OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
1651 systemValue = _SYSTEM_CACHING_TRUE;
1653 systemValue = _SYSTEM_CACHING_FALSE;
1655 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_PVRTC, systemValue);
1659 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
1662 this->GetValue(_OPENGLES_TEXTUREFORMAT_UTC, systemValue);
1664 systemValue = _SYSTEM_CACHING_TRUE;
1666 systemValue = _SYSTEM_CACHING_FALSE;
1668 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_TEXTUREFORMAT_UTC, systemValue);
1672 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
1675 this->GetValue(_OPENGLES_VERSION_1_1, systemValue);
1677 systemValue = _SYSTEM_CACHING_TRUE;
1679 systemValue = _SYSTEM_CACHING_FALSE;
1681 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_1_1, systemValue);
1685 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
1688 this->GetValue(_OPENGLES_VERSION_2_0, systemValue);
1690 systemValue = _SYSTEM_CACHING_TRUE;
1692 systemValue = _SYSTEM_CACHING_FALSE;
1694 reg.AddValue(_SYSTEM_CACHING_SECTION, _OPENGLES_VERSION_2_0, systemValue);
1698 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
1701 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
1703 systemValue = _SYSTEM_CACHING_TRUE;
1705 systemValue = _SYSTEM_CACHING_FALSE;
1707 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV6, systemValue);
1711 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
1714 this->GetValue(_PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
1716 systemValue = _SYSTEM_CACHING_TRUE;
1718 systemValue = _SYSTEM_CACHING_FALSE;
1720 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_ARMV7, systemValue);
1724 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
1727 this->GetValue(_PLATFORM_CORE_CPU_ARCH_X86, systemValue);
1729 systemValue = _SYSTEM_CACHING_TRUE;
1731 systemValue = _SYSTEM_CACHING_FALSE;
1733 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_CPU_ARCH_X86, systemValue);
1737 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
1740 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
1742 systemValue = _SYSTEM_CACHING_TRUE;
1744 systemValue = _SYSTEM_CACHING_FALSE;
1746 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE2, systemValue);
1750 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
1753 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
1755 systemValue = _SYSTEM_CACHING_TRUE;
1757 systemValue = _SYSTEM_CACHING_FALSE;
1759 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSE3, systemValue);
1763 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
1766 this->GetValue(_PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
1768 systemValue = _SYSTEM_CACHING_TRUE;
1770 systemValue = _SYSTEM_CACHING_FALSE;
1772 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_SSSE3, systemValue);
1776 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
1779 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
1781 systemValue = _SYSTEM_CACHING_TRUE;
1783 systemValue = _SYSTEM_CACHING_FALSE;
1785 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV2, systemValue);
1789 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
1792 this->GetValue(_PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
1794 systemValue = _SYSTEM_CACHING_TRUE;
1796 systemValue = _SYSTEM_CACHING_FALSE;
1798 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_CORE_FPU_ARCH_VFPV3, systemValue);
1802 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
1805 this->GetValue(_PLATFORM_NATIVE_API_VERSION, sValue);
1806 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_API_VERSION, sValue);
1810 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
1813 this->GetValue(_PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
1815 systemValue = _SYSTEM_CACHING_TRUE;
1817 systemValue = _SYSTEM_CACHING_FALSE;
1819 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NATIVE_OSP_COMPATIBLE, systemValue);
1823 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
1826 this->GetValue(_PLATFORM_VERSION, sValue);
1827 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_VERSION, sValue);
1831 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
1834 this->GetValue(_PLATFORM_WEB_API_VERSION, sValue);
1835 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_WEB_API_VERSION, sValue);
1839 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
1842 this->GetValue(_SCREEN_AUTO_ROTATION, systemValue);
1844 systemValue = _SYSTEM_CACHING_TRUE;
1846 systemValue = _SYSTEM_CACHING_FALSE;
1848 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_AUTO_ROTATION, systemValue);
1852 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
1855 this->GetValue(_SCREEN_BPP, nValue);
1856 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_BPP, nValue);
1860 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
1863 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
1865 systemValue = _SYSTEM_CACHING_TRUE;
1867 systemValue = _SYSTEM_CACHING_FALSE;
1869 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_LARGE, systemValue);
1873 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
1876 this->GetValue(_SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
1878 systemValue = _SYSTEM_CACHING_TRUE;
1880 systemValue = _SYSTEM_CACHING_FALSE;
1882 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_COORDINATE_SYSTEM_SIZE_NORMAL, systemValue);
1886 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
1889 this->GetValue(_SCREEN_DESKTOPMODE, systemValue);
1891 systemValue = _SYSTEM_CACHING_TRUE;
1893 systemValue = _SYSTEM_CACHING_FALSE;
1895 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_DESKTOPMODE, systemValue);
1899 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
1902 this->GetValue(_SCREEN_SIZE_LARGE, systemValue);
1904 systemValue = _SYSTEM_CACHING_TRUE;
1906 systemValue = _SYSTEM_CACHING_FALSE;
1908 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_LARGE, systemValue);
1912 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
1915 this->GetValue(_SCREEN_SIZE_NORMAL, systemValue);
1917 systemValue = _SYSTEM_CACHING_TRUE;
1919 systemValue = _SYSTEM_CACHING_FALSE;
1921 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL, systemValue);
1925 this->GetValue(_SCREEN_SIZE_NORMAL_240_400, systemValue);
1928 this->GetValue(_SCREEN_SIZE_NORMAL_240_400, systemValue);
1930 systemValue = _SYSTEM_CACHING_TRUE;
1932 systemValue = _SYSTEM_CACHING_FALSE;
1934 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_240_400, systemValue);
1938 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
1941 this->GetValue(_SCREEN_SIZE_NORMAL_320_480, systemValue);
1943 systemValue = _SYSTEM_CACHING_TRUE;
1945 systemValue = _SYSTEM_CACHING_FALSE;
1947 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_320_480, systemValue);
1951 this->GetValue(_SCREEN_SIZE_NORMAL_480_800, systemValue);
1954 this->GetValue(_SCREEN_SIZE_NORMAL_480_800, systemValue);
1956 systemValue = _SYSTEM_CACHING_TRUE;
1958 systemValue = _SYSTEM_CACHING_FALSE;
1960 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_480_800, systemValue);
1964 this->GetValue(_SCREEN_SIZE_NORMAL_540_960, systemValue);
1967 this->GetValue(_SCREEN_SIZE_NORMAL_540_960, systemValue);
1969 systemValue = _SYSTEM_CACHING_TRUE;
1971 systemValue = _SYSTEM_CACHING_FALSE;
1973 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_540_960, systemValue);
1977 this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, systemValue);
1980 this->GetValue(_SCREEN_SIZE_NORMAL_600_1024, systemValue);
1982 systemValue = _SYSTEM_CACHING_TRUE;
1984 systemValue = _SYSTEM_CACHING_FALSE;
1986 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_600_1024, systemValue);
1990 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
1993 this->GetValue(_SCREEN_SIZE_NORMAL_720_1280, systemValue);
1995 systemValue = _SYSTEM_CACHING_TRUE;
1997 systemValue = _SYSTEM_CACHING_FALSE;
1999 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_720_1280, systemValue);
2003 this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, systemValue);
2006 this->GetValue(_SCREEN_SIZE_NORMAL_1080_1920, systemValue);
2008 systemValue = _SYSTEM_CACHING_TRUE;
2010 systemValue = _SYSTEM_CACHING_FALSE;
2012 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_SIZE_NORMAL_1080_1920, systemValue);
2016 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
2019 this->GetValue(_SCREEN_OUTPUT_HDMI, systemValue);
2021 systemValue = _SYSTEM_CACHING_TRUE;
2023 systemValue = _SYSTEM_CACHING_FALSE;
2025 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_HDMI, systemValue);
2029 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
2032 this->GetValue(_SCREEN_OUTPUT_RCA, systemValue);
2034 systemValue = _SYSTEM_CACHING_TRUE;
2036 systemValue = _SYSTEM_CACHING_FALSE;
2038 reg.AddValue(_SYSTEM_CACHING_SECTION, _SCREEN_OUTPUT_RCA, systemValue);
2042 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
2045 this->GetValue(_SHELL_APPWIDGET, systemValue);
2047 systemValue = _SYSTEM_CACHING_TRUE;
2049 systemValue = _SYSTEM_CACHING_FALSE;
2051 reg.AddValue(_SYSTEM_CACHING_SECTION, _SHELL_APPWIDGET, systemValue);
2055 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
2058 this->GetValue(_SENSOR_ACCELEROMETER, systemValue);
2060 systemValue = _SYSTEM_CACHING_TRUE;
2062 systemValue = _SYSTEM_CACHING_FALSE;
2064 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER, systemValue);
2068 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
2071 this->GetValue(_SENSOR_ACCELEROMETER_WAKEUP, systemValue);
2073 systemValue = _SYSTEM_CACHING_TRUE;
2075 systemValue = _SYSTEM_CACHING_FALSE;
2077 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_ACCELEROMETER_WAKEUP, systemValue);
2081 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
2084 this->GetValue(_SENSOR_BAROMETER, systemValue);
2086 systemValue = _SYSTEM_CACHING_TRUE;
2088 systemValue = _SYSTEM_CACHING_FALSE;
2090 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER, systemValue);
2094 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
2097 this->GetValue(_SENSOR_BAROMETER_WAKEUP, systemValue);
2099 systemValue = _SYSTEM_CACHING_TRUE;
2101 systemValue = _SYSTEM_CACHING_FALSE;
2103 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_BAROMETER_WAKEUP, systemValue);
2107 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
2110 this->GetValue(_SENSOR_GYROSCOPE, systemValue);
2112 systemValue = _SYSTEM_CACHING_TRUE;
2114 systemValue = _SYSTEM_CACHING_FALSE;
2116 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE, systemValue);
2120 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
2123 this->GetValue(_SENSOR_GYROSCOPE_WAKEUP, systemValue);
2125 systemValue = _SYSTEM_CACHING_TRUE;
2127 systemValue = _SYSTEM_CACHING_FALSE;
2129 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_GYROSCOPE_WAKEUP, systemValue);
2133 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
2136 this->GetValue(_SENSOR_MAGNETOMETER, systemValue);
2138 systemValue = _SYSTEM_CACHING_TRUE;
2140 systemValue = _SYSTEM_CACHING_FALSE;
2142 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER, systemValue);
2146 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
2149 this->GetValue(_SENSOR_MAGNETOMETER_WAKEUP, systemValue);
2151 systemValue = _SYSTEM_CACHING_TRUE;
2153 systemValue = _SYSTEM_CACHING_FALSE;
2155 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_MAGNETOMETER_WAKEUP, systemValue);
2159 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
2162 this->GetValue(_SENSOR_PHOTOMETER, systemValue);
2164 systemValue = _SYSTEM_CACHING_TRUE;
2166 systemValue = _SYSTEM_CACHING_FALSE;
2168 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER, systemValue);
2172 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
2175 this->GetValue(_SENSOR_PHOTOMETER_WAKEUP, systemValue);
2177 systemValue = _SYSTEM_CACHING_TRUE;
2179 systemValue = _SYSTEM_CACHING_FALSE;
2181 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PHOTOMETER_WAKEUP, systemValue);
2185 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
2188 this->GetValue(_SENSOR_PROXIMITY, systemValue);
2190 systemValue = _SYSTEM_CACHING_TRUE;
2192 systemValue = _SYSTEM_CACHING_FALSE;
2194 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY, systemValue);
2198 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
2201 this->GetValue(_SENSOR_PROXIMITY_WAKEUP, systemValue);
2203 systemValue = _SYSTEM_CACHING_TRUE;
2205 systemValue = _SYSTEM_CACHING_FALSE;
2207 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_PROXIMITY_WAKEUP, systemValue);
2211 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
2214 this->GetValue(_SENSOR_TILTMETER, systemValue);
2216 systemValue = _SYSTEM_CACHING_TRUE;
2218 systemValue = _SYSTEM_CACHING_FALSE;
2220 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER, systemValue);
2224 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
2227 this->GetValue(_SENSOR_TILTMETER_WAKEUP, systemValue);
2229 systemValue = _SYSTEM_CACHING_TRUE;
2231 systemValue = _SYSTEM_CACHING_FALSE;
2233 reg.AddValue(_SYSTEM_CACHING_SECTION, _SENSOR_TILTMETER_WAKEUP, systemValue);
2237 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
2240 this->GetValue(_SIP_VOIP, systemValue);
2242 systemValue = _SYSTEM_CACHING_TRUE;
2244 systemValue = _SYSTEM_CACHING_FALSE;
2246 reg.AddValue(_SYSTEM_CACHING_SECTION, _SIP_VOIP, systemValue);
2250 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
2253 this->GetValue(_SPEECH_RECOGNITION, systemValue);
2255 systemValue = _SYSTEM_CACHING_TRUE;
2257 systemValue = _SYSTEM_CACHING_FALSE;
2259 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_RECOGNITION, systemValue);
2263 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
2266 this->GetValue(_SPEECH_SYNTHESIS, systemValue);
2268 systemValue = _SYSTEM_CACHING_TRUE;
2270 systemValue = _SYSTEM_CACHING_FALSE;
2272 reg.AddValue(_SYSTEM_CACHING_SECTION, _SPEECH_SYNTHESIS, systemValue);
2276 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
2279 this->GetValue(_USB_ACCESSORY, systemValue);
2281 systemValue = _SYSTEM_CACHING_TRUE;
2283 systemValue = _SYSTEM_CACHING_FALSE;
2285 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_ACCESSORY, systemValue);
2289 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
2292 this->GetValue(_USB_CLIENT, systemValue);
2294 systemValue = _SYSTEM_CACHING_TRUE;
2296 systemValue = _SYSTEM_CACHING_FALSE;
2298 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_CLIENT, systemValue);
2302 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
2305 this->GetValue(_USB_HOST, systemValue);
2307 systemValue = _SYSTEM_CACHING_TRUE;
2309 systemValue = _SYSTEM_CACHING_FALSE;
2311 reg.AddValue(_SYSTEM_CACHING_SECTION, _USB_HOST, systemValue);
2315 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
2318 this->GetValue(_VISION_FACE_RECOGNITION, systemValue);
2320 systemValue = _SYSTEM_CACHING_TRUE;
2322 systemValue = _SYSTEM_CACHING_FALSE;
2324 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_FACE_RECOGNITION, systemValue);
2328 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
2331 this->GetValue(_VISION_IMAGE_RECOGNITION, systemValue);
2333 systemValue = _SYSTEM_CACHING_TRUE;
2335 systemValue = _SYSTEM_CACHING_FALSE;
2337 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_IMAGE_RECOGNITION, systemValue);
2341 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
2344 this->GetValue(_VISION_QRCODE_GENERATION, systemValue);
2346 systemValue = _SYSTEM_CACHING_TRUE;
2348 systemValue = _SYSTEM_CACHING_FALSE;
2350 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_GENERATION, systemValue);
2354 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
2357 this->GetValue(_VISION_QRCODE_RECOGNITION, systemValue);
2359 systemValue = _SYSTEM_CACHING_TRUE;
2361 systemValue = _SYSTEM_CACHING_FALSE;
2363 reg.AddValue(_SYSTEM_CACHING_SECTION, _VISION_QRCODE_RECOGNITION, systemValue);
2367 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
2370 this->GetValue(_BUILD_STRING, systemValue);
2372 reg.AddValue(_SYSTEM_CACHING_SECTION, _BUILD_STRING, systemValue);
2375 r = this->GetValue(_DUID, sValue);
2376 r = this->GetValue(_DUID, sValue);
2379 sValue.Append(L"ERROR");
2381 reg.AddValue(_SYSTEM_CACHING_SECTION, _DUID, sValue);
2385 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
2388 this->GetValue(_MODELNAME, sValue);
2389 reg.AddValue(_SYSTEM_CACHING_SECTION, _MODELNAME, sValue);
2393 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
2396 this->GetValue(_PLATFORM_NAME, sValue);
2397 reg.AddValue(_SYSTEM_CACHING_SECTION, _PLATFORM_NAME, sValue);
2401 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
2404 this->GetValue(_SOUND_MEDIA_VOLUME_MAX, nValue);
2405 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_MEDIA_VOLUME_MAX, nValue);
2409 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2412 this->GetValue(_SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2413 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_NOTIFICATION_VOLUME_MAX, nValue);
2417 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
2420 this->GetValue(_SOUND_RINGTONE_VOLUME_MAX, nValue);
2421 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_RINGTONE_VOLUME_MAX, nValue);
2425 r = reg.GetValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
2428 this->GetValue(_SOUND_SYSTEM_VOLUME_MAX, nValue);
2429 reg.AddValue(_SYSTEM_CACHING_SECTION, _SOUND_SYSTEM_VOLUME_MAX, nValue);
2437 _SystemInfoService::CachingSystemInformation(void)
2439 result r = E_SUCCESS;
2441 if(File::IsFileExist(_SYSTEM_CACHING_FILE) == false)
2443 r = CreateCacheFile();
2447 FileAttributes attr;
2448 File::GetAttributes(_SYSTEM_CACHING_FILE, attr);
2449 if(attr.GetFileSize() == 0)
2451 r = CreateCacheFile();
2455 r = UpdateCacheFile();
2463 _SystemInfoService::GetValue(const String& key, String& value)
2466 result r = E_SUCCESS;
2467 char* pValue = null;
2469 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2472 bool supported = false;
2473 SysLog(NID_SYS, "It trys to get DUID from telephony.");
2474 this->GetValue(_NETWORK_TELEPHONY, supported);
2475 if(supported == true)
2477 r = _DeviceId::GetId(value, 0);
2481 SysLog(NID_SYS, "It trys to get DUID from wifi.");
2482 this->GetValue(_NETWORK_WIFI, supported);
2483 if(supported == true)
2485 r = _DeviceId::GetId(value, 1);
2489 SysLog(NID_SYS, "It trys to get DUID from bluetooth.");
2490 this->GetValue(_NETWORK_BLUETOOTH, supported);
2491 if(supported == true)
2493 r = _DeviceId::GetId(value, 2);
2497 SysLogException(NID_SYS, E_SYSTEM, "It is failed to get telephony, wifi, bluetooth information.");
2502 SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_SYSTEM, "It is failed to get the key[%ls]", key.GetPointer());
2504 else if (key == _MODELNAME)
2506 ret = system_info_get_value_string(SYSTEM_INFO_KEY_MODEL, &pValue);
2507 SysTryReturnResult(NID_SYS, ret == SYSTEM_INFO_ERROR_NONE && pValue, E_SYSTEM, "It is failed to get the SYSTEM_INFO_KEY_MODEL");
2509 r = StringUtil::Utf8ToString(pValue, value);
2510 SysTryCatch(NID_SYS, r == E_SUCCESS, r = E_SYSTEM, r, "[%s] StringUtil::Utf8ToString It is failed", GetErrorMessage(r));
2512 else if (key == _BUILD_STRING)
2514 ret = system_info_get_value_string(SYSTEM_INFO_KEY_BUILD_STRING, &pValue);
2515 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");
2517 r = StringUtil::Utf8ToString(pValue, value);
2518 SysTryCatch(NID_SYS, r == E_SUCCESS, r = E_SYSTEM, r, "[%s] StringUtil::Utf8ToString It is failed", GetErrorMessage(r));
2523 key.SubString(7, tizenKey);
2526 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2527 r = GetLastResult();
2528 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2529 int ret = system_info_get_platform_string(systemKey.get(), &pValue);
2531 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from the configuration file", key.GetPointer());
2533 r = StringUtil::Utf8ToString(pValue, value);
2551 _SystemInfoService::GetValue(const String& key, int& value)
2554 result r = E_SUCCESS;
2556 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2559 key.SubString(7, tizenKey);
2562 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2563 r = GetLastResult();
2564 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2565 ret = system_info_get_platform_int(systemKey.get(), &value);
2567 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from configration file.", key.GetPointer());
2574 _SystemInfoService::GetValue(const String& key, bool& value)
2577 result r = E_SUCCESS;
2579 SysLog(NID_SYS, "Request Key is %ls.", key.GetPointer());
2581 if (key == _SCREEN_DESKTOPMODE)
2585 else if (key == _USB_CLIENT)
2592 key.SubString(7, tizenKey);
2595 unique_ptr< char[] > systemKey(_StringConverter::CopyToCharArrayN(tizenKey));
2596 r = GetLastResult();
2597 SysTryReturn(NID_SYS, r == E_SUCCESS, E_SYSTEM, r, "[%s] StringUtil::StringToUtf8N It is failed", GetErrorMessage(r));
2599 bool supported = false;
2600 ret = system_info_get_platform_bool(systemKey.get(), &supported);
2601 SysTryReturnResult(NID_SYS, ret == 0, E_OBJ_NOT_FOUND, "It is failed to get system information %ls from configration file.", key.GetPointer());
2607 } } // Tizen::System