Home
last modified time | relevance | path

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

12

/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.cc73 if (!IsValidChannel(mutable_image_props_.target_channel)) in Init()
74 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
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.h105 inline std::string target_channel() const { in target_channel() function
106 return mutable_image_props_.target_channel; in target_channel()
226 mutable_image_props_.target_channel = channel; in set_target_channel()
Dupdate_engine_client.cc472 string target_channel; in ProcessFlags() local
479 if (!client_->GetTargetChannel(&target_channel)) { in ProcessFlags()
486 if (!target_channel.empty()) in ProcessFlags()
487 LOG(INFO) << "Target Channel (pending update): " << target_channel; in ProcessFlags()
Dimage_properties_android.cc223 result.target_channel = GetTargetChannel(); in LoadMutableImageProperties()
234 if (!WriteChannelToMisc(properties.target_channel)) in StoreMutableImageProperties()
Dbinder_service_brillo.cc107 const String16& target_channel, bool powerwash) { in SetChannel() argument
109 NormalString(target_channel), in SetChannel()
Dupdate_attempter.cc239 const string& target_channel, in Update() argument
274 target_channel, in Update()
347 const string& target_channel, in CalculateUpdateParams() argument
393 if (target_channel.empty()) { in CalculateUpdateParams()
396 LOG(INFO) << "Setting target channel as mandated: " << target_channel; in CalculateUpdateParams()
401 target_channel, false, &error_message)) { in CalculateUpdateParams()
946 params.target_channel, in OnUpdateScheduled()
1352 if (params->download_channel() != params->target_channel()) { in ShouldCancel()
1354 << params->target_channel() in ShouldCancel()
Dupdate_attempter.h84 const std::string& target_channel,
339 const std::string& target_channel,
Dbinder_service_brillo.h65 android::binder::Status SetChannel(const android::String16& target_channel,
Dcommon_service.cc208 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
/system/update_engine/binder_bindings/android/brillo/
DIUpdateEngine.aidl30 void SetChannel(in String target_channel, in boolean powewash); in SetChannel() argument
/system/update_engine/client_library/include/update_engine/
Dclient.h112 virtual bool SetTargetChannel(const std::string& target_channel,
/system/update_engine/update_manager/
Denterprise_device_policy_impl.cc131 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
Ddefault_policy.cc42 result->target_channel.clear(); in UpdateCheckAllowed()
Dandroid_things_policy.cc54 result->target_channel.clear(); in UpdateCheckAllowed()
Dpolicy.h59 std::string target_channel; member
Dreal_updater_provider.cc290 string channel = request_params->target_channel(); in GetValue()
Dchromeos_policy.cc207 result->target_channel.clear(); in UpdateCheckAllowed()
/system/update_engine/client_library/
Dclient_dbus.h72 bool SetTargetChannel(const std::string& target_channel,
Dclient_binder.h78 bool SetTargetChannel(const std::string& target_channel,

12