powerstats: update display state residency for specific device

Bug: 291859029
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I7fb54860240c76ee67fd97ac2a728b4dfebdd05c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2023-10-02 11:15:08 +08:00
parent a6ba0e830a
commit 2ba1550619

View file

@ -35,11 +35,11 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
// Add display residency stats
std::vector<std::string> states = {
"Off",
"LP: 1440x3120@30",
"On: 1440x3120@60",
"On: 1440x3120@90",
"HBM: 1440x3120@60",
"HBM: 1440x3120@90"};
"LP: 1080x2424@30",
"On: 1080x2424@60",
"On: 1080x2424@120",
"HBM: 1080x2424@60",
"HBM: 1080x2424@120"};
p->addStateResidencyDataProvider(std::make_unique<DisplayStateResidencyDataProvider>(
"Display",