Searched refs:healthd_config_ (Results 1 – 3 of 3) sorted by relevance
50 InitHealthdConfig(&healthd_config_); in HealthLoop()52 wakealarm_wake_interval_ = healthd_config_.periodic_chores_interval_fast; in HealthLoop()105 int new_wake_interval = charger_online ? healthd_config_.periodic_chores_interval_fast in AdjustWakealarmPeriods()106 : healthd_config_.periodic_chores_interval_slow; in AdjustWakealarmPeriods()115 if (healthd_config_.periodic_chores_interval_fast == -1) in AdjustWakealarmPeriods()118 awake_poll_interval_ = new_wake_interval == healthd_config_.periodic_chores_interval_fast in AdjustWakealarmPeriods()120 : healthd_config_.periodic_chores_interval_fast * 1000; in AdjustWakealarmPeriods()193 WakeAlarmSetInterval(healthd_config_.periodic_chores_interval_fast); in WakeAlarmInit()241 Init(&healthd_config_); in InitInternal()
65 Health::Health(std::unique_ptr<healthd_config>&& config) : healthd_config_(std::move(config)) { in Health()66 battery_monitor_.init(healthd_config_.get()); in Health()90 BatteryMonitor::logValues(health_info, *healthd_config_); in update()218 convertToHealthConfig(healthd_config_.get(), config.battery); in getHealthConfig()219 config.bootMinCap = static_cast<int32_t>(healthd_config_->boot_min_cap); in getHealthConfig()226 if (!healthd_config_->screen_on) { in shouldKeepScreenOn()239 screen_on = healthd_config_->screen_on(&props); in shouldKeepScreenOn()
80 std::unique_ptr<healthd_config> healthd_config_; variable