Home
last modified time | relevance | path

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

/system/update_engine/cros/
Domaha_request_params_unittest.cc156 EXPECT_TRUE(params_.IsValidChannel("canary-channel")); in TEST_F()
157 EXPECT_TRUE(params_.IsValidChannel("stable-channel")); in TEST_F()
158 EXPECT_TRUE(params_.IsValidChannel("beta-channel")); in TEST_F()
159 EXPECT_TRUE(params_.IsValidChannel("dev-channel")); in TEST_F()
160 EXPECT_FALSE(params_.IsValidChannel("testimage-channel")); in TEST_F()
161 EXPECT_FALSE(params_.IsValidChannel("dogfood-channel")); in TEST_F()
162 EXPECT_FALSE(params_.IsValidChannel("some-channel")); in TEST_F()
163 EXPECT_FALSE(params_.IsValidChannel("")); in TEST_F()
165 EXPECT_TRUE(params_.IsValidChannel("some-channel")); in TEST_F()
166 EXPECT_FALSE(params_.IsValidChannel("wrong-suffix")); in TEST_F()
[all …]
Domaha_request_params.cc72 if (!IsValidChannel(image_props_.current_channel)) in Init()
74 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
174 if (!IsValidChannel(new_target_channel, error_message)) { in SetTargetChannel()
206 bool OmahaRequestParams::IsValidChannel(const string& channel, in IsValidChannel() function in chromeos_update_engine::OmahaRequestParams
Domaha_request_params.h311 bool IsValidChannel(const std::string& channel,
313 bool IsValidChannel(const std::string& channel) const { in IsValidChannel() function
314 return IsValidChannel(channel, nullptr); in IsValidChannel()