Home
last modified time | relevance | path

Searched refs:wifiEntity_ (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp75 if (wifiEntity_ == nullptr) { in CreatePartEntity()
77 wifiEntity_ = std::make_shared<WifiEntity>(); in CreatePartEntity()
158 wifiEntity_->Calculate(); in ComputePower()
186 return wifiEntity_; in GetEntity()
221 UpdateCounter(wifiEntity_, statsType, data, uid); in UpdateStats()
240 UpdateTimer(wifiEntity_, statsType, state); in UpdateConnectivityStats()
576 time = wifiEntity_->GetActiveTimeMs(statsType); in GetTotalTimeMs()
614 if (wifiEntity_) { in DumpInfo()
615 wifiEntity_->DumpInfo(result); in DumpInfo()
694 data = wifiEntity_->GetConsumptionCount(statsType, uid); in GetTotalConsumptionCount()
[all …]
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_core.h76 std::shared_ptr<BatteryStatsEntity> wifiEntity_; variable