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.cc83 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
123 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
137 EXPECT_EQ("canary-channel", params_.target_channel()); in TEST_F()
156 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
173 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
177 EXPECT_EQ("dev-channel", params_.target_channel()); in TEST_F()
181 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
185 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
190 EXPECT_EQ("stable-channel", params_.target_channel()); in TEST_F()
201 EXPECT_EQ("beta-channel", params_.target_channel()); in TEST_F()
[all …]
Domaha_request_params.cc73 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
74 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
95 if (image_props_.current_channel == mutable_image_props_.target_channel) { in Init()
104 << mutable_image_props_.target_channel in Init()
151 << mutable_image_props_.target_channel in SetTargetChannel()
167 new_props.target_channel = new_target_channel; in SetTargetChannel()
180 if (download_channel_ != mutable_image_props_.target_channel) { in UpdateDownloadChannel()
181 download_channel_ = mutable_image_props_.target_channel; in UpdateDownloadChannel()
Dimage_properties_android.cc132 if (!prefs->GetString(kPrefsImgPropChannelName, &result.target_channel)) in LoadMutableImageProperties()
133 result.target_channel.clear(); in LoadMutableImageProperties()
145 prefs->SetString(kPrefsImgPropChannelName, properties.target_channel) && in StoreMutableImageProperties()
Domaha_request_params.h94 mutable_image_props_.target_channel = in_target_channel; in OmahaRequestParams()
134 inline std::string target_channel() const { in target_channel() function
135 return mutable_image_props_.target_channel; in target_channel()
246 mutable_image_props_.target_channel = channel; in set_target_channel()
Dimage_properties_chromeos.cc129 result.target_channel = GetStringWithDefault( in LoadMutableImageProperties()
141 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
Dupdate_engine_client.cc428 string target_channel; in ProcessFlags() local
435 if (!client_->GetTargetChannel(&target_channel)) { in ProcessFlags()
442 if (!target_channel.empty()) in ProcessFlags()
443 LOG(INFO) << "Target Channel (pending update): " << target_channel; in ProcessFlags()
Dimage_properties.h67 std::string target_channel; member
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()
Dmock_update_attempter.h34 const std::string& target_channel,
Dupdate_attempter.cc249 const string& target_channel, in UpdateAttempter() argument
286 target_channel, in UpdateAttempter()
362 const string& target_channel, in UpdateAttempter() argument
398 if (target_channel.empty()) { in UpdateAttempter()
401 LOG(INFO) << "Setting target channel as mandated: " << target_channel; in UpdateAttempter()
405 if (!omaha_request_params_->SetTargetChannel(target_channel, false, in UpdateAttempter()
861 Update(forced_app_version_, forced_omaha_url_, params.target_channel, in UpdateAttempter()
1211 if (params->download_channel() != params->target_channel()) { in UpdateAttempter()
1213 << params->target_channel() in UpdateAttempter()
Dbinder_service_brillo.cc105 const String16& target_channel, bool powerwash) { in SetChannel() argument
107 NormalString(target_channel), in SetChannel()
Dupdate_attempter.h94 const std::string& target_channel,
328 const std::string& target_channel,
Dbinder_service_brillo.h66 android::binder::Status SetChannel(const android::String16& target_channel,
Dcommon_service.cc184 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
/system/update_engine/binder_bindings/android/brillo/
DIUpdateEngine.aidl29 void SetChannel(in String target_channel, in boolean powewash); in SetChannel() argument
/system/update_engine/client_library/include/update_engine/
Dclient.h99 virtual bool SetTargetChannel(const std::string& target_channel,
/system/update_engine/update_manager/
Ddefault_policy.cc38 result->target_channel.clear(); in UpdateCheckAllowed()
Dpolicy.h49 std::string target_channel; member
Dchromeos_policy.cc197 result->target_channel.clear(); in UpdateCheckAllowed()
269 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
Dreal_updater_provider.cc288 string channel = request_params->target_channel(); in GetValue()
Dchromeos_policy_unittest.cc403 EXPECT_EQ("foo-channel", result.target_channel); in TEST_F()
/system/update_engine/client_library/
Dclient_dbus.h69 bool SetTargetChannel(const std::string& target_channel,
Dclient_binder.h75 bool SetTargetChannel(const std::string& target_channel,