Home
last modified time | relevance | path

Searched refs:target_channel (Results 1 – 18 of 18) sorted by relevance

/system/update_engine/cros/
Domaha_request_params.cc74 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
75 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
90 if (image_props_.current_channel == mutable_image_props_.target_channel) { in Init()
99 << mutable_image_props_.target_channel in Init()
136 if (params.target_channel.empty()) { in Init()
140 << params.target_channel; in Init()
142 if (!SetTargetChannel(params.target_channel, in Init()
172 << mutable_image_props_.target_channel in SetTargetChannel()
179 new_props.target_channel = new_target_channel; in SetTargetChannel()
192 if (download_channel_ != mutable_image_props_.target_channel) { in UpdateDownloadChannel()
[all …]
Domaha_request_params_unittest.cc76 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
117 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
131 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
151 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
172 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
176 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
180 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
184 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
189 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
200 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
[all …]
Dimage_properties.h68 std::string target_channel; member
Dimage_properties_chromeos.cc132 result.target_channel = GetStringWithDefault( in LoadMutableImageProperties()
143 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
Dimage_properties_chromeos_unittest.cc110 EXPECT_EQ("beta-channel", mutable_props.target_channel); in TEST_F()
131 EXPECT_EQ("stable-channel", mutable_props.target_channel); in TEST_F()
Dupdate_engine_client.cc435 string target_channel; in ProcessFlags() local
442 if (!client_->GetTargetChannel(&target_channel)) { in ProcessFlags()
449 if (!target_channel.empty()) in ProcessFlags()
450 LOG(INFO) << "Target Channel (pending update): " << target_channel; in ProcessFlags()
Domaha_request_params.h116 inline std::string target_channel() const { in target_channel() function
117 return mutable_image_props_.target_channel; in target_channel()
281 mutable_image_props_.target_channel = channel; in set_target_channel()
Dcommon_service.cc215 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
Dupdate_attempter.cc1511 if (params->download_channel() != params->target_channel()) { in ShouldCancel()
1513 << params->target_channel() in ShouldCancel()
Dupdate_attempter_unittest.cc1666 .target_channel = "stable-channel", in TEST_F()
1678 .target_channel = "stable-channel", 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,
/system/update_engine/update_manager/
Ddefault_policy.cc41 result->target_channel.clear(); in UpdateCheckAllowed()
Denterprise_device_policy_impl.cc152 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
Dpolicy.h66 std::string target_channel; member
Dreal_updater_provider.cc284 string channel = request_params->target_channel(); in GetValue()
Dchromeos_policy.cc219 result->target_channel.clear(); in UpdateCheckAllowed()
Dchromeos_policy_unittest.cc276 EXPECT_EQ("foo-channel", result.target_channel); in TEST_F()