-/* TODO: background tasks update from list */
-static void __add_background_apps(GSList *background_pid_list)
-{
- if (background_pid_list == NULL)
- return;
-
- /* remove old list */
- /* add new list */
-}
-
-static stc_error_e __make_net_cls_cgroup(const char *pkg_name, uint32_t classid,
- check_classid_used_cb cb)
-{
- stc_error_e ret = STC_ERROR_NONE;
- bool exists = false;
-
- if (pkg_name == NULL) {
- STC_LOGE("package name must be not empty");
- return STC_ERROR_INVALID_PARAMETER;
- }
-
- ret = cgroup_make_subdir(PATH_TO_NET_CGROUP_DIR, (char *)pkg_name,
- &exists);
- ret_value_if(ret < 0, STC_ERROR_FAIL);
-
- if (!exists) {
- ret = __place_classid_to_cgroup(PATH_TO_NET_CGROUP_DIR,
- pkg_name,
- classid ? &classid : NULL, cb);
- ret_value_if(ret < 0, STC_ERROR_FAIL);
- }
- return ret;
-}
-