Commit graph

7 commits

Author SHA1 Message Date
Darren Hsu
c3dd8a11be powerstats: bring PixelStateResidencyDataProvider to device config
Second parameter is required to add PixelStateResidencyDataProvider.
If display entity name is empty, the device doesn't support display
VRR power stats.

Bug: 335379104
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I1598bde804857e3f362ff2af1184d81618b75cb6
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-04-17 16:28:39 +08:00
WeiChungChang
7a3f70b91e display: create entity_name property
HWC should designate the entity name 'Inner-Display'
for the primary display in cases of dual panels.

Bug: 329370514
Test: verify powerstats for dual panel devices
Change-Id: Id9dc05d081f21dad7c97f9a7a061164fb01644dd
2024-03-26 22:39:26 +00:00
Darren Hsu
ca520b45d4 powerstats: use legacy data provider if MRR sysfs doesn't exist
Bug: 323590299
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I35b5769eddac6cbe7d4ec6f585b8c1448dccfe0a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-02-06 20:07:15 +08:00
Darren Hsu
6331c7321b powerstats: use display MRR state residency data provider
Bug: 321871758
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Idba6d88ce735571c759ff2fb8a0b045ff48a3ff9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-25 17:16:54 +08:00
Darren Hsu
b50e598270 powerstats: update display state residency configs
Bug: 291861112
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I242666ccdd116891ebf34671afb67d1f504ee79e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-10-31 16:52:50 +08:00
Robin Peng
e5d2a88616 Migrate comet to P24 zumapro codebase
Bug: 287173316
Change-Id: Id03e526ff8ca67d8d9ee83a9d3bacfb1473e9a25
2023-06-15 06:39:59 +00:00
Cyan_Hsieh
919f3e1cb5 Initial device comet
based on 84d60a2e19d4ad09086067994d2f683ff86f6231

Bug: 263919239
Change-Id: I7be43786325116baddd35e182f87ad15fbe1a6ce
2023-01-18 18:34:03 +08:00