Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params_unittest.cc121 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
144 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
162 EXPECT_EQ("stable-channel", out.target_channel()); in TEST_F()
178 EXPECT_EQ("stable-channel", out.target_channel()); in TEST_F()
196 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
214 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
233 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
253 EXPECT_EQ("dev-channel", out.target_channel()); in TEST_F()
292 EXPECT_EQ("beta-channel", out.target_channel()); in TEST_F()
317 EXPECT_EQ("stable-channel", out.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()
92 if (image_props_.current_channel == mutable_image_props_.target_channel) { in Init()
101 << mutable_image_props_.target_channel in Init()
148 << mutable_image_props_.target_channel in SetTargetChannel()
164 new_props.target_channel = new_target_channel; in SetTargetChannel()
177 if (download_channel_ != mutable_image_props_.target_channel) { in UpdateDownloadChannel()
178 download_channel_ = mutable_image_props_.target_channel; in UpdateDownloadChannel()
Dimage_properties_android.cc93 if (!prefs->GetString(kPrefsImgPropChannelName, &result.target_channel)) in LoadMutableImageProperties()
94 result.target_channel.clear(); in LoadMutableImageProperties()
106 prefs->SetString(kPrefsImgPropChannelName, properties.target_channel) && in StoreMutableImageProperties()
Domaha_request_params.h94 mutable_image_props_.target_channel = in_target_channel; in OmahaRequestParams()
122 inline std::string target_channel() const { in target_channel() function
123 return mutable_image_props_.target_channel; in target_channel()
234 mutable_image_props_.target_channel = channel; in set_target_channel()
Dupdate_engine_client.cc394 string target_channel; in ProcessFlags() local
401 if (!client_->GetTargetChannel(&target_channel)) { in ProcessFlags()
408 if (!target_channel.empty()) in ProcessFlags()
409 LOG(INFO) << "Target Channel (pending update): " << target_channel; in ProcessFlags()
Dimage_properties_chromeos.cc127 result.target_channel = GetStringWithDefault( in LoadMutableImageProperties()
139 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
Dupdate_attempter.cc254 const string& target_channel, in Update() argument
291 target_channel, in Update()
367 const string& target_channel, in CalculateUpdateParams() argument
404 if (target_channel.empty()) { in CalculateUpdateParams()
407 LOG(INFO) << "Setting target channel as mandated: " << target_channel; in CalculateUpdateParams()
411 if (!omaha_request_params_->SetTargetChannel(target_channel, false, in CalculateUpdateParams()
895 Update(app_version, omaha_url, params.target_channel, in OnUpdateScheduled()
1128 *tracking_channel = rp->target_channel(); in GetWeaveState()
1246 system_state_->request_params()->target_channel()); in BroadcastChannel()
1275 if (params->download_channel() != params->target_channel()) { in ShouldCancel()
[all …]
Dimage_properties.h55 std::string target_channel; member
Dmock_update_attempter.h34 const std::string& target_channel,
Dbinder_service_brillo.cc105 const String16& target_channel, bool powerwash) { in SetChannel() argument
107 NormalString(target_channel), in SetChannel()
Dupdate_attempter.h90 const std::string& target_channel,
335 const std::string& target_channel,
Dbinder_service_brillo.h67 android::binder::Status SetChannel(const android::String16& target_channel,
Domaha_response_handler_action_unittest.cc350 EXPECT_EQ("stable-channel", params.target_channel()); in TEST_F()
392 EXPECT_EQ("canary-channel", params.target_channel()); in TEST_F()
Dcommon_service.cc185 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
Domaha_request_action_unittest.cc1800 EXPECT_EQ("stable-channel", params.target_channel()); in TEST_F()
1847 EXPECT_EQ("canary-channel", params.target_channel()); in TEST_F()
/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.h95 virtual bool SetTargetChannel(const std::string& target_channel,
/system/update_engine/client_library/
Dclient_dbus.h66 bool SetTargetChannel(const std::string& target_channel,
Dclient_binder.h73 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.cc193 result->target_channel.clear(); in UpdateCheckAllowed()
235 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
Dreal_updater_provider.cc288 string channel = request_params->target_channel(); in GetValue()
Dchromeos_policy_unittest.cc401 EXPECT_EQ("foo-channel", result.target_channel); in TEST_F()