Home
last modified time | relevance | path

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

/base/powermgr/battery_statistics/services/native/src/entities/
Dalarm_entity.cpp38 case StatsUtils::STATS_TYPE_ALARM: { in GetConsumptionCount()
57 auto alarmOnCount = GetConsumptionCount(StatsUtils::STATS_TYPE_ALARM, uid); in Calculate()
89 if (statsType == StatsUtils::STATS_TYPE_ALARM) { in GetStatsPowerMah()
107 case StatsUtils::STATS_TYPE_ALARM: { in GetOrCreateCounter()
Duid_entity.cpp206 } else if (statsType == StatsUtils::STATS_TYPE_ALARM) { in GetPowerForCommon()
207 power = alarmEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_ALARM, uid); in GetPowerForCommon()
231 case StatsUtils::STATS_TYPE_ALARM: in GetStatsPowerMah()
292 int64_t alarmCount = core->GetTotalConsumptionCount(StatsUtils::STATS_TYPE_ALARM, uid); in DumpForCommon()
/base/powermgr/battery_statistics/utils/native/src/
Dstats_utils.cpp117 case STATS_TYPE_ALARM: in ConvertTypeForCommon()
118 result = GET_VARIABLE_NAME(STATS_TYPE_ALARM); in ConvertTypeForCommon()
173 case STATS_TYPE_ALARM: in ConvertStatsType()
/base/powermgr/battery_statistics/utils/native/include/
Dstats_utils.h91 STATS_TYPE_ALARM, enumerator
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_util_test.cpp118 EXPECT_EQ(GET_VARIABLE_NAME(STATS_TYPE_ALARM),
119 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_ALARM));
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_detector.cpp64 case StatsUtils::STATS_TYPE_ALARM: in IsDurationRelated()
Dbattery_stats_core.cpp222 case StatsUtils::STATS_TYPE_ALARM: in UpdateStats()
695 case StatsUtils::STATS_TYPE_ALARM: in GetTotalConsumptionCount()
850 Json::Value(GetTotalConsumptionCount(StatsUtils::STATS_TYPE_ALARM, uid)); in SaveForSoftwareCommon()
Dbattery_stats_listener.cpp580 data.type = StatsUtils::STATS_TYPE_ALARM; in ProcessAlarmEvent()