Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc324 OmahaRequestParams request_params; in TEST_F() local
325 request_params.Init("", "", {}); in TEST_F()
326 request_params.set_current_channel(kChannelName); in TEST_F()
327 FakeSystemState::Get()->set_request_params(&request_params); in TEST_F()
333 OmahaRequestParams request_params; in TEST_F() local
334 request_params.Init("", "", {}); in TEST_F()
335 request_params.set_current_channel(""); in TEST_F()
336 FakeSystemState::Get()->set_request_params(&request_params); in TEST_F()
342 OmahaRequestParams request_params; in TEST_F() local
343 request_params.Init("", "", {}); in TEST_F()
[all …]
Dreal_updater_provider.cc262 OmahaRequestParams* request_params = SystemState::Get()->request_params(); in GetValue() local
263 string channel = request_params->current_channel(); in GetValue()
283 OmahaRequestParams* request_params = SystemState::Get()->request_params(); in GetValue() local
284 string channel = request_params->target_channel(); in GetValue()
Dreal_system_provider.cc126 base::Version(SystemState::Get()->request_params()->app_version()))); in Init()
Dreal_system_provider_unittest.cc83 FakeSystemState::Get()->request_params()->set_app_version("1.2.3"); in TEST_F()
/system/update_engine/cros/
Dfake_system_state.h100 inline OmahaRequestParams* request_params() override { in request_params() function
164 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params() argument
165 request_params_ = (request_params ? request_params : &mock_request_params_); in set_request_params()
Domaha_request_builder_xml.cc147 const auto* params = SystemState::Get()->request_params(); in GetAppBody()
269 const auto* params = SystemState::Get()->request_params(); in GetApp()
403 const auto* params = SystemState::Get()->request_params(); in GetOs()
416 const auto* params = SystemState::Get()->request_params(); in GetRequest()
437 const auto* params = SystemState::Get()->request_params(); in GetApps()
Domaha_request_action.cc471 const auto* params = SystemState::Get()->request_params(); in StorePingReply()
527 const auto* params = SystemState::Get()->request_params(); in PerformAction()
769 const auto* params = SystemState::Get()->request_params(); in ParseResponse()
849 auto* params = SystemState::Get()->request_params(); in ParseStatus()
894 const auto* params = SystemState::Get()->request_params(); in ParseParams()
998 SystemState::Get()->request_params()->rollback_allowed_milestones()); in TransferComplete()
1058 SystemState::Get()->request_params(), in TransferComplete()
1207 const auto* params = SystemState::Get()->request_params(); in ShouldDeferDownload()
1285 const auto* params = SystemState::Get()->request_params(); in IsWallClockBasedWaitingSatisfied()
1340 const auto* params = SystemState::Get()->request_params(); in IsUpdateCheckCountBasedWaitingSatisfied()
[all …]
Dupdate_attempter_unittest.cc1623 FakeSystemState::Get()->request_params()->target_version_prefix()); in TEST_F()
1627 ->request_params() in TEST_F()
1634 EXPECT_EQ("hint", FakeSystemState::Get()->request_params()->lts_tag()); in TEST_F()
1637 EXPECT_TRUE(FakeSystemState::Get()->request_params()->lts_tag().empty()); in TEST_F()
1646 EXPECT_TRUE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
1649 FakeSystemState::Get()->request_params()->rollback_allowed_milestones()); in TEST_F()
1655 EXPECT_FALSE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
1658 FakeSystemState::Get()->request_params()->rollback_allowed_milestones()); in TEST_F()
1664 FakeSystemState::Get()->request_params()->set_root(tempdir.GetPath().value()); in TEST_F()
1669 FakeSystemState::Get()->request_params()->is_powerwash_allowed()); in TEST_F()
[all …]
Domaha_response_handler_action.cc78 OmahaRequestParams* const params = SystemState::Get()->request_params(); in PerformAction()
320 if (!SystemState::Get()->request_params()->IsUpdateUrlOfficial() || in AreHashChecksMandatory()
Dreal_system_state.h97 OmahaRequestParams* request_params() override { return &request_params_; } in request_params() function
Dmetrics_reporter_omaha.cc206 if (SystemState::Get()->request_params()) { in ReportUpdateCheckMetrics()
208 SystemState::Get()->request_params()->target_version_prefix(); in ReportUpdateCheckMetrics()
213 if (SystemState::Get()->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
Dcommon_service.cc202 if (!SystemState::Get()->request_params()->SetTargetChannel( in SetChannel()
213 OmahaRequestParams* rp = SystemState::Get()->request_params(); in GetChannel()
Dpayload_state.cc411 if (SystemState::Get()->request_params()->interactive()) { in ShouldBackoffDownload()
456 SetRollbackVersion(SystemState::Get()->request_params()->app_version()); in Rollback()
614 OmahaRequestParams* params = SystemState::Get()->request_params(); in CalculatePayloadType()
Dupdate_attempter.cc152 omaha_request_params_ = SystemState::Get()->request_params(); in Init()
1510 OmahaRequestParams* params = SystemState::Get()->request_params(); in ShouldCancel()
Domaha_request_action_unittest.cc138 chromeos_update_engine::OmahaRequestParams request_params; in GetUpdateResponse() local
139 request_params.set_app_id(app_id); in GetUpdateResponse()
207 ? "<app appid=\"" + request_params.GetDlcAppId(kDlcId1) + in GetUpdateResponse()
227 ? "<app appid=\"" + request_params.GetDlcAppId(kDlcId2) + in GetUpdateResponse()
519 EXPECT_EQ(&request_params_, FakeSystemState::Get()->request_params()); in TestUpdateCheck()
Domaha_response_handler_action_unittest.cc147 FakeSystemState::Get()->request_params()->is_install() in DoTest()
/system/update_engine/common/
Dsystem_state.h104 virtual OmahaRequestParams* request_params() = 0;