powerstats: add specific combination of data providers
Bug: 242695004 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Ibf689ae6a05a8b9f8c634d354bbcce6731825c0c Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
9411790fc5
commit
0f2d1bd801
2 changed files with 17 additions and 0 deletions
|
@ -680,6 +680,22 @@ void addGs201CommonDataProvidersQc(std::shared_ptr<PowerStats> p) {
|
|||
addWlan(p);
|
||||
}
|
||||
|
||||
void addGs201CommonDataProvidersBig(std::shared_ptr<PowerStats> p) {
|
||||
setEnergyMeter(p);
|
||||
|
||||
addAoC(p);
|
||||
addDvfsStats(p);
|
||||
addSoC(p);
|
||||
addCPUclusters(p);
|
||||
addGPU(p);
|
||||
addUfs(p);
|
||||
addPowerDomains(p);
|
||||
addDevfreq(p);
|
||||
addTPU(p);
|
||||
addPixelStateResidencyDataProvider(p);
|
||||
addWifi(p);
|
||||
}
|
||||
|
||||
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path) {
|
||||
const GenericStateResidencyDataProvider::StateResidencyConfig nfcStateConfig = {
|
||||
.entryCountSupported = true,
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
using aidl::android::hardware::power::stats::PowerStats;
|
||||
|
||||
void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p);
|
||||
void addGs201CommonDataProvidersBig(std::shared_ptr<PowerStats> p);
|
||||
void addGs201CommonDataProvidersQc(std::shared_ptr<PowerStats> p);
|
||||
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue