Home
last modified time | relevance | path

Searched refs:SetTargetChannel (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/
Domaha_request_params_unittest.cc116 EXPECT_TRUE(params.SetTargetChannel("canary-channel", false, nullptr)); in TEST_F()
130 EXPECT_TRUE(params.SetTargetChannel("canary-channel", true, nullptr)); in TEST_F()
148 params.SetTargetChannel("dogfood-channel", true, &error_message)); in TEST_F()
179 EXPECT_FALSE(params_.SetTargetChannel("invalid-channel", false, nullptr)); in TEST_F()
183 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
187 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
192 EXPECT_TRUE(params_.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
201 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
Dmock_omaha_request_params.h38 ON_CALL(*this, SetTargetChannel(testing::_, testing::_, testing::_)) in MockOmahaRequestParams()
50 MOCK_METHOD3(SetTargetChannel,
67 return OmahaRequestParams::SetTargetChannel( in FakeSetTargetChannel()
Dcommon_service_unittest.cc123 SetTargetChannel("stable-channel", true, _)) in TEST_F()
136 SetTargetChannel("beta-channel", true, _)) in TEST_F()
148 SetTargetChannel("foo-channel", true, _)) in TEST_F()
Domaha_response_handler_action_unittest.cc456 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
490 EXPECT_TRUE(params.SetTargetChannel("stable-channel", false, nullptr)); in TEST_F()
524 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
557 EXPECT_TRUE(params.SetTargetChannel("canary-channel", false, nullptr)); in TEST_F()
Domaha_request_params.cc145 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel() function in chromeos_update_engine::OmahaRequestParams
Domaha_request_params.h257 virtual bool SetTargetChannel(const std::string& channel,
Dcommon_service.cc201 if (!system_state_->request_params()->SetTargetChannel( in SetChannel()
Dupdate_engine_client.cc424 if (!client_->SetTargetChannel(FLAGS_channel, FLAGS_powerwash)) { in ProcessFlags()
Dupdate_attempter.cc424 if (!omaha_request_params_->SetTargetChannel( in CalculateUpdateParams()
Domaha_request_action_unittest.cc2157 request_params_.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
2187 request_params_.SetTargetChannel("canary-channel", false, nullptr)); in TEST_F()
/system/update_engine/client_library/include/update_engine/
Dclient.h99 virtual bool SetTargetChannel(const std::string& target_channel,
/system/update_engine/client_library/
Dclient_dbus.h71 bool SetTargetChannel(const std::string& target_channel,
Dclient_dbus.cc232 bool DBusUpdateEngineClient::SetTargetChannel(const string& in_target_channel, in SetTargetChannel() function in update_engine::internal::DBusUpdateEngineClient