Languages

Menu
Sites
Language
SYSTEM_SETTINGS_KEY 오류 관련.

안녕하세요.

SYSTEM_SETTINGS_KEY 를 이용하여 값을 변경해 보고 있는데요...

일부 SYSTEM_SETTINGS_KEY 가 정상적으로 동작하고 있지 않아 문의드려요.

가이드 문서를 찾아보니, 아래와 같이

 SYSTEM_SETTINGS_KEY 는 총 28개 있더라구요.

https://developer.tizen.org/dev-guide/2.3.1/org.tizen.native.mobile.apireference/group__CAPI__SYSTEM__SYSTEM__SETTINGS__MODULE.html#ga56c8fa435516884c5648efecdd871eaa

 

이값을 순서대로 찍어보면,,,,

//0

   "INCOMING_CALL_RINGTONE",  
   "WALLPAPER_HOME_SCREEN",
   "WALLPAPER_LOCK_SCREEN",
   "FONT_SIZE",
   "FONT_TYPE",

   //5
   "MOTION_ACTIVATION",
   "EMAIL_ALERT_RINGTONE",
   "USB_DEBUGGING_ENABLED",
   "3G_DATA_NETWORK_ENABLED",
   "LOCKSCREEN_APP",            <-------------------------- 여기서부터 인덱스가 하나씩 밀림.

   //10
   "DEFAULT_FONT_TYPE",
   "LOCALE_COUNTRY",
   "LOCALE_LANGUAGE",
   "LOCALE_TIMEFORMAT_24HOUR",
   "LOCALE_TIMEZONE",

   //15
   "TIME_CHANGED",
   "SOUND_LOCK",
   "SOUND_SILENT_MODE",
   "SOUND_TOUCH",
   "DISPLAY_SCREEN_ROTATION_AUTO",
 

   //20
   "DEVICE_NAME",
   "MOTION_ENABLED",
   "NETWORK_WIFI_NOTIFICATION",
   "NETWORK_FLIGHT_MODE",
   "SCREEN_BACKLIGHT_TIME",

   //25
   "SOUND_NOTIFICATION",
   "SOUND_NOTIFICATION_REPETITION_PERIOD",
   "LOCK_STATE",

 

이렇게 되어야 하나,  실제 인덱스를 찍어보면

SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP 키값부터 인덱스가 하나씩 밀리고( 원래 : 9, 현제 :10),

맨 마지막 키값인 SYSTEM_SETTINGS_KEY_LOCK_STATE

값이 -1226851455 처럼 잘못된 값이 넘어오고 있습니다.

 

index 9 번에도 어떤 다른 피쳐값이 있는것인지요?

아니면 단순 오류인건지..

그리고 마지막 SYSTEM_SETTINGS_KEY_LOCK_STATE 값은 어떻게 받아올수 있나요?

 

현재 제가 사용하는 ide 버전은 2.4 베타 버전이구요.

 코드는 아래와 같이 작성되었습니다.

이상입니다.

 

struct _ret_type_define
{
   system_settings_key_e key;
   int returns;
};

typedef enum
{
   _RET_BOOL= 0,
   _RET_INT,
   _RET_STRING
} _SYSTEM_SETTINGS_TYPES;

struct _ret_type_define _ret_type[SYS_INFO_COUNT] =
{
 {
  SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_FONT_SIZE, _RET_INT
 },
 {
  SYSTEM_SETTINGS_KEY_FONT_TYPE, _RET_STRING
 },

 //5 
 {
  SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP, _RET_STRING
 },

 //10
 {
  SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, _RET_STRING
 },

 //15
 {
  SYSTEM_SETTINGS_KEY_TIME_CHANGED, _RET_INT
 },
 {
  SYSTEM_SETTINGS_KEY_SOUND_LOCK, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE, _RET_BOOL
 }, 
 {
  SYSTEM_SETTINGS_KEY_SOUND_TOUCH, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO, _RET_BOOL
 },

 //20
 {
  SYSTEM_SETTINGS_KEY_DEVICE_NAME, _RET_STRING
 },
 {
  SYSTEM_SETTINGS_KEY_MOTION_ENABLED, _RET_BOOL
 },  
 {
  SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE, _RET_BOOL
 },
 {
  SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME, _RET_INT
 },

