gs101: Add a new profile for camera power tuning
Create CameraServicePower profile. Bug: 192607122 Test: build pass Change-Id: Ia4ff63dabc51d449d4b4acc95a2685c10643c509
This commit is contained in:
parent
be6acfd1c5
commit
853246aeb8
1 changed files with 22 additions and 0 deletions
|
@ -44,6 +44,28 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "CameraServicePower",
|
||||||
|
"Actions": [
|
||||||
|
{
|
||||||
|
"Name": "JoinCgroup",
|
||||||
|
"Params":
|
||||||
|
{
|
||||||
|
"Controller": "cpu",
|
||||||
|
"Path": "system"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "WriteFile",
|
||||||
|
"Params":
|
||||||
|
{
|
||||||
|
"FilePath": "/sys/kernel/vendor_sched/set_task_group_cam_power",
|
||||||
|
"Value": "<pid>",
|
||||||
|
"LogFailures": "false"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "CameraServiceHighCapacity",
|
"Name": "CameraServiceHighCapacity",
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue