Enable TA and FG prefer idle for some camera streams

These streams do not disable TA or FG prefer idle, so restore it.

Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: Ia0f12911110856b82b858bed11fb5d120388285a
This commit is contained in:
Rick Yiu 2024-10-10 11:29:15 +00:00
parent 5f7a5b3528
commit efa15cc3b3
3 changed files with 126 additions and 0 deletions

View file

@ -1910,6 +1910,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "AutoPreferIdle",
@ -2084,6 +2090,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "AutoPreferIdle",
@ -2126,6 +2138,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2282,6 +2306,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",
@ -2408,6 +2444,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "AutoPreferIdle",

View file

@ -1775,6 +1775,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "AutoPreferIdle",
@ -1937,6 +1943,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "AutoPreferIdle",
@ -1967,6 +1979,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2105,6 +2129,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",
@ -2225,6 +2261,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "AutoPreferIdle",

View file

@ -1815,6 +1815,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "AutoPreferIdle",
@ -1983,6 +1989,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "AutoPreferIdle",
@ -2031,6 +2043,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2187,6 +2211,18 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",
@ -2313,6 +2349,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "FGPreferIdle",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "AutoPreferIdle",