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()
111 if (policy_provider_->device_policy_is_loaded() && in UpdateVariable()
112 (policy_provider_->GetDevicePolicy().*getter)(&new_value)) { in UpdateVariable()
124 if (policy_provider_->device_policy_is_loaded() && in UpdateVariable()
135 if (!policy_provider_->GetDevicePolicy().GetRollbackToTargetVersion( in ConvertRollbackToTargetVersion()
152 if (!policy_provider_->GetDevicePolicy().GetAllowedConnectionTypesForUpdate( in ConvertAllowedConnectionTypesForUpdate()
172 if (!policy_provider_->GetDevicePolicy().GetScatterFactorInSeconds( in ConvertScatterFactor()
188 if (!policy_provider_->GetDevicePolicy().GetDisallowedTimeIntervals( in ConvertDisallowedTimeIntervals()
204 if (!policy_provider_->GetDevicePolicy().GetOwner(&owner)) { in ConvertHasOwner()
212 if (!policy_provider_->Reload()) { in RefreshDevicePolicy()
[all …]
Dreal_device_policy_provider.h45 : policy_provider_(policy_provider), in RealDevicePolicyProvider()
49 : policy_provider_(policy_provider) {} in RealDevicePolicyProvider()
174 policy::PolicyProvider* policy_provider_; variable
/system/update_engine/
Dreal_system_state.h190 policy::PolicyProvider policy_provider_; variable
Dupdate_attempter.cc310 if (!policy_provider_.get()) in RefreshDevicePolicy()
311 policy_provider_.reset(new policy::PolicyProvider()); in RefreshDevicePolicy()
312 policy_provider_->Reload(); in RefreshDevicePolicy()
315 if (policy_provider_->device_policy_is_loaded()) in RefreshDevicePolicy()
316 device_policy = &policy_provider_->GetDevicePolicy(); in RefreshDevicePolicy()
1137 DCHECK(policy_provider_); in UpdateRollbackHappened()
1139 (policy_provider_->device_policy_is_loaded() || in UpdateRollbackHappened()
1140 policy_provider_->IsConsumerDevice())) { in UpdateRollbackHappened()
Domaha_request_action.h299 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
Dreal_system_state.cc158 chromeos_update_manager::DefaultStateFactory(&policy_provider_, in Initialize()
Domaha_request_action.cc284 policy_provider_(std::make_unique<policy::PolicyProvider>()), in OmahaRequestAction()
289 policy_provider_->Reload(); in OmahaRequestAction()
1635 if (policy_provider_->IsConsumerDevice()) { in IsRollbackEnabled()
1640 if (!policy_provider_->device_policy_is_loaded()) { in IsRollbackEnabled()
1646 if (!policy_provider_->GetDevicePolicy().GetRollbackAllowedMilestones( in IsRollbackEnabled()
Dupdate_attempter_unittest.cc786 attempter_.policy_provider_.reset( in UpdateTestStart()
829 attempter_.policy_provider_.reset( in RollbackTestStart()
1124 attempter_.policy_provider_.reset( in ReadScatterFactorFromPolicyTestStart()
1162 attempter_.policy_provider_.reset( in DecrementUpdateCheckCountTestStart()
1224 attempter_.policy_provider_.reset( in NoScatteringDoneDuringManualUpdateTestStart()
1269 attempter_.policy_provider_.reset( in SetUpStagingTest()
1847 attempter_.policy_provider_ = std::move(mock_policy_provider); in ResetRollbackHappenedStart()
2187 attempter_.policy_provider_.reset( in UpdateToQuickFixBuildStart()
Dupdate_attempter.h536 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
Domaha_request_action_unittest.cc526 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()