Searched refs:request_params (Results 1 – 14 of 14) sorted by relevance
329 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local330 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() local339 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() local348 request_params.Init("", "", false); in TEST_F()[all …]
268 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local269 string channel = request_params->current_channel(); in GetValue()289 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local290 string channel = request_params->target_channel(); in GetValue()
89 inline OmahaRequestParams* request_params() override { in request_params() function153 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params() argument154 request_params_ = (request_params ? request_params : &mock_request_params_); in set_request_params()
98 virtual OmahaRequestParams* request_params() = 0;
80 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()310 if (!system_state_->request_params()->IsUpdateUrlOfficial() || in AreHashChecksMandatory()
114 inline OmahaRequestParams* request_params() override { in request_params() function
201 if (!system_state_->request_params()->SetTargetChannel( in SetChannel()212 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
218 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()
1698 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 …]
411 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()
138 chromeos_update_engine::OmahaRequestParams request_params{nullptr}; in GetUpdateResponse() local139 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()
150 omaha_request_params_ = system_state_->request_params(); in Init()1555 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
141 fake_system_state_.request_params()->is_install() in DoTest()
281 params_(system_state->request_params()), in OmahaRequestAction()