 //25
 {
  SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, _RET_STRING
 }, 
 {
  SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD, _RET_INT
 },
 {
  SYSTEM_SETTINGS_KEY_LOCK_STATE, _RET_INT
 },

};

 

 if (_ret_type[id->index].returns==_RET_BOOL)
 {
  system_settings_get_value_bool(_ret_type[id->index].key, &_bool_ret);
  dlog_print(DLOG_ERROR, LOG_TAG, "%d", _bool_ret);
  snprintf(buf, MAX_STR, "%s", _bool_ret ? "True" : "False");
 }
 else if (_ret_type[id->index].returns==_RET_INT)
 {
  system_settings_get_value_int (_ret_type[id->index].key, &_int_ret);
  dlog_print(DLOG_ERROR, LOG_TAG, "%d", _int_ret);
  snprintf(buf, MAX_STR, "%d", _int_ret);
 }
 else if (_ret_type[id->index].returns==_RET_STRING)
 {
  system_settings_get_value_string(_ret_type[id->index].key, &_string_ret);
  dlog_print(DLOG_ERROR, LOG_TAG, "%s", _string_ret);
  
  snprintf(buf, MAX_STR, "%s", _string_ret);
  free(_string_ret);   
 }
 else{
  dlog_print(DLOG_ERROR, LOG_TAG, "Undefined return type");
  return NULL;
 }

 if (!strcmp(part, "elm.text")){
  return strdup(_info_key[_ret_type[id->index].key]);
 }
 else if (!strcmp(part, "elm.text.sub")){
  
  return strdup(buf);
 }

 

 

Responses

4 Replies
Jeongsu Kim

Tizen SDK 2..4 베타버전으로 빌드하셨나요?

실제 코드는 어디에서 실행하셨나요? Tizen SDK 2.4 베타버전에 있는 에뮬레이터인가요? 아니면 Z1 단말인가요?

Z1 단말에서 실행하려면 Tizen SDK 2.3으로 하셔야 합니다. 플랫폼 버전이 달라서 enum값이 다를 수 있습니다.

Jeongsu Kim

말씀하신 인덱스가 직접 숫자를 세신건가요? enum이 int 처럼 사용되기는 하지만 실제 index와 1:1 match 된다고 볼 수 없습니다. 필요한 값이 있으면 주어진 enum을 직접 사용하셔야 합니다.

추가로 마지막에 있는 SYSTEM_SETTINGS_KEY_LOCK_STATE는 알려주신 링크를 보면

SYSTEM_SETTINGS_KEY_LOCK_STATE      (int) Indicates the current lock state (Since 2.3.1) 

라고 나와 있습니다. 즉, Tizen 2.3.1 이상 단말에서만 지원됩니다.

Kim

Tizen SDK 2.4 베타버전으로 빌드 했습니다.

에뮬레이터 에서 확인해 봤습니다.

 

각각의 인덱스는 아래와 같이 로그를 뿌려서 확인해봤습니다.

 dlog_print(DLOG_ERROR,LOG_TAG,"%d- System_settings: %s : %d : %d ", id->index, _info_key[_ret_type[id->index].key], _ret_type[id->index].key, SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP);
 

 

마지막으로..

SYSTEM_SETTINGS_KEY_LOCK_STATE 키값도

Tizen SDK 2.4 베타버전의 에뮬레이터로 확인해 보았구요.

단말로 확인해 보진 않았습니다.

Jeongsu Kim

저도 Tizen 2.4b SDK와 에뮬레이터로 확인 해봤습니다.

