Home
last modified time | relevance | path

Searched refs:DevicePolicy (Results 1 – 17 of 17) sorted by relevance

/system/update_engine/update_manager/
Dreal_device_policy_provider.cc35 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 …]
Dstaging_utils.h30 using StagingSchedule = std::vector<policy::DevicePolicy::DayPercentagePair>;
55 int GetStagingSchedule(const policy::DevicePolicy* device_policy,
64 StagingCase CalculateStagingCase(const policy::DevicePolicy* device_policy,
Dstaging_utils.cc36 using policy::DevicePolicy;
40 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule()
101 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase()
Dreal_device_policy_provider_unittest.cc44 using policy::DevicePolicy;
341 vector<DevicePolicy::WeeklyTimeInterval> intervals = { in TEST_F()
Dreal_device_policy_provider.h137 bool (policy::DevicePolicy::*getter_method)(T*) const);
/system/update_engine/
Dsystem_state.h28 class DevicePolicy; variable
63 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0;
64 virtual const policy::DevicePolicy* device_policy() = 0;
Dreal_system_state.h76 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};
Dfake_system_state.h56 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_;
Dconnection_manager.cc64 const policy::DevicePolicy* device_policy = in IsUpdateAllowedOver()
120 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsAllowedConnectionTypesForUpdateSet()
Dfake_p2p_manager.h37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {} in SetDevicePolicy()
Dp2p_manager.h67 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
Dmock_p2p_manager.h74 MOCK_METHOD1(SetDevicePolicy, void(const policy::DevicePolicy*));
Dp2p_manager.cc126 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override;
169 const policy::DevicePolicy* device_policy_ = nullptr;
230 const policy::DevicePolicy* device_policy) { in SetDevicePolicy()
Dupdate_attempter.cc300 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()
Dcommon_service.cc171 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in SetChannel()
Dpayload_state.cc1234 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
Dupdate_attempter_unittest.cc59 using policy::DevicePolicy;