ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_SVC_APP, app_func, (void *)test_data, uid_info->uid);
if (ret < 0)
printf("pkgmgr_get_info_app() failed\n");
+
+ printf("**List of Widget-Apps**\n");
+ ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_WIDGET_APP, app_func, (void *)test_data, uid_info->uid);
+ if (ret < 0)
+ printf("pkgmgr_get_info_app() failed\n");
+
+ printf("**List of Watch-Apps**\n");
+ ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_WATCH_APP, app_func, (void *)test_data, uid_info->uid);
+ if (ret < 0)
+ printf("pkgmgr_get_info_app() failed\n");
} else {
printf("**List of Ui-Apps**\n");
ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_UI_APP, app_func, (void *)test_data);
ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_SVC_APP, app_func, (void *)test_data);
if (ret < 0)
printf("pkgmgr_get_info_app() failed\n");
+
+ printf("**List of Widget-Apps**\n");
+ ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_WIDGET_APP, app_func, (void *)test_data);
+ if (ret < 0)
+ printf("pkgmgr_get_info_app() failed\n");
+
+ printf("**List of Watch-Apps**\n");
+ ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_WATCH_APP, app_func, (void *)test_data);
+ if (ret < 0)
+ printf("pkgmgr_get_info_app() failed\n");
}
printf("---------------------------------------\n");
ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_SVC_APP, app_func, (void *)test_data, uid);
if (ret < 0)
printf("pkgmgrinfo_appinfo_get_list() failed\n");
+
+ printf("List of Widget-Apps\n\n");
+ ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_WIDGET_APP, app_func, (void *)test_data, uid);
+ if (ret < 0)
+ printf("pkgmgrinfo_appinfo_get_list() failed\n");
+
+ printf("List of Watch-Apps\n\n");
+ ret = pkgmgrinfo_appinfo_get_usr_list(handle, PMINFO_WATCH_APP, app_func, (void *)test_data, uid);
+ if (ret < 0)
+ printf("pkgmgrinfo_appinfo_get_list() failed\n");
} else {
printf("List of Ui-Apps\n\n");
ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_UI_APP, app_func, (void *)test_data);
ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_SVC_APP, app_func, (void *)test_data);
if (ret < 0)
printf("pkgmgrinfo_appinfo_get_list() failed\n");
+
+ printf("List of Widget-Apps\n\n");
+ ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_WIDGET_APP, app_func, (void *)test_data);
+ if (ret < 0)
+ printf("pkgmgrinfo_appinfo_get_list() failed\n");
+
+ printf("List of Watch-Apps\n\n");
+ ret = pkgmgrinfo_appinfo_get_list(handle, PMINFO_WATCH_APP, app_func, (void *)test_data);
+ if (ret < 0)
+ printf("pkgmgrinfo_appinfo_get_list() failed\n");
}
pkgmgrinfo_pkginfo_destroy_pkginfo(handle);