Home
last modified time | relevance | path

Searched refs:screenEntity_ (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp71 if (screenEntity_ == nullptr) { in CreatePartEntity()
73 screenEntity_ = std::make_shared<ScreenEntity>(); in CreatePartEntity()
157 screenEntity_->Calculate(); in ComputePower()
182 return screenEntity_; in GetEntity()
487 screenOnTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_ON); in UpdateScreenTimer()
489 brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateScreenTimer()
516 … auto brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateBrightnessTimer()
520 …auto oldBrightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateBrightnessTimer()
522 …auto newBrightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS… in UpdateBrightnessTimer()
566 time = screenEntity_->GetActiveTimeMs(statsType, level); in GetTotalTimeMs()
[all …]
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_core.h72 std::shared_ptr<BatteryStatsEntity> screenEntity_; variable