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 bool (DevicePolicy::*getter)(T*) in UpdateVariable()
187 vector<DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ConvertDisallowedTimeIntervals()
219 UpdateVariable(&var_release_channel_, &DevicePolicy::GetReleaseChannel); in RefreshDevicePolicy()
221 &DevicePolicy::GetReleaseChannelDelegated); in RefreshDevicePolicy()
222 UpdateVariable(&var_update_disabled_, &DevicePolicy::GetUpdateDisabled); in RefreshDevicePolicy()
224 &DevicePolicy::GetTargetVersionPrefix); in RefreshDevicePolicy()
228 &DevicePolicy::GetRollbackAllowedMilestones); in RefreshDevicePolicy()
240 &DevicePolicy::GetHttpDownloadsEnabled); in RefreshDevicePolicy()
241 UpdateVariable(&var_au_p2p_enabled_, &DevicePolicy::GetAuP2PEnabled); 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.cc35 using policy::DevicePolicy;
39 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule()
100 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase()
Dreal_device_policy_provider.h138 bool (policy::DevicePolicy::*getter)(T*) const);
Dreal_device_policy_provider_unittest.cc44 using policy::DevicePolicy;
361 vector<DevicePolicy::WeeklyTimeInterval> intervals = { in TEST_F()
/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.cc67 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsUpdateAllowedOver()
112 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.cc125 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override;
168 const policy::DevicePolicy* device_policy_ = nullptr;
229 const policy::DevicePolicy* device_policy) { in SetDevicePolicy()
Dupdate_attempter.cc314 const policy::DevicePolicy* device_policy = nullptr; in RefreshDevicePolicy()
500 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in CalculateScatteringParams()
866 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in Rollback()
1867 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in ReportTimeToUpdateAppliedMetric()
1869 vector<policy::DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ReportTimeToUpdateAppliedMetric()
Dcommon_service.cc177 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in SetChannel()
Dpayload_state.cc1257 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
Dupdate_attempter_unittest.cc68 using policy::DevicePolicy;