Commit graph

6 commits

Author SHA1 Message Date
Darren Hsu
4c9c90a5ad powerstats: use display MRR state residency data provider
Bug: 322453302
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I78ddca8aa7f4994157845545d01d6325dd09d5ed
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-26 16:42:25 +08:00
Darren Hsu
3c30a321f7 powerstats: update display resolution setting
Since runtime resolution switching is enabled, the specific device
supports to run QHD displays at lower FHD resolutions. So we should
support both QHD/FHD resolution settings in PowerStats HAL.

Bug: 232313626
Test: dump power stats at QHD/FHD resolutions
Change-Id: I46a45c078da146a8ecbeb49af4765771a2c0b651
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-23 17:29:33 +08:00
chungkai
a0b3ae5472 fix path for i2c peripheral device
add potential paths for i2c peripheral devices
sine we enable parallel module loading

Test: without error log on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2afcf5d9255cd821a3bb9136d032b82782f396b3
2022-04-20 17:01:39 +00:00
chungkai
c9cd788e18 fix path for i2c peripheral device
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ia94bccdf479262e96210c2eda4794c2708e56861
2022-04-08 02:20:26 +00:00
Darren Hsu
0c7179f60a powerstats: add NFC state residency for specific devices
Bug: 206902456
Bug: 206901670
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I93b9123d9c52a5504b41cc83ee83764fdeeccdab
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-11-29 16:31:59 +08:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00