Searched refs:fake_state_ (Results 1 – 7 of 7) sorted by relevance
52 fake_state_.config_provider()->var_is_oobe_enabled()->reset(new bool(true)); in SetUpDefaultState()56 fake_state_.system_provider()->var_is_official_build()->reset( in SetUpDefaultState()58 fake_state_.system_provider()->var_is_oobe_complete()->reset( in SetUpDefaultState()61 fake_state_.system_provider()->var_num_slots()->reset(new unsigned int(2)); in SetUpDefaultState()64 fake_state_.shill_provider()->var_conn_type()->reset( in SetUpDefaultState()66 fake_state_.shill_provider()->var_conn_tethering()->reset( in SetUpDefaultState()73 fake_state_.device_policy_provider()->var_device_policy_is_loaded()->reset( in SetUpDefaultDevicePolicy()75 fake_state_.device_policy_provider()->var_update_disabled()->reset( in SetUpDefaultDevicePolicy()77 fake_state_.device_policy_provider() in SetUpDefaultDevicePolicy()80 fake_state_.device_policy_provider()->var_scatter_factor()->reset( in SetUpDefaultDevicePolicy()[all …]
56 fake_state_.time_provider()->var_curr_hour()->reset(new int(exploded.hour)); in SetUpDefaultTimeProvider()57 fake_state_.time_provider()->var_curr_minute()->reset( in SetUpDefaultTimeProvider()59 fake_state_.time_provider()->var_curr_date()->reset( in SetUpDefaultTimeProvider()64 fake_state_.updater_provider()->var_updater_started_time()->reset( in SetUpDefaultState()66 fake_state_.updater_provider()->var_last_checked_time()->reset( in SetUpDefaultState()68 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in SetUpDefaultState()70 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in SetUpDefaultState()72 fake_state_.updater_provider()->var_forced_update_requested()->reset( in SetUpDefaultState()76 fake_state_.random_provider()->var_seed()->reset(new uint64_t(4)); in SetUpDefaultState()
41 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()
54 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()
62 (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...)) in ExpectStatus()74 return (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...); in CallMethodWithContext()88 eval_ctx_.get(), &fake_state_, &error, result, args...)) in ExpectPolicyStatus()95 FakeState fake_state_; variable
57 fake_state_.device_policy_provider() in TestPolicy()65 fake_state_.device_policy_provider() in TestPolicy()
83 fake_state_ = new FakeState(); in SetUp()87 fake_state_)); in SetUp()94 FakeState* fake_state_; // Owned by the umut_. member in chromeos_update_manager::UmUpdateManagerTest