Home
last modified time | relevance | path

Searched refs:healthd_config_ (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp48 InitHealthdConfig(&healthd_config_); in HealthLoop()
50 wakealarm_wake_interval_ = healthd_config_.periodic_chores_interval_fast; in HealthLoop()
103 int new_wake_interval = charger_online ? healthd_config_.periodic_chores_interval_fast in AdjustWakealarmPeriods()
104 : healthd_config_.periodic_chores_interval_slow; in AdjustWakealarmPeriods()
113 if (healthd_config_.periodic_chores_interval_fast == -1) in AdjustWakealarmPeriods()
116 awake_poll_interval_ = new_wake_interval == healthd_config_.periodic_chores_interval_fast in AdjustWakealarmPeriods()
118 : healthd_config_.periodic_chores_interval_fast * 1000; in AdjustWakealarmPeriods()
191 WakeAlarmSetInterval(healthd_config_.periodic_chores_interval_fast); in WakeAlarmInit()
239 Init(&healthd_config_); in InitInternal()
/hardware/interfaces/health/utils/libhealth2impl/
DHealth.cpp65 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()
/hardware/interfaces/health/aidl/default/
DHealth.cpp63 healthd_config_(std::move(config)), in Health()
66 battery_monitor_.init(healthd_config_.get()); in Health()
248 if (!healthd_config_->screen_on) { in ShouldKeepScreenOn()
260 return healthd_config_->screen_on(&props); in ShouldKeepScreenOn()
391 *config = *healthd_config_.get(); in OnInit()
/hardware/interfaces/health/utils/libhealthloop/include/health/
DHealthLoop.h99 struct healthd_config healthd_config_; variable
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHealth.h80 std::unique_ptr<healthd_config> healthd_config_; variable
/hardware/interfaces/health/aidl/default/include/health-impl/
DHealth.h111 std::unique_ptr<struct healthd_config> healthd_config_; variable