Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params_unittest.cc161 EXPECT_TRUE(params_.IsValidChannel("canary-channel")); in TEST_F()
162 EXPECT_TRUE(params_.IsValidChannel("stable-channel")); in TEST_F()
163 EXPECT_TRUE(params_.IsValidChannel("beta-channel")); in TEST_F()
164 EXPECT_TRUE(params_.IsValidChannel("dev-channel")); in TEST_F()
165 EXPECT_FALSE(params_.IsValidChannel("testimage-channel")); in TEST_F()
166 EXPECT_FALSE(params_.IsValidChannel("dogfood-channel")); in TEST_F()
167 EXPECT_FALSE(params_.IsValidChannel("some-channel")); in TEST_F()
168 EXPECT_FALSE(params_.IsValidChannel("")); in TEST_F()
Domaha_request_params.cc71 if (!IsValidChannel(image_props_.current_channel)) in Init()
73 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
150 if (!IsValidChannel(new_target_channel)) { in SetTargetChannel()
191 bool OmahaRequestParams::IsValidChannel(const string& channel) const { in IsValidChannel() function in chromeos_update_engine::OmahaRequestParams
Domaha_request_params.h251 bool IsValidChannel(const std::string& channel) const;