Home
last modified time | relevance | path

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

/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_info.cpp169 case CONSUMPTION_TYPE_WAKELOCK: in ConvertTypeForApp()
170 result = GET_VARIABLE_NAME(CONSUMPTION_TYPE_WAKELOCK); in ConvertTypeForApp()
201 case CONSUMPTION_TYPE_WAKELOCK: in ConvertConsumptionType()
/base/powermgr/battery_statistics/interfaces/inner_api/include/
Dbattery_stats_info.h46 CONSUMPTION_TYPE_WAKELOCK, enumerator
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_core_test.cpp80 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK));
221 …BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetActiveTimeMs(uid, StatsUtils::STATS_TYPE_INVALID)…
223 BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetEntityPowerMah());
225 …BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID…
Dstats_service_powermgr_test.cpp456 auto wakelockEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK);
/base/powermgr/battery_statistics/services/native/src/entities/
Dwakelock_entity.cpp31 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK; in WakelockEntity()
Duid_entity.cpp84 auto wakelockEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK); in CalculateForCommon()
183 auto wakelockEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK); in GetPowerForCommon()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_powermgr_test.cpp397 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_WAKELOCK),
398 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK));
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp199 case BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK: in GetEntity()