Home
last modified time | relevance | path

Searched refs:GetConsumptionCount (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Dwifi_entity.cpp43 auto wifiScanCount = GetConsumptionCount(StatsUtils::STATS_TYPE_WIFI_SCAN); in Calculate()
80 int64_t WifiEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() function in OHOS::PowerMgr::WifiEntity
142 int64_t conut = GetConsumptionCount(StatsUtils::STATS_TYPE_WIFI_SCAN); in DumpInfo()
H A Dalarm_entity.cpp33 int64_t AlarmEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() function in OHOS::PowerMgr::AlarmEntity
51 auto alarmOnCount = GetConsumptionCount(StatsUtils::STATS_TYPE_ALARM, uid); in Calculate()
H A Dbattery_stats_entity.cpp40 int64_t BatteryStatsEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() function in OHOS::PowerMgr::BatteryStatsEntity
/ohos5.0/base/powermgr/battery_statistics/services/native/include/entities/
H A Dalarm_entity.h30 …int64_t GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VAL…
H A Dwifi_entity.h31 …int64_t GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VAL…
H A Dbattery_stats_entity.h40 …virtual int64_t GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INV…
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_core_test.cpp100 EXPECT_EQ(data, wifiEntity->GetConsumptionCount(StatsUtils::STATS_TYPE_WIFI_SCAN));
142 … BatteryStatsInfo::CONSUMPTION_TYPE_ALARM)->GetConsumptionCount(StatsUtils::STATS_TYPE_INVALID));
232 … BatteryStatsInfo::CONSUMPTION_TYPE_WIFI)->GetConsumptionCount(StatsUtils::STATS_TYPE_INVALID));
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp703 data = wifiEntity_->GetConsumptionCount(statsType, uid); in GetTotalConsumptionCount()
706 data = alarmEntity_->GetConsumptionCount(statsType, uid); in GetTotalConsumptionCount()