ret = system_info_get_platform_bool(
"http://tizen.org/feature/shell.appwidget", &feature);
if (ret != SYSTEM_INFO_ERROR_NONE) {
ret = system_info_get_platform_bool(
"http://tizen.org/feature/shell.appwidget", &feature);
if (ret != SYSTEM_INFO_ERROR_NONE) {
_D("send lifecycle %s(%d)", instance_id, status);
ret = aul_app_com_send("widget.status", b);
if (ret < 0)
_D("send lifecycle %s(%d)", instance_id, status);
ret = aul_app_com_send("widget.status", b);
if (ret < 0)
static int __instance_update(widget_class_h handle, const char *id, int force, const char *content)
{
widget_context_s *wc = __find_context_by_id(id);
static int __instance_update(widget_class_h handle, const char *id, int force, const char *content)
{
widget_context_s *wc = __find_context_by_id(id);
static int __instance_create(widget_class_h handle, const char *id, const char *content, int w, int h)
{
static int __instance_create(widget_class_h handle, const char *id, const char *content, int w, int h)
{
- _E("could not find widget obj: %s", id);
- return WIDGET_ERROR_INVALID_PARAMETER;
+ _E("could not find widget obj: %s", id); /* LCOV_EXCL_LINE */
+ return WIDGET_ERROR_INVALID_PARAMETER; /* LCOV_EXCL_LINE */
static void __resize_window(char *id, int w, int h)
{
widget_context_s *wc = __find_context_by_id(id);
static void __resize_window(char *id, int w, int h)
{
widget_context_s *wc = __find_context_by_id(id);
static Eina_Bool __lower_cb(void *data, int type, void *event)
{
LOGD("lower");
return ECORE_CALLBACK_RENEW;
}
static Eina_Bool __lower_cb(void *data, int type, void *event)
{
LOGD("lower");
return ECORE_CALLBACK_RENEW;
}
- LOGE("unknown window error: %d", ev->win);
- return ECORE_CALLBACK_RENEW;
+ LOGE("unknown window error: %d", ev->win); /* LCOV_EXCL_LINE */
+ return ECORE_CALLBACK_RENEW; /* LCOV_EXCL_LINE */
}
name_token = strrchr(appid, '.');
if (name_token == NULL) {
}
name_token = strrchr(appid, '.');
if (name_token == NULL) {
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call the aul_launch_init");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call the aul_launch_init");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call the aul_launch_argv_handler");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call the aul_launch_argv_handler");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call __get_domain_name");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call __get_domain_name");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call _set_i18n");
return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER,
__FUNCTION__,
"Fail to call _set_i18n");
EXPORT_API int widget_app_terminate_context(widget_context_h context)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API int widget_app_terminate_context(widget_context_h context)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API const char *widget_app_get_id(widget_context_h context)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API const char *widget_app_get_id(widget_context_h context)
{
if (!_is_widget_feature_enabled()) {
- _E("failed to get wayland window");
- evas_object_del(ret_win);
- return WIDGET_ERROR_FAULT;
+ _E("failed to get wayland window"); /* LCOV_EXCL_LINE */
+ evas_object_del(ret_win); /* LCOV_EXCL_LINE */
+ return WIDGET_ERROR_FAULT; /* LCOV_EXCL_LINE */
- _E("failed to calloc : %s", __FUNCTION__);
- set_last_result(WIDGET_ERROR_OUT_OF_MEMORY);
- return NULL;
+ _E("failed to calloc : %s", __FUNCTION__); /* LCOV_EXCL_LINE */
+ set_last_result(WIDGET_ERROR_OUT_OF_MEMORY); /* LCOV_EXCL_LINE */
+ return NULL; /* LCOV_EXCL_LINE */
EXPORT_API int widget_app_context_set_tag(widget_context_h context, void *tag)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API int widget_app_context_set_tag(widget_context_h context, void *tag)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API int widget_app_context_get_tag(widget_context_h context, void **tag)
{
if (!_is_widget_feature_enabled()) {
EXPORT_API int widget_app_context_get_tag(widget_context_h context, void **tag)
{
if (!_is_widget_feature_enabled()) {
_E("failed to send content info: %s of %s (%d)", context->id,
class_id, ret);
return widget_app_error(WIDGET_ERROR_IO_ERROR, __FUNCTION__,
NULL);
_E("failed to send content info: %s of %s (%d)", context->id,
class_id, ret);
return widget_app_error(WIDGET_ERROR_IO_ERROR, __FUNCTION__,
NULL);