Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dchromeos_policy_unittest.cc50 fake_state_.config_provider()->var_is_oobe_enabled()->reset( in SetUpDefaultState()
55 fake_state_.system_provider()->var_is_official_build()->reset( in SetUpDefaultState()
57 fake_state_.system_provider()->var_is_oobe_complete()->reset( in SetUpDefaultState()
60 fake_state_.system_provider()->var_num_slots()->reset(new unsigned int(2)); in SetUpDefaultState()
63 fake_state_.shill_provider()->var_conn_type()-> in SetUpDefaultState()
65 fake_state_.shill_provider()->var_conn_tethering()-> in SetUpDefaultState()
72 fake_state_.device_policy_provider()->var_device_policy_is_loaded()->reset( in SetUpDefaultDevicePolicy()
74 fake_state_.device_policy_provider()->var_update_disabled()->reset( in SetUpDefaultDevicePolicy()
76 fake_state_.device_policy_provider()-> in SetUpDefaultDevicePolicy()
78 fake_state_.device_policy_provider()->var_scatter_factor()->reset( in SetUpDefaultDevicePolicy()
[all …]
Dandroid_things_policy_unittest.cc41 fake_state_.system_provider()->var_is_official_build()->reset( in SetUpDefaultState()
44 fake_state_.system_provider()->var_num_slots()->reset(new unsigned int(2)); in SetUpDefaultState()
74 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()
108 fake_state_.system_provider()->var_is_official_build()->reset( in TEST_F()
122 fake_state_.system_provider()->var_num_slots()->reset(new unsigned int(1)); 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()
Dpolicy_test_utils.cc52 fake_state_.updater_provider()->var_updater_started_time()->reset( in SetUpDefaultState()
54 fake_state_.updater_provider()->var_last_checked_time()->reset( in SetUpDefaultState()
56 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in SetUpDefaultState()
58 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in SetUpDefaultState()
60 fake_state_.updater_provider()->var_forced_update_requested()->reset( in SetUpDefaultState()
64 fake_state_.random_provider()->var_seed()->reset(new uint64_t(4)); 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()
Dpolicy_test_utils.h59 (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...)) in ExpectStatus()
71 return (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...); in CallMethodWithContext()
85 eval_ctx_.get(), &fake_state_, &error, result, args...)) in ExpectPolicyStatus()
92 FakeState fake_state_; variable
Dupdate_manager_unittest.cc83 fake_state_ = new FakeState(); in SetUp()
85 TimeDelta::FromSeconds(1), fake_state_)); in SetUp()
94 FakeState* fake_state_; // Owned by the umut_. member in chromeos_update_manager::UmUpdateManagerTest