mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user