Home
last modified time | relevance | path

Searched refs:params_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Domaha_request_params_unittest.cc41 OmahaRequestParamsTest() : params_(&fake_system_state_) {} in OmahaRequestParamsTest()
49 params_ = OmahaRequestParams(&fake_system_state_); in SetUp()
50 params_.set_root(tempdir_.path().value()); in SetUp()
60 OmahaRequestParams params_; member in chromeos_update_engine::OmahaRequestParamsTest
81 EXPECT_TRUE(params_.Init("", "", false)); in TEST_F()
83 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
87 EXPECT_TRUE(params_.Init("ForcedVersion", "", false)); in TEST_F()
88 EXPECT_EQ(string("ForcedVersion_") + GetMachineType(), params_.os_sp()); in TEST_F()
89 EXPECT_EQ("ForcedVersion", params_.app_version()); in TEST_F()
93 EXPECT_TRUE(params_.Init("", "http://forced.google.com", false)); in TEST_F()
[all …]
Domaha_request_action.cc531 params_ = system_state->request_params(); in OmahaRequestAction()
656 params_, in PerformAction()
666 params_->interactive() ? "fg" : "bg"); in PerformAction()
667 http_fetcher_->SetHeader(kXGoogleUpdateAppId, params_->GetAppId()); in PerformAction()
675 LOG(INFO) << "Posting an Omaha request to " << params_->update_url(); in PerformAction()
677 http_fetcher_->BeginTransfer(params_->update_url()); in PerformAction()
1065 params_->app_version() != "ForcedUpdate") { in CompleteProcessing()
1150 if (params_->interactive()) { in ShouldDeferDownload()
1170 if (!params_->wall_clock_based_wait_enabled()) { in ShouldDeferDownload()
1257 << utils::FormatSecs(params_->waiting_period().InSeconds()) in IsWallClockBasedWaitingSatisfied()
[all …]
Domaha_request_action.h312 OmahaRequestParams* params_; variable