Lines Matching refs:ec
189 EvaluationContext* ec, State* state, string* error,
203 const unsigned int* num_slots_p = ec->GetValue(
211 const bool* device_policy_is_loaded_p = ec->GetValue(
215 const bool* update_disabled_p = ec->GetValue(
223 const string* target_version_prefix_p = ec->GetValue(
229 const bool* release_channel_delegated_p = ec->GetValue(
232 const string* release_channel_p = ec->GetValue(
240 const UpdateRequestStatus* forced_update_requested_p = ec->GetValue(
257 const bool* is_official_build_p = ec->GetValue(
265 const bool* is_oobe_enabled_p = ec->GetValue(
268 const bool* is_oobe_complete_p = ec->GetValue(
278 if (NextUpdateCheckTime(ec, state, error, &next_update_check) !=
282 if (!ec->IsWallclockTimeGreaterThan(next_update_check)) {
294 EvaluationContext* ec,
318 EvalStatus check_status = UpdateCheckAllowed(ec, state, error, &check_result);
329 ec, state, error, &backoff_url_result, update_state);
344 const bool* device_policy_is_loaded_p = ec->GetValue(
359 const bool* is_oobe_enabled_p = ec->GetValue(
364 const bool* is_oobe_complete_p = ec->GetValue(
373 scattering_status = UpdateScattering(ec, state, error, &scatter_result,
389 EvalStatus p2p_enabled_status = P2PEnabled(ec, state, error, &p2p_enabled);
412 ec->IsWallclockTimeGreaterThan(
463 EvaluationContext* ec,
469 const ConnectionType* conn_type_p = ec->GetValue(
476 const ConnectionTethering* conn_tethering_p = ec->GetValue(
514 const bool* device_policy_is_loaded_p = ec->GetValue(
517 const set<ConnectionType>* allowed_conn_types_p = ec->GetValue(
527 const bool* update_over_cellular_allowed_p = ec->GetValue(
538 EvalStatus ChromeOSPolicy::P2PEnabled(EvaluationContext* ec,
548 const bool* device_policy_is_loaded_p = ec->GetValue(
551 const bool* policy_au_p2p_enabled_p = ec->GetValue(
556 const string* policy_owner_p = ec->GetValue(dp_provider->var_owner());
565 const bool* updater_p2p_enabled_p = ec->GetValue(
574 EvalStatus ChromeOSPolicy::P2PEnabledChanged(EvaluationContext* ec,
579 EvalStatus status = P2PEnabled(ec, state, error, result);
585 EvalStatus ChromeOSPolicy::NextUpdateCheckTime(EvaluationContext* ec,
598 ec->GetValue(updater_provider->var_updater_started_time());
602 ec->GetValue(updater_provider->var_last_checked_time());
604 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed());
618 const unsigned int* server_dictated_poll_interval = ec->GetValue(
629 const unsigned int* consecutive_failed_update_checks = ec->GetValue(
672 EvaluationContext* ec, State* state, string* error,
684 const bool* is_official_build_p = ec->GetValue(
704 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) {
714 const bool* device_policy_is_loaded_p = ec->GetValue(
717 const bool* policy_http_downloads_enabled_p = ec->GetValue(
837 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed());
850 if (ec->IsWallclockTimeGreaterThan(backoff_expiry))
862 EvaluationContext* ec,
879 const bool* device_policy_is_loaded_p = ec->GetValue(
885 const TimeDelta* scatter_factor_p = ec->GetValue(
891 const uint64_t* seed = ec->GetValue(state->random_provider()->var_seed());
909 if (ec->IsWallclockTimeGreaterThan(wait_expires))