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.cc80 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
310 if (!system_state_->request_params()->IsUpdateUrlOfficial() || in AreHashChecksMandatory()
Dreal_system_state.h114 inline OmahaRequestParams* request_params() override { in request_params() function
Dcommon_service.cc201 if (!system_state_->request_params()->SetTargetChannel( in SetChannel()
212 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
Dmetrics_reporter_omaha.cc218 if (system_state && system_state->request_params()) { in ReportUpdateCheckMetrics()
220 system_state->request_params()->target_version_prefix(); in ReportUpdateCheckMetrics()
227 if (system_state->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
Dupdate_attempter_unittest.cc1698 fake_system_state_.request_params()->target_version_prefix()); in TEST_F()
1703 fake_system_state_.request_params()->target_version_prefix().empty()); in TEST_F()
1716 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1718 fake_system_state_.request_params()->rollback_allowed_milestones()); in TEST_F()
1729 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1731 fake_system_state_.request_params()->rollback_allowed_milestones()); in TEST_F()
1799 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1806 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
2395 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
2422 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
[all …]
Dpayload_state.cc411 if (system_state_->request_params()->interactive()) { in ShouldBackoffDownload()
456 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()
608 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
Domaha_request_action_unittest.cc138 chromeos_update_engine::OmahaRequestParams request_params{nullptr}; in GetUpdateResponse() local
139 request_params.set_app_id(app_id); in GetUpdateResponse()
206 ? "<app appid=\"" + request_params.GetDlcAppId(kDlcId1) + in GetUpdateResponse()
218 ? "<app appid=\"" + request_params.GetDlcAppId(kDlcId2) + in GetUpdateResponse()
499 EXPECT_EQ(&request_params_, fake_system_state_.request_params()); in TestUpdateCheck()
Dupdate_attempter.cc150 omaha_request_params_ = system_state_->request_params(); in Init()
1555 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
Domaha_response_handler_action_unittest.cc141 fake_system_state_.request_params()->is_install() in DoTest()
Domaha_request_action.cc281 params_(system_state->request_params()), in OmahaRequestAction()