Home
last modified time | relevance | path

Searched refs:BatteryStatsCore (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp57 void BatteryStatsCore::CreatePartEntity() in CreatePartEntity()
81 void BatteryStatsCore::CreateAppEntity() in CreateAppEntity()
125 bool BatteryStatsCore::Init() in Init()
144 void BatteryStatsCore::ComputePower() in ComputePower()
164 BatteryStatsInfoList BatteryStatsCore::GetBatteryStats() in GetBatteryStats()
169 std::shared_ptr<BatteryStatsEntity> BatteryStatsCore::GetEntity(const BatteryStatsInfo::Consumption… in GetEntity()
209 void BatteryStatsCore::UpdateStats(StatsUtils::StatsType statsType, int64_t time, int64_t data, int… in UpdateStats()
231 void BatteryStatsCore::UpdateConnectivityStats(StatsUtils::StatsType statsType, StatsUtils::StatsSt… in UpdateConnectivityStats()
251 void BatteryStatsCore::UpdateCommonStats(StatsUtils::StatsType statsType, StatsUtils::StatsState st… in UpdateCommonStats()
277 void BatteryStatsCore::UpdateStats(StatsUtils::StatsType statsType, StatsUtils::StatsState state, i… in UpdateStats()
[all …]
Dbattery_stats_service.cpp122 core_ = std::make_shared<BatteryStatsCore>(); in Init()
296 std::shared_ptr<BatteryStatsCore> BatteryStatsService::GetBatteryStatsCore() const in GetBatteryStatsCore()
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_service.h56 std::shared_ptr<BatteryStatsCore> GetBatteryStatsCore() const;
66 std::shared_ptr<BatteryStatsCore> core_;
Dbattery_stats_core.h32 class BatteryStatsCore {
34 explicit BatteryStatsCore() in BatteryStatsCore() function
38 ~BatteryStatsCore() = default;
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_core_test.cpp120 std::shared_ptr<BatteryStatsCore> statsCore = std::make_shared<BatteryStatsCore>();