Home
last modified time | relevance | path

Searched refs:GetOrCreateCounter (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/battery_statistics/services/native/include/entities/
Dalarm_entity.h33 std::shared_ptr<StatsHelper::Counter> GetOrCreateCounter(StatsUtils::StatsType statsType,
Dwifi_entity.h36 std::shared_ptr<StatsHelper::Counter> GetOrCreateCounter(StatsUtils::StatsType statsType,
Dbattery_stats_entity.h48 … virtual std::shared_ptr<StatsHelper::Counter> GetOrCreateCounter(StatsUtils::StatsType statsType,
/base/powermgr/battery_statistics/services/native/src/entities/
Dbattery_stats_entity.cpp123 std::shared_ptr<StatsHelper::Counter> BatteryStatsEntity::GetOrCreateCounter(StatsUtils::StatsType … in GetOrCreateCounter() function in OHOS::PowerMgr::BatteryStatsEntity
Dalarm_entity.cpp103 std::shared_ptr<StatsHelper::Counter> AlarmEntity::GetOrCreateCounter(StatsUtils::StatsType statsTy… in GetOrCreateCounter() function in OHOS::PowerMgr::AlarmEntity
Dwifi_entity.cpp125 std::shared_ptr<StatsHelper::Counter> WifiEntity::GetOrCreateCounter(StatsUtils::StatsType statsTyp… in GetOrCreateCounter() function in OHOS::PowerMgr::WifiEntity
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp546 counter = entity->GetOrCreateCounter(statsType, uid); in UpdateCounter()
548 counter = entity->GetOrCreateCounter(statsType); in UpdateCounter()