static void _print_system_settings_enum_string(system_settings_key_e key)
{
    switch(key)
	{
	case SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE", key);
		break;
	case SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN", key);
		break;
	case SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN", key);
		break;
	case SYSTEM_SETTINGS_KEY_FONT_SIZE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_FONT_SIZE", key);
		break;
	case SYSTEM_SETTINGS_KEY_FONT_TYPE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_FONT_TYPE", key);
		break;
	case SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION", key);
		break;
	case SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE", key);
		break;
	case SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED", key);
		break;
	case SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP", key);
		break;
	case SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE", key);
		break;
	case SYSTEM_SETTINGS_KEY_TIME_CHANGED:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_TIME_CHANGED", key);
		break;
	case SYSTEM_SETTINGS_KEY_SOUND_LOCK:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SOUND_LOCK", key);
		break;
	case SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE", key);
		break;
	case SYSTEM_SETTINGS_KEY_SOUND_TOUCH:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SOUND_TOUCH", key);
		break;
	case SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO", key);
		break;
	case SYSTEM_SETTINGS_KEY_DEVICE_NAME:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_DEVICE_NAME", key);
		break;
	case SYSTEM_SETTINGS_KEY_MOTION_ENABLED:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_MOTION_ENABLED", key);
		break;
	case SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION", key);
		break;
	case SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE", key);
		break;
	case SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME", key);
		break;
	case SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION", key);
		break;
	case SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD", key);
		break;
	case SYSTEM_SETTINGS_KEY_LOCK_STATE:
		LOGI("key[%d] SYSTEM_SETTINGS_KEY_LOCK_STATE", key);
		break;
	default:
		LOGI("key[%d] not have enum!!", key);
		break;
	}
}

enum system_settings_return_value_type
{
	SYSTEM_SETTINGS_RETURN_VALUE_NONE,
	SYSTEM_SETTINGS_RETURN_VALUE_BOOL,
	SYSTEM_SETTINGS_RETURN_VALUE_INT,
	SYSTEM_SETTINGS_RETURN_VALUE_STRING,
	SYSTEM_SETTINGS_RETURN_VALUE_MAX
};

static enum system_settings_return_value_type _get_system_settings_key_return_value(system_settings_key_e key)
{
	enum system_settings_return_value_type type = SYSTEM_SETTINGS_RETURN_VALUE_NONE;

	switch(key)
	{
	case SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE:
	case SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN:
	case SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN:
	case SYSTEM_SETTINGS_KEY_FONT_TYPE:
	case SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE:
	case SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP:
	case SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE:
	case SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY:
	case SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE:
	case SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE:
	case SYSTEM_SETTINGS_KEY_DEVICE_NAME:
	case SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION:
		type = SYSTEM_SETTINGS_RETURN_VALUE_STRING;
		break;
	case SYSTEM_SETTINGS_KEY_FONT_SIZE:
	case SYSTEM_SETTINGS_KEY_TIME_CHANGED:
	case SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME:
	case SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD:
	case SYSTEM_SETTINGS_KEY_LOCK_STATE:
		type = SYSTEM_SETTINGS_RETURN_VALUE_INT;
		break;
	case SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION:
	case SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED:
	case SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED:
	case SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR:
	case SYSTEM_SETTINGS_KEY_SOUND_LOCK:
	case SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE:
	case SYSTEM_SETTINGS_KEY_SOUND_TOUCH:
	case SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO:
	case SYSTEM_SETTINGS_KEY_MOTION_ENABLED:
	case SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION:
	case SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE:
		type = SYSTEM_SETTINGS_RETURN_VALUE_BOOL;
		break;
	default:
		break;
	}

	return type;
}

static void _get_system_setting()
{
	int i = 0;

	for(i = 0; i < SYSTEM_SETTINGS_KEY_MAX; ++i)
	{
		_print_system_settings_enum_string(i);
		enum system_settings_return_value_type type = _get_system_settings_key_return_value(i);
		LOGI("type[%d]", type);

		switch(type)
		{
		case SYSTEM_SETTINGS_RETURN_VALUE_BOOL:
		{
			bool value = false;
			int ret = system_settings_get_value_bool(i, &value);
			if(ret != SYSTEM_SETTINGS_ERROR_NONE)
			{
				LOGI("system_settings_get_value_bool returns %d(%x)", ret, ret);
			}
			else
			{
				LOGI("system_settings_get_value_bool(%d) value[%d]", i, value);
			}
			break;
		}
		case SYSTEM_SETTINGS_RETURN_VALUE_INT:
		{
			int value = 0;
			int ret = system_settings_get_value_int(i, &value);
			if(ret != SYSTEM_SETTINGS_ERROR_NONE)
			{
				LOGI("system_settings_get_value_int returns %d(%x)", ret, ret);
			}
			else
			{
				LOGI("system_settings_get_value_int(%d) value[%d]", i, value);
			}
			break;
		}
		case SYSTEM_SETTINGS_RETURN_VALUE_STRING:
		{
			char* value = NULL;
			int ret = system_settings_get_value_string(i, &value);
			if(ret != SYSTEM_SETTINGS_ERROR_NONE)
			{
				LOGI("system_settings_get_value_string returns %d(%x)", ret, ret);
			}
			else
			{
				LOGI("system_settings_get_value_string(%d) value[%s]", i, value);
			}

			if(value)
			{
				free(value);
			}

			break;
		}
		default:
			LOGI("wrong key[%d]!!", i);
			break;
		}
	}
}

위 코드 실행 결과

I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(92) > key[0] SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(0) value[/opt/usr/share/settings/Ringtones/Over_the_horizon.ogg]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(95) > key[1] SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(1) value[/opt/usr/share/settings/Wallpapers/home_006.png]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(98) > key[2] SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(2) value[/opt/usr/share/settings/Wallpapers/home_006.png]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(101) > key[3] SYSTEM_SETTINGS_KEY_FONT_SIZE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[2]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(273) > system_settings_get_value_int(3) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(104) > key[4] SYSTEM_SETTINGS_KEY_FONT_TYPE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(4) value[BreezeSans]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(107) > key[5] SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(5) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(110) > key[6] SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(6) value[/opt/usr/share/settings/Alerts/Whistle.ogg]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(113) > key[7] SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(7) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(116) > key[8] SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(8) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(176) > key[9] not have enum!!
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[0]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(298) > wrong key[9]!!
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(119) > key[10] SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(10) value[org.tizen.lockscreen]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(122) > key[11] SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(11) value[BreezeSans]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(125) > key[12] SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(12) value[en_US]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(128) > key[13] SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(13) value[en_US]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(131) > key[14] SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(14) value[0]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(134) > key[15] SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(15) value[Asia/Seoul]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(137) > key[16] SYSTEM_SETTINGS_KEY_TIME_CHANGED
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[2]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(273) > system_settings_get_value_int(16) value[1445498440]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(140) > key[17] SYSTEM_SETTINGS_KEY_SOUND_LOCK
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(17) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(143) > key[18] SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(18) value[0]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(146) > key[19] SYSTEM_SETTINGS_KEY_SOUND_TOUCH
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(19) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(149) > key[20] SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(20) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(152) > key[21] SYSTEM_SETTINGS_KEY_DEVICE_NAME
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(21) value[Tizen]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(155) > key[22] SYSTEM_SETTINGS_KEY_MOTION_ENABLED
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(22) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(158) > key[23] SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(23) value[1]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(161) > key[24] SYSTEM_SETTINGS_KEY_NETWORK_FLIGHT_MODE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[1]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(259) > system_settings_get_value_bool(24) value[0]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(164) > key[25] SYSTEM_SETTINGS_KEY_SCREEN_BACKLIGHT_TIME
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[2]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(273) > system_settings_get_value_int(25) value[30]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(167) > key[26] SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[3]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(287) > system_settings_get_value_string(26) value[/opt/usr/share/settings/Alerts/Whistle.ogg]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(170) > key[27] SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION_REPETITION_PERIOD
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[2]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(273) > system_settings_get_value_int(27) value[0]
I/TESTAPP ( 6039): basicuiapplication.c: _print_system_settings_enum_string(173) > key[28] SYSTEM_SETTINGS_KEY_LOCK_STATE
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(245) > type[2]
I/TESTAPP ( 6039): basicuiapplication.c: _get_system_setting(269) > system_settings_get_value_int returns -5(fffffffb)

의도한 동작을 하고 있습니다.

다만 말씀하신 것처럼 SYSTEM_SETTINGS_KEY_LOCK_STATE는 동작하지 않는데 현재 platform 문제로 보입니다.