aidl: power-libperfmgr: Sync powerhint template with aidl hal changes
authorMichael Benedict <michaelbt@live.com>
Sun, 14 Mar 2021 07:14:50 +0000 (14:14 +0700)
committerMichael Benedict <michaelbt@live.com>
Sat, 20 Mar 2021 15:05:06 +0000 (22:05 +0700)
* adapted from https://github.com/LineageOS/android_device_google_coral/commit/3e0c3f06a77bd6cfcca57a51b1159f9b77b28c3b

Signed-off-by: Michael Benedict <michaelbt@live.com>
Change-Id: Ib97ea5b007dc5e0e650938785218aeb365d358ff

aidl/power-libperfmgr/powerhint.json.template

index b3d93c26a2a80087289b066301a9c0ae27707cba..367a02dcc0607c254af2b2a53b977c2a6900a379 100644 (file)
             "Name": "PowerHALMainState",
             "Path": "vendor.powerhal.state",
             "Values": [
-                "CAMERA_STREAMING",
                 "SUSTAINED_PERFORMANCE",
                 "VR_MODE",
                 "VR_SUSTAINED_PERFORMANCE",
             "Name": "PowerHALAudioState",
             "Path": "vendor.powerhal.audio",
             "Values": [
-                "AUDIO_LOW_LATENCY",
+                "AUDIO_STREAMING_LOW_LATENCY",
                 ""
             ],
             "Type": "Property"
             "Value": "44"
         },
         {
-            "PowerHint": "CAMERA_STREAMING",
-            "Node": "PowerHALMainState",
-            "Duration": 0,
-            "Value": "CAMERA_STREAMING"
-        },
-        {
-            "PowerHint": "CAMERA_STREAMING",
+            "PowerHint": "CAMERA_STREAMING_MID",
             "Node": "CPUBigClusterMaxFreq",
             "Duration": 0,
             "Value": "2016000"
         },
         {
-            "PowerHint": "CAMERA_STREAMING",
+            "PowerHint": "CAMERA_STREAMING_MID",
             "Node": "CPUBigPlusClusterMaxFreq",
             "Duration": 0,
             "Value": "2016000"
             "Value": "44"
         },
         {
-            "PowerHint": "AUDIO_STREAMING",
+            "PowerHint": "AUDIO_LAUNCH",
             "Node": "PMQoSCpuDmaLatency",
             "Duration": 2000,
             "Value": "44"
         },
         {
-            "PowerHint": "AUDIO_LOW_LATENCY",
+            "PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
             "Node": "PowerHALAudioState",
             "Duration": 0,
-            "Value": "AUDIO_LOW_LATENCY"
+            "Value": "AUDIO_STREAMING_LOW_LATENCY"
         },
         {
-            "PowerHint": "AUDIO_LOW_LATENCY",
+            "PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
             "Node": "PMQoSCpuDmaLatency",
             "Duration": 0,
             "Value": "44"