int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/network.telephony");
+
ret = runtime_info_vconf_get_value_bool(VCONF_PACKET_DATA_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = (bool)vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/network.telephony");
+
ret = runtime_info_vconf_get_value_bool(VCONF_DATA_ROAMING_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = (bool)vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/feedback.vibration");
+
ret = runtime_info_vconf_get_value_bool(VCONF_VIBRATION_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = (bool)vconf_value;
int vconf_value;
int ret;
+ bool supported;
+ ret = system_info_get_platform_bool("http://tizen.org/feature/screen.output.hdmi", &supported);
+ if (ret != SYSTEM_INFO_ERROR_NONE)
+ return RUNTIME_INFO_ERROR_IO_ERROR;
+ if (!supported) {
+ ret = system_info_get_platform_bool("http://tizen.org/feature/screen.output.rca", &supported);
+ if (ret != SYSTEM_INFO_ERROR_NONE)
+ return RUNTIME_INFO_ERROR_IO_ERROR;
+ if (!supported)
+ return RUNTIME_INFO_ERROR_NOT_SUPPORTED;
+ }
+
ret = runtime_info_vconf_get_value_int(VCONF_TVOUT_CONNECTED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = vconf_value;