Searched refs:DevicePolicy (Results 1 – 17 of 17) sorted by relevance
35 using policy::DevicePolicy;108 AsyncCopyVariable<T>* var, bool (DevicePolicy::*getter_method)(T*) const) { in UpdateVariable()186 vector<DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ConvertDisallowedTimeIntervals()209 UpdateVariable(&var_release_channel_, &DevicePolicy::GetReleaseChannel); in RefreshDevicePolicy()211 &DevicePolicy::GetReleaseChannelDelegated); in RefreshDevicePolicy()212 UpdateVariable(&var_update_disabled_, &DevicePolicy::GetUpdateDisabled); in RefreshDevicePolicy()214 &DevicePolicy::GetTargetVersionPrefix); in RefreshDevicePolicy()218 &DevicePolicy::GetRollbackAllowedMilestones); in RefreshDevicePolicy()228 UpdateVariable(&var_owner_, &DevicePolicy::GetOwner); in RefreshDevicePolicy()230 &DevicePolicy::GetHttpDownloadsEnabled); in RefreshDevicePolicy()[all …]
30 using StagingSchedule = std::vector<policy::DevicePolicy::DayPercentagePair>;55 int GetStagingSchedule(const policy::DevicePolicy* device_policy,64 StagingCase CalculateStagingCase(const policy::DevicePolicy* device_policy,
36 using policy::DevicePolicy;40 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule()101 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase()
44 using policy::DevicePolicy;341 vector<DevicePolicy::WeeklyTimeInterval> intervals = { in TEST_F()
137 bool (policy::DevicePolicy::*getter_method)(T*) const);
28 class DevicePolicy; variable63 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0;64 virtual const policy::DevicePolicy* device_policy() = 0;
76 const policy::DevicePolicy* device_policy) override { in set_device_policy()80 inline const policy::DevicePolicy* device_policy() override { in device_policy()154 const policy::DevicePolicy* device_policy_{nullptr};
56 const policy::DevicePolicy* device_policy) override { in set_device_policy()60 inline const policy::DevicePolicy* device_policy() override { in device_policy()273 const policy::DevicePolicy* device_policy_;
64 const policy::DevicePolicy* device_policy = in IsUpdateAllowedOver()120 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsAllowedConnectionTypesForUpdateSet()
37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {} in SetDevicePolicy()
67 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
74 MOCK_METHOD1(SetDevicePolicy, void(const policy::DevicePolicy*));
126 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override;169 const policy::DevicePolicy* device_policy_ = nullptr;230 const policy::DevicePolicy* device_policy) { in SetDevicePolicy()
300 const policy::DevicePolicy* device_policy = nullptr; in RefreshDevicePolicy()461 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in CalculateScatteringParams()709 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in Rollback()1657 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in ReportTimeToUpdateAppliedMetric()1659 vector<policy::DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ReportTimeToUpdateAppliedMetric()
171 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in SetChannel()
1234 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
59 using policy::DevicePolicy;