powerstats: remove GNSS stats from state residency reporting

Bug: 289766594
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I78d86df97b432157aaf717d1361d6e91b4f421f1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2023-07-04 10:32:12 +08:00
parent 0a628df9f6
commit 302aff1f04

View file

@ -64,7 +64,22 @@ int main() {
std::shared_ptr<PowerStats> p = ndk::SharedRefBase::make<PowerStats>();
addZumaCommonDataProviders(p);
setEnergyMeter(p);
addAoC(p);
addPixelStateResidencyDataProvider(p);
addCPUclusters(p);
addSoC(p);
// TODO(b/289764363): add GNSS power stats back when the sysfs is ready
addMobileRadio(p);
addNFC(p);
addPCIe(p);
addWifi(p);
addTPU(p);
addUfs(p);
addPowerDomains(p);
addDvfsStats(p);
addDevfreq(p);
addGPU(p);
addDisplay(p);
const std::string instance = std::string() + PowerStats::descriptor + "/default";