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:
parent
0a628df9f6
commit
302aff1f04
1 changed files with 16 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue