Searched refs:brightnessTimer (Results 1 – 2 of 2) sorted by relevance
142 …std::shared_ptr<StatsHelper::ActiveTimer> brightnessTimer = std::make_shared<StatsHelper::ActiveTi… in GetOrCreateTimer() local144 … std::pair<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>>(level, brightnessTimer)); in GetOrCreateTimer()145 timer = brightnessTimer; in GetOrCreateTimer()
486 std::shared_ptr<StatsHelper::ActiveTimer> brightnessTimer = nullptr; in UpdateScreenTimer() local489 brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateScreenTimer()494 if (brightnessTimer != nullptr) { in UpdateScreenTimer()495 brightnessTimer->StartRunning(); in UpdateScreenTimer()500 if (brightnessTimer != nullptr) { in UpdateScreenTimer()501 brightnessTimer->StopRunning(); in UpdateScreenTimer()516 … auto brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateBrightnessTimer() local518 brightnessTimer->StartRunning(); in UpdateBrightnessTimer()