Lines Matching refs:ec
212 EvalStatus ChromeOSPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() argument
260 ec, in UpdateCheckAllowed()
273 EvalStatus ChromeOSPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied() argument
292 ec, in UpdateCanBeApplied()
308 EvaluationContext* ec, in UpdateCanStart() argument
332 EvalStatus check_status = UpdateCheckAllowed(ec, state, error, &check_result); in UpdateCanStart()
343 ec, state, error, &backoff_url_result, update_state); in UpdateCanStart()
359 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCanStart()
374 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCanStart()
379 ec->GetValue(state->system_provider()->var_is_oobe_complete()); in UpdateCanStart()
388 UpdateScattering(ec, state, error, &scatter_result, update_state); in UpdateCanStart()
403 EvalStatus p2p_enabled_status = P2PEnabled(ec, state, error, &p2p_enabled); in UpdateCanStart()
426 ec->IsWallclockTimeGreaterThan( in UpdateCanStart()
476 EvalStatus ChromeOSPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() argument
483 ec->GetValue(shill_provider->var_conn_type()); in UpdateDownloadAllowed()
490 ec->GetValue(shill_provider->var_conn_tethering()); in UpdateDownloadAllowed()
524 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateDownloadAllowed()
527 ec->GetValue(dp_provider->var_allowed_connection_types_for_update()); in UpdateDownloadAllowed()
537 ec->GetValue(state->updater_provider()->var_cellular_enabled()); in UpdateDownloadAllowed()
547 EvalStatus ChromeOSPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() argument
558 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in P2PEnabled()
561 ec->GetValue(dp_provider->var_au_p2p_enabled()); in P2PEnabled()
566 ec->GetValue(dp_provider->var_has_owner()); in P2PEnabled()
576 ec->GetValue(state->updater_provider()->var_p2p_enabled()); in P2PEnabled()
584 EvalStatus ChromeOSPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged() argument
589 EvalStatus status = P2PEnabled(ec, state, error, result); in P2PEnabledChanged()
596 EvaluationContext* ec, in UpdateBackoffAndDownloadUrl() argument
610 ec->GetValue(state->system_provider()->var_is_official_build()); in UpdateBackoffAndDownloadUrl()
629 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
640 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateBackoffAndDownloadUrl()
643 ec->GetValue(dp_provider->var_http_downloads_enabled()); in UpdateBackoffAndDownloadUrl()
762 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed()); in UpdateBackoffAndDownloadUrl()
777 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
789 EvaluationContext* ec, in UpdateScattering() argument
807 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateScattering()
813 ec->GetValue(dp_provider->var_scatter_factor()); in UpdateScattering()
818 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed()); in UpdateScattering()
836 if (ec->IsWallclockTimeGreaterThan(wait_expires)) in UpdateScattering()