powerstats: update display resolution and refresh rate

Bug: 309876304
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I3dcb6674da5fdf082dbf33697a2186ba7c835c61
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2024-04-19 14:43:42 +08:00
parent 8f7212b72e
commit 8a5944e12e

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",