Home
last modified time | relevance | path

Searched refs:request_params (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc329 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local
330 request_params.Init("", "", false); in TEST_F()
331 request_params.set_current_channel(kChannelName); in TEST_F()
332 fake_sys_state_.set_request_params(&request_params); in TEST_F()
338 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local
339 request_params.Init("", "", false); in TEST_F()
340 request_params.set_current_channel(""); in TEST_F()
341 fake_sys_state_.set_request_params(&request_params); in TEST_F()
347 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local
348 request_params.Init("", "", false); in TEST_F()
[all …]
Dreal_updater_provider.cc268 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local
269 string channel = request_params->current_channel(); in GetValue()
289 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local
290 string channel = request_params->target_channel(); in GetValue()
/system/update_engine/
Dfake_system_state.h89 inline OmahaRequestParams* request_params() override { in request_params() function
153 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params() argument
154 request_params_ = (request_params ? request_params : &mock_request_params_); in set_request_params()
Dsystem_state.h98 virtual OmahaRequestParams* request_params() = 0;
Domaha_response_handler_action.cc75 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
228 if (!system_state_->request_params()->IsUpdateUrlOfficial() || in AreHashChecksMandatory()
Dreal_system_state.h114 inline OmahaRequestParams* request_params() override { in request_params() function
Dmetrics_reporter_omaha.cc222 if (system_state && system_state->request_params()) { in ReportUpdateCheckMetrics()
224 system_state->request_params()->target_version_prefix(); in ReportUpdateCheckMetrics()
231 if (system_state->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
Dcommon_service.cc195 if (!system_state_->request_params()->SetTargetChannel( in SetChannel()
206 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
Dupdate_attempter_unittest.cc1243 fake_system_state_.request_params()->target_version_prefix()); in TEST_F()
1247 fake_system_state_.request_params()->target_version_prefix().empty()); in TEST_F()
1258 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1267 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1338 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1345 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
Dpayload_state.cc401 if (system_state_->request_params()->interactive()) { in ShouldBackoffDownload()
446 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()
581 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
Dupdate_attempter.cc141 omaha_request_params_ = system_state_->request_params(); in Init()
1351 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
Domaha_response_handler_action_unittest.cc140 fake_system_state_.request_params()->is_install() in DoTest()
Domaha_request_action.cc697 params_(system_state->request_params()), in OmahaRequestAction()
Domaha_request_action_unittest.cc426 EXPECT_EQ(&request_params_, fake_system_state_.request_params()); in TestUpdateCheck()