Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params_unittest.cc80 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
121 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
135 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
155 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
176 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
180 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
184 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
188 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
193 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
204 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
[all …]
Domaha_request_params.cc72 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
73 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
99 if (image_props_.current_channel == mutable_image_props_.target_channel) { in Init()
108 << mutable_image_props_.target_channel in Init()
153 << mutable_image_props_.target_channel in SetTargetChannel()
160 new_props.target_channel = new_target_channel; in SetTargetChannel()
173 if (download_channel_ != mutable_image_props_.target_channel) { in UpdateDownloadChannel()
174 download_channel_ = mutable_image_props_.target_channel; in UpdateDownloadChannel()
Dimage_properties_android_unittest.cc116 props.target_channel = "new-channel"; in TEST_F()
120 EXPECT_EQ(props.target_channel, loaded_props.target_channel); in TEST_F()
Dimage_properties_chromeos.cc132 result.target_channel = GetStringWithDefault( in LoadMutableImageProperties()
144 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
Dimage_properties.h74 std::string target_channel; member
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()
Dimage_properties_chromeos_unittest.cc112 EXPECT_EQ("beta-channel", mutable_props.target_channel); in TEST_F()
134 EXPECT_EQ("stable-channel", mutable_props.target_channel); in TEST_F()
Dmock_update_attempter.h36 const std::string& target_channel,
Domaha_request_params.h127 inline std::string target_channel() const { in target_channel() function
128 return mutable_image_props_.target_channel; in target_channel()
284 mutable_image_props_.target_channel = channel; in set_target_channel()
Dimage_properties_android.cc223 result.target_channel = GetTargetChannel(); in LoadMutableImageProperties()
234 if (!WriteChannelToMisc(properties.target_channel)) in StoreMutableImageProperties()
Dupdate_attempter.cc249 const string& target_channel, in Update() argument
286 target_channel, in Update()
361 const string& target_channel, in CalculateUpdateParams() argument
417 if (target_channel.empty()) { in CalculateUpdateParams()
420 LOG(INFO) << "Setting target channel as mandated: " << target_channel; in CalculateUpdateParams()
425 target_channel, false, &error_message)) { in CalculateUpdateParams()
1105 params.target_channel, in OnUpdateScheduled()
1556 if (params->download_channel() != params->target_channel()) { in ShouldCancel()
1558 << params->target_channel() in ShouldCancel()
Dupdate_attempter.h87 const std::string& target_channel,
371 const std::string& target_channel,
Dcommon_service.cc214 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
Dupdate_attempter_unittest.cc176 const std::string& target_channel, in Update() argument
187 target_channel, in Update()
/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/
Denterprise_device_policy_impl.cc127 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
Ddefault_policy.cc42 result->target_channel.clear(); in UpdateCheckAllowed()
Dandroid_things_policy.cc60 result->target_channel.clear(); in UpdateCheckAllowed()
Dpolicy.h62 std::string target_channel; member
Dreal_updater_provider.cc290 string channel = request_params->target_channel(); in GetValue()
Dchromeos_policy.cc218 result->target_channel.clear(); in UpdateCheckAllowed()
Dchromeos_policy_unittest.cc272 EXPECT_EQ("foo-channel", result.target_channel); in TEST_F()