/system/update_engine/ |
D | omaha_request_params_unittest.cc | 80 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 …]
|
D | omaha_request_params.cc | 72 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()
|
D | image_properties_android_unittest.cc | 116 props.target_channel = "new-channel"; in TEST_F() 120 EXPECT_EQ(props.target_channel, loaded_props.target_channel); in TEST_F()
|
D | image_properties_chromeos.cc | 132 result.target_channel = GetStringWithDefault( in LoadMutableImageProperties() 144 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
|
D | image_properties.h | 74 std::string target_channel; member
|
D | update_engine_client.cc | 435 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()
|
D | image_properties_chromeos_unittest.cc | 112 EXPECT_EQ("beta-channel", mutable_props.target_channel); in TEST_F() 134 EXPECT_EQ("stable-channel", mutable_props.target_channel); in TEST_F()
|
D | mock_update_attempter.h | 36 const std::string& target_channel,
|
D | omaha_request_params.h | 127 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()
|
D | image_properties_android.cc | 223 result.target_channel = GetTargetChannel(); in LoadMutableImageProperties() 234 if (!WriteChannelToMisc(properties.target_channel)) in StoreMutableImageProperties()
|
D | update_attempter.cc | 249 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()
|
D | update_attempter.h | 87 const std::string& target_channel, 371 const std::string& target_channel,
|
D | common_service.cc | 214 (in_get_current_channel ? rp->current_channel() : rp->target_channel()); in GetChannel()
|
D | update_attempter_unittest.cc | 176 const std::string& target_channel, in Update() argument 187 target_channel, in Update()
|
/system/update_engine/client_library/include/update_engine/ |
D | client.h | 99 virtual bool SetTargetChannel(const std::string& target_channel,
|
/system/update_engine/client_library/ |
D | client_dbus.h | 71 bool SetTargetChannel(const std::string& target_channel,
|
/system/update_engine/update_manager/ |
D | enterprise_device_policy_impl.cc | 127 result->target_channel = *release_channel_p; in UpdateCheckAllowed()
|
D | default_policy.cc | 42 result->target_channel.clear(); in UpdateCheckAllowed()
|
D | android_things_policy.cc | 60 result->target_channel.clear(); in UpdateCheckAllowed()
|
D | policy.h | 62 std::string target_channel; member
|
D | real_updater_provider.cc | 290 string channel = request_params->target_channel(); in GetValue()
|
D | chromeos_policy.cc | 218 result->target_channel.clear(); in UpdateCheckAllowed()
|
D | chromeos_policy_unittest.cc | 272 EXPECT_EQ("foo-channel", result.target_channel); in TEST_F()
|