Home
last modified time | relevance | path

Searched refs:updater_provider (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/update_manager/
Dinteractive_update_policy_impl.cc32 ec, state->updater_provider(), &interactive)) { in UpdateCheckAllowed()
50 ec, state->updater_provider(), &interactive)) { in UpdateCanBeApplied()
62 UpdaterProvider* const updater_provider, in CheckInteractiveUpdateRequested() argument
66 ec->GetValue(updater_provider->var_forced_update_requested()); in CheckInteractiveUpdateRequested()
Dnext_update_check_policy_impl.cc62 UpdaterProvider* const updater_provider = state->updater_provider(); in NextUpdateCheckTime() local
72 ec->GetValue(updater_provider->var_updater_started_time()); in NextUpdateCheckTime()
76 ec->GetValue(updater_provider->var_last_checked_time()); in NextUpdateCheckTime()
96 ec->GetValue(updater_provider->var_server_dictated_poll_interval()); in NextUpdateCheckTime()
107 ec->GetValue(updater_provider->var_consecutive_failed_update_checks()); in NextUpdateCheckTime()
Dpolicy_test_utils.cc63 fake_state_.updater_provider()->var_updater_started_time()->reset( in SetUpDefaultState()
65 fake_state_.updater_provider()->var_last_checked_time()->reset( in SetUpDefaultState()
67 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in SetUpDefaultState()
69 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in SetUpDefaultState()
71 fake_state_.updater_provider()->var_forced_update_requested()->reset( in SetUpDefaultState()
Dnext_update_check_policy_impl_unittest.cc54 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
96 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
121 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in TEST_F()
124 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
143 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
Dandroid_things_policy_unittest.cc74 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
84 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
94 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
136 fake_state_.updater_provider()->var_forced_update_requested()->reset( in TEST_F()
152 fake_state_.updater_provider()->var_forced_update_requested()->reset( in TEST_F()
177 fake_state_.updater_provider()->var_update_restrictions()->reset( in TEST_F()
Dreal_state.h37 UpdaterProvider* updater_provider) in RealState() argument
44 updater_provider_(updater_provider) {} in RealState()
55 UpdaterProvider* updater_provider() override { in updater_provider() function
Dstate_factory.cc76 unique_ptr<RealUpdaterProvider> updater_provider( in DefaultStateFactory() local
85 updater_provider->Init())) { in DefaultStateFactory()
96 updater_provider.release()); in DefaultStateFactory()
Dstate.h43 virtual UpdaterProvider* updater_provider() = 0;
Dapi_restricted_downloads_policy_impl.cc34 ec->GetValue(state->updater_provider()->var_update_restrictions()); in UpdateCanBeApplied()
Dinteractive_update_policy_impl.h58 UpdaterProvider* const updater_provider,
Dfake_state.h63 FakeUpdaterProvider* updater_provider() override { in updater_provider() function
Dchromeos_policy_unittest.cc185 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
196 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
204 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
221 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
229 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
241 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
380 fake_state_.updater_provider()->var_forced_update_requested()->reset( in TEST_F()
395 fake_state_.updater_provider()->var_forced_update_requested()->reset( in TEST_F()
481 fake_state_.updater_provider()->var_updater_started_time()->reset(nullptr); in TEST_F()
1019 fake_state_.updater_provider()->var_p2p_enabled()->reset(new bool(true)); in TEST_F()
[all …]
Dchromeos_policy.cc530 ec->GetValue(state->updater_provider()->var_cellular_enabled()); in UpdateDownloadAllowed()
568 ec->GetValue(state->updater_provider()->var_p2p_enabled()); in P2PEnabled()