diff --git a/audio/husky/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/husky/config/audio_policy_configuration_a2dp_offload_disabled.xml
index 78b7ee8..4878bc5 100644
--- a/audio/husky/config/audio_policy_configuration_a2dp_offload_disabled.xml
+++ b/audio/husky/config/audio_policy_configuration_a2dp_offload_disabled.xml
@@ -149,7 +149,7 @@
-
+
@@ -184,6 +184,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
+
-
+
@@ -180,6 +180,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
+
-
+
@@ -205,6 +205,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
+
-
+
@@ -184,6 +184,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
+
-
+
@@ -180,6 +180,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
+
-
+
@@ -205,6 +205,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
+
+
+
@@ -65,6 +67,8 @@
+
+
@@ -73,6 +77,7 @@
+
diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json
index d288d84..45053cd 100644
--- a/perf/powerhint-husky.json
+++ b/perf/powerhint-husky.json
@@ -754,18 +754,23 @@
"Name": "VIRTUAL-SKIN-CPU-MID",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
- "game",
- ""
+ "",
+ "game"
],
+ "DefaultIndex": 0,
+ "ResetOnInit": true,
"Type": "Property"
},
{
"Name": "VIRTUAL-SKIN-CPU-HIGH",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
"Values": [
+ "",
"game",
- ""
+ "camera"
],
+ "DefaultIndex": 0,
+ "ResetOnInit": true,
"Type": "Property"
},
{
@@ -1519,6 +1524,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@@ -1663,6 +1674,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -1789,6 +1806,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning",
diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json
index be39284..51beaab 100644
--- a/perf/powerhint-shiba.json
+++ b/perf/powerhint-shiba.json
@@ -754,18 +754,23 @@
"Name": "VIRTUAL-SKIN-CPU-MID",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
- "game",
- ""
+ "",
+ "game"
],
+ "DefaultIndex": 0,
+ "ResetOnInit": true,
"Type": "Property"
},
{
"Name": "VIRTUAL-SKIN-CPU-HIGH",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
"Values": [
+ "",
"game",
- ""
+ "camera"
],
+ "DefaultIndex": 0,
+ "ResetOnInit": true,
"Type": "Property"
},
{
@@ -1417,6 +1422,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@@ -1561,6 +1572,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -1687,6 +1704,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "VIRTUAL-SKIN-CPU-HIGH",
+ "Duration": 0,
+ "Value": "camera"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning",
diff --git a/thermal/thermal_info_config_husky.json b/thermal/thermal_info_config_husky.json
index 86e317e..f69738f 100644
--- a/thermal/thermal_info_config_husky.json
+++ b/thermal/thermal_info_config_husky.json
@@ -531,17 +531,37 @@
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
- "Disabled":true
+ "Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
- "Disabled":true
+ "Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
- "Disabled":true
+ "Disabled":true
+ }
+ ]
+ },
+ {
+ "Mode": "camera",
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "thermal-cpufreq-0",
+ "MaxReleaseStep": 1,
+ "Disabled":true
+ },
+ {
+ "CdevRequest": "thermal-cpufreq-1",
+ "MaxReleaseStep": 1,
+ "Disabled":true
+ },
+ {
+ "CdevRequest": "thermal-cpufreq-2",
+ "MaxReleaseStep": 1,
+ "Disabled":true
}
]
}
diff --git a/thermal/thermal_info_config_shiba.json b/thermal/thermal_info_config_shiba.json
index 2e37654..9c71dbe 100644
--- a/thermal/thermal_info_config_shiba.json
+++ b/thermal/thermal_info_config_shiba.json
@@ -512,6 +512,26 @@
"Disabled":true
}
]
+ },
+ {
+ "Mode": "camera",
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "thermal-cpufreq-0",
+ "MaxReleaseStep": 1,
+ "Disabled":true
+ },
+ {
+ "CdevRequest": "thermal-cpufreq-1",
+ "MaxReleaseStep": 1,
+ "Disabled":true
+ },
+ {
+ "CdevRequest": "thermal-cpufreq-2",
+ "MaxReleaseStep": 1,
+ "Disabled":true
+ }
+ ]
}
]
},