Snap for 9420774 from b6ca4eeb66
to udc-release
Change-Id: Ie3d8d14d3949785088214de7080a8f4e3751b85b
This commit is contained in:
commit
82c12dc7b4
2 changed files with 10 additions and 0 deletions
|
@ -601,6 +601,14 @@ void addPixelStateResidencyDataProvider(std::shared_ptr<PowerStats> p) {
|
|||
p->addStateResidencyDataProvider(std::move(pixelSdp));
|
||||
}
|
||||
|
||||
void addCamera(std::shared_ptr<PowerStats> p) {
|
||||
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterConsumer(
|
||||
p,
|
||||
EnergyConsumerType::CAMERA,
|
||||
"CAMERA",
|
||||
{"VSYS_PWR_CAM"}));
|
||||
}
|
||||
|
||||
void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
setEnergyMeter(p);
|
||||
|
||||
|
@ -618,6 +626,7 @@ void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
|||
addPowerDomains(p);
|
||||
addDevfreq(p);
|
||||
addTPU(p);
|
||||
addCamera(p);
|
||||
}
|
||||
|
||||
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path) {
|
||||
|
|
|
@ -22,6 +22,7 @@ using aidl::android::hardware::power::stats::PowerStats;
|
|||
|
||||
void addAoC(std::shared_ptr<PowerStats> p);
|
||||
void addCPUclusters(std::shared_ptr<PowerStats> p);
|
||||
void addCamera(std::shared_ptr<PowerStats> p);
|
||||
void addDevfreq(std::shared_ptr<PowerStats> p);
|
||||
void addDvfsStats(std::shared_ptr<PowerStats> p);
|
||||
void addGNSS(std::shared_ptr<PowerStats> p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue