Lines Matching refs:ec
201 EvalStatus ChromeOSPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() argument
249 ec, in UpdateCheckAllowed()
262 EvalStatus ChromeOSPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied() argument
281 ec, in UpdateCanBeApplied()
297 EvaluationContext* ec, in UpdateCanStart() argument
321 EvalStatus check_status = UpdateCheckAllowed(ec, state, error, &check_result); in UpdateCanStart()
332 ec, state, error, &backoff_url_result, update_state); in UpdateCanStart()
348 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCanStart()
363 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCanStart()
368 ec->GetValue(state->system_provider()->var_is_oobe_complete()); in UpdateCanStart()
377 UpdateScattering(ec, state, error, &scatter_result, update_state); in UpdateCanStart()
392 EvalStatus p2p_enabled_status = P2PEnabled(ec, state, error, &p2p_enabled); in UpdateCanStart()
415 ec->IsWallclockTimeGreaterThan( in UpdateCanStart()
465 EvalStatus ChromeOSPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() argument
472 ec->GetValue(shill_provider->var_conn_type()); in UpdateDownloadAllowed()
479 ec->GetValue(shill_provider->var_conn_tethering()); in UpdateDownloadAllowed()
517 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateDownloadAllowed()
520 ec->GetValue(dp_provider->var_allowed_connection_types_for_update()); in UpdateDownloadAllowed()
530 ec->GetValue(state->updater_provider()->var_cellular_enabled()); in UpdateDownloadAllowed()
540 EvalStatus ChromeOSPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() argument
551 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in P2PEnabled()
554 ec->GetValue(dp_provider->var_au_p2p_enabled()); in P2PEnabled()
558 const string* policy_owner_p = ec->GetValue(dp_provider->var_owner()); in P2PEnabled()
568 ec->GetValue(state->updater_provider()->var_p2p_enabled()); in P2PEnabled()
576 EvalStatus ChromeOSPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged() argument
581 EvalStatus status = P2PEnabled(ec, state, error, result); in P2PEnabledChanged()
588 EvaluationContext* ec, in UpdateBackoffAndDownloadUrl() argument
603 ec->GetValue(state->system_provider()->var_is_official_build()); in UpdateBackoffAndDownloadUrl()
622 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
633 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateBackoffAndDownloadUrl()
636 ec->GetValue(dp_provider->var_http_downloads_enabled()); in UpdateBackoffAndDownloadUrl()
755 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed()); in UpdateBackoffAndDownloadUrl()
770 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
782 EvaluationContext* ec, in UpdateScattering() argument
800 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateScattering()
806 ec->GetValue(dp_provider->var_scatter_factor()); in UpdateScattering()
811 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed()); in UpdateScattering()
829 if (ec->IsWallclockTimeGreaterThan(wait_expires)) in UpdateScattering()