Home
last modified time | relevance | path

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

/system/update_engine/
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_unittest.cc417 EXPECT_TRUE(params_.IsValidChannel("canary-channel")); in TEST_F()
418 EXPECT_TRUE(params_.IsValidChannel("stable-channel")); in TEST_F()
419 EXPECT_TRUE(params_.IsValidChannel("beta-channel")); in TEST_F()
420 EXPECT_TRUE(params_.IsValidChannel("dev-channel")); in TEST_F()
421 EXPECT_FALSE(params_.IsValidChannel("testimage-channel")); in TEST_F()
422 EXPECT_FALSE(params_.IsValidChannel("dogfood-channel")); in TEST_F()
423 EXPECT_FALSE(params_.IsValidChannel("some-channel")); in TEST_F()
424 EXPECT_FALSE(params_.IsValidChannel("")); in TEST_F()
Domaha_request_params.h245 bool IsValidChannel(const std::string& channel) const;