Home
last modified time | relevance | path

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

/system/update_engine/cros/
Dmock_omaha_request_params.h37 ON_CALL(*this, SetTargetChannel(testing::_, testing::_, testing::_)) in MockOmahaRequestParams()
49 MOCK_METHOD3(SetTargetChannel,
66 return OmahaRequestParams::SetTargetChannel( in FakeSetTargetChannel()
Domaha_request_params_unittest.cc112 EXPECT_TRUE(params.SetTargetChannel("canary-channel", false, nullptr)); in TEST_F()
126 EXPECT_TRUE(params.SetTargetChannel("canary-channel", true, nullptr)); in TEST_F()
144 params.SetTargetChannel("dogfood-channel", true, &error_message)); in TEST_F()
175 EXPECT_FALSE(params_.SetTargetChannel("invalid-channel", false, nullptr)); in TEST_F()
179 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
183 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
188 EXPECT_TRUE(params_.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
197 EXPECT_TRUE(params_.SetTargetChannel("beta-channel", true, nullptr)); in TEST_F()
Dcommon_service_unittest.cc119 SetTargetChannel("stable-channel", true, _)) in TEST_F()
132 SetTargetChannel("beta-channel", true, _)) in TEST_F()
144 SetTargetChannel("foo-channel", true, _)) in TEST_F()
Domaha_request_params.cc142 if (!SetTargetChannel(params.target_channel, in Init()
164 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel() function in chromeos_update_engine::OmahaRequestParams
Domaha_response_handler_action_unittest.cc503 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
531 EXPECT_TRUE(params.SetTargetChannel("stable-channel", false, nullptr)); in TEST_F()
559 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
587 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
618 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
652 EXPECT_TRUE(params.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
685 EXPECT_TRUE(params.SetTargetChannel("stable-channel", false, nullptr)); in TEST_F()
713 EXPECT_TRUE(params.SetTargetChannel("canary-channel", false, nullptr)); in TEST_F()
Domaha_request_params.h254 virtual bool SetTargetChannel(const std::string& channel,
Dcommon_service.cc202 if (!SystemState::Get()->request_params()->SetTargetChannel( in SetChannel()
Dupdate_engine_client.cc424 if (!client_->SetTargetChannel(FLAGS_channel, FLAGS_powerwash)) { in ProcessFlags()
Domaha_request_action_unittest.cc2272 request_params_.SetTargetChannel("stable-channel", true, nullptr)); in TEST_F()
2302 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