Home
last modified time | relevance | path

Searched refs:policy_provider_ (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/update_manager/
Dreal_device_policy_provider.cc53 CHECK(policy_provider_ != nullptr); in Init()
112 if (policy_provider_->device_policy_is_loaded() && in UpdateVariable()
113 (policy_provider_->GetDevicePolicy().*getter)(&new_value)) { in UpdateVariable()
125 if (policy_provider_->device_policy_is_loaded() && in UpdateVariable()
136 if (!policy_provider_->GetDevicePolicy().GetRollbackToTargetVersion( in ConvertRollbackToTargetVersion()
153 if (!policy_provider_->GetDevicePolicy().GetAllowedConnectionTypesForUpdate( in ConvertAllowedConnectionTypesForUpdate()
173 if (!policy_provider_->GetDevicePolicy().GetScatterFactorInSeconds( in ConvertScatterFactor()
189 if (!policy_provider_->GetDevicePolicy().GetDisallowedTimeIntervals( in ConvertDisallowedTimeIntervals()
205 if (!policy_provider_->GetDevicePolicy().GetOwner(&owner)) { in ConvertHasOwner()
215 if (!policy_provider_->GetDevicePolicy().GetChannelDowngradeBehavior( in ConvertChannelDowngradeBehavior()
[all …]
Dreal_device_policy_provider.h45 : policy_provider_(policy_provider), in RealDevicePolicyProvider()
49 : policy_provider_(policy_provider) {} in RealDevicePolicyProvider()
196 policy::PolicyProvider* policy_provider_; variable
/system/update_engine/cros/
Dreal_system_state.h171 policy::PolicyProvider policy_provider_; variable
Dreal_system_state.cc143 chromeos_update_manager::DefaultStateFactory(&policy_provider_, in Initialize()
Dupdate_attempter.cc320 if (!policy_provider_.get()) in RefreshDevicePolicy()
321 policy_provider_.reset(new policy::PolicyProvider()); in RefreshDevicePolicy()
322 policy_provider_->Reload(); in RefreshDevicePolicy()
325 if (policy_provider_->device_policy_is_loaded()) in RefreshDevicePolicy()
326 device_policy = &policy_provider_->GetDevicePolicy(); in RefreshDevicePolicy()
1084 DCHECK(policy_provider_); in UpdateRollbackHappened()
1086 (policy_provider_->device_policy_is_loaded() || in UpdateRollbackHappened()
1087 policy_provider_->IsConsumerDevice())) { in UpdateRollbackHappened()
Domaha_request_action.h291 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
Domaha_request_action.cc346 policy_provider_(std::make_unique<policy::PolicyProvider>()), in OmahaRequestAction()
351 policy_provider_->Reload(); in OmahaRequestAction()
1679 if (policy_provider_->IsConsumerDevice()) { in IsRollbackEnabled()
1684 if (!policy_provider_->device_policy_is_loaded()) { in IsRollbackEnabled()
1690 if (!policy_provider_->GetDevicePolicy().GetRollbackAllowedMilestones( in IsRollbackEnabled()
Dupdate_attempter.h524 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
Dupdate_attempter_unittest.cc749 attempter_.policy_provider_.reset( in UpdateTestStart()
792 attempter_.policy_provider_.reset( in RollbackTestStart()
1079 attempter_.policy_provider_.reset( in ReadScatterFactorFromPolicyTestStart()
1115 attempter_.policy_provider_.reset( in DecrementUpdateCheckCountTestStart()
1174 attempter_.policy_provider_.reset( in NoScatteringDoneDuringManualUpdateTestStart()
1207 attempter_.policy_provider_.reset( in SetUpStagingTest()
1796 attempter_.policy_provider_ = std::move(mock_policy_provider); in ResetRollbackHappenedStart()
Domaha_request_action_unittest.cc545 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()