Searched refs:policy_provider_ (Results 1 – 10 of 10) sorted by relevance
53 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 …]
45 : policy_provider_(policy_provider), in RealDevicePolicyProvider()49 : policy_provider_(policy_provider) {} in RealDevicePolicyProvider()196 policy::PolicyProvider* policy_provider_; variable
171 policy::PolicyProvider policy_provider_; variable
143 chromeos_update_manager::DefaultStateFactory(&policy_provider_, in Initialize()
320 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()
291 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
346 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()
524 std::unique_ptr<policy::PolicyProvider> policy_provider_; variable
749 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()
545 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()