From 6f56141b37626915a8e2e7f6b539061068e307c9 Mon Sep 17 00:00:00 2001 From: pix106 Date: Thu, 23 Dec 2021 13:00:30 +0100 Subject: [PATCH] Revert "sdm660-common: Ship copy of API 28 cgroups/task_profiles.json in vendor" This reverts commit 533bb382b291ce5e0f97283852a2b6e809332fc1. --- configs/cgroups.json | 11 --- configs/task_profiles.json | 135 ------------------------------------- sdm660.mk | 5 -- 3 files changed, 151 deletions(-) delete mode 100644 configs/cgroups.json delete mode 100644 configs/task_profiles.json diff --git a/configs/cgroups.json b/configs/cgroups.json deleted file mode 100644 index 17d49294..00000000 --- a/configs/cgroups.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Cgroups": [ - { - "Controller": "schedtune", - "Path": "/dev/stune", - "Mode": "0755", - "UID": "system", - "GID": "system" - } - ] -} diff --git a/configs/task_profiles.json b/configs/task_profiles.json deleted file mode 100644 index 9f837859..00000000 --- a/configs/task_profiles.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "Attributes": [ - { - "Name": "STuneBoost", - "Controller": "schedtune", - "File": "schedtune.boost" - }, - { - "Name": "STunePreferIdle", - "Controller": "schedtune", - "File": "schedtune.prefer_idle" - } - ], - - "Profiles": [ - { - "Name": "HighEnergySaving", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "background" - } - } - ] - }, - { - "Name": "NormalPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "" - } - } - ] - }, - { - "Name": "HighPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "foreground" - } - } - ] - }, - { - "Name": "MaxPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "top-app" - } - } - ] - }, - { - "Name": "RealtimePerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "rt" - } - } - ] - }, - { - "Name": "CameraServicePerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "camera-daemon" - } - } - ] - }, - { - "Name": "NNApiHALPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "nnapi-hal" - } - } - ] - }, - - { - "Name": "CpuPolicySpread", - "Actions": [ - { - "Name": "SetAttribute", - "Params": - { - "Name": "STunePreferIdle", - "Value": "1" - } - } - ] - }, - { - "Name": "CpuPolicyPack", - "Actions": [ - { - "Name": "SetAttribute", - "Params": - { - "Name": "STunePreferIdle", - "Value": "0" - } - } - ] - } - ] -} diff --git a/sdm660.mk b/sdm660.mk index 9f4ed80c..dab6a27f 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -156,11 +156,6 @@ PRODUCT_PACKAGES += \ com.android.media.swcodec \ libsfplugin_ccodec -# Cgroup and task_profiles -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/cgroups.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \ - $(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json - # Component overrides PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml