Searched refs:IsValidChannel (Results 1 – 3 of 3) sorted by relevance
160 EXPECT_TRUE(params_.IsValidChannel("canary-channel")); in TEST_F()161 EXPECT_TRUE(params_.IsValidChannel("stable-channel")); in TEST_F()162 EXPECT_TRUE(params_.IsValidChannel("beta-channel")); in TEST_F()163 EXPECT_TRUE(params_.IsValidChannel("dev-channel")); in TEST_F()164 EXPECT_FALSE(params_.IsValidChannel("testimage-channel")); in TEST_F()165 EXPECT_FALSE(params_.IsValidChannel("dogfood-channel")); in TEST_F()166 EXPECT_FALSE(params_.IsValidChannel("some-channel")); in TEST_F()167 EXPECT_FALSE(params_.IsValidChannel("")); in TEST_F()169 EXPECT_TRUE(params_.IsValidChannel("some-channel")); in TEST_F()170 EXPECT_FALSE(params_.IsValidChannel("wrong-suffix")); in TEST_F()[all …]
71 if (!IsValidChannel(image_props_.current_channel)) in Init()73 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()155 if (!IsValidChannel(new_target_channel, error_message)) { in SetTargetChannel()187 bool OmahaRequestParams::IsValidChannel(const string& channel, in IsValidChannel() function in chromeos_update_engine::OmahaRequestParams
256 bool IsValidChannel(const std::string& channel,258 bool IsValidChannel(const std::string& channel) const { in IsValidChannel() function259 return IsValidChannel(channel, nullptr); in IsValidChannel()