Searched refs:screenEntity_ (Results 1 – 2 of 2) sorted by relevance
71 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 …]
72 std::shared_ptr<BatteryStatsEntity> screenEntity_; variable