Searched refs:policy_provider_ (Results 1 – 10 of 10) sorted by relevance
53 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 …]
45 : policy_provider_(policy_provider), in RealDevicePolicyProvider()49 : policy_provider_(policy_provider) {} in RealDevicePolicyProvider()174 policy::PolicyProvider* policy_provider_; variable
190 policy::PolicyProvider policy_provider_; variable
310 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()
299 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
158 chromeos_update_manager::DefaultStateFactory(&policy_provider_, in Initialize()
284 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()
786 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()
536 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
526 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()