powerstats: update display state residency for 1Hz

Bug: 276920113
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4fe511fe40a24cf1c5ebee11e9a4b61b39420309
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2023-04-11 12:00:19 +08:00
parent fc8b845f44
commit b54400d146

View file

@ -35,18 +35,28 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
// Add display residency stats
std::vector<std::string> states = {
"Off",
"LP: 1008x2244@1",
"LP: 1008x2244@30",
"On: 1008x2244@1",
"On: 1008x2244@10",
"On: 1008x2244@30",
"On: 1008x2244@60",
"On: 1008x2244@120",
"HBM: 1008x2244@1",
"HBM: 1008x2244@10",
"HBM: 1008x2244@30",
"HBM: 1008x2244@60",
"HBM: 1008x2244@120",
"LP: 1344x2992@1",
"LP: 1344x2992@30",
"On: 1344x2992@1",
"On: 1344x2992@10",
"On: 1344x2992@30",
"On: 1344x2992@60",
"On: 1344x2992@120",
"HBM: 1344x2992@1",
"HBM: 1344x2992@10",
"HBM: 1344x2992@30",
"HBM: 1344x2992@60",
"HBM: 1344x2992@120